D-Link DXS-3600 Series Cli Reference Manual page 1009

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet 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.
For a trunk port of a primary VLAN, use the switchport mode trunk command to specify the port mode
and use the switchport trunk allowed vlan command to define the associated VLANs.
For a trunk promiscuous port, use the switchport mode private-vlan trunk promiscuous command to
specify the port mode and use the switchport private-vlan mapping trunk command to define the
associated VLANs.
For a trunk secondary port, use the switchport mode private-vlan trunk secondary command to
specify the port mode and use the switchport private-vlan host-association trunk command to define
the associated VLANs.
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 interface
Ethernet 1/0/1 as a private VLAN host port and specify the interface 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)#
81-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 command to remove the association.
switchport private-vlan host-association [trunk] PRIMARY-VLAN-ID SECONDARY-VLAN-ID
no switchport private-vlan host-association [trunk PRIMARY-VLAN-ID SECONDARY-VLAN-ID]
Parameters
trunk
PRIMARY-VLAN-ID
SECONDARY-VLAN-ID
Default
None.
(Optional) Specifies that the trunk secondary port will be associated
with the private VLAN membership.
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.
1004

Advertisement

Table of Contents
loading

Table of Contents