EasyManua.ls Logo

Cisco Catalyst 4500 Series - Port-Security Mac-Address

Cisco Catalyst 4500 Series
1230 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...
2-528
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
port-security mac-address
port-security mac-address
To configure a secure address on an interface for a specific VLAN or VLAN range, use the
port-security mac-address command.
port-security mac-address mac_address
Syntax Description
Command Modes VLAN-range interface submode
Command History
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 command to specify different addresses
on different VLANs.
Examples This example shows how to configure the secure 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 1.1.1
Switch(config-if-vlan-range)# end
Switch#
Related Commands
mac_address The MAC-address that needs to be secured.
Release Modification
12.2(25)EWA Support for this command was introduced on the Catalyst 4500 series switch.
Command Description
port-security mac-address
sticky
Configures a sticky address on an interface for a specific VLAN
or VLAN range.
port-security maximum Configures the maximum number of addresses on an interface for
a specific VLAN or VLAN range.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals