Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский)
Español - Latinoamérica (латиноам. испанский)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский)
Português-Brasil (бразильский португальский)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
| _ _|
/`ミ _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