System information
2-61
Class of Service Configuration
2
• Secondary VLAN – On this switch, all secondary VLANs are community VLANs.
A community VLAN conveys traffic between community ports, and from community
ports to their designated promiscuous ports. If PVLAN Port Type is “Host,” then
specify the associated secondary VLAN.
Web – Click Private VLAN, Private VLAN Port Configuration or Private VLAN Trunk
Configuration. Set the PVLAN Port Type for each port that will join a private VLAN.
For promiscuous ports, set the associated primary VLAN. For host ports, set the
associated secondary VLAN. After all the ports have been configured, click Apply.
Figure 2-40. Configuring Private VLAN Interfaces
CLI – This example shows the switch configured with primary VLAN 5 and
secondary VLAN 6. Port 3 has been configured as a promiscuous port and mapped
to VLAN 5, while ports 4 and 5 have been configured as a host ports and associated
with VLAN 6. This means that traffic for port 4 and 5 can only pass through port 3.
Class of Service Configuration
Class of Service (CoS) allows you to specify which data packets have greater
precedence when traffic is buffered in the switch due to congestion. This switch
supports CoS with four priority queues for each port. Data packets in a port’s
high-priority queue will be transmitted before those in the lower-priority queues.
Console(config)#interface ethernet 1/3
Console(config-if)#switchport mode private-vlan promiscuous 3-94
Console(config-if)#switchport private-vlan mapping 5 3-96
Console(config-if)#exit
Console(config)#interface ethernet 1/4
Console(config-if)#switchport mode private-vlan host 3-94
Console(config-if)#switchport private-vlan host-association 6 3-95
Console(config-if)#exit
Console(config)#interface ethernet 1/5
Console(config-if)#switchport mode private-vlan host
Console(config-if)#switchport private-vlan host-association 6
Console(config-if)#