Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-20
Caution:
Due to the close relationship between IPv4 and ARP, it is recommended to bind the two
protocols to the same VLAN and associate the binding to related ports to guarantee
normal communication.
Configure ARP protocol template for VLAN3 (ARP code is 0x0806) to make the VLAN
transmit ARP packets.
z
To use Ethernet encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806
z
To use 802.3 encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode snap etype 0806
1.4 IP-Subnet-Based VLAN Configuration Commands
1.4.1 display ip-subnet-vlan interface
Syntax
display ip-subnet-vlan interface
{
interface-type interface number1
[
to
interface-type
interface-number2
|
all
}
View
Any view
Parameters
interface-type interface-number1
: Specifies a port by its type and number.
Interface
-
type interface-number1
to
Interface
-type
interface-number2
: Specifies
multiple ports.
all
: Displays the IP-subnet-based VLAN information about all the ports with
IP-subnet-based VLAN configured.
Description
Use the
display ip-subnet-vlan interface
command to display the IP-subnet-based
VLAN information and IP subnet ID on a specified port.
Examples
# Display the IP-subnet-based VLAN information and IP subnet index on Ethernet
2/0/1.
<Sysname> display ip-subnet-vlan interface ethernet 2/0/1
Interface: Ethernet2/0/1