Chapter 36: VLAN Commands
Configuring IP Subnet VLANs
– 1111 –
vlan-id
– VLAN to which matching IP subnet traffic is forwarded.
(Range: 1-4094)
priority
– The priority assigned to untagged ingress traffic.
(Range: 0-7, where 7 is the highest priority)
D
EFAULT
S
ETTING
Priority: 0
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
•
Each IP subnet can be mapped to only one VLAN ID. An IP subnet
consists of an IP address and a subnet mask. The specified VLAN need
not be an existing VLAN.
•
When an untagged frame is received by a port, the source IP address is
checked against the IP subnet-to-VLAN mapping table, and if an entry
is found, the corresponding VLAN ID is assigned to the frame. If no
mapping is found, the PVID of the receiving port is assigned to the
frame.
•
The IP subnet cannot be a broadcast or multicast IP address.
•
When MAC-based, IP subnet-based, or protocol-based VLANs are
supported concurrently, priority is applied in this sequence, and then
port-based VLANs last.
E
XAMPLE
The following example assigns traffic for the subnet 192.168.12.192, mask
255.255.255.224, to VLAN 4.
Console(config)#subnet-vlan subnet 192.168.12.192 255.255.255.224 vlan 4
Console(config)#
show subnet-vlan
This command displays IP Subnet VLAN assignments.
C
OMMAND
M
ODE
Privileged Exec
C
OMMAND
U
SAGE
•
Use this command to display subnet-to-VLAN mappings.
•
The last matched entry is used if more than one entry can be matched.
E
XAMPLE
The following example displays all configured IP subnet-based VLANs.
Console#show subnet-vlan
IP Address Mask VLAN ID Priority
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...