Differentiated Services Commands
This chapter describes the RSVP Differentiated Services (DiffServ) commands.
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
map-route X:X::X:X
Use this command to map a IPv6 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 X:X::X:X X:X::X:X
map-route X:X::X:X X:X::X:X CLASS
map-route X:X::X:X/M
map-route X:X::X:X/M CLASS
no map-route X:X::X:X X:X::X:X
no map-route X:X::X:X X:X::X:X CLASS
no map-route X:X::X:X/M
no map-route X:X::X:X/M CLASS
Parameters
X:X::X:X
Specify the IPV6 address to be mapped.
X:X::X:X
Specify a mask to be applied to the address being mapped.
X:X::X:X/M
Specify the IPV6 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 X:X::X:X 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
override-diffserv
Use this command to enable the Differentiated Services (Diff-Serv) override configuration.
If a Path message is received without a Diff-Serv object by a Diff-Serv enabled node, it can be interpreted either as a request for an E-LSP (EXP-Inferred-PSC LSP) or as a request for Non-Diff-Serv LSP. This command supports the override option and when configured, the LSR interprets a path message without a Diff-Serv object as a request for Non-Diff-Serv LSP.
Use the no parameter with this command disable this feature.
Command Syntax
override-diffserv
no override-diffserv
Parameters
None
Default
By default, override diffserv is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router rsvp
(config-router)#override-diffserv
primary map class
Use this command to configure a primary PHB-EXP (Per-Hop Behavior-Experimental) mapping to be used by an E-LSP (EXP-Inferred-PSC LSP). This mapping is different from the node level PHB-EXP mapping.
Use the no parameter with this command to remove a PHB-EXP mapping configuration from current E-LSP PHB-EXP mapping.
Command Syntax
primary map class <0-7> exp <0-7>
no primary map class <0-7> exp <0-7>
Parameters
<0-7>
Diff-Serv class (queue) mapped to the particular PHB.
<0-7>
Exp bit which is to be mapped to this PHB.
Default
By default, primary map class is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary map class 4 exp 3
(config)#rsvp-trunk T1
(config-trunk)#no primary map class 4 exp 3
primary elsp-signaled
Use this command to configure a primary Diff-Serv (Differentiated Services) explicitly signaled E-LSP (EXP-Inferred-PSC LSP) interface.
The classes 1 to 7 are optional parameters that can be selected from node level PHB-EXP (Per-Hop Behavior) mapping as PHBs, which will then be used for an E-LSP. If you do not specify a class with this command, all classes will be selected for the E-LSP.
Use the no parameter with this command to remove the configuration.
Command Syntax
primary elsp-signaled
primary elsp-signaled class <0-7>
primary elsp-signaled class <0-7> <0-7>
primary elsp-signaled class <0-7> <0-7> <0-7>
primary elsp-signaled class <0-7> <0-7> <0-7> <0-7>
primary elsp-signaled class <0-7> <0-7> <0-7> <0-7> <0-7>
primary elsp-signaled class <0-7> <0-7> <0-7> <0-7> <0-7> <0-7>
primary elsp-signaled class <0-7> <0-7> <0-7> <0-7> <0-7> <0-7> <0-7>
no primary elsp-signaled
Parameter
CLASS<0-7>
Diff-Serv class (queue).
Default
By default, primary elsp signaled is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary elsp-signaled 2 5 0 6
(config)#rsvp-trunk T1
(config-trunk)#no primary elsp-signaled
primary llsp
Use this command to configure a primary Differentiated Services Label-Only-Inferred-PSC (Diff-Serv L-LSP) interface, which will use Diff-Serv Class as its PHB Scheduling Class (PSC).
Use the no parameter with this command to remove the Diff-Serv L-LSP configuration.
Command Syntax
primary llsp class <0-7>
no primary llsp
Parameters
<0-7>
Diff-Serv class (queue).
Default
By default, primary llsp is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#primary llsp class 4
(config)#rsvp-trunk T1
(config-trunk)#no primary llsp
secondary map class
Use this command to configure a secondary PHB-EXP (Per-Hop Behavior-Experimental) mapping to be used by an E-LSP (EXP-Inferred-PSC LSP). This mapping is different from the node level PHB-EXP mapping.
Use the no parameter with this command to remove a PHB-EXP mapping configuration from current E-LSP PHB-EXP mapping.
Command Syntax
secondary map class <0-7> exp <0-7>
no secondary map class <0-7> exp <0-7>
Parameters
<0-7>
Diff-Serv class (queue) mapped to the particular PHB.
<0-7>
Exp bit that is to be mapped to this PHB.
Default
By default, secondary map class is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#secondary map class 4 exp 3
(config)#rsvp-trunk T1
(config-trunk)#no secondary map class 4 exp 3
secondary elsp-signaled
Use this command to configure a secondary Diff-Serv (Differentiated Services) explicitly signaled E-LSP (EXP-Inferred-PSC LSP) interface. The classes 1 to 7 are optional parameters can be selected from the node level PHB-EXP (Per-Hop Behavior) mapping as PHBs. They will then be used for an E-LSP. If you do not specify a class with this command, all classes will be selected for the E-LSP.
Use the no parameter with this command to remove the configuration.
Command Syntax
secondary elsp-signaled
secondary elsp-signaled class <0-7>
secondary elsp-signaled class <0-7> <0-7>
secondary elsp-signaled class <0-7> <0-7> <0-7>
secondary elsp-signaled class <0-7> <0-7> <0-7> <0-7>
secondary elsp-signaled class <0-7> <0-7> <0-7> <0-7> <0-7>
secondary elsp-signaled class <0-7> <0-7> <0-7> <0-7> <0-7> <0-7>
secondary elsp-signaled class <0-7> <0-7> <0-7> <0-7> <0-7> <0-7> <0-7>
no secondary elsp-signaled
Parameters
CLASS<0-7>
Diff-Serv class (queue).
Default
By default, secondary elsp signaled is disabled
Command Mode
Trunk mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#rsvp-trunk T1
(config-trunk)#secondary elsp-signaled class 3 6 2 0 5
(config)#rsvp-trunk T1
(config-trunk)#no secondary elsp-signaled
secondary llsp
Use this command to configure a secondary Differentiated Services Label-Only-Inferred-PSC (Diff-Serv L-LSP) interface, which will use Diff-Serv Class as its PHB Scheduling Class (PSC).
Use the no parameter with this command to remove the Diff-Serv L-LSP configuration.
Command Syntax
secondary llsp class <0-7>
no secondary llsp
Parameters
CLASS<0-7>
Diff-Serv class (queue).
Default
By default, secondary llsp 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)#secondary llsp class 5
(config)#rsvp-trunk T1
(config-trunk)#no secondary llsp
show rsvp diffserv-info
Use this command to display node level Differentiated Services (Diff-Serv) configuration information. This information includes the node level PHB-EXP mapping configured for ELSP-signaled LSP.
Command Syntax
show rsvp diffserv-info
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
Following is a sample output of the show rsvp diffserv-info command.
#show rsvp diffserv-info
E-LSP SIGNAL CLASS-EXP mapping:
CLASS EXP_value
5 0
0 1
1 2
3 3
2 4
4 5
6 6
7 7
Table 5-56 explains the show command output fields.
Table 5-56: show rsvp diffserv-info output fields
Field | Description |
---|
CLASS | MPLS class type that corresponds to the DiffServ traffic engineering class. |
EXP_value | Exp value is initialized at the ingress routing device only and overrides the rewrite configuration established for that forwarding class. |