
C
HAPTER
39
| VLAN Commands
Configuring IP Subnet VLANs
– 830 –
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
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.
vlan-id
– VLAN to which matching IP subnet traffic is forwarded.
(Range: 1-4094)
D
EFAULT
S
ETTING
None
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.
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, and 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)#
Summary of Contents for DG-FS4528P
Page 2: ......
Page 4: ......
Page 148: ...CHAPTER 5 Simple Network Management Protocol Configuring SNMPv3 Groups 148 ...
Page 389: ...CHAPTER 17 VoIP Traffic Configuration Configuring Telephony OUI 389 ...
Page 515: ...CHAPTER 22 System Management Commands UPnP 515 TTL 20 Console ...
Page 972: ......
Page 973: ...DG FS4528P ...