Chapter 36: VLAN Commands
Configuring IP Subnet VLANs
– 1110 –
D
EFAULT
S
ETTING
The mapping for all interfaces is displayed.
C
OMMAND
M
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 VLAN ID
---------- ------------------ -----------
Eth 1/1 1 vlan2
Console#
C
ONFIGURING
IP S
UBNET
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).
subnet-vlan
This command configures IP Subnet VLAN assignments. Use the
no
form to
remove an IP subnet-to-VLAN assignment.
S
YNTAX
subnet-vlan
subnet
ip-address mask
vlan
vlan-id
[
priority priority
]
no subnet-vlan subnet
{
ip-address mask
|
all
}
ip-address
– The IP address that defines the subnet. Valid IP
addresses consist of four decimal numbers, 0 to 255, separated by
periods.
mask
– This mask identifies the host address bits of the IP subnet.
Table 36-10: IP Subnet VLAN Commands
Command
Function
Mode
Defines the IP Subnet VLANs
GC
Displays IP Subnet VLAN settings
PE
Содержание 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...