Cisco Systems 3550 Switch User Manual


 
12-11
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 12 Configuring Port-Based Traffic Control
Displaying Port-Based Traffic Control Settings
This example shows how to configure a secure MAC address on Fast Ethernet port 12 and verify the
configuration.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/12
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address 1000.2000.3000
Switch(config-if)# end
Switch# show port-security address
Secure Mac Address Table
------------------------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 1000.2000.3000 SecureConfigured Fa0/12
Displaying Port-Based Traffic Control Settings
The show interfaces interface-id switchport privileged EXEC command displays (among other
characteristics) the interface traffic suppression and control configuration. The show interfaces
counters privileged EXEC commands display the count of discarded packets. The show storm control
and show port-security privileged EXEC commands display those features.
To display traffic control information, use one or more of the privileged EXEC commands in Table 12-2.
Table 12-2 Commands for Displaying Traffic Control Status and Configuration
Command Purpose
show interfaces [interface-id] switchport Displays the administrative and operational status of all switching
(nonrouting) ports or the specified port, including port blocking and
port protection settings.
show storm-control [interface-id] [broadcast |
multicast | unicast]
Displays storm control suppression levels set on all interfaces or the
specified interface for the specified traffic type or for broadcast traffic
if no traffic type is entered.
show interfaces [interface-id] counters broadcast Displays the storm-control broadcast suppression discard counter with
the number of packets discarded for all interfaces or the specified
interface.
show interfaces [interface-id] counters multicast Displays the storm-control multicast suppression discard counter with
the number of packets discarded for all interfaces or the specified
interface.
show interfaces [interface-id] counters unicast Displays the storm-control unicast suppression discard counter with
the number of packets discarded for all interfaces or the specified
interface.
show port-security [interface interface-id] Displays port security settings for the switch or for the specified
interface, including the maximum allowed number of secure MAC
addresses for each interface, the number of secure MAC addresses on
the interface, the number of security violations that have occurred, and
the violation mode.
show port-security [interface interface-id] address Displays all secure MAC addresses configured on all switch interfaces
or on a specified interface.