Purpose
Command or Action
00:A0:C7:12:C9:25 vlan voice
Enter one of these options after you enter the
vlan
keyword:
•
vlan-id
—
On a trunk port, you can specify the VLAN ID and the MAC
address. If you do not specify a VLAN ID, the native VLAN is used.
•
access
—
On an access port, specifies the VLAN as an access VLAN.
•
voice
—
On an access port, specifies the VLAN as a voice VLAN.
The
voice
keyword is available only if a voice VLAN is configured on a
port and if that port is not the access VLAN.
Note
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 11
Verifies your entries.
show port-security
Example:
Switch#
show port-security
Step 12
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 13
startup-config
Related Topics
Port Security, on page 336
Configuration Examples for Port Security, on page 347
Enabling and Configuring Port Security Aging
Use this feature to remove and add devices on a secure port without manually deleting the existing secure
MAC addresses and to still limit the number of secure addresses on a port. You can enable or disable the
aging of secure addresses on a per-port basis.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
344
OL-29434-01
Configuring Port-Based Traffic Control
Enabling and Configuring Port Security Aging