This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
использование_протокола_802.1q [2024/06/23 17:56] val [Настройка интерфейсов] |
использование_протокола_802.1q [2024/12/07 06:09] (current) val [Настройка интерфейсов] |
||
|---|---|---|---|
| Line 37: | Line 37: | ||
| ==== Настройка интерфейсов ==== | ==== Настройка интерфейсов ==== | ||
| <code> | <code> | ||
| - | !!!switch1# | + | !!!switch1_2# |
| conf terminal | conf terminal | ||
| interface FastEthernet0/1 | interface FastEthernet0/1 | ||
| - | ! desc linux server | + | desc linux server |
| - | ! switchport trunk encapsulation dot1q ! для старых серий, в GNS3 не нужно | + | |
| switchport mode trunk | switchport mode trunk | ||
| - | + | ! switchport trunk encapsulation dot1q ! для старых серий, в GNS3 не нужно | |
| interface FastEthernet0/2 | interface FastEthernet0/2 | ||
| - | ! desc windows client1 | + | desc windows client1 |
| switchport mode access | switchport mode access | ||
| switchport access vlan 2 | switchport access vlan 2 | ||
| ! spanning-tree portfast | ! spanning-tree portfast | ||
| - | |||
| ! ИЛИ | ! ИЛИ | ||
| - | |||
| interface FastEthernet0/2 | interface FastEthernet0/2 | ||
| desc uplink to switch3 | desc uplink to switch3 | ||
| switchport mode trunk | switchport mode trunk | ||
| + | |||
| + | |||
| !!!switch3# | !!!switch3# | ||
| Line 67: | Line 65: | ||
| switchport mode trunk | switchport mode trunk | ||
| - | interface FastEthernet0/2 | ||
| !interface range f0/2 - 4 | !interface range f0/2 - 4 | ||
| - | ! desc windows client1 | + | interface FastEthernet0/2 |
| + | desc windows client1 | ||
| switchport mode access | switchport mode access | ||
| switchport access vlan 2 | switchport access vlan 2 | ||