D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 7 Protocol VLAN Configuration
7-7
1. Configure packet type and Ethernet type profiles (in this example, IP
packets correspond to Profile 1, and IPX packets correspond to Profile 2).
2. Apply the profile to the uplink port (Gi 0/3) and associate with the VLAN (in
this example, associate Profile 1 with VLAN 2 and Profile 2 with VLAN 3).
Notes:
1. Protocol-based VLAN can only apply to Trunk port and Hybrid port, which
can directly connect with Hub or user PCs.
2. PC user can determine its IP network segment according to the
protocol-based VLAN (network segment configuration for each VLAN won't
be described herein).
7.4.1.4 Configuration Steps
Configure Switch A
Step 1: Enter global configuration mode and create VLAN 2 and VLAN 3.
DES-7200#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)#vlan range 2,3
DES-7200(config-vlan-range)#exit
Step 2: Since Windows NT server and Novell Netware server are directly
connected with Gi 0/1 and Gi 0/2, we can configure port-based VLANs.
DES-7200(config)#interface gigabitEthernet 0/1
DES-7200(config-GigabitEthernet 0/1)#switchport access vlan 2
DES-7200(config-GigabitEthernet 0/1)#exit
DES-7200(config)#interface gigabitEthernet 0/2
DES-7200(config-GigabitEthernet 0/2)#switchport access vlan 3
DES-7200(config-GigabitEthernet 0/2)#exit
Step 3: Configure uplink port Gi 0/3 as a Trunk port.
DES-7200(config)#interface gigabitEthernet 0/3
DES-7200(config-GigabitEthernet 0/3)#switchport mode trunk
Step 4: Configure the corresponding Profile 1 and Profile 2 for IP protocol and
IPX protocol respectively (assuming that Ethernet II encapsulation is used, the
Ethernet types of IP and IPX are 0X0800 and 0X8137 respectively)
DES-7200(config)#protocol-vlan profile 1 frame-type eTHERII ether-type
0x0800
DES-7200(config)#protocol-vlan profile 2 frame-type eTHERII ether-type
0x8137
Step 5: Apply Profile 1 and Profile 2 to Gi 0/3 in order to classify VLAN 2 and
VLAN 3. IP packets received on the port will belong to VLAN 2, and IPX packets
received on the port will belong to VLAN 3.