Cisco Catalyst 4500 Series Configuration Manual page 604

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

port-security mac-address sticky
port-security mac-address sticky
To configure a sticky address on an interface for a specific VLAN or VLAN range, use the
port-security mac-address sticky command.
Syntax Description
mac_address
Command Modes
VLAN-range interface submode
Command History
Release
12.2(25)EWA
Usage Guidelines
The Sticky feature must be enabled on an interface before you can configure the
port-security mac-address sticky command.
Usage Guidelines
Layer 2 interfaces can be part of multiple VLANs (for example, a typical trunk port). In conjunction with
the vlan command, you can use the port-security mac-address sticky command to specify different
sticky addresses on different VLANs.
The Sticky feature must be enabled on an interface before you can configure the
port-security mac-address sticky command.
Sticky MAC addresses are addresses that persist across switch reboots and link flaps.
Examples
The following example shows how to configure the sticky address 1.1.1 on interface Gigabit Ethernet
1/1 for VLANs 2-3:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# vlan 2-3
Switch(config-if-vlan-range)# port-security mac-address sticky 1.1.1
Switch(config-if-vlan-range)# end
Switch#
Related Commands
Command
port-security mac-address
port-security maximum
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-564
port-security mac-address sticky mac_address
The MAC-address that needs to be secured.
Modification
This command was introduced on the Catalyst 4500 series switch.
Description
Configures a secure address on an interface for a specific VLAN
or VLAN range.
Configures the maximum number of addresses on an interface for
a specific VLAN or VLAN range.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents