Example 2: Configuring Sticky Mac Addresses For Voice And Data Vlans - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Configuring Port Security on Voice Ports
Switch# show port-security address
------------------------------------------------------------------------
Vlan
----
1
3
------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port)
Max Addresses limit in System (excluding one mac per port) : 3072
Switch# show running-config interface fastEthernet 5/1
Building configuration...
Current configuration : 344 bytes
!
interface FastEthernet5/1
switchport mode access
switchport voice vlan 3
switchport port-security
switchport port-security maximum 1 vlan voice
switchport port-security maximum 3072
switchport port-security maximum 1 vlan access
switchport port-security mac-address sticky
switchport port-security mac-address sticky 0000.0000.0001
switchport port-security mac-address sticky 0000.0000.0004 vlan voice
end
Switch#

Example 2: Configuring Sticky MAC Addresses for Voice and Data VLANs

This example shows how to configure sticky MAC addresses for voice and data VLANs on Fast Ethernet
interface 5/1 and to verify the configuration:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fa5/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security maximum 3072
Switch(config-if)# switchport port-security mac-address sticky 0000.0000.obob vlan voice
Switch(config-if)# switchport port-security mac-address sticky 0000.0000.0005 vlan access
Switch(config-if)# end
Sending traffic to the ports causes the system to configure the port with sticky secure addresses.
Note
Switch# show port-security address
------------------------------------------------------------------------
Vlan
----
1
1
1
3
1
3
------------------------------------------------------------------------
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
49-26
Secure Mac Address Table
Mac Address
Type
-----------
----
0000.0000.0001
SecureSticky
0000.0000.0004
SecureSticky
Secure Mac Address Table
Mac Address
Type
-----------
----
0000.0000.0001
SecureSticky
0000.0000.0002
SecureSticky
0000.0000.0003
SecureSticky
0000.0000.0004
SecureSticky
0000.0000.0005
SecureSticky
0000.0000.0b0b
SecureSticky
Chapter 49
Configuring Port Security
Ports
Remaining Age
(mins)
-----
-------------
Fa5/1
-
Fa5/1
-
: 1
Ports
Remaining Age
(mins)
-----
-------------
Fa5/1
-
Fa5/1
-
Fa5/1
-
Fa5/1
-
Fa5/1
-
Fa5/1
-
OL_28731-01

Advertisement

Table of Contents
loading

Table of Contents