Configuring port-based vlans – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 201

Advertising
background image

Multi-Service IronWare Switching Configuration Guide

171

53-1003036-02

Configuring port-based VLANs

7

When virtual-interfaces are configured on a VLAN, the CPU-protection is done only on
unknown-unicast packets from the VLAN. Multicast and broadcast packets from the VLAN will
be sent to the CPU. This allows the CPU to process packets such as ARP and OSPF “hello”
packets that may be relevant to the device.

When virtual-interface is not configured on the VLAN, the CPU-protection is performed for all
packets (unknown-unicast, multicast and broadcast) from the CPU.

Configuring port-based VLANs

As explained above, you can place ports into VLANs to segment traffic into broadcast domains.
When you create a VLAN, you specify if ports added to that VLAN are tagged or untagged.

NOTE

When adding a port to a VLAN you might get an error message concerning IP routing or IPv6 routing
information on the port. If you receive this message, check to see if the port was previously
configured for routing protocols such as OSPFv2 or OSPFv3 where the routing protocol was removed
globally without first being de-configured on that port. If this is the case, re-enable the routing
protocol globally to view the interface configuration and then disable the routing protocol from the
port. You can then add the port to the VLAN.

To create a VLAN, perform the tasks listed below.

1. At the global CONFIG level assign an ID to the VLAN.

Brocade(config)# vlan 2

VLAN IDs can be in the range of 1 – 4090. Use the no form of the command to delete the VLAN
from the configuration.

The VLAN ID range above 4090 has been reserved for current and future features for internal
control purposes.

In addition to a VLAN number, you can assign a name to a VLAN by entering name vlan-name.
Enter up to 31 characters for name.

2. Once a VLAN ID is assigned, the CLI directs you to the VLAN configuration level. At this level,

you add ports to that VLAN and specify if the ports are tagged or untagged.

Brocade(config-vlan-2)# untag e 1/9 to 1/16

Brocade(config-vlan-2)# tagged e 1/1 to 1/8

The example above configures a port-based VLAN, VLAN 2. It adds Ethernet ports 1/9 through
1/16 as untagged ports and ports 1/1 through 1/8 as tagged ports. Since ports 1/9 through
1/16 are untagged, they can be members of VLAN 2 only, while ports 1/1 through 1/8 are
tagged ports and can be members of other VLANs.

NOTE

In the configuration above, ports 1/9 – 1/16 are automatically removed from the default VLAN
since they are configured as untagged ports; while port 1/1 – 1/8 are still members of the
default VLAN.

Syntax: [no] untagged | tagged ethernet slot-number/port-number [to

slot-number/port-number | ethernet slot-number/port-number]

Advertising