EasyManuals Logo
Home>Cisco>Network Router>4500M

Cisco 4500M Command Reference

Cisco 4500M
578 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 #501 background imageLoading...
Page #501 background image
2-469
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco 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 the
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
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 neither of the VLANs exists, 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)#
Related Commands show interfaces switchport
switchport mode
primary-vlan-id Number of the primary VLAN of the PVLAN relationship; valid values are from
1to 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 4500M

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco 4500M Specifications

General IconGeneral
BrandCisco
Model4500M
CategoryNetwork Router
LanguageEnglish

Related product manuals