When the tunnel is established, the JUNOSe software automatically creates an output policy to map traffic-class/color combinations to EXP bits and attaches the policy to the outgoing segment of the tunnel. The JUNOSe software generates classifier list and policy list names, and creates the EXP-setting policy as if the following commands were entered:
![]() |
Note: You do not actually issue these commands; they represent the behavior automatically performed by the router. |
- host1(config)#mpls classifier-list be-green
traffic-class best-effort color green
- host1(config)#mpls classifier-list ef-green
traffic-class ef color green
- host1(config)#mpls classifier-list af1-green
traffic-class af1 color green
- host1(config)#mpls classifier-list af1-yellow
traffic-class af1 color yellow
- host1(config)#mpls classifier-list af1-red
traffic-class af1 color red
- host1(config)#mpls classifier-list af2-green
traffic-class af2 color green
- host1(config)#mpls classifier-list af2-yellow
traffic-class af2 color yellow
- host1(config)#mpls classifier-list af2-red
traffic-class af2 color red
- host1(config)#mpls policy-list mpls-exp-setting
- host1(config-policy-list)#mark 0 classifier-group
be-green
- host1(config-policy-list)#mark 1 classifier-group
af1-green
- host1(config-policy-list)#mark 2 classifier-group
af1-yellow
- host1(config-policy-list)#mark 3 classifier-group
af1-red
- host1(config-policy-list)#mark 4 classifier-group
af2-green
- host1(config-policy-list)#mark 5 classifier-group
af2-yellow
- host1(config-policy-list)#mark 6 classifier-group
af2-red
- host1(config-policy-list)#mark 7 classifier-group
ef-green
![]() |
Note: For a topology-driven LSP, you have to configure and apply the classifier list and policy list manually. |