EasyManua.ls Logo

Dell PowerConnect M6220 - Page 62

Dell PowerConnect M6220
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
62 Routing Configuration
Figure 4-1. VLAN Routing Example Network Diagram
Example 1: Create Two VLANs
The following code sequence shows an example of creating two VLANs with egress frame tagging
enabled.
console#configure
console(config)#vlan database
console(config-vlan)#vlan 10
console(config-vlan)#vlan 20
console(config-vlan)#exit
Example 2: Configure the VLAN Members
The following code sequence shows an example of adding ports to the VLANs and assigning the PVID
for each port. The PVID determines the VLAN ID assigned to untagged frames received on the ports.
console#configure
console(config)#interface ethernet 1/g1
console(config-if-1/g1)#switchport mode general
console(config-if-1/g1)#switchport general allowed vlan add 10
console(config-if-1/g1)#switchport general pvid 10
console(config-if-1/g1)#exit
console#configure
console(config)#interface ethernet 1/g2
Physical Port 1/0/2
VLAN Router Port 3/1
192.150.3.1
Physical Port 1/0/3
VLAN Router Port 3/2
192.150.4.1
Layer 3 Switch
Layer 2 Switch
Layer 2 Switch
VLAN 20
VLAN 10
Physical
Port 1/0/1
Physical Port 1/g2
VLAN 10: 192.150.3.1
Physical Port 1/g3
VLAN 10: 192.150.4.1
Physical
Port 1/g1

Table of Contents

Related product manuals