Modifying a port-based vlan, Removing a port-based vlan, Removing a port from a vlan – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 50

Advertising
background image

36

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Routing between VLANs

3

Syntax: vlan vlan-id by port

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

Modifying a port-based VLAN

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

Add or delete a VLAN port.

Change its priority.

Enable or disable STP.

Removing a port-based VLAN

Suppose you want to remove VLAN 5 for example. To do so, use the following procedure.

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

Virtual ADX-A enable

No password has been assigned yet...

Virtual ADX-A# configure terminal

Virtual ADX-A(config)#

2. Enter the following command.

Virtual ADX-A(config)# no vlan 5

Virtual ADX-A(config)#

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

system-config file on flash memory.

Virtual ADX-A(config)#

Virtual ADX-A(config)# end

Virtual ADX-A# write memory

Virtual ADX-A#

4. Repeat steps 1 – 3 on Virtual ADX-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 Virtual ADX-A for example. To do so, use the
following procedure.

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

Virtual ADX-A enable

No password has been assigned yet...

Virtual ADX-A# configure terminal

Virtual ADX-A(config)#

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

command.

Virtual ADX-A(config)#

Virtual ADX-A(config)# vlan 4

Virtual ADX-A(config-vlan-4)#

Advertising