display ip-subnet-vlan interface
Use display ip-subnet-vlan interface to display IP subnet-based VLANs that are associated with the specified ports.
Syntax
display ip-subnet-vlan interface { interface-type interface-number1 [ to interface-type interface-number2 ] | all }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number1: Specifies an interface by its type and number.
interface-type interface-number1 to interface-type interface-number2: Specifies an interface range.
all: Displays information about IP subnet-based VLANs that are associated with all ports.
Examples
# Display IP subnet-based VLANs on Ten-GigabitEthernet 1/0/1.
<Sysname> display ip-subnet-vlan interface ten-gigabitethernet1/0/1 Interface: Ten-GigabitEthernet1/0/1 VLAN ID Subnet index IP address Subnet mask Status 3 0 192.168.1.0 255.255.255.0 Active 4 N/A N/A N/A Inactive 4094 65535 172.16.1.1 255.255.0.0 Inactive
Table 44: Command output
Field | Description |
---|---|
VLAN ID | ID of the IP subnet-based VLAN. |
Subnet index | Index of the IP subnet. If no IP subnet-based VLAN is configured, this field displays N/A. |
IP address | IP address of the subnet. It can be an IP address or a subnet address. If no IP subnet address is configured for the VLAN, this field displays N/A. |
Subnet mask | Mask of the IP subnet. If no subnet mask is configured for the VLAN, this field displays N/A. |
Status | Whether the IP subnet-based VLAN has taken effect on the port:
|
Related commands
display ip-subnet-vlan vlan
ip-subnet-vlan
port hybrid ip-subnet-vlan