D-Link DGS-6600-48TS Configuration Guide - Page 95
Creating a MAC-based VLAN Classification Entry, Creating a Subnet-based VLAN Classification Entry
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
Volume 3-Layer 2 Configurations / Chapter 10-VLAN Configuration VLAN Configuration Commands In the following example, the user adds the Ethernet II type frame value of 0x2311 to protocol group 10, binds the group to VLAN 100 on Ethernet interface 4.48, and finally verifies the configuration: DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#dot1v protocol-group 10 frame ethernet2 0x2311 DGS-6600:15(config)#interface eth4.48 DGS-6600:15(config-if)#dot1v binding protocol-group 10 vlan 100 DGS-6600:15(config-if)#end DGS-6600:15#show dot1v interface eth4.48 Interface dot1v Group ID/Binding-VLAN eth4.48 10/100 DGS-6600:15# Creating a MAC-based VLAN Classification Entry A MAC-based VLAN classification entry defines the rule for classifying a VLAN based on the source MAC address of a packet. The untagged packet or priority tagged packet will be matched against the rule for VLAN classification. If the source MAC address of the packet matches the MAC address defined by the entry, the packet will be classified to the VLAN associated with the entry. The following command is used to make an existing VLAN a MAC-based VLAN: Command mac-base MAC-ADDRESS Explanation Configures the VLAN as a MAC-based VLAN. In the following example, the user creates a new VLAN called "VLAN5" and specifies that the VLAN will be a MAC-based VLAN, with a MAC address of "00:11:22:33:ab:cd": DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#vlan 5 DGS-6600:15(config-vlan)#mac-base 00-11-22-33-ab-cd DGS-6600:15(config-vlan)#end Creating a Subnet-based VLAN Classification Entry The Subnet-based VLAN classification entry defines the rule for classifying a VLAN based on the source IP address of the packet. The untagged packet or priority tagged packet will be matched against the rule for VLAN classification. If the source IP address of the packet matches the IP subnet defined by the entry, the packet will be classified to the VLAN associated with the entry. The following command is used to make an existing VLAN a subnet-based VLAN: Command subnet-base {NETWORK-PREFIX NETWORK-MASK | NETWORK-PREFIX/PREFIX-LENGTH} Explanation Configures the VLAN as a subnet-based VLAN. DGS-6600 Configuration Guide 95