176
display ip-subnet-vlan vlan
Description
Use the display ip-subnet-vlan vlan command to display the IP subnet information and IP subnet indexes
on the specified VLANs.
Related commands: display vlan.
Syntax
display ip-subnet-vlan vlan { vlan-id [ to vlan-id ] | all } [ | { begin | exclude | include } regular-
expression ]
View
Any view
Default level
2: System level
Parameters
vlan-id: Specifies a VLAN ID, in the range of 1 to 4094.
to: Specifies a VLAN ID range. The parameter after this keyword must be greater than or equal to the one
before this keyword.
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.
Example
# Display the IP subnet information and IP subnet indexes for all VLANs.
<Sysname> display ip-subnet-vlan vlan all
VLAN ID: 3
Subnet Index IP Address Subnet Mask
====================================================
0 192.168.1.0 255.255.255.0
Table 40 Command output
IP address of the subnet; it can be an IP address or a network address.