DGS-6604
m
subnet-base (VLAN)
CLI Reference Guide
885
subnet-base (VLAN)
Use the subnet command to specify a subnet-based VLAN ID assignment for un-
tagged incoming packets. Use the no form of this command to remove a subnet-
based VLAN ID entry setting.
subnet-base {
NETWORK-PREFIX NETWORK-MASK | NETWORK-PREFIX / PREFIX-LENGTH
}
no subnet-base {
NETWORK-PREFIX NETWORK-MASK | NETWORK-PREFIX / PREFIX-LENGTH
}
Default
Not configured
Command Mode
VLAN configuration
Usage Guideline
A subnet VLAN entry is an IP subnet-based VLAN classification rule. If an
untagged or priority-tagged IP packet is received on a port, its source IP address
will be used to match the subnet VLAN entries. If the source IP matches the
subnet of an entry, the packet will be classified to the VLAN of this entry. The
number of subnet-based VLAN entries is project dependent.
Example
This example shows how to create a subnet-based VLAN entry.
Verify the settings by entering the
show vlan
command.
Syntax Description
NETWORK-PREFIX
NETWORK-MASK
The network prefix and the network mask specify the destination network in the
form of A.B.C.D xxx.xxx.xxx.xxx.
NETWORK-PREFIX/
PREFIX-LENGTH
The network prefix and the prefix length specify the destination network in the
form of A.B.C.D/x.
Switch(config)#vlan 100
Switch(config-vlan)#subnet-base 20.0.1.0/8
Switch(config-vlan)#subnet-base 192.0.1.0/8
Switch(config-vlan)#end
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...