3
Table 38 Command output
Field
Subnet-Index
IP ADDRESS
NET MASK
display ip-subnet-vlan vlan
Syntax
display ip-subnet-vlan vlan { vlan-id1 [ to vlan-id2 ] | all } [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
2: System level
Parameters
vlan-id1: Specifies a VLAN ID, in the range of 1 to 4094.
vlan-id1 to vlan-id2: Specifies a VLAN range from vlan-id1 to vlan-id2, where vlan-id1 and vlan-id2
represent VLAN IDs and each range from 1 to 4094. The vlan-id2 argument must be no smaller than the
vlan-id1 argument.
all: Specifies all the VLANs.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all 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, a case-sensitive string of 1 to 256 characters.
Description
Use display ip-subnet-vlan vlan to display the IP subnet-based VLAN information and IP subnet indexes
on the specified VLANs.
Related commands: display vlan.
Examples
# Display the IP subnet information and IP subnet indexes for all VLANs.
<Sysname> display ip-subnet-vlan vlan all
VLAN ID:
Subnet Index
====================================================
0
0
Description
Index of the IP subnet
IP address of the subnet (either an IP address or a network address)
Mask of the IP subnet
3
IP Address
192.168.1.0
192.168.1.0
255.255.255.0
Subnet Mask
255.255.255.0
162