EasyManua.ls Logo

Cisco Catalyst 3750 - Displaying Address Table Entries

Cisco Catalyst 3750
926 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5-25
Catalyst 3750 MetroSwitch Software Configuration Guide
78-15870-01
Chapter 5 Administering the Switch
Managing the MAC Address Table
You add a static address to the address table by specifying the destination MAC unicast address and the
VLAN from which it is received. Packets received with this destination address are forwarded to the
interface specified with the interface-id option.
Beginning in privileged EXEC mode, follow these steps to add a static address:
To remove static entries from the address table, use the no mac address-table static mac-addr vlan
vlan-id interface interface-id global configuration command.
This example shows how to add the static address c2f3.220a.12f4 to the MAC address table. When a
packet is received in VLAN 4 with this MAC address as its destination address, the packet is forwarded
to the specified interface:
Switch(config)# mac address-table static c2f3.220a.12f4 vlan 4 interface
gigabitethernet1/0/1
Displaying Address Table Entries
You can display the MAC address table by using one or more of the privileged EXEC commands
described in Table 5-4:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
mac address-table static mac-addr
vlan vlan-id interface interface-id
Add a static address to the MAC address table.
• For mac-addr, specify the destination MAC unicast address to add to
the address table. Packets with this destination address received in the
specified VLAN are forwarded to the specified interface.
• For vlan-id, specify the VLAN for which the packet with the
specified MAC address is received. The range is 1 to 4094.
• For interface-id, specify the interface to which the received packet is
forwarded. Valid interfaces include physical ports.
Step 3
end Return to privileged EXEC mode.
Step 4
show mac address-table static Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Table 5-4 Commands for Displaying the MAC Address Table
Command Description
show mac address-table address Displays MAC address table information for the specified MAC address.
show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
show mac address-table dynamic Displays only dynamic MAC address table entries.
show mac address-table interface Displays the MAC address table information for the specified interface.
show mac address-table multicast Displays the Layer 2 multicast entries for all VLANs or the specified VLAN.
show mac address-table notification Displays the MAC notification parameters and history table.

Table of Contents

Other manuals for Cisco Catalyst 3750

Related product manuals