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
mdc-admin
mdc-operator
Parameters
interface-type interface-number1 to interface-type interface-number2: Specifies an interface range. Both the interface-type interface-number1 argument and the interface-type interface-number2 argument represent the interface type and interface number. The value for the interface-number2 argument must be greater than or equal to the value for the interface-number1 argument.
all: Specifies all ports.
Examples
# Display IP subnet-based VLANs on Ten-GigabitEthernet 1/0/1.
<Sysname> display ip-subnet-vlan interface ten-gigabitethernet 1/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 18: Command output
Field | Description |
---|---|
VLAN ID | ID of the IP subnet-based VLAN. |
Subnet index | Index of the IP subnet. This field displays N/A if no IP subnet-based VLAN is configured. |
IP address | IP address of the subnet. It can be an IP address or a subnet address. This field displays N/A if no IP subnet address is configured for the VLAN. |
Subnet mask | Mask of the IP subnet. This field displays N/A if no subnet mask is configured for the VLAN. |
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