beautypg.com

Mac-address-table – Brocade Network OS Command Reference v4.1.0 User Manual

Page 482

background image

444

Network OS Command Reference

53-1003115-01

mac-address-table

2

mac-address-table

Sets the aging time or add static addresses to the MAC address table.

Synopsis

mac-address-table {aging-time seconds| static mac-addr forward [port-channel number] |
tengigabitethernet rbridge-id/slot/port | gigabitethernet rbridge-id/slot/port | vlan vlan_id}

no mac-address-table

Operands

aging-time seconds

Specifies the time in seconds that a learned MAC address will persist after
the last update. If the aging time is set to zero (0), it means that aging is
disabled. For standalone mode, valid values range from 10
through 100000. For Brocade VCS Fabric mode, valid values range from 60
through 100000.

static mac-addr

Specifies the Media Access Control (MAC) address (unicast or multicast) to
add to the address table. Packets with this destination address received in
the specified VLAN are forwarded to the specified interface.

forward

Forwards the MAC address to the interface.

port-channel number

Specifies the port-channel number. Valid values range from 1 through 63.

tengigabitethernet rbridge-id/slot/port

Specifies a valid 10-gigabit Ethernet interface.

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

gigabitethernet rbridge-id/slot/port

Specifies a valid 1-gigabit Ethernet interface.

rbridge-id

Specifies the RBridge ID. This is not valid in standalone mode.

slot

Specifies a valid slot number.

port

Specifies a valid port number.

vlan vlan_id

Specifies the VLAN number. Refer to the Usage Guidelines.

Defaults

Aging time is 300 seconds.

Command Modes

Global configuration mode

Description

Use this command to set the aging time or to add static addresses to the MAC address table.

Usage Guidelines

The vlan keyword is mandatory because the switch only supports independent VLAN learning (IVL).

On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs
are as follows: