Chapter 8 Configuring Ethernet Virtual Connections

Configuring Other Features on EFPs

 

Command or Action

Purpose

Step 3

 

 

end

Return to privileged EXEC mode.

Step 4

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To reenable MAC address learning, use the mac-address-table learning global configuration command. The command causes the configuration to appear in the show running-configprivileged EXEC command display.

Configuration Examples

This example shows how to disable MAC address learning on VLAN 10:

Router(config)# no mac-address-table learning vlan 10

This example shows how to disable MAC-address learning for all modules on a specific routed interface:

Router(config)# no mac-address-table learning interface GigabitEthernet 0/5

Router(config)#

This example shows how to disable MAC address learning for port-channel interface:

Router(config)# no mac-address-table learning interface port-channel 1

Verification

The following are the examples of the outputs using the show commands.

Router# show mac-address-table

Mac Address Table

-------------------------------------------

Vlan

Mac Address

Type

Ports

----

-----------

--------

-----

20

2222.2222.2222

STATIC

Gi0/2

10

0000.0700.0a00

DYNAMIC

Gi0/9

10

0000.0700.0b00

DYNAMIC

Gi0/1

Total Mac Addresses for this criterion: 3

In the above example, the show mac-address-tablecommand displays both the dynamically and statically learned addresses.

Following is an example for show mac-address-table dynamic command which displays only dynamically learned addresses.

Router#

show mac-address-table dynamic

 

Mac Address Table

 

 

-------------------------------------------

Vlan

Mac Address

Type

Ports

----

-----------

--------

-----

10

0000.0700.0a00

DYNAMIC

Gi0/9

10

0000.0700.0b00

DYNAMIC

Gi0/1

Total Mac Addresses for this criterion: 2

 

 

Following is an example for show mac-address-table vlan 10 command which displays only the

 

 

addresses learned on a particular VLAN/BD.

 

 

Router# show mac-address-table vlan 10

 

 

Mac Address Table

 

 

-------------------------------------------

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

OL-23826-09

 

 

8-19

 

 

 

 

 

Page 143
Image 143
Cisco Systems A9014CFD manual End Return to privileged Exec mode, Addresses learned on a particular VLAN/BD