3com S7906E Guide De Référence
1-28
z
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-type interface-number1 [ to interface-type
interface-number2 | all }
View
Any view
Default Level
2: System level
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 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 IP subnet-based VLANs and IP subnet
indexes on the specified port(s).
Examples
# Display IP subnet-based VLANs and IP subnet indexes on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname]display ip-subnet-vlan interface gigabitethernet2/0/1
Interface: GigabitEthernet2/0/1
VLAN ID Subnet-Index IP ADDRESS NET MASK
=======================================================
3 0 192.168.1.0 255.255.255.0
Table 1-6 display ip-subnet-vlan interface command output description
Field
Description
Interface
Interface of which you want to view the
information
information
VLAN ID
VLAN ID
Subnet-Index Index
of the IP subnet
IP ADDRESS
IP address of the subnet (either an IP address or
a network address)
a network address)
NET MASK
Mask of the IP subnet