Configuring Protocol Vlan - Zte ZXR10 5900 Series User Manual

All gigabit-port intelligent routing switch
Hide thumbs Also See for ZXR10 5900 Series:
Table of Contents

Advertisement

Step Command
1
vlan protocol-map session-no
ZXR10(config)#
<session-no>{ethernet2| llc| snap}<0xHHHH> vlan
{<vlanId>|<name>}
2
show vlan protocol-map
ZXR10(config)#
Example
ZXR10(config-gei_1/1)#exit
ZXR10(config)#interface gei_1/2
ZXR10(config-gei_1/2)#switchport mode hybrid
ZXR10(config-gei_1/2)#switchport hybrid native vlan 30
ZXR10(config-gei_1/2)#switchport hybrid vlan 30 untag
ZXR10(config-gei_1/2)#exit
ZXR10(config)#interface gei_1/10
ZXR10(config-gei_1/10)#switchport mode hybrid
ZXR10(config-gei_1/10)#switchport hybrid vlan 20,30 untag
ZXR10(config-gei_1/10)#exit
/*Create subnet VLAN data*/
ZXR10(config)#vlan subnet-map session-no
1 20.20.20.0 255.255.255.0 vlan 20
ZXR10(config)#vlan subnet-map session-no
2 30.30.30.1 255.255.255.255
vlan 30
/*disable subnet VLAN in some ports which don't need subnet VLAN*/
ZXR10(config)#interface gei_1/5
ZXR10(config-gei_1/5)#vlan subnet-map disable
ZXR10(config-gei_1/5)#exit

Configuring Protocol VLAN

Customer port gei_1/1 of a switch receives 0X1000 packets and
0X1001 packets. These packets with different tags can be ob-
served on the other two ports, gei_1/2 and gei_1/3 respectively.
The detailed configuration is as follows:
Configuration of switch:
/*create protocol vlan data*/
ZXR10(config)#vlan protocol-map session-no 1 ethernet2
0x1000 vlan 10
ZXR10(config)#vlan protocol-map session-no 2 ethernet2
0x1001 vlan 20
/*put port into corresponding VLAN*/
ZXR10(config)#interface gei_1/1
ZXR10(config-if)#switchport mode trunk
ZXR10(config-if)#switchport trunk vlan 10,20
ZXR10(config-if)#exit
ZXR10(config)#interface gei_1/2
ZXR10(config-if)#switchport mode trunk
ZXR10(config-if)#switchport trunk vlan 10
ZXR10(config-if)#exit
ZXR10(config)#int gei_1/3
ZXR10(config-if)#switchport mode trunk
ZXR10(config-if)#switchport trunk vlan 20
ZXR10(config-if)#exit
/*disable protocol vlan in some ports which don't
need protocol vlan*/
ZXR10(config)#interface gei_1/5
ZXR10(config-gei_1/5)#vlan protocol-map disable
ZXR10(config-gei_1/5)#exit
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 VLAN Configuration
Function
This configures protocol
VLAN.
This views the configuration
of protocol VLAN.
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents