D-Link DGS-3130 Emulator - Page 632
switchport private-vlan mapping
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 632 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Example This example shows how to associate ethernet 1/0/1 with the primary VLAN 1000 and the secondary VLAN 1001. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode private-vlan host Switch(config-if)# switchport private-vlan host-association 1000 1001 Switch(config-if)# 61-6 switchport private-vlan mapping This command is used to associate the private VLAN membership with a promiscuous port or a trunk promiscuous port. Use the no form of this command to remove the association. switchport private-vlan mapping PRIMARY-VLAN-ID {add SECONDARY-VLAN-ID [, | -] | remove SECONDARY-VLAN-ID [, | -]} no switchport private-vlan mapping Parameters add SECONDARY-VLAN-ID remove SECONDARYVLAN-ID , - Specifies to add membership of the specified secondary VLAN. The valid ID range of secondary VLAN is from 2 to 4094. Specifies to remove membership of the specified secondary VLAN. (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is allowed before and after the comma. (Optional) Specifies a range of VLANs. No space is allowed before and after the hyphen. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is available for physical port and port-channel interface configuration. Issuing the command will configure the port as an untagged member of the specified primary VLAN and the mapping secondary VLANs. Example This example shows how to configure ethernet 1/0/2 as a private VLAN promiscuous port and to map it to a primary VLAN 1000 and secondary VLAN 1001 and VLAN 1002. 628