SMC Networks SMC6128L2 Switch User Manual


 
C
ONFIGURING
THE
S
WITCH
3-184
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.
Configuring Protocol VLANs
You can configure VLAN behavior to support multiple protocols to allow
traffic to pass through different VLANS. When a packet is received at a
port, its VLAN membership is determined by the protocol type of the
packet.
Configuring Protocol VLAN Basic Settings
Use the Protocol VLAN Configuration menu to create or remove protocol
VLANs.
Command Attributes
Protocol Group IP - Protocol Group ID assigned to the Protocol
VLAN Group. (Range: 1-2147483647)
Frame Type - Ethernet frame type.
Protocol Type - The options for Ethernet frame type includes IP,
ARP, or RARP.
Console(config)#interface ethernet 1/3
Console(config-if)#switchport mode private-vlan promiscuous 4-200
Console(config-if)#switchport private-vlan mapping 5 4-212
Console(config-if)#exit
Console(config)#interface ethernet 1/4
Console(config-if)#switchport mode private-vlan host 4-211
Console(config-if)#switchport private-vlan host-association 6 4-211
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)#