11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sprivate-vlan mappingprivate-vlan mappingUse the private-vlan mapping interface configuration comm<strong>and</strong> on a switch virtual interface (SVI) onthe switch stack or on a st<strong>and</strong>alone switch to create a mapping between a private-VLAN primary <strong>and</strong>secondary VLANs so that both VLANs share the same primary VLAN SVI. Use the no form of thiscomm<strong>and</strong> to remove private-VLAN mappings from the SVI.private-vlan mapping {[add | remove] secondary-vlan-list}no private-vlan mappingSyntax Descriptionsecondary-vlan-listaddremoveSpecify one or more secondary VLANs to be mapped to the primary VLANSVI.(Optional) Map the secondary VLAN to the primary VLAN SVI.(Optional) Remove the mapping between the secondary VLAN <strong>and</strong> theprimary VLAN SVI.DefaultsThe default is to have no private VLAN SVI mapping configured.Comm<strong>and</strong> ModesInterface configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesThe 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 3VLAN interfaces for secondary VLANs. SVIs for secondary VLANs are inactive while the VLAN isconfigured as a secondary VLAN.The secondary_vlan_list parameter cannot contain spaces. It can contain multiple comma-separateditems. Each item can be a single private-VLAN ID or a hyphenated range of private-VLAN IDs. The listcan contain one isolated VLAN <strong>and</strong> 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 asecondary VLAN, all SVIs specified in this comm<strong>and</strong> are brought down.If you configure a mapping between two VLANs that do not have a valid Layer 2 private-VLANassociation, the mapping configuration does not take effect.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-453

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!