SNR S2940-8G-v2 Switch Configuration Guide
VLAN Configuration
Switch(Config-Vlan200)#switchport interface ethernet 1/8-10
Switch(Config-Vlan200)#exit
Switch(config)#interface ethernet 1/11
Switch(Config-If-Ethernet1/11)#switchport mode trunk
Switch(Config-If-Ethernet1/11)#exit
Switch B:
Switch(config)#vlan 2
Switch(Config-Vlan2)#switchport interface ethernet 1/2-4
Switch(Config-Vlan2)#exit
Switch(config)#vlan 100
Switch(Config-Vlan100)#switchport interface ethernet 1/5-7
Switch(Config-Vlan100)#exit
Switch(config)#vlan 200
Switch(Config-Vlan200)#switchport interface ethernet 1/8-10
Switch(Config-Vlan200)#exit
Switch(config)#interface ethernet 1/11
Switch(Config-If-Ethernet1/11)#switchport mode trunk
Switch(Config-If-Ethernet1/11)#exit
16.4 Typical Application of Hybrid Port
Scenario:
Figure 16.3: Typical Application of Hybrid Port
PC1 connects to the interface Ethernet 1/7 of SwitchB, PC2 connects to the interface Ethernet
1/9 of SwitchB, Ethernet 1/10 of SwitchA connect to Ethernet 1/10 of SwitchB.
It is required that PC1 and PC2 can not mutually access due to reason of the security, but PC1
and PC2 can access other network resources through the gateway SwitchA. We can implement
this status through Hybrid port.
129