Dell PowerConnect 6224P Configuration Guide - Page 31
CLI Examples, This sequence shows how to assign ports to VLAN2
View all Dell PowerConnect 6224P manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 31 highlights
CLI Examples The following examples show how to create VLANs, assign ports to the VLANs, and assign a VLAN as the default VLAN to a port. Example #1: Create Two VLANs Use the following commands to create two VLANs and to assign the VLAN IDs while leaving the names blank. console(config)#vlan database console(config-vlan)#vlan 2 console(config-vlan)#vlan 3 console(config-vlan)#exit Example #2: Assign Ports to VLAN2 This sequence shows how to assign ports to VLAN2, specify that frames will always be transmitted tagged from all member ports, and that untagged frames will be rejected on receipt. console(config)#interface ethernet 1/g17 console(config-if-1/g17)#switchport mode general console(config-if-1/g17)#switchport general allowed vlan add 2 console(config-if-1/g17)#switchport general acceptable-frame-type taggedonly console(config-if-1/g17)#exit console(config)#interface ethernet 1/g18 console(config-if-1/g18)#switchport mode general console(config-if-1/g18)#switchport general allowed vlan add 2 console(config-if-1/g18)#switchport general acceptable-frame-type taggedonly console(config-if-1/g18)#exit Switching Configuration 31