Cisco Catalyst 4500 Series Configuration Manual page 1164

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

switchport private-vlan host-association
switchport private-vlan host-association
To define a PVLAN association for an isolated or community port, use the switchport private-vlan
host-association command. To remove the PVLAN mapping from the port, use the no form of this
command.
Syntax Description
primary-vlan-id
secondary-vlan-list
Command Default
Private VLAN mapping is disabled.
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
12.1(12c)EW
Usage Guidelines
There is no runtime effect on the port unless it is in PVLAN host mode. If the port is in PVLAN host
mode but all VLANs do not exist, the command is allowed, but the port is made inactive.
The secondary VLAN may be an isolated or community VLAN.
Examples
The following example shows how to configure a port with a primary VLAN (VLAN 18) and secondary
VLAN (VLAN 20):
Switch(config-if)# switchport private-vlan host-association 18 20
Switch(config-if)#
The following example shows how to remove the PVLAN association from the port:
Switch(config-if)# no switchport private-vlan host-association
Switch(config-if)#
The following example shows how to configure interface FastEthernet 5/1 as a PVLAN host port and
verify the configuration:
Switch# configure terminal
Switch(config)# interface fastethernet 5/1
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 202 440
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-1114
switchport private-vlan host-association {primary-vlan-id} {secondary-vlan-id}
no switchport private-vlan host-association
Number of the primary VLAN of the PVLAN relationship; valid values are from
1 to 4094.
Number of the secondary VLAN of the private VLAN relationship; valid values
are from 1 to 4094.
Modification
This command was introduced on the Catalyst 4500 series switch.
Support for extended addressing was added.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents