
167
View
Any view
Default level
2: System level
Parameters
vlan
-
id
: Specifies a VLAN ID, ranging from 1 to 4094.
to
: Specifies a VLAN ID range. The argument 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 the
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, which is a case sensitive string of 1 to 256
characters.
Description
Use the
display ip-subnet-vlan vlan
command to display the IP subnet information and IP subnet indexes
on the specified VLAN(s).
Related commands:
display vlan
.
Examples
# Display the IP subnet information of 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 38
Output description
Field Description
Subnet Index
IP subnet index.
IP Address
IP address of the subnet (can be an IP address or a network address).
Subnet Mask
Mask of the IP subnet.
ip-subnet-vlan
Syntax
ip-subnet-vlan
[
ip-subnet-index
]
ip
ip-address
[
mask
]
undo ip-subnet-vlan
{
ip-subnet-index
[
to
ip-subnet-end
] |
all
}