beautypg.com

Removing a port-based vlan, Removing a port from a vlan – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 352

background image

Removing a port-based VLAN

Suppose you want to remove VLAN 5 from the example in

Figure 74

on page 350. To do so, use the

following procedure.

1. Access the global CONFIG level of the CLI on FSX-A by entering the following commands.

device-A> enable

No password has been assigned yet...

device-A# configure terminal

device-A(config)#

2. Enter the following command.

device-A(config)# no vlan 5

device-A(config)#

3. Enter the following commands to exit the CONFIG level and save the configuration to the system-

config file on flash memory.

device-A(config)#

device-A(config)# end

device-A# write memory

device-A#

4. Repeat steps 1 - 3 on FSX-B.

Syntax: [no] vlan vlan-id by port

Removing a port from a VLAN

Suppose you want to remove port 11 from VLAN 4 on FSX-A shown in

Figure 74

on page 350. To do

so, use the following procedure.

1. Access the global CONFIG level of the CLI on FSX-A by entering the following command.

device-A> enable

No password has been assigned yet...

device-A# configure terminal

device-A(config)#

2. Access the level of the CLI for configuring port-based VLAN 4 by entering the following command.

device-A(config)#

device-A(config)# vlan 4

device-A(config-vlan-4)#

3. Enter the following commands.

device-A(config-vlan-4)#

device-A(config-vlan-4)# no untagged ethernet 11

deleted port ethe 11 from port-vlan 4.

device-A(config-vlan-4)#

4. Enter the following commands to exit the VLAN CONFIG mode and save the configuration to the

system-config file on flash memory.

device-A(config-vlan-4)#

device-A(config-vlan-4)# end

device-A# write memory

You can remove all the ports from a port-based VLAN without losing the rest of the VLAN
configuration. However, you cannot configure an IP address on a virtual routing interface unless the
VLAN contains ports. If the VLAN has a virtual routing interface, the virtual routing interface IP
address is deleted when the ports associated with the interface are deleted. The rest of the VLAN
configuration is retained.

Removing a port-based VLAN

352

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04