OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : Differentiated Services Commands : map-route A.B.C.D
map-route A.B.C.D
Use this command to map a IPv4 prefix route onto a trunk. This route is to be used for packets that are mapped to a specific RSVP trunk.
Use the no parameter with this command for unmapping routes from specified trunks.
Command Syntax
map-route A.B.C.D A.B.C.D
map-route A.B.C.D A.B.C.D CLASS
map-route A.B.C.D/M
map-route A.B.C.D/M CLASS
no map-route A.B.C.D A.B.C.D
no map-route A.B.C.D A.B.C.D CLASS
no map-route A.B.C.D/M
no map-route A.B.C.D/M CLASS
Parameters
A.B.C.D
Specify the IPV4 address to be mapped.
A.B.C.D
Specify a mask to be applied to the address being mapped.
A.B.C.D/M
Specify the IPV4 address to be mapped, with mask.
CLASS
Specify the DiffServ Class Name (for example, be, ef etc.) used for selecting incoming IP packets to be mapped to a specified RSVP trunk.
Default
By default, map route A.B.C.D is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#map-route 1.1.2.2/24 be
Last modified date: 10/17/2023