This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
оборудование_уровня_2_cisco_catalyst [2020/11/17 11:15] val [Настройка DNS] |
оборудование_уровня_2_cisco_catalyst [2023/06/24 19:04] val [Настройка интерфейсов уровня 3] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Настройка имени устройства ===== | ===== Настройка имени устройства ===== | ||
<code> | <code> | ||
- | hostname switch | + | !hostname switch |
+ | hostname switchN | ||
</code> | </code> | ||
Line 9: | Line 10: | ||
<code> | <code> | ||
interface VLAN1 | interface VLAN1 | ||
- | ip address 192.168.X.3 255.255.255.0 | + | ! ip address 192.168.X.3 255.255.255.0 |
+ | ip address 192.168.X.50+N 255.255.255.0 | ||
no shutdown | no shutdown | ||
</code> | </code> | ||
Line 15: | Line 17: | ||
===== Настройка маршрута по умолчанию ===== | ===== Настройка маршрута по умолчанию ===== | ||
<code> | <code> | ||
- | ip default-gateway 192.168.X.1 | + | !ip default-gateway 192.168.X.1 |
</code> | </code> | ||
Line 51: | Line 53: | ||
switchport mode access | switchport mode access | ||
switchport access vlan 2 | switchport access vlan 2 | ||
+ | </code> | ||
+ | |||
+ | ===== Настройка EtherChannel ===== | ||
+ | |||
+ | <code> | ||
+ | interface Port-channel1 | ||
+ | desc uplink to CORE (switch1 and switch2) | ||
+ | |||
+ | interface FastEthernet0/0 | ||
+ | channel-group 1 mode on | ||
+ | |||
+ | interface FastEthernet0/1 | ||
+ | channel-group 1 mode on | ||
+ | ! shutdown ! in GNS | ||
</code> | </code> | ||
Line 69: | Line 85: | ||
! dot1x pae authenticator | ! dot1x pae authenticator | ||
</code><code> | </code><code> | ||
+ | switch#show int f0/2 | ||
+ | |||
switch#show dot1x interface f0/2 | switch#show dot1x interface f0/2 | ||
</code> | </code> | ||
Line 113: | Line 131: | ||
</code> | </code> | ||
+ | ===== port-security ===== | ||
+ | |||
+ | * [[http://ciscomaster.ru/content/nastroyka-port-security-na-kommutatorah-cisco|Настройка Port Security на коммутаторах Cisco]] | ||
+ | |||
+ | <code> | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security violation restrict | ||
+ | switchport port-security mac-address 0005.5E80.22A3 | ||
+ | switchport port-security mac-address 00E0.F75B.C101 | ||
+ | </code> |