Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
| _ _|
/`ミ _x 彡
/ |
/ ヽ ノ
/ ̄| | | |
| ( ̄ヽ__ヽ_)_)
\二つ加我兄弟
p.s. thigh highs are the way into my heart <3
• Create VLANs 10 and 20 on Switch1
• Configure access ports on FastEthernet0/1 and FastEthernet0/2 to be members of VLANs 10 and 20, respectively
• Configure GigabitEthernet0/1 as a trunk port, allowing traffic for VLANs 10 and 20 to be carried between Switch1 and Switch2
Note that we also configure Switch2 with similar VLAN and trunk port configurations, so that traffic can be exchanged between the switches for the VLANs that are allowed on the trunk link.
With this configuration, PC1 and PC2 will be able to communicate with each other, even though they are connected to separate switches. The VLAN tags on the trunk link allow Switch1 and Switch2 to differentiate between traffic for VLAN 10 and traffic for VLAN 20, and forward it to the appropriate destination.
I hope that helps!
Switch1(config)# interface GigabitEthernet0/1
Switch1(config-if)# switchport mode trunk
Switch1(config-if)# switchport trunk allowed vlan 10,20
Switch1(config-if)# exit
Switch1(config)# interface GigabitEthernet0/1.10
Switch1(config-subif)# encapsulation dot1Q 10
Switch1(config-subif)# ip address 10.0.10.1 255.255.255.0
Switch1(config-subif)# exit
Switch1(config)# interface GigabitEthernet0/1.20
Switch1(config-subif)# encapsulation dot1Q 20
Switch1(config-subif)# ip address 10.0.20.1 255.255.255.0
Switch1(config-subif)# exit
Switch1(config)# exit