
17-68
17.3.11 show subnet-vlan interface
Command:
show subnet-vlan interface
Function:
Display the port at IP-subnet-based VLAN.
Parameter:
None.
Command Mode:
Admin Mode and other Configuration Mode.
Usage Guide:
Display the port of enabling IP-subnet-based VLAN, the character in the bracket indicate the ports mode, A means
Access port, T means Trunk port, H means Hybrid port.
Example
:
Display the port of enabling IP-subnet-based VLAN currently.
Switch#show subnet-vlan interface
Ethernet1/1(A) Ethernet1/2(A)
Ethernet1/3(A) Ethernet1/4(A)
Ethernet1/5(H) Ethernet1/6(T)
17.3.12 subnet-vlan
Command:
subnet-vlan ip-address <ipv4-addrss> mask <subnet-mask
>
vlan
<vlan-id>
priority
<priority-id>
no subnet-vlan {ip-address
<ipv4-addrss>
mask
<subnet-mask>
| all}
Function:
Add a correspondence between the IP subnet and the VLAN, namely add specified IP subnet into specified VLAN;
the no form of this command deletes all/the correspondence.
Parameter:
ipv4-address is the IPv4 address shown in dotted decimal notation; the valid range of each section is 0~255;
subnet-mask is the subnet mask code shown in dotted decimal notation; the valid range of each section is 0~255;