EasyManuals Logo

Cisco Catalyst 4500 Series Command Reference Guide

Cisco Catalyst 4500 Series
1230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1119 background imageLoading...
Page #1119 background image
2-1061
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
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.
switchport private-vlan host-association {primary-vlan-id} {secondary-vlan-id}
no switchport private-vlan host-association
Syntax Description
Defaults Private VLAN mapping is disabled.
Command Modes Interface configuration mode
Command History
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 This 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)#
This example shows how to remove the PVLAN association from the port:
Switch(config-if)# no switchport private-vlan host-association
Switch(config-if)#
This 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
primary-vlan-id Number of the primary VLAN of the PVLAN relationship; valid values are from
1 to 4094.
secondary-vlan-list Number of the secondary VLAN of the private VLAN relationship; valid values
are from 1 to 4094.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Support for extended addressing was added.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals