D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 7 Protocol VLAN Configuration
7-2
IP address-based VLAN classification takes precedence over packet type and
Ethernet type-based VLAN classification. Hence, if you have configured both IP
address-based VLAN classification and packet type and Ethernet type-based
VLAN classification, and the incoming packet matches them both, IP
address-based VLAN classification takes effect.
You should configure a VLAN, trunk port, hybrid port, access port and AP
attributes before configuring the protocol VLAN. If you have configured protocol
VLAN on a trunk port or a hybrid port, the allowed VLAN list for the trunk port
and hybrid port must include all the VLANs related to the protocol VLAN.
7.2 Configuring a Protocol
VLAN
7.2.1 Default
Protocol VLAN
No Protocol VLAN is configured by default.
7.2.2 Configuring IP
Address-based
VLAN
Classification
To configure IP address-based VLAN classification, execute the following
commands:
Command Description
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# protocol-vlan ipv4
address mask address vlan vid
Configure IP address, subnet mask and
VLAN classification.
DES-7200(config)# no protocol-vlan
ipv4 address mask address
Remove the IP address configuration.
DES-7200(config)# no protocol-vlan
ipv4
Remove all IP address configuration.
DES-7200(config)# interface
interface-id
Enter the interface configuration mode.
DES-7200(config-if)#protocol vlan ipv
4
Enable the IP address-based VLAN
classification on the interface.
DES-7200(config-if)#no
protocol vlan ipv4
Disable the IP address-based VLAN
classification on the interface.