D-Link DXS-3600-32S CLI Guide - Page 618
subnet-base vlan
View all D-Link DXS-3600-32S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 618 highlights
Usage Guideline DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide The user can use the mac-base command in VLAN configuration mode to create the MAC entry that will be classified to the MAC based VLAN. If MAC based VLAN entries are configured, the packet received by the switch regardless of the incoming port that have a source MAC address matching an the entry will be classified to the corresponding MAC-based VLAN. The maximum number of MAC-based VLAN assignment entry is project dependent. The precedence to classify the VLAN for an untagged packet is MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN The user should use the switchport hybrid allowed vlan command to set the VLAN membership for the MAC-based VLAN. Example This example shows how to create a MAC-based VLAN entry for the MAC address 00-80-cc-00-00-11. DXS-3600-32S#configure terminal DXS-3600-32S(config)#vlan 101 DXS-3600-32S(config-vlan)#mac-base 00-80-cc-00-00-11 priority 4 DXS-3600-32S(config-vlan)# 66-11 subnet-base (vlan) This command is used to specify subnet-based VLAN ID assignment entry for un-tagged incoming packets. Use the no subnet-base command to remove a subnet-based VLAN ID assignment entry. subnet-base {NETWORK-PREFIX /PREFIX-LENGTH | IPV6-NETWORK-PREFIX /PREFIX-LENGTH} [priority COS-VALUE] no subnet-base {NETWORK-PREFIX /PREFIX-LENGTH | IPV6-NETWORK-PREFIX /PREFIX-LENGTH} Parameters NETWORK-PREFIX / PREFIX-LENGTH Specifies the network prefix and the prefix length in the form of A.B.C.D/x IPV6-NETWORK-PREFIX / Specities the IPv6 network prefix and the prefix length in the form of x:x:x:x:x:x:x:x/n. PREFIX-LENGTH The prefix length of IPv6 network address shall not greater than 64 bits. priority COS-VALUE Specifies the priority for the entry. The value is a number from 0 to 7, if the priority is not specified, the default value is 0. Default Command Mode Command Default Level Usage Guideline No subnet-based VLAN. VLAN Configuration Mode. Level: 12 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 IPv4 address or the upper 64 bits of source IPv6 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. If the packet is untagged, the priority will be picked up from it too. For priority-tagged packet, its priority will not change. The number of subnet-based VLAN entries is project dependent. The precedence to classify an untagged packet is MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN The user should use the switchport hybrid allowed vlan command to set the VLAN membership for the subnet-based VLAN user. 610