Changing the mac age time, Configuring static mac entries – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 26

Advertising
background image

12

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring basic Layer 2 parameters

1

Changing the MAC age time

This parameter sets the aging period for ports on the device, defining how long a port address
remains active in the address table. This parameter value can be 0 or a number from 67 – 65535
seconds. The zero value results in no address aging. The default value for this field is 300
(seconds).

To change the aging period for MAC addresses from the default value of 300 seconds to 600
seconds, enter the following command.

Virtual ADX(config)# mac-age-time 600

Syntax: [no] mac-age-time age-time

The age-time can be 0 or a number from 67 – 65535.

Configuring static MAC entries

Static MAC addresses can be assigned to Layer 3 Switches.

NOTE

Brocade Virtual ADX also supports the assignment of static IP Routes, static ARP, and static RARP
entries. For details on configuring these types of static entries, see the

“Adding a static IP route”

on

page 19 and

“Adding a static ARP entry”

on page 20.

You can manually input the MAC address of a device to prevent it from being aged out of the system
address table.

This option can be used to prevent traffic for a specific device, such as a server, from flooding the
network with traffic when it is down. Additionally, the static MAC address entry is used to assign
higher priorities to specific MAC addresses.

You can specify port priority (QoS) and VLAN membership (VLAN ID) for the MAC Address as well as
specify a device type or host.

The default and maximum configurable MAC table sizes can differ depending on the device. To
determine the default and maximum MAC table sizes for your device, display the system parameter
values. Refer to

“Configuring system parameter settings”

on page 16.

Also, a large number of MAC entries in the MAC table could increase CPU utilization. To alleviate the
load on the CPU, use this feature with the Control Plane Security option.

Example

To add a static entry for a server with a MAC address of 1145.5563.67FF and a priority of 7 to port
2 of module 1, enter the following command.

Virtual ADX(config-vlan-5)# static-mac-address 1145.5563.67FF e 1/2 priority 7

Syntax: [no] static-mac-address mac-addr ethernet portnum [to portnum ethernet portnum]

[priority number] [host-type | router-type | fixed-host]

The priority can be 0 – 7 (0 is lowest priority and 7 is highest priority).

The default priority is 0. The default type is host-type.

The priority and type value do not reflect the Layer 2 forwarding of a packet. These values are used
by some load balancing features internally.

Advertising