Configuring Port Security On Access Ports - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 55
Configuring Port Security

Configuring Port Security on Access Ports

These sections describe how to configure port security:
Port security can be enabled on a Layer 2 port channel interface configured in access mode. The port
Note
security configuration on an EtherChannel is independent of the configuration of any member ports.
Configuring Port Security on Access Ports
To restrict traffic through a port by limiting and identifying MAC addresses of the stations allowed to
the port, perform this task:
Command
Step 1
Switch(config)# interface interface_id
interface port-channel port_channel_number
Step 2
Switch(config-if)# switchport mode access
Step 3
Switch(config-if)# [no] switchport port-security
Step 4
Switch(config-if)# [no] switchport port-security
maximum value
Packets with a multicast or broadcast source MAC address
Packets from an address either learned or configured on a secure interface that are observed on
another secure interface in the same VLAN
You can chose to rate limit these packets. If the rate is exceeded, you can trigger a violation action
for the port.
Configuring Port Security on Access Ports, page 55-7
Examples of Port Security on Access Ports, page 55-10
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Configuring Port Security on Access Ports
Purpose
Enters interface configuration mode and specifies the
interface to configure.
The interface can be a Layer 2 port channel
Note
logical interface.
Sets the interface mode.
An interface in the default mode (dynamic auto)
Note
cannot be configured as a secure port.
Enables port security on the interface.
To return the interface to the default condition as a not
secured, use the no switchport port-security command.
(Optional) Sets the maximum number of secure MAC
addresses for the interface. The range is 1 to 3072; the
default is 1.
To return the interface to the default number of secure
MAC addresses, use the no switchport port-security
maximum value.
55-7

Advertisement

Table of Contents
loading

Table of Contents