Chapter 22 IPv6 QoS Configuration
Configuration Flow
1.
Create a VLAN sub-interface and configure an IP address on the sub-interface.
2.
Configure a VLAN ID for the sub-interface.
3.
Configure 802.1p inheritance.
Configuration Commands
Configuration on R2:
R2(config)#interface gei-1/1.1
R2(config-if-gei-1/1.1)#ipv6 enable
R2(config-if-gei-1/1.1)#ipv6 address 7::1/64
R2(config-if-gei-1/1.1)#exit
R2(config)#interface gei-1/2.1
R2(config-if-gei-1/2.1)#ipv6 enable
R2(config-if-gei-1/2.1)#ipv6 address 8::1/64
R2(config-if-gei-1/2.1)#exit
R2(config)#vlan-configuration
R2(config-vlan)#interface gei-1/1.1
R2(config-vlan-if-gei-1/1.1)#encapsulation-dot1q 100
R2(config-vlan-if-gei-1/1.1)#exit
R2(config-vlan)#interface gei-1/2.1
R2(config-vlan-if-gei-1/2.1)#encapsulation-dot1q 200
R2(config-vlan-if-gei-1/2.1)#exit
R2(config-vlan)#exit
R2(config)#class-map 802.1p match-all ipv6
R2(config-cmap)#match child
R2(config-cmap)#exit
R2(config)#policy-map 802.1p
R2(config-pmap)#class 802.1p
R2(config-pmap-c)#set precedence inherit-from 8021p
R2(config-pmap-c)#exit
R2(config-pmap)#exit
R2(config)#service-policy gei-1/1.1 input 802.1p
On R1 and R3, it is only necessary to configure the VLAN sub-interfaces and addresses.
Configuration Verification
Check the configuration result on R2, as shown below.
R2(config)#show class-map 802.1p
class-map 802.1p match-all ipv6
match child
R2(config)#show policy-map 802.1p
policy-map 802.1p
22-7
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 ZSR
Страница 12: ...This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 306: ...Figures This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 308: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...