Examples Of Voice Port Security - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 47
Configuring Port Security
Command
Step 9
Switch(config-if)# end
Step 10
Switch# show port-security address
interface interface_id
Switch# show port-security address
To clear dynamically learned port security MAC addresses in the CAM table, use the
Note
clear port-security dynamic command. The address keyword enables you to clear a secure MAC
addresses. The interface keyword enables you to clear all secure addresses on an interface (including
any port channel interface). The VLAN keyword allows you to clear port security MACs on a per-VLAN
per-port basis.
Each port security-configured interface accepts one MAC-address by default. With port security port
Note
level port-security configuration takes precedence over VLAN level port-security configuration. To
allow one MAC-address each for voice and data VLAN, configure the port for a maximum of greater
than or equal to two addresses.

Examples of Voice Port Security

The following examples are provided:
Example 1: Configuring Maximum MAC Addresses for Voice and Data VLANs
This example shows how to designate a maximum of one MAC address for a voice VLAN (for a Cisco
IP Phone, let's say) and one MAC address for the data VLAN (for a PC, let's say) 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 2
Switch(config-if)# switchport port-security mac-address sticky
Switch(config-if)# switchport port-security maximum 1 vlan voice
Switch(config-if)# switchport port-security maximum 1 vlan access
Switch(config-if)# end
Note
Sending traffic to the ports causes the system to configure the port with sticky secure addresses.
OL-25340-01
Example 1: Configuring Maximum MAC Addresses for Voice and Data VLANs, page 47-25
Example 2: Configuring Sticky MAC Addresses for Voice and Data VLANs, page 47-26
Purpose
Returns to privileged EXEC mode.
Verifies your entries.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Configuring Port Security on Voice Ports
47-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents