02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• MAC Address Learning Limit feature: You can set a limit on <strong>the</strong> number of addresses associated<br />

with a particular interface. As a default, after you set a limit, a MAC address learned by <strong>the</strong> interface is<br />

added to <strong>the</strong> MAC Address Table as a static address. You have o<strong>the</strong>r options in this feature, <strong>for</strong> setting<br />

address limits and actions involved in violations of <strong>the</strong> learning limit.<br />

Configuring static MAC addresses (optional)<br />

Occasionally you want to statically configure some MAC addresses <strong>for</strong> devices that always remain<br />

attached to <strong>the</strong> switch. When a static MAC address is configured and its interface is disabled, <strong>the</strong> packets<br />

destined to this MAC address are not flooded.<br />

To configure static MAC addresses, use <strong>the</strong> following command in <strong>the</strong> CONFIGURATION mode:<br />

Command Syntax Command Mode Purpose<br />

mac-address-table static mac-address<br />

output interface vlan vlan-id<br />

To view <strong>the</strong> static MAC address and <strong>the</strong> dynamically-learnt MAC addresses, use <strong>the</strong><br />

show mac-address-table static command in <strong>the</strong> EXEC mode.<br />

Figure 106 show mac-address-table static Command Example<br />

CONFIGURATION Assign a static MAC address to an<br />

interface and a VLAN.<br />

<strong>Force10</strong>#show mac-address static<br />

VlanId Mac Address Type Interface State<br />

1 00:00:00:00:11:22 Static Po 3 Inactive<br />

<strong>Force10</strong>#<br />

To clear dynamically-learnt MAC addresses, use <strong>the</strong> following command in <strong>the</strong> EXEC privilege mode:<br />

Command Syntax Command Mode Purpose<br />

clear mac-address-table<br />

dynamic {address mac-address |<br />

all | interface interface | vlan<br />

vlan-id}<br />

EXEC privilege Clear only dynamically-learnt MAC addresses.<br />

Configure one of <strong>the</strong> following parameters:<br />

• address mac-address: dynamically-learnt MAC<br />

address<br />

• all: all dynamically-learnt MAC addresses<br />

• interface interface: specify an interface.<br />

• vlan vlan-id: enter a VLAN ID.<br />

<strong>FTOS</strong> <strong>Configuration</strong> <strong>Guide</strong>, version 7.7.1.0 199

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!