ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
40
| VLAN Commands
Configuring Protocol-based VLANs
– 1371
EXAMPLE
Console(config)#interface ethernet 1/2
Console(config-if)#switchport private-vlan mapping 2
Console(config-if)#
show vlan
private-vlan
Use this command to show the private VLAN configuration settings on this
switch.
SYNTAX
show vlan private-vlan [community | primary]
community – Displays all community VLANs, along with their
associated primary VLAN and assigned host interfaces.
primary – Displays all primary VLANs, along with any assigned
promiscuous interfaces.
DEFAULT SETTING
None
COMMAND MODE
Privileged Executive
EXAMPLE
Console#show vlan private-vlan
Primary Secondary Type Interfaces
-------- ----------- ---------- ------------------------------
5 primary Eth1/ 3
5 6 community Eth1/ 4 Eth1/ 5
Console#
CONFIGURING PROTOCOL-BASED VLANS
The network devices required to support multiple protocols cannot be
easily grouped into a common VLAN. This may require non-standard
devices to pass traffic between different VLANs in order to encompass all
the devices participating in a specific protocol. This kind of configuration
deprives users of the basic benefits of VLANs, including security and easy
accessibility.
To avoid these problems, you can configure this switch with protocol-based
VLANs that divide the physical network into logical VLAN groups for each
required protocol. When a frame is received at a port, its VLAN
membership can then be determined based on the protocol type in use by
the inbound packets.