hit counter script

Displaying Address Table Entries - Cisco Catalyst 3750-E Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-E:
Table of Contents

Advertisement

Managing the MAC Address Table
Beginning in privileged EXEC mode, follow these steps to disable MAC address learning on a VLAN:
Command
Step 1
configure terminal
Step 2
no mac address-table learning vlan
vlan-id
Step 3
end
Step 4
show mac address-table learning [vlan
vlan-id]
Step 5
copy running-config startup-config
To reenable MAC address learning on a VLAN, use the default mac address-table learning vlan
vlan-id global configuration command. You can also reenable MAC address learning on a VLAN by
entering the mac address-table learning vlan vlan-id global configuration command. The first
(default) command returns to a default condition and therefore does not appear in the output from the
show running-config command. The second command causes the configuration to appear in the show
running-config privileged EXEC command display.
This example shows how to disable MAC address learning on VLAN 200:
Switch(config)# no mac
You can display the MAC address learning status of all VLANs or a specified VLAN by entering the
show mac-address-table learning [vlan vlan-id] privileged EXEC command.

Displaying Address Table Entries

You can display the MAC address table by using one or more of the privileged EXEC commands
described in
Table 7-4
Commands for Displaying the MAC Address Table
Command
show ip igmp snooping groups
show mac address-table address
show mac address-table aging-time
show mac address-table count
show mac address-table dynamic
show mac address-table interface
show mac address-table notification
show mac address-table static
show mac address-table vlan
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
7-30
Purpose
Enter global configuration mode.
Disable MAC address learning on the specified VLAN or VLANs. You
can specify a single VLAN ID or a range of VLAN IDs separated by a
hyphen or comma. Valid VLAN IDs s are 1 to 4094. The VLAN cannot
be an internal VLAN.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
a
ddress-table learning vlan 200
Table
7-4:
Description
Displays the Layer 2 multicast entries for all VLANs or the specified VLAN.
Displays MAC address table information for the specified MAC address.
Displays the aging time in all VLANs or the specified VLAN.
Displays the number of addresses present in all VLANs or the specified VLAN.
Displays only dynamic MAC address table entries.
Displays the MAC address table information for the specified interface.
Displays the MAC notification parameters and history table.
Displays only static MAC address table entries.
Displays the MAC address table information for the specified VLAN.
Chapter 7
Administering the Switch
OL-9775-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst3560-e

Table of Contents