Configures an interface or connection for L2 switching.
Step 4 service-policy [ input | output ] [ policy-map-name ]
Example:
RP/0/RSP0/CPU0:router(config-if)# service-policy input servpol1
Attaches a QoS policy to an input or output interface to be used as the service policy for that interface.
Step 5 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Step 6 show qos interface type interface-id service-policy [ input | output ] [ policy-map-name ]
Example:
RP/0/RSP0/CPU0:router# show qos interface gigabitethernet 0/0/0/0 input serpol1
(Optional) Displays the QoS service policy you defined.
Configuring an L2VPN Quality of Service Policy in VLAN Mode
This procedure describes how to configure a L2VPN QoS policy in VLAN mode.
In VLAN mode, the interface name must include a subinterface. For example: GigabitEthernet0/1/0/1.1. The
l2transport command must follow the interface type on the same CLI line. For example: interface
GigabitEthernet 0/0/0/0.1 l2transport”.
Note
SUMMARY STEPS
1. configure
2. interface type interface-path-id.subinterface l2transport
3. service-policy [ input | output ] [ policy-map-name ]
4. Use the commit or end command.
DETAILED STEPS
Step 1 configure
Example:
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
110
Implementing Point to Point Layer 2 Services
Configuring an L2VPN Quality of Service Policy in VLAN Mode