Ip Subnet-Based Vlan Configuration Commands; Display Ip-Subnet-Vlan Interface - H3C S5120-EI Series Command Reference Manual

Lan switching
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

CAUTION:
Do not configure both the
0xff when configuring the user-defined template for llc encapsulation. Otherwise, the encapsulation
format of the matching packets will be the same as that of the ipx llc or ipx raw packets, respectively.
When either of the
argument.
When you use the mode keyword to configure a user-defined protocol template, do not set
ethernetii etype
format of the matching packets will be the same as that of the IPv4, IPX, AppleTalk, and IPv6 packets,
respectively.
Description
Use the protocol-vlan command to configure the VLAN as a protocol based VLAN and configure the
protocol template for the VLAN.
Use the undo protocol-vlan command to remove the configured protocol template.
By default, no VLAN is bound to any protocol template.
Related commands: display protocol-vlan vlan.
NOTE:
Do not configure a VLAN as both a protocol-based VLAN and a voice VLAN.
Examples
# Configure VLAN 3 as an IPv4 based VLAN.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] protocol-vlan ipv4
CAUTION:
IP uses ARP for address resolution in Ethernet. To prevent communication failure, configure the IP and ARP
templates in the same VLAN and associate them with the same port.
# Create an ARP protocol template for VLAN 3 (ARP code is 0x0806) to make VLAN 3 transmit ARP
packets.
To use Ethernet encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806
To use 802.3 encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode snap etype 0806

IP subnet-based VLAN configuration commands

display ip-subnet-vlan interface

Syntax
display ip-subnet-vlan interface { interface-list | all } [ | { begin | exclude | include }
regular-expression ]
dsap-id
ssap-id
and
dsap-id
ssap-id
and
etype-id
to 0x0800, 0x8137, 0x809b, or 0x86dd. Otherwise, the encapsulation
arguments in the protocol-vlan command as 0xe0 or
arguments is configured, the system assigns aa to the other
165
etype-id
in

Advertisement

Table of Contents
loading

Table of Contents