host1(config-policy-list-classifier-group)#
traffic-class class1
host1(config-policy-list-classifier-group)#
color green
host1(config)#
interface atm 3/0.1
host1(config-subif)#
ip policy input qos-service
2.
Create and attach an IP input policy for the plain Internet service to CE interfaces
on the PE router for incoming traffic. All traffic is treated as best effort, so no
classifier group is necessary.
host1(config)#
ip policy-list plain-service
host1(config-policy-list-classifier-group)#
user-packet-class 0
host1(config-policy-list-classifier-group)#
traffic-class best-effort
host1(config-policy-list-classifier-group)#
color green
host1(config)#
interface atm 5/0.1
host1(config-subif)#
ip policy input plain-service
3.
Attach an IP output policy for the QoS VPN service to CE interfaces on the PE
router for outgoing traffic. The same qos-service policy that is attached to the
input in Step 1 can be used on the output, even though the UPC setting is not
needed.
host1(config)#
Interface atm 3/0.1
host1(config-subif)#
Ip policy output qos-service
Attach an IP output policy for the plain VPN service to CE interfaces on the PE
router for outgoing traffic. The same plain-service policy that is attached to the
input in Step 2 can be used on output, although the UPC setting is not needed.
host1(config)#
Interface atm 5/0.1
host1(config-subif)#
Ip policy output plain-service
4.
For traffic toward the core, configure per-VR rules or per-LSP policies to set the
base EXP bits value according to the traffic-class/color combination. Issue the
mpls copy-upc-to-exp
command to set the VPN EXP bits value to the UPC value.
The UPC value is the same as the IP precedence value for the QoS service case;
for all other cases the value is 000. Configure the
mpls preserve-vpn-exp
command so that VPN EXP bits are not subject to policy or to per-VR EXP rules.
host1(config)#
mpls match traffic-class … color … set exp-bits …
host1(config)#
mpls copy-upc-to-exp
host1(config)#
mpls preserve-vpn-exp
You must attach a policy to the core-side IP interface to set the UPC value of the
control traffic appropriately so that the EXP bits value is copied from the UPC
when this traffic goes out as MPLS packets.
host1(config)#
ip classier-list control-traffic-prec0 …
host1(config)#
ip classier-list control-traffic-prec1 …
host1(config)#
ip policy-list core-ip-policy
host1(config-policy-list)#
classifier-group control-traffic-prec0
host1(config-policy-list-classifier-group)#
user-packet-class prec0
host1(config-policy-list-classifier-group)#
traffic-class class0
host1(config-policy-list-classifier-group)#
color green
host1(config-policy-list)#
classifier-group control-traffic-prec1
host1(config-policy-list-classifier-group)#
-packet-class prec1
host1(config-policy-list-classifier-group)#
traffic-class class1
298
■
Example Differentiated Services Application and Configuration
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...