Jump to content

Recommended Posts

Posted (edited)

Итак, немного юмора:

 

access-r1#sh run int fa0/1.510
Building configuration...

Current configuration : 104 bytes
!
interface FastEthernet0/1.510
encapsulation dot1Q 510
ip address x.y.162.1 255.255.255.252
end

access-r1#sh ip route connected
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
      D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
      N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
      E1 - OSPF external type 1, E2 - OSPF external type 2
      i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
      ia - IS-IS inter area, * - candidate default, U - per-user static route
      o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
      + - replicated route, % - next hop override

Gateway of last resort is x.y.160.117 to network 0.0.0.0

     x.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
C        x.y.160.116/30 is directly connected, FastEthernet0/0
L        x.y.160.118/32 is directly connected, FastEthernet0/0
C        x.y.161.0/25 is directly connected, Loopback0
L        x.y.161.1/32 is directly connected, Loopback0
access-r1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
access-r1(config)#int fa0/1
access-r1(config-if)#shutdown
access-r1(config-if)#no shutdown
access-r1(config-if)#end
access-r1#sh ip route connected
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
      D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
      N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
      E1 - OSPF external type 1, E2 - OSPF external type 2
      i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
      ia - IS-IS inter area, * - candidate default, U - per-user static route
      o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
      + - replicated route, % - next hop override

Gateway of last resort is x.y.160.117 to network 0.0.0.0

     x.0.0.0/8 is variably subnetted, 7 subnets, 4 masks
C        x.y.160.116/30 is directly connected, FastEthernet0/0
L        x.y.160.118/32 is directly connected, FastEthernet0/0
C        x.y.161.0/25 is directly connected, Loopback0
L        x.y.161.1/32 is directly connected, Loopback0
C        x.y.162.0/30 is directly connected, FastEthernet0/1.510
L        x.y.162.1/32 is directly connected, FastEthernet0/1.510
access-r1#
access-r1#
access-r1#sh ip route connected
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
      D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
      N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
      E1 - OSPF external type 1, E2 - OSPF external type 2
      i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
      ia - IS-IS inter area, * - candidate default, U - per-user static route
      o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
      + - replicated route, % - next hop override

Gateway of last resort is x.y.160.117 to network 0.0.0.0

     x.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
C        x.y.160.116/30 is directly connected, FastEthernet0/0
L        x.y.160.118/32 is directly connected, FastEthernet0/0
C        x.y.161.0/25 is directly connected, Loopback0
L        x.y.161.1/32 is directly connected, Loopback0

 

А теперь вопрос - что с ней? :) Между двумя sh ip route connected - пара секунд.

 

show version:

Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 15.1(2)T1, RELEASE SOFTWARE (fc1)

Edited by GFORGX

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...