beautypg.com

Configuring port-based vlans on fsx-b, Configuring port-based vlans on fsx-c, Modifying a port-based vlan – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 351

background image

Configuring port-based VLANs on FSX-B

Enter the following commands to configure FSX-B.

device> en

device# configure terminal

device(config)# hostname FSX-B

device-B(config)# vlan 2 name BROWN

device-B(config-vlan-2)# untagged ethernet 1 to 4

device-B(config-vlan-2)# tagged ethernet 25 to 26

device-B(config-vlan-2)# spanning-tree

device-B(config-vlan-2)# spanning-tree priority 500

device-B(config-vlan-2)# vlan 3 name GREEN

device-B(config-vlan-3)# untagged ethernet 5 to 8

device-B(config-vlan-3)# tagged ethernet 25 to 26

device-B(config-vlan-3)# spanning-tree

device-B(config-vlan-3)# spanning-tree priority 500

device-B(config-vlan-3)# vlan 4 name BLUE

device-B(config-vlan-4)# untagged ethernet 9 to 12

device-B(config-vlan-4)# tagged ethernet 25 to 26

device-B(config-vlan-4)# vlan 5 name RED

device-B(config-vlan-5)# untagged ethernet 13 to 16

device-B(config-vlan-5)# tagged ethernet 25 to 26

device-B(config-vlan-5)# end

device-B# write memory

Configuring port-based VLANs on FSX-C

Enter the following commands to configure FSX-C.

device> en

device# configure terminal

device(config)# hostname FSX-C

device-C(config)# vlan 2 name BROWN

device-C(config-vlan-2)# untagged ethernet 1 to 4

device-C(config-vlan-2)# tagged ethernet 25 to 26

device-C(config-vlan-2)# vlan 3 name GREEN

device-C(config-vlan-3)# untagged ethernet 5 to 8

device-C(config-vlan-3)# tagged ethernet 25 to 26

device-C(config-vlan-3)# vlan 4 name BLUE

device-C(config-vlan-4)# untagged ethernet 9 to 12

device-C(config-vlan-4)# tagged ethernet 25 to 26

device-C(config-vlan-4)# vlan 5 name RED

device-C(config-vlan-5)# untagged ethernet 13 to 16

device-C(config-vlan-5)# tagged ethernet 25 to 26

device-C(config-vlan-5)# end

device-C# write memory

Syntax: vlan vlan-id by port

Syntax: untagged ethernet [slotnum/]portnum [to [slotnum/]portnum | ethernet [slotnum/]portnum]

Syntax: tagged ethernet [slotnum/]portnum [to <[slotnum/]portnum> | ethernet [slotnum/]portnum]

Syntax: [no] spanning-tree

Syntax: spanning-tree [ ethernet [slotnum/]portnum path-cost value priority value] forward-delay
value hello-time value maximum-age time priority value

Modifying a port-based VLAN

You can make the following modifications to a port-based VLAN:

• Add or delete a VLAN port.
• Enable or disable STP.

Configuring port-based VLANs on FSX-B

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

351

53-1003086-04