Chapter 56 VLAN
OLT2406 User’s Guide
454
56.13.2 Protocol Based VLAN Command Examples
This example creates a VLAN rule based on the IP Ethernet protocol and named IP_VLAN on ports ge-5-
1 ~ ge-5-4 with a VLAN ID of 200 and a priority 6.
See Table 29 on page 120 for the mappings of the port number and the physical ports.
protocol-based-vlan name
<name> ethernet-type <ether-
num|ip|ipx|arp|rarp|appletalk|
decnet> vlan <vlan-id>
priority <0-7> inactive
Creates a disabled protocol based VLAN with
the specified parameters.
name: Use up to 32 alphanumeric characters.
ether-num: If you don’t select a predefined
Ethernet protocol (ip, ipx, arp, rarp,
appletalk or decnet), type the protocol
number in hexadecimal notation with a prefix,
"0x". For example, type 0x0800 for the IP protocol
and type 0x8137 for the Novell IPX protocol.
Note: Protocols in the hexadecimal
number range 0x0000 to 0x05ff are
not allowed.
priority: Specify the IEEE 802.1p priority that
the OLT assigns to frames belonging to this VLAN.
C13
no protocol-based-vlan
ethernet-type <ether-
num|ip|ipx|arp|rarp|appletalk|
decnet>
Disables protocol based VLAN of the specified
protocol on the port.
C13
Table 225 Protocol Based VLAN Commands (continued)
COMMAND DESCRIPTION M P
OLT2406(config)# interface port-channel ge-5-1&&-4
OLT2406(config-interface)# protocol-based-vlan name IP_VLAN ethernet-type ip
vlan 200 priority 6
OLT2406(config-interface)# exit
OLT2406(config)# exit
OLT2406# show interfaces config ge-5-1&&-4 protocol-based-vlan
Name Port Packet type Ethernet type Vlan Priority Active
------- ---- ----------- ------------- ---- -------- ------
IP_VLAN 9 EtherII ip 200 6 Yes
IP_VLAN 10 EtherII ip 200 6 Yes
IP_VLAN 11 EtherII ip 200 6 Yes
IP_VLAN 12 EtherII ip 200 6 Yes