Configuring A Layer 2 Etherchannel As A Pvlan Host Port - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring PVLANs

Configuring a Layer 2 EtherChannel as a PVLAN Host Port

To configure a Layer 2 EtherChannel as a PVLAN host port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface port-channel
interface-number
Step 3
Switch(config-if)# switchport mode private-vlan
{host | promiscuous | trunk promiscuous | trunk
[secondary]}
Step 4
Switch(config-if)# [no] switchport private-vlan
host-association primary_vlanb_ID
secondary_vlan_ID
Step 5
Switch(config-if)# end
Step 6
Switch# show interface port-channel
interface-number switchport
This example shows how to configure interface port channel 63 as a PVLAN host port and to verify the
configuration:
Switch# configure terminal
Switch(config)# interface port-channel 63
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 202 440
Switch(config-if)# end
Switch# show interfaces port-channel 63 switchport
Name: Po63
Switchport: Enabled
Administrative Mode: private-vlan host
Operational Mode: private-vlan host
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Appliance trust: none
Administrative Private Vlan
Host Association: 202 (VLAN0202) 440 (VLAN0440)
Promiscuous Mapping: none
Trunk encapsulation : dot1q
Trunk vlans:
Operational private-vlan(s):
202 (VLAN0202) 440 (VLAN0440)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
47-26
Chapter 47
Configuring Private VLANs
Purpose
Enters global configuration mode.
Specifies the LAN interface to configure.
Configures a Layer 2 Etherchannel as a
PVLAN host port.
Associates the Layer 2 interface with a
PVLAN.
You can use the no keyword to delete all
associations from the primary VLAN.
Exits configuration mode.
Verifies the configuration.

Advertisement

Table of Contents
loading

Table of Contents