2960TEST#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0057.d2fc.3880
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0057.d2fc.3880
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/48 Desg FWD 19 128.48 P2p
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 32778
Address 0057.d2fc.3880
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)
Address 0057.d2fc.3880
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/9 Desg FWD 19 128.9 P2p
Fa0/48 Desg FWD 19 128.48 P2p
VLAN0011
Spanning tree enabled protocol ieee
Root ID Priority 32779
Address 0057.d2fc.3880
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32779 (priority 32768 sys-id-ext 11)
Address 0057.d2fc.3880
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/48 Desg FWD 19 128.48 P2p
VLAN0020
Spanning tree enabled protocol ieee
Root ID Priority 32788
Address 0057.d2fc.3880
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)
Address 0057.d2fc.3880
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/48 Desg FWD 19 128.48 P2p
3750TEST#sh spanning-tree
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 32778
Address 0057.d2fc.3880
Cost 19
Port 48 (GigabitEthernet1/0/48)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)
Address 44d3.ca8f.7680
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/0/48 Root FWD 19 128.48 P2p
VLAN0020
Spanning tree enabled protocol ieee
Root ID Priority 32788
Address 0057.d2fc.3880
Cost 19
Port 48 (GigabitEthernet1/0/48)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)
Address 44d3.ca8f.7680
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/0/44 Desg FWD 4 128.44 P2p
Gi1/0/48 Root FWD 19 128.48 P2p
Проверьте и поделитесь с нами результатом.
Building configuration...
Current configuration : 6512 bytes
!
! Last configuration change at 23:02:36 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2960TEST
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$B/rf$OW7m2ORuoph9e3lQKCo7V.
!
username cisco secret 5 $1$nJEI$gPaLHcvUPMEGge15cHc0g0
no aaa new-model
system mtu routing 1500
ip routing
!
!
ip domain-name 2960test.com
!
!
crypto pki trustpoint TP-self-signed-3539744896
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3539744896
revocation-check none
rsakeypair TP-self-signed-3539744896
!
!
crypto pki certificate chain TP-self-signed-3539744896
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33353339 37343438 3936301E 170D3933 30333031 30303031
32345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 35333937
34343839 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009339 8343FBA4 CABC1D04 211604EA 7458160A 0B768D42 A68A3904 E2380C59
11DD9A7D 47B20B54 51E89115 3BA00A37 FB5AB49E EB3DCAE8 5CE2E03F 62E34755
5414D4A0 15D06B93 803DA702 C464B801 B66AD983 9977945D E3E97BFB FFA10B58
EB5D39C3 76374128 A07C7C96 105435BD 716F4CFC B19E3755 9BE68036 8C8D528A
A8EB0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 14F90011 83E45353 E4F47C93 384EBB77 8B98D9E3 EF301D06
03551D0E 04160414 F9001183 E45353E4 F47C9338 4EBB778B 98D9E3EF 300D0609
2A864886 F70D0101 05050003 81810053 2397FC3A 5D4AF529 8C36A20B 64F95949
DFA177AA AF88E03C 16E2919E E3F1E771 B33B2A64 63A2E343 88843B52 22A073E7
87C15AF6 36145B3D 0587D6F3 C16C9061 05698040 22070455 5A86A45C C8DEDD88
3994A4FD 3AEFC797 25FF79E1 A89EC064 E8EE2EA0 C6CE84F8 084CDEA8 D9498EE4
422F69D6 07FC0879 D499118A 35EEAE
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 10
switchport mode access
shutdown
!
interface FastEthernet0/13
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/25
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/26
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/27
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/28
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/29
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/30
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/31
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/32
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/33
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/34
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/35
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/36
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/37
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/38
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/39
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/40
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/41
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/42
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/43
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/44
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/45
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/46
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/47
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/48
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
!
interface Vlan20
ip address 192.168.20.2 255.255.255.224
!
ip default-gateway 192.168.20.1
ip http server
ip http secure-server
ip route 10.0.0.0 255.0.0.0 192.168.10.1
ip route 192.168.10.0 255.255.255.0 192.168.20.1
ip route 192.168.10.0 255.255.255.224 192.168.20.1
!
!
!
line con 0
line vty 0 4
login local
transport input ssh
line vty 5 15
login
!
end
2960TEST(config)#ip route 192.168.10.0 255.255.255.224 192.168.20.1
2960TEST(config)#
*Mar 1 22:59:12.726: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 192.168.20.1 Vlan20
ip route 192.168.10.0 255.255.255.0 192.168.20.1
Current configuration : 4278 bytes
!
! Last configuration change at 07:03:56 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2960TEST
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$B/rf$OW7m2ORuoph9e3lQKCo7V.
!
username cisco secret 5 $1$nJEI$gPaLHcvUPMEGge15cHc0g0
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 10
switchport mode access
shutdown
!
interface FastEthernet0/13
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/25
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/26
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/27
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/28
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/29
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/30
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/31
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/32
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/33
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/34
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/35
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/36
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/37
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/38
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/39
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/40
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/41
!
interface FastEthernet0/42
!
interface FastEthernet0/43
!
interface FastEthernet0/44
!
interface FastEthernet0/45
!
interface FastEthernet0/46
!
interface FastEthernet0/47
!
interface FastEthernet0/48
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
no ip address
!
interface Vlan20
ip address 192.168.20.2 255.255.255.224
!
ip http server
ip http secure-server
!
!
line con 0
line vty 5 15
!
end
Current configuration : 5418 bytes
!
! Last configuration change at 11:23:15 UTC Tue Apr 13 2021 by cisco
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 3750TEST
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$zA6z$uoeFjUnnjVS.6NjX.5H6f/
!
username cisco secret 5 $1$vzVt$Ri4bbpfASK0Btm8fB0Odo.
!
!
aaa new-model
!
!
!
!
!
aaa session-id common
switch 1 provision ws-c3750x-48p
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
ip dhcp excluded-address 192.168.10.1 192.168.10.9
ip dhcp excluded-address 192.168.20.1 192.168.20.9
!
ip dhcp pool dhcp10
network 192.168.10.0 255.255.255.224
default-router 192.168.10.1
dns-server 8.8.8.8 8.8.4.4
lease 30
!
ip dhcp pool dhcp20
network 192.168.20.0 255.255.255.224
default-router 192.168.20.1
dns-server 8.8.8.8 8.8.4.4
lease 30
!
!
ip domain-name 3750test.com
!
!
!
license boot level ipservices
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
ip ssh version 2
!
!
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet1/0/1
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/2
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/3
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/4
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/5
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/6
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/7
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/8
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/9
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/10
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/11
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/12
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/13
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/14
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/15
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/16
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/17
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/18
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/19
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/20
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/21
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/22
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/23
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/24
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/25
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/26
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/27
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/28
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/29
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/30
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/31
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/32
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/33
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/34
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/35
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/36
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/37
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/38
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/39
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/40
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/41
!
interface GigabitEthernet1/0/42
!
interface GigabitEthernet1/0/43
!
interface GigabitEthernet1/0/44
!
interface GigabitEthernet1/0/45
!
interface GigabitEthernet1/0/46
!
interface GigabitEthernet1/0/47
!
interface GigabitEthernet1/0/48
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface TenGigabitEthernet1/1/1
!
interface TenGigabitEthernet1/1/2
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 192.168.10.1 255.255.255.224
!
interface Vlan20
ip address 192.168.20.1 255.255.255.224
!
ip classless
!
ip http server
ip http secure-server
!
ip sla enable reaction-alerts
!
!
!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
!
end