Remarking Configuration
This chapter contains a complete sample of configuring marking on global level and remarking of EXP bits on interface and global level along with LDP LSP for Pipe model and Uniform model.
Configuration
Configuring Remarking for MPLS EXP bits require following configurations:
• Enabling label-switching on the interface on NSM.
• Configuring LSP (Using LDP, Static or RSVP-TE, in this example we are using LDP for setting up LSP).
• Running an IGP (Internal Gateway Protocol), for example, OSPF, to distribute reachability information within the MPLS cloud.
• Enable QoS, Configuring Remarking on interface and Global Level.
Topology
Basic LDP Topology
OSPF and LDP Configuration for PE1, P and PE2
PE1: NSM
#configure terminal | Enter configure mode. |
(config)#interface xe2 | Specify the interface (xe2) to be configured. |
(config-if)#ip address 10.10.10.1/24 | Configure IP address for the interface |
(config-if)#label-switching | Enable label switching on interface xe2. |
(config-if)#exit | Exit interface mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 192.168.0.1/32 secondary | Set the IP address of the loopback interface to 192.168.0.1/32 |
(config-if)#commit | Commit the transaction. |
PE1: OSPF
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#network 10.10.10.0/24 area 0 (config-router)#network 192.168.0.1/32 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface. |
(config-router)#commit | Commit the transaction. |
PE1: LDP
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter Router mode for LDP. |
(config-router)#router-id 192.168.0.1 | Set the router ID to IP address 192.168.0.1. |
(config-router)#transport-address ipv4 192.168.0.1 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. |
(config-router)#exit | Exit router mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#enable-ldp ipv4 | Enable LDP on xe1. |
(config-if)#commit | Commit the transaction. |
P: NSM
#configure terminal | Enter configure mode. |
(config)#interface xe2 | Specify the interface (xe2) to be configured. |
(config-if)#ip address 10.10.10.2/24 | Configure IP address for the interface |
(config-if)#label-switching | Enable label switching on interface xe2. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe1 | Specify the interface (xe1) to be configured. |
(config-if)#ip address 10.10.11.1/24 | Configure IP address for the interface |
(config-if)#label-switching | Enable label switching on interface xe1. |
(config-if)#exit | Exit interface mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 192.168.0.2/32 secondary | Set the IP address of the loopback interface to 192.168.0.2/32 |
(config-if)#commit | Commit the transaction. |
P: OSPF
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#network 10.10.10.0/24 area 0 (config-router)#network 10.10.11.0/24 area 0 (config-router)#network 192.168.0.2/32 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface. |
(config-router)#commit | Commit the transaction. |
P: LDP
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter Router mode for LDP. |
(config-router)#router-id 192.168.0.2 | Set the router ID to IP address 192.168.0.2. |
(config-router)#transport-address ipv4 192.168.0.2 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. |
(config-router)#exit | Exit router mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#enable-ldp ipv4 | Enable LDP on xe1. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#enable-ldp ipv4 | Enable LDP on xe2. |
(config-if)#commit | Commit the transaction. |
PE2: NSM
#configure terminal | Enter configure mode. |
(config)#interface xe1 | Specify the interface (xe2) to be configured. |
(config-if)#ip address 10.10.11.2/24 | Configure IP address for the interface |
(config-if)#label-switching | Enable label switching on interface xe1. |
(config-if)#exit | Exit interface mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 192.168.0.3/32 secondary | Set the IP address of the loopback interface to 192.168.0.3/32 |
(config-if)#commit | Commit the transaction. |
PE2: OSPF
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#network 10.10.11.0/24 area 0 (config-router)#network 192.168.0.3/32 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface. |
(config-router)#commit | Commit the transaction. |
PE2: LDP
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter Router mode for LDP. |
(config-router)#router-id 192.168.0.3 | Set the router ID to IP address 192.168.0.3. |
(config-router)#explicit-null | To disable PHP. |
(config-router)#transport-address ipv4 192.168.0.3 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. |
(config-router)#exit | Exit router mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#enable-ldp ipv4 | Enable LDP on xe2. |
(config-if)#commit | Commit the transaction. |
Configuration of Marking or Remarking
Marking can be done in Global level and Remarking can be done in Global level and in Interface level. Both methods are shown in the following sample configurations.
Global level configuration for PE1
#configure terminal | Enter configure mode. |
(config)#qos enable | Enable QOS. |
(config)#qos profile exp-encap default | Configure default profile. |
(config-egress-exp-encap-map)#l3 dscp 10 exp 3 | Map dscp value 10 to exp 3. |
(config-egress-exp-encap-map)#commit | Commit the transaction. |
Validation
PE1#show qos-profile type exp-encap default
profile name: default
profile type: exp-encap
configured mapping:
qos profile exp-encap default
l3 dscp 10 exp 3
!
Detailed mapping:
L3 DSCP to EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | EXP | DSCP | EXP | DSCP | EXP | DSCP | EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 2 | 32 4 | 48 6
1 0 | 17 2 | 33 4 | 49 6
2 0 | 18 2 | 34 4 | 50 6
3 0 | 19 2 | 35 4 | 51 6
4 0 | 20 2 | 36 4 | 52 6
5 0 | 21 2 | 37 4 | 53 6
6 0 | 22 2 | 38 4 | 54 6
7 0 | 23 2 | 39 4 | 55 6
8 1 | 24 3 | 40 5 | 56 7
9 1 | 25 3 | 41 5 | 57 7
10 3 | 26 3 | 42 5 | 58 7
11 1 | 27 3 | 43 5 | 59 7
12 1 | 28 3 | 44 5 | 60 7
13 1 | 29 3 | 45 5 | 61 7
14 1 | 30 3 | 46 5 | 62 7
15 1 | 31 3 | 47 5 | 63 7
L2 Queue + Color to EXP
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
Queue | Color | EXP | Queue | Color | EXP | Queue | Color | EXP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
Interface level configuration for PE1
#configure terminal | Enter configure mode. |
(config)#qos enable | Enable QOS. |
(config)#qos profile exp-encap TEST1 | Configure non-default profile. |
(config-egress-exp-encap-map)#l3 dscp 5 exp 5 | Map dscp value 5 to exp 5. |
(config-egress-exp-encap-map)#exit | Exit exp-encap profile mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#qos map-profile exp-encap TEST1 | Mapping qos profile to interface |
(config-if)#commit | Commit the transaction. |
Validation
PE1#show qos-profile type exp-encap TEST1
profile name: TEST1
profile type: exp-encap
profile attached to 1 instances
configured mapping:
l3 dscp 5 exp 5
Detailed mapping:
L3 DSCP to EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | EXP | DSCP | EXP | DSCP | EXP | DSCP | EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 2 | 32 4 | 48 6
1 0 | 17 2 | 33 4 | 49 6
2 0 | 18 2 | 34 4 | 50 6
3 0 | 19 2 | 35 4 | 51 6
4 0 | 20 2 | 36 4 | 52 6
5 5 | 21 2 | 37 4 | 53 6
6 0 | 22 2 | 38 4 | 54 6
7 0 | 23 2 | 39 4 | 55 6
8 1 | 24 3 | 40 5 | 56 7
9 1 | 25 3 | 41 5 | 57 7
10 1 | 26 3 | 42 5 | 58 7
11 1 | 27 3 | 43 5 | 59 7
12 1 | 28 3 | 44 5 | 60 7
13 1 | 29 3 | 45 5 | 61 7
14 1 | 30 3 | 46 5 | 62 7
15 1 | 31 3 | 47 5 | 63 7
L2 Queue + Color to EXP
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
Queue | Color | EXP | Queue | Color | EXP | Queue | Color | EXP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
Global level configuration for PE2
#configure terminal | Enter configure mode. |
(config)#qos enable | Enable QOS. |
(config)#qos statistics | Enable QOS statistics. |
(config)#qos profile exp-to-queue default | Configure default profile |
(config-ingress-exp-queue-map)#exp 5 queue 7 | Map exp value 5 to Class 7. |
(config-ingress-exp-queue-map)#commit | Commit the transaction. |
Validation
PE2
PE2#show qos-profile type exp-to-queue
profile name: default
profile type: exp-to-queue
configured mapping:
qos profile exp-to-queue default
exp 5 queue 7
!
Detailed mapping:
-------+-----------------
INPUT | OUTPUT
-------+-----------------
EXP | Queue | Color
-------+--------+--------
0 0 green
1 1 green
2 2 green
3 3 green
4 4 green
5 7 green
6 6 green
7 7 green
PE1
PE1#show qos-profile interface xe2
profile name: default
profile type: dscp-to-queue (Ingress)
mapping:
-------+--------------------------- | -------+--------------------------- | -------+--------------------------- | -------+---
------------------------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT |
OUTPUT
-------+--------------------------- | -------+--------------------------- | -------+--------------------------- | -------+---
------------------------
DSCP | TC | Color | Out DSCP | DSCP | TC | Color | Out DSCP | DSCP | TC | Color | Out DSCP | DSCP |
TC | Color | Out DSCP
-------+-------+--------+---------- | -------+-------+--------+---------- | -------+-------+--------+---------- | -------+---
----+--------+----------
0 0 green 0 | 16 2 green 16 | 32 4 green 32 | 48 6
green 48
1 0 green 1 | 17 2 green 17 | 33 4 green 33 | 49 6
green 49
2 0 green 2 | 18 2 green 18 | 34 4 green 34 | 50 6
green 50
3 0 green 3 | 19 2 green 19 | 35 4 green 35 | 51 6
green 51
4 0 green 4 | 20 2 yellow 20 | 36 4 yellow 36 | 52 6
green 52
5 0 green 5 | 21 2 green 21 | 37 4 green 37 | 53 6
green 53
6 0 green 6 | 22 2 yellow 22 | 38 4 yellow 38 | 54 6
green 54
7 0 green 7 | 23 2 green 23 | 39 4 green 39 | 55 6
green 55
8 1 green 8 | 24 3 green 24 | 40 5 green 40 | 56 7
green 56
9 1 green 9 | 25 3 green 25 | 41 5 green 41 | 57 7
green 57
10 1 green 10 | 26 3 green 26 | 42 5 green 42 | 58 7
green 58
11 1 green 11 | 27 3 green 27 | 43 5 green 43 | 59 7
green 59
12 1 yellow 12 | 28 3 yellow 28 | 44 5 green 44 | 60 7
green 60
13 1 green 13 | 29 3 green 29 | 45 5 green 45 | 61 7
green 61
14 1 yellow 14 | 30 3 yellow 30 | 46 5 green 46 | 62 7
green 62
15 1 green 15 | 31 3 green 31 | 47 5 green 47 | 63 7
green 63
profile name: default
profile type: dscp-to-dscp (Egress)
Status: Inactive
mapping:
----------------+---------- | ----------------+---------- | ----------------+----------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+---------- | ----------------+---------- | ----------------+----------
DSCP | Color | Out DSCP | DSCP | Color | Out DSCP | DSCP | Color | Out DSCP
------+---------+---------- | ------+---------+---------- | ------+---------+----------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
8 green 8 | 8 yellow 8 | 8 red 8
9 green 9 | 9 yellow 9 | 9 red 9
10 green 10 | 10 yellow 12 | 10 red 14
11 green 11 | 11 yellow 11 | 11 red 11
12 green 12 | 12 yellow 12 | 12 red 14
13 green 13 | 13 yellow 13 | 13 red 13
14 green 14 | 14 yellow 14 | 14 red 14
15 green 15 | 15 yellow 15 | 15 red 15
16 green 16 | 16 yellow 16 | 16 red 16
17 green 17 | 17 yellow 17 | 17 red 17
18 green 18 | 18 yellow 20 | 18 red 22
19 green 19 | 19 yellow 19 | 19 red 19
20 green 20 | 20 yellow 20 | 20 red 22
21 green 21 | 21 yellow 21 | 21 red 21
22 green 22 | 22 yellow 22 | 22 red 22
23 green 23 | 23 yellow 23 | 23 red 23
24 green 24 | 24 yellow 24 | 24 red 24
25 green 25 | 25 yellow 25 | 25 red 25
26 green 26 | 26 yellow 28 | 26 red 30
27 green 27 | 27 yellow 27 | 27 red 27
28 green 28 | 28 yellow 28 | 28 red 30
29 green 29 | 29 yellow 29 | 29 red 29
30 green 30 | 30 yellow 30 | 30 red 30
31 green 31 | 31 yellow 31 | 31 red 31
32 green 32 | 32 yellow 32 | 32 red 32
33 green 33 | 33 yellow 33 | 33 red 33
34 green 34 | 34 yellow 36 | 34 red 38
35 green 35 | 35 yellow 35 | 35 red 35
36 green 36 | 36 yellow 36 | 36 red 38
37 green 37 | 37 yellow 37 | 37 red 37
38 green 38 | 38 yellow 38 | 38 red 38
39 green 39 | 39 yellow 39 | 39 red 39
40 green 40 | 40 yellow 40 | 40 red 40
41 green 41 | 41 yellow 41 | 41 red 41
42 green 42 | 42 yellow 42 | 42 red 42
43 green 43 | 43 yellow 43 | 43 red 43
44 green 44 | 44 yellow 44 | 44 red 44
45 green 45 | 45 yellow 45 | 45 red 45
46 green 46 | 46 yellow 46 | 46 red 46
47 green 47 | 47 yellow 47 | 47 red 47
48 green 48 | 48 yellow 48 | 48 red 48
49 green 49 | 49 yellow 49 | 49 red 49
50 green 50 | 50 yellow 50 | 50 red 50
51 green 51 | 51 yellow 51 | 51 red 51
52 green 52 | 52 yellow 52 | 52 red 52
53 green 53 | 53 yellow 53 | 53 red 53
54 green 54 | 54 yellow 54 | 54 red 54
55 green 55 | 55 yellow 55 | 55 red 55
56 green 56 | 56 yellow 56 | 56 red 56
57 green 57 | 57 yellow 57 | 57 red 57
58 green 58 | 58 yellow 58 | 58 red 58
59 green 59 | 59 yellow 59 | 59 red 59
60 green 60 | 60 yellow 60 | 60 red 60
61 green 61 | 61 yellow 61 | 61 red 61
62 green 62 | 62 yellow 62 | 62 red 62
63 green 63 | 63 yellow 63 | 63 red 63
profile name: default
profile type: exp-to-queue (Ingress)
mapping:
-------+-----------------
INPUT | OUTPUT
-------+-----------------
EXP | TC | Color
-------+--------+--------
0 0 green
1 1 green
2 2 green
3 3 green
4 4 green
5 5 green
6 6 green
7 7 green
profile name: TEST1
profile type: exp-encap (Egress)
mapping:
L3 DSCP to EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | EXP | DSCP | EXP | DSCP | EXP | DSCP | EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 2 | 32 4 | 48 6
1 0 | 17 2 | 33 4 | 49 6
2 0 | 18 2 | 34 4 | 50 6
3 0 | 19 2 | 35 4 | 51 6
4 0 | 20 2 | 36 4 | 52 6
5 5 | 21 2 | 37 4 | 53 6
6 0 | 22 2 | 38 4 | 54 6
7 0 | 23 2 | 39 4 | 55 6
8 1 | 24 3 | 40 5 | 56 7
9 1 | 25 3 | 41 5 | 57 7
10 1 | 26 3 | 42 5 | 58 7
11 1 | 27 3 | 43 5 | 59 7
12 1 | 28 3 | 44 5 | 60 7
13 1 | 29 3 | 45 5 | 61 7
14 1 | 30 3 | 46 5 | 62 7
15 1 | 31 3 | 47 5 | 63 7
L2 Traffic-Class + Color to EXP
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
TC | Color | EXP | TC | Color | EXP | TC | Color | EXP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
PE1#show qos TEST1
profile name: TEST1
profile type: exp-encap
profile attached to 1 instances
configured mapping:
l3 dscp 5 exp 5
Detailed mapping:
L3 DSCP to EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | EXP | DSCP | EXP | DSCP | EXP | DSCP | EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 2 | 32 4 | 48 6
1 0 | 17 2 | 33 4 | 49 6
2 0 | 18 2 | 34 4 | 50 6
3 0 | 19 2 | 35 4 | 51 6
4 0 | 20 2 | 36 4 | 52 6
5 5 | 21 2 | 37 4 | 53 6
6 0 | 22 2 | 38 4 | 54 6
7 0 | 23 2 | 39 4 | 55 6
8 1 | 24 3 | 40 5 | 56 7
9 1 | 25 3 | 41 5 | 57 7
10 1 | 26 3 | 42 5 | 58 7
11 1 | 27 3 | 43 5 | 59 7
12 1 | 28 3 | 44 5 | 60 7
13 1 | 29 3 | 45 5 | 61 7
14 1 | 30 3 | 46 5 | 62 7
15 1 | 31 3 | 47 5 | 63 7
L2 Traffic-Class + Color to EXP
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
TC | Color | EXP | TC | Color | EXP | TC | Color | EXP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
PE2
PE2#show qos int xe1
profile name: default
profile type: dscp-to-queue (Ingress)
mapping:
-------+--------------------------- | -------+--------------------------- | -------+--------------------------- | -------+---
------------------------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT |
OUTPUT
-------+--------------------------- | -------+--------------------------- | -------+--------------------------- | -------+---
------------------------
DSCP | TC | Color | Out DSCP | DSCP | TC | Color | Out DSCP | DSCP | TC | Color | Out DSCP | DSCP |
TC | Color | Out DSCP
-------+-------+--------+---------- | -------+-------+--------+---------- | -------+-------+--------+---------- | -------+---
----+--------+----------
0 0 green 0 | 16 2 green 16 | 32 4 green 32 | 48 6
green 48
1 0 green 1 | 17 2 green 17 | 33 4 green 33 | 49 6
green 49
2 0 green 2 | 18 2 green 18 | 34 4 green 34 | 50 6
green 50
3 0 green 3 | 19 2 green 19 | 35 4 green 35 | 51 6
green 51
4 0 green 4 | 20 2 yellow 20 | 36 4 yellow 36 | 52 6
green 52
5 0 green 5 | 21 2 green 21 | 37 4 green 37 | 53 6
green 53
6 0 green 6 | 22 2 yellow 22 | 38 4 yellow 38 | 54 6
green 54
7 0 green 7 | 23 2 green 23 | 39 4 green 39 | 55 6
green 55
8 1 green 8 | 24 3 green 24 | 40 5 green 40 | 56 7
green 56
9 1 green 9 | 25 3 green 25 | 41 5 green 41 | 57 7
green 57
10 1 green 10 | 26 3 green 26 | 42 5 green 42 | 58 7
green 58
11 1 green 11 | 27 3 green 27 | 43 5 green 43 | 59 7
green 59
12 1 yellow 12 | 28 3 yellow 28 | 44 5 green 44 | 60 7
green 60
13 1 green 13 | 29 3 green 29 | 45 5 green 45 | 61 7
green 61
14 1 yellow 14 | 30 3 yellow 30 | 46 5 green 46 | 62 7
green 62
15 1 green 15 | 31 3 green 31 | 47 5 green 47 | 63 7
green 63
profile name: default
profile type: dscp-to-dscp (Egress)
Status: Inactive
mapping:
----------------+---------- | ----------------+---------- | ----------------+----------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+---------- | ----------------+---------- | ----------------+----------
DSCP | Color | Out DSCP | DSCP | Color | Out DSCP | DSCP | Color | Out DSCP
------+---------+---------- | ------+---------+---------- | ------+---------+----------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
8 green 8 | 8 yellow 8 | 8 red 8
9 green 9 | 9 yellow 9 | 9 red 9
10 green 10 | 10 yellow 12 | 10 red 14
11 green 11 | 11 yellow 11 | 11 red 11
12 green 12 | 12 yellow 12 | 12 red 14
13 green 13 | 13 yellow 13 | 13 red 13
14 green 14 | 14 yellow 14 | 14 red 14
15 green 15 | 15 yellow 15 | 15 red 15
16 green 16 | 16 yellow 16 | 16 red 16
17 green 17 | 17 yellow 17 | 17 red 17
18 green 18 | 18 yellow 20 | 18 red 22
19 green 19 | 19 yellow 19 | 19 red 19
20 green 20 | 20 yellow 20 | 20 red 22
21 green 21 | 21 yellow 21 | 21 red 21
22 green 22 | 22 yellow 22 | 22 red 22
23 green 23 | 23 yellow 23 | 23 red 23
24 green 24 | 24 yellow 24 | 24 red 24
25 green 25 | 25 yellow 25 | 25 red 25
26 green 26 | 26 yellow 28 | 26 red 30
27 green 27 | 27 yellow 27 | 27 red 27
28 green 28 | 28 yellow 28 | 28 red 30
29 green 29 | 29 yellow 29 | 29 red 29
30 green 30 | 30 yellow 30 | 30 red 30
31 green 31 | 31 yellow 31 | 31 red 31
32 green 32 | 32 yellow 32 | 32 red 32
33 green 33 | 33 yellow 33 | 33 red 33
34 green 34 | 34 yellow 36 | 34 red 38
35 green 35 | 35 yellow 35 | 35 red 35
36 green 36 | 36 yellow 36 | 36 red 38
37 green 37 | 37 yellow 37 | 37 red 37
38 green 38 | 38 yellow 38 | 38 red 38
39 green 39 | 39 yellow 39 | 39 red 39
40 green 40 | 40 yellow 40 | 40 red 40
41 green 41 | 41 yellow 41 | 41 red 41
42 green 42 | 42 yellow 42 | 42 red 42
43 green 43 | 43 yellow 43 | 43 red 43
44 green 44 | 44 yellow 44 | 44 red 44
45 green 45 | 45 yellow 45 | 45 red 45
46 green 46 | 46 yellow 46 | 46 red 46
47 green 47 | 47 yellow 47 | 47 red 47
48 green 48 | 48 yellow 48 | 48 red 48
49 green 49 | 49 yellow 49 | 49 red 49
50 green 50 | 50 yellow 50 | 50 red 50
51 green 51 | 51 yellow 51 | 51 red 51
52 green 52 | 52 yellow 52 | 52 red 52
53 green 53 | 53 yellow 53 | 53 red 53
54 green 54 | 54 yellow 54 | 54 red 54
55 green 55 | 55 yellow 55 | 55 red 55
56 green 56 | 56 yellow 56 | 56 red 56
57 green 57 | 57 yellow 57 | 57 red 57
58 green 58 | 58 yellow 58 | 58 red 58
59 green 59 | 59 yellow 59 | 59 red 59
60 green 60 | 60 yellow 60 | 60 red 60
61 green 61 | 61 yellow 61 | 61 red 61
62 green 62 | 62 yellow 62 | 62 red 62
63 green 63 | 63 yellow 63 | 63 red 63
profile name: default
profile type: exp-to-queue (Ingress)
mapping:
-------+-----------------
INPUT | OUTPUT
-------+-----------------
EXP | TC | Color
-------+--------+--------
0 0 green
1 1 green
2 2 green
3 3 green
4 4 green
5 7 green
6 6 green
7 7 green
profile name: default
profile type: exp-encap (Egress)
mapping:
L3 DSCP to EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | EXP | DSCP | EXP | DSCP | EXP | DSCP | EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 2 | 32 4 | 48 6
1 0 | 17 2 | 33 4 | 49 6
2 0 | 18 2 | 34 4 | 50 6
3 0 | 19 2 | 35 4 | 51 6
4 0 | 20 2 | 36 4 | 52 6
5 0 | 21 2 | 37 4 | 53 6
6 0 | 22 2 | 38 4 | 54 6
7 0 | 23 2 | 39 4 | 55 6
8 1 | 24 3 | 40 5 | 56 7
9 1 | 25 3 | 41 5 | 57 7
10 1 | 26 3 | 42 5 | 58 7
11 1 | 27 3 | 43 5 | 59 7
12 1 | 28 3 | 44 5 | 60 7
13 1 | 29 3 | 45 5 | 61 7
14 1 | 30 3 | 46 5 | 62 7
15 1 | 31 3 | 47 5 | 63 7
L2 Traffic-Class + Color to EXP
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
TC | Color | EXP | TC | Color | EXP | TC | Color | EXP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
PE2#show qos default
profile name: default
profile type: cos-to-queue
configured mapping:
Detailed mapping:
---------------+----------------- | ---------------+-----------------
INPUT | OUTPUT | INPUT | OUTPUT
---------------+----------------- | ---------------+-----------------
COS | DEI | TC | Color | COS | DEI | TC | Color
-------+-------+-------+--------- | -------+-------+-------+---------
0 0 0 green | 0 1 0 yellow
1 0 1 green | 1 1 1 yellow
2 0 2 green | 2 1 2 yellow
3 0 3 green | 3 1 3 yellow
4 0 4 green | 4 1 4 yellow
5 0 5 green | 5 1 5 yellow
6 0 6 green | 6 1 6 yellow
7 0 7 green | 7 1 7 yellow
profile name: default
profile type: queue-color-to-cos
configured mapping:
Detailed mapping:
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
TC | Color | COS | TC | Color | COS | TC | Color | COS
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
profile name: default
profile type: dscp-to-queue
configured mapping:
Detailed mapping:
-------+--------------------------- | -------+--------------------------- | -------+--------------------------- | -------+---
------------------------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT |
OUTPUT
-------+--------------------------- | -------+--------------------------- | -------+--------------------------- | -------+---
------------------------
DSCP | TC | Color | Out DSCP | DSCP | TC | Color | Out DSCP | DSCP | TC | Color | Out DSCP | DSCP |
TC | Color | Out DSCP
-------+-------+--------+---------- | -------+-------+--------+---------- | -------+-------+--------+---------- | -------+---
----+--------+----------
0 0 green 0 | 16 2 green 16 | 32 4 green 32 | 48 6
green 48
1 0 green 1 | 17 2 green 17 | 33 4 green 33 | 49 6
green 49
2 0 green 2 | 18 2 green 18 | 34 4 green 34 | 50 6
green 50
3 0 green 3 | 19 2 green 19 | 35 4 green 35 | 51 6
green 51
4 0 green 4 | 20 2 yellow 20 | 36 4 yellow 36 | 52 6
green 52
5 0 green 5 | 21 2 green 21 | 37 4 green 37 | 53 6
green 53
6 0 green 6 | 22 2 yellow 22 | 38 4 yellow 38 | 54 6
green 54
7 0 green 7 | 23 2 green 23 | 39 4 green 39 | 55 6
green 55
8 1 green 8 | 24 3 green 24 | 40 5 green 40 | 56 7
green 56
9 1 green 9 | 25 3 green 25 | 41 5 green 41 | 57 7
green 57
10 1 green 10 | 26 3 green 26 | 42 5 green 42 | 58 7
green 58
11 1 green 11 | 27 3 green 27 | 43 5 green 43 | 59 7
green 59
12 1 yellow 12 | 28 3 yellow 28 | 44 5 green 44 | 60 7
green 60
13 1 green 13 | 29 3 green 29 | 45 5 green 45 | 61 7
green 61
14 1 yellow 14 | 30 3 yellow 30 | 46 5 green 46 | 62 7
green 62
15 1 green 15 | 31 3 green 31 | 47 5 green 47 | 63 7
green 63
profile name: default
profile type: queue-color-to-dscp
configured mapping:
Detailed mapping:
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
TC | Color | DSCP | TC | Color | DSCP | TC | Color | DSCP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 10 | 1 yellow 12 | 1 red 14
2 green 18 | 2 yellow 20 | 2 red 22
3 green 26 | 3 yellow 28 | 3 red 30
4 green 34 | 4 yellow 36 | 4 red 38
5 green 40 | 5 yellow 40 | 5 red 40
6 green 48 | 6 yellow 48 | 6 red 48
7 green 56 | 7 yellow 56 | 7 red 56
profile name: default
profile type: dscp-to-dscp
configured mapping:
Detailed mapping:
----------------+---------- | ----------------+---------- | ----------------+----------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+---------- | ----------------+---------- | ----------------+----------
DSCP | Color | Out DSCP | DSCP | Color | Out DSCP | DSCP | Color | Out DSCP
------+---------+---------- | ------+---------+---------- | ------+---------+----------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7
8 green 8 | 8 yellow 8 | 8 red 8
9 green 9 | 9 yellow 9 | 9 red 9
10 green 10 | 10 yellow 12 | 10 red 14
11 green 11 | 11 yellow 11 | 11 red 11
12 green 12 | 12 yellow 12 | 12 red 14
13 green 13 | 13 yellow 13 | 13 red 13
14 green 14 | 14 yellow 14 | 14 red 14
15 green 15 | 15 yellow 15 | 15 red 15
16 green 16 | 16 yellow 16 | 16 red 16
17 green 17 | 17 yellow 17 | 17 red 17
18 green 18 | 18 yellow 20 | 18 red 22
19 green 19 | 19 yellow 19 | 19 red 19
20 green 20 | 20 yellow 20 | 20 red 22
21 green 21 | 21 yellow 21 | 21 red 21
22 green 22 | 22 yellow 22 | 22 red 22
23 green 23 | 23 yellow 23 | 23 red 23
24 green 24 | 24 yellow 24 | 24 red 24
25 green 25 | 25 yellow 25 | 25 red 25
26 green 26 | 26 yellow 28 | 26 red 30
27 green 27 | 27 yellow 27 | 27 red 27
28 green 28 | 28 yellow 28 | 28 red 30
29 green 29 | 29 yellow 29 | 29 red 29
30 green 30 | 30 yellow 30 | 30 red 30
31 green 31 | 31 yellow 31 | 31 red 31
32 green 32 | 32 yellow 32 | 32 red 32
33 green 33 | 33 yellow 33 | 33 red 33
34 green 34 | 34 yellow 36 | 34 red 38
35 green 35 | 35 yellow 35 | 35 red 35
36 green 36 | 36 yellow 36 | 36 red 38
37 green 37 | 37 yellow 37 | 37 red 37
38 green 38 | 38 yellow 38 | 38 red 38
39 green 39 | 39 yellow 39 | 39 red 39
40 green 40 | 40 yellow 40 | 40 red 40
41 green 41 | 41 yellow 41 | 41 red 41
42 green 42 | 42 yellow 42 | 42 red 42
43 green 43 | 43 yellow 43 | 43 red 43
44 green 44 | 44 yellow 44 | 44 red 44
45 green 45 | 45 yellow 45 | 45 red 45
46 green 46 | 46 yellow 46 | 46 red 46
47 green 47 | 47 yellow 47 | 47 red 47
48 green 48 | 48 yellow 48 | 48 red 48
49 green 49 | 49 yellow 49 | 49 red 49
50 green 50 | 50 yellow 50 | 50 red 50
51 green 51 | 51 yellow 51 | 51 red 51
52 green 52 | 52 yellow 52 | 52 red 52
53 green 53 | 53 yellow 53 | 53 red 53
54 green 54 | 54 yellow 54 | 54 red 54
55 green 55 | 55 yellow 55 | 55 red 55
56 green 56 | 56 yellow 56 | 56 red 56
57 green 57 | 57 yellow 57 | 57 red 57
58 green 58 | 58 yellow 58 | 58 red 58
59 green 59 | 59 yellow 59 | 59 red 59
60 green 60 | 60 yellow 60 | 60 red 60
61 green 61 | 61 yellow 61 | 61 red 61
62 green 62 | 62 yellow 62 | 62 red 62
63 green 63 | 63 yellow 63 | 63 red 63
profile name: default
profile type: dscp-encap
configured mapping:
Detailed mapping:
L3 DSCP to DSCP-ENCAP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | DSCP | DSCP | DSCP | DSCP | DSCP | DSCP | DSCP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 16 | 32 32 | 48 48
1 1 | 17 17 | 33 33 | 49 49
2 2 | 18 18 | 34 34 | 50 50
3 3 | 19 19 | 35 35 | 51 51
4 4 | 20 20 | 36 36 | 52 52
5 5 | 21 21 | 37 37 | 53 53
6 6 | 22 22 | 38 38 | 54 54
7 7 | 23 23 | 39 39 | 55 55
8 8 | 24 24 | 40 40 | 56 56
9 9 | 25 25 | 41 41 | 57 57
10 10 | 26 26 | 42 42 | 58 58
11 11 | 27 27 | 43 43 | 59 59
12 12 | 28 28 | 44 44 | 60 60
13 13 | 29 29 | 45 45 | 61 61
14 14 | 30 30 | 46 46 | 62 62
15 15 | 31 31 | 47 47 | 63 63
L2 Traffic-Class + Color to DSCP-ENCAP
---------------+-------- | ----------------+--------| --------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
---------------+-------- | ----------------+--------| --------------+--------
TC | Color | DSCP | TC | Color | DSCP | TC | Color | DSCP
-------+-------+-------- | -------+--------+--------| ------+-------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 8 | 1 yellow 8 | 1 red 8
2 green 16 | 2 yellow 16 | 2 red 16
3 green 24 | 3 yellow 24 | 3 red 24
4 green 32 | 4 yellow 32 | 4 red 32
5 green 40 | 5 yellow 40 | 5 red 40
6 green 48 | 6 yellow 48 | 6 red 48
7 green 56 | 7 yellow 56 | 7 red 56
profile name: default
profile type: exp-to-queue
configured mapping:
qos profile exp-to-queue default
exp 5 queue 7
!
Detailed mapping:
-------+-----------------
INPUT | OUTPUT
-------+-----------------
EXP | TC | Color
-------+--------+--------
0 0 green
1 1 green
2 2 green
3 3 green
4 4 green
5 7 green
6 6 green
7 7 green
profile name: default
profile type: exp-encap
configured mapping:
Detailed mapping:
L3 DSCP to EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------|-------- | -------|-------- | -------|-------- | -------|--------
DSCP | EXP | DSCP | EXP | DSCP | EXP | DSCP | EXP
-------+-------- | -------+-------- | -------+-------- | -------+--------
0 0 | 16 2 | 32 4 | 48 6
1 0 | 17 2 | 33 4 | 49 6
2 0 | 18 2 | 34 4 | 50 6
3 0 | 19 2 | 35 4 | 51 6
4 0 | 20 2 | 36 4 | 52 6
5 0 | 21 2 | 37 4 | 53 6
6 0 | 22 2 | 38 4 | 54 6
7 0 | 23 2 | 39 4 | 55 6
8 1 | 24 3 | 40 5 | 56 7
9 1 | 25 3 | 41 5 | 57 7
10 1 | 26 3 | 42 5 | 58 7
11 1 | 27 3 | 43 5 | 59 7
12 1 | 28 3 | 44 5 | 60 7
13 1 | 29 3 | 45 5 | 61 7
14 1 | 30 3 | 46 5 | 62 7
15 1 | 31 3 | 47 5 | 63 7
L2 Traffic-Class + Color to EXP
----------------+-------- | ----------------+-------- | ----------------+--------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
----------------+-------- | ----------------+-------- | ----------------+--------
TC | Color | EXP | TC | Color | EXP | TC | Color | EXP
-------+--------+-------- | -------+--------+-------- | -------+--------+--------
0 green 0 | 0 yellow 0 | 0 red 0
1 green 1 | 1 yellow 1 | 1 red 1
2 green 2 | 2 yellow 2 | 2 red 2
3 green 3 | 3 yellow 3 | 3 red 3
4 green 4 | 4 yellow 4 | 4 red 4
5 green 5 | 5 yellow 5 | 5 red 5
6 green 6 | 6 yellow 6 | 6 red 6
7 green 7 | 7 yellow 7 | 7 red 7