Setting The Maximum Number Of Secure Mac Addresses - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Configuring Port Security
Port
----- -------- ----------------- ----------------- -------- -------- -------
2/1
Port
-------- --------------- --------------
2/1
Port
----- ---------- ---------- ---------- ---------- ---------
2/1
Port
----- ---------- ---------- ---------- ---------- --------- --------- ---------
2/1
Last-Time-Cleared
--------------------------
Fri Jul 10 1998, 17:53:38
This example shows how to enable port security on a port and manually specify the secure MAC address:
Console> (enable) set port security 2/1 enable 00-90-2b-03-34-08
Port 2/1 port security enabled with 00-90-2b-03-34-08 as the secure mac address
Trunking disabled for Port 2/1 due to Security Mode
Console> (enable)

Setting the Maximum Number of Secure MAC Addresses

You can set the number of MAC addresses to secure on a port. By default, at least one MAC address per
port can be secured. In addition to this default, a global resource of up to 1024 MAC addresses is
available to be shared by the ports. This means that if the entire global resource of 1024 MAC addresses
is used on some ports, you can still enable port security on the rest of the ports with a maximum of one
MAC per port.
If you reduce the maximum number of MAC addresses, the system clears the specified number of MAC
addresses and displays the list of removed addresses.
To set a number of MAC addresses to be secured for a particular port, perform this task in privileged
mode:
Task
Set the number of MAC addresses to be
secured on a port.
This example shows how to set the number of MAC addresses to be secured:
Console> (enable) set port security 7/7 maximum 20
Maximum number of secure addresses
Console> (enable)
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
35-4
Security Secure-Src-Addr
enabled
00-90-2b-03-34-08 00-90-2b-03-34-08 No
Broadcast-Limit Broadcast-Drop
-
Align-Err
FCS-Err
Xmit-Err
0
0
Single-Col Multi-Coll Late-Coll
0
0
Last-Src-Addr
Shutdown Trap
0
Rcv-Err
UnderSize
0
0
Excess-Col Carri-Sen Runts
0
0
Command
set port security mod/port maximum num_of_mac
set to 20 for port 7/7.
Chapter 35
Configuring Port Security
IfIndex
disabled 1081
0
Giants
0
0
0
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents