D-Link DGS-3130 Emulator - Page 631
switchport private-vlan host-association
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 631 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Usage Guideline For isolated ports or community ports, use the switchport mode private-vlan host command to specify the port mode and use the switchport private-vlan host-association command to associate the port with the secondary VLAN and the primary VLAN. For a promiscuous port, use the switchport mode private-vlan promiscuous command to specify the port mode and use the switchport private-vlan mapping command to associate the port with a primary VLAN and define the mapping secondary VLAN. When an interface's mode is changed, the setting associated with the previous mode will be lost. Example This example shows how to configure physical ports as private VLAN ports. Here, we specify the ethernet 1/0/1 as a private VLAN host port and specify the ethernet 1/0/2 as a private VLAN promiscuous port. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode private-vlan host Switch(config-if)# exit Switch(config)# interface ethernet 1/0/2 Switch(config-if)# switchport mode private-vlan promiscuous Switch(config-if)# 61-5 switchport private-vlan host-association This command is used to associate the private VLAN with an isolated port, a community port, or a trunk secondary port. Use the no form of this command to remove the association. switchport private-vlan host-association PRIMARY-VLAN-ID SECONDARY-VLAN-ID no switchport private-vlan host-association Parameters PRIMARY-VLAN-ID SECONDARY-VLAN-ID Specifies the ID of primary VLAN to be associated. The valid ID range of a primary VLAN is from 2 to 4094. Specifies the ID of secondary VLAN to be associated. The valid ID range of a secondary VLAN is from 2 to 4094. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The port is an isolated port if the secondary VLAN specified by the command is an isolated VLAN. The port is a community port if the secondary VLAN specified by the command is a community VLAN. 627