13-32
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 ]
View
Any view
Default Level
2: System level
Parameters
interface-list: Specifies an Ethernet port list in the format of interface-list = { interface-type
interface-number [ to interface-type interface-number ] }&<1-10>, where interface-type
interface-number represents the port type and port number and &<1-10> indicates that you can specify
up to 10 ports or port ranges.
all: Displays IP subnet information about all the ports with IP subnet-based VLAN configured.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see CLI Configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays the lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256
characters.
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 13-6 display ip-subnet-vlan interface command output description
Field Description
Interface Interface of which you want to view the information