display ip-subnet-vlan vlan
Use display ip-subnet-vlan vlan to display information about IP subnet-based VLANs.
Syntax
display ip-subnet-vlan vlan { vlan-id1 [ to vlan-id2 ] | all }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vlan-id1: Specifies an IP subnet-based VLAN by its VLAN ID in the range of 1 to 4094.
vlan-id1 to vlan-id2: Specifies a VLAN ID range. Both the vlan-id1 and the vlan-id2 arguments are in the range of 1 to 4094. The value for the vlan-id2 argument must be equal to or greater than the value for the vlan-id1 argument.
all: Specifies all IP subnet-based VLANs.
Examples
# Display information about all IP subnet-based 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 45: Command output
Field | Description |
---|---|
VLAN ID | ID of the IP subnet-based VLAN. |
Subnet index | Index of the IP subnet. |
IP address | IP address of the subnet. It can be an IP address or a subnet address. |
Subnet mask | Mask of the IP subnet. |
Related commands
display ip-subnet-vlan interface
ip-subnet-vlan
port hybrid ip-subnet-vlan