Cisco WS-C3560E-48PD-SF Command Reference - Page 352
private-vlan mapping
View all Cisco WS-C3560E-48PD-SF manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 352 highlights
private-vlan mapping Chapter 2 Catalyst 3560 Switch Cisco IOS Commands private-vlan mapping Use the private-vlan mapping interface configuration command on a switch virtual interface (SVI) to create a mapping between a private-VLAN primary and secondary VLANs so that both VLANs share the same primary VLAN SVI. Use the no form of this command to remove private-VLAN mappings from the SVI. private-vlan mapping {[add | remove] secondary-vlan-list} no private-vlan mapping Syntax Description secondary-vlan-list add remove Specify one or more secondary VLANs to be mapped to the primary VLAN SVI. (Optional) Map the secondary VLAN to the primary VLAN SVI. (Optional) Remove the mapping between the secondary VLAN and the primary VLAN SVI. Defaults The default is to have no private VLAN SVI mapping configured. Command Modes Interface configuration Command History Release 12.2(20)SE Modification This command was introduced. Usage Guidelines The switch must be in VTP transparent mode when you configure private VLANs. The SVI of the primary VLAN is created at Layer 3. Configure Layer 3 VLAN interfaces (SVIs) only for primary VLANs. You cannot configure Layer 3 VLAN interfaces for secondary VLANs. SVIs for secondary VLANs are inactive while the VLAN is configured as a secondary VLAN. The secondary_vlan_list parameter cannot contain spaces. It can contain multiple comma-separated items. Each item can be a single private-VLAN ID or a hyphenated range of private-VLAN IDs. The list can contain one isolated VLAN and multiple community VLANs. Traffic that is received on the secondary VLAN is routed by the SVI of the primary VLAN. A secondary VLAN can be mapped to only one primary SVI. IF you configure the primary VLAN as a secondary VLAN, all SVIs specified in this command are brought down. If you configure a mapping between two VLANs that do not have a valid Layer 2 private-VLAN association, the mapping configuration does not take effect. 2-320 Catalyst 3560 Switch Command Reference 78-16405-05