| VLAN Commands
C
37
HAPTER
Configuring IP Subnet VLANs
C
IP S
ONFIGURING
UBNET
D
S
EFAULT
ETTING
The mapping for all interfaces is displayed.
C
M
OMMAND
ODE
Privileged Exec
E
XAMPLE
This shows that traffic entering Port 1 that matches the specifications for
protocol group 1 will be mapped to VLAN 2:
Console#show interfaces protocol-vlan protocol-group
Port
ProtocolGroup ID
---------- ------------------ -----------
Eth 1/1
Console#
VLAN
S
When using IEEE 802.1Q port-based VLAN classification, all untagged
frames received by a port are classified as belonging to the VLAN whose
VID (PVID) is associated with that port.
When IP subnet-based VLAN classification is enabled, the source address of
untagged ingress frames are checked against the IP subnet-to-VLAN
mapping table. If an entry is found for that subnet, these frames are
assigned to the VLAN indicated in the entry. If no IP subnet is matched, the
untagged frames are classified as belonging to the receiving port's VLAN ID
(PVID).
Table 153: IP Subnet VLAN Commands
Command
Function
subnet-vlan
Defines the IP Subnet VLANs
show subnet-vlan
Displays IP Subnet VLAN settings
– 1182 –
VLAN ID
1
vlan2
Mode
GC
PE