Enabling port-based vlans, Configuring static arp entries – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 27

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

13

53-1003246-01

Configuring basic Layer 2 parameters

1

NOTE

The location of the static-mac-address command in the CLI depends on whether you configure
port-based VLANs on the device. If the device does not have more than one port-based VLAN (VLAN
1, which is the default VLAN that contains all the ports), the static-mac-address command is at the
global CONFIG level of the CLI. If the device has more than one port-based VLAN, then the
static-mac-address command is not available at the global CONFIG level. In this case, the command
is available at the configuration level for each port-based VLAN.

Configuring static ARP entries

Brocade recommends that you configure a static ARP entry to match the static MAC entry. In fact,
the software automatically creates a static MAC entry when you create a static ARP entry.

NOTE

When a static MAC entry has a corresponding static ARP entry, you cannot delete the static MAC
entry unless you first delete the static ARP entry.

To create a static ARP entry for a static MAC entry, enter a command such as the following.

Virtual ADX(config)# arp 1 192.53.4.2 aaaa.bbbb.cccc ethernet 1

The arp command allows you to specify only one port number. To create a static

ARP entry for a static MAC entry that is associated with multiple ports, specify

the first (lowest-numbered) port associated with the static MAC entry.

Syntax: [no] arp num ip-addr mac-addr ethernet portnum

The num parameter specifies the entry number.

Enabling port-based VLANs

Port and protocol VLANs must first be enabled at the system (global) level before they can be
configured at the VLAN level. For details on configuring VLANs, refer to

Chapter 3, “Configuring

Virtual LANs (VLANs)”

.

When using the CLI, port and protocol-based VLANs are created by entering one of the following
commands at the global CONFIG level of the CLI.

To create a port-based VLAN, enter commands such as the following.

Virtual ADX(config)# vlan 222 by port

Virtual ADX(config)# vlan 222 name Mktg

Syntax: vlan num by port

Syntax: vlan num name string

The num parameter specifies the VLAN ID. The valid range for VLAN IDs starts at 1 on all systems
but the upper limit of the range differs depending on the device. In addition, you can change the
upper limit on some devices using the vlan max-vlans... command.

The string parameter is the VLAN name and can be a string up to 16 characters. You can use blank
spaces in the name if you enclose the name in double quotes (for example, “Product Marketing”.)

Advertising