Configuring vlans using the cli – Dell POWEREDGE M1000E User Manual

Page 627

Advertising
background image

Configuring VLANs

627

a.

From the SwitchingVLANLAG Settings page, make sure Po1

is selected.

b.

From the Port VLAN Mode field, select General.

c.

Click Apply.

3. Configure port 1 as a trunk port.
4. Configure LAG2 as a trunk port.
5. Assign ports 1–10 to VLAN 200 as untagged (U) members.
6. Assign ports 11–30 to VLAN 100 as untagged (U) members.
7. Assign LAG1 to VLAN 100 and 200 as a tagged (T) member.
8. Assign port 1 and LAG2 to VLAN 100, VLAN 200, VLAN 300, and VLAN

400 as a tagged (T) member.

9. Configure the MAC-based VLAN information.

10. If desired, copy the running configuration to the startup configuration.

Configuring VLANs Using the CLI

This example shows how to perform the same configuration by using CLI

commands.

Configure the VLANs and Ports on Switch 1

Use the following steps to configure the VLANs and ports on Switch 1. None

of the hosts that connect to Switch 1 use the Engineering VLAN (VLAN

100), so it is not necessary to create it on that switch.
To configure Switch 1:

1. Create VLANs 200 (Marketing), 300 (Sales), and 400 (Payroll), and

associate the VLAN ID with the appropriate name.

console#configure

console(config-vlan)#vlan 200,300,400

console(config)#vlan 200

console(config-vlan200)#name Marketing

console(config-vlan200)#exit

console(config)#vlan 300

console(config-vlan300)#name Sales

console(config-vlan300)#exit

Advertising