Cisco Catalyst 4500 Series Configuration Manual page 1127

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
Figure 47-1
Note
Dynamic addresses secured on an isolated private VLAN host port on private VLANs are secured on the
secondary VLANs, and not primary VLANs.
To configure port security on an isolated private VLAN host port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# vlan sec_vlan_id
Step 3
Switch(config-vlan)# private-vlan isolated
Step 4
Switch(config-vlan)# exit
Step 5
Switch(config)# vlan pri_vlan_id
Step 6
Switch(config-vlan)# private-vlan primary
Step 7
Switch(config-vlan)# private-vlan association
add sec_vlan_id
Step 8
Switch(config-vlan)# exit
Step 9
Switch(config)# interface interface_id
Step 10
Switch(config-if)# switchport mode private-vlan
host
Step 11
Switch(config-if)# switchport private-vlan
host-association primary_vlan secondary_vlan
Step 12
Switch(config-if)# [no] switchport port-security
Step 13
Switch(config-if)# end
Step 14
Switch# show port-security address
interface interface_id
Switch# show port-security address
OL-25340-01
Port Security on Isolated Private VLAN Host Ports
Layer 2 switch
Promiscuous port
a
b
X
PC
PC
Router
Port security
implemented on
isolated VLAN
host ports a and b
Purpose
Enter global configuration mode.
Specifies a secondary VLAN.
Sets the private VLAN mode to isolated.
Returns to global configuration mode.
Specifies a primary VLAN.
Specifies the VLAN as the primary private VLAN.
Creates an association between a secondary VLAN and a
primary VLAN.
Returns to global configuration mode.
Enters interface configuration mode and specifies the
physical interface to configure.
Specifies that the ports with a valid private VLAN trunk
association become active host private VLAN trunk ports.
Establishes a host association on an isolated host port.
Enables port security on the interface.
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 PVLAN Ports
47-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents