Viewing Your Border Gateway Protocol (BGP) Routing Table

Once you have Border Gateway Protocol (BGP) properly set up, you are able to see the routes listed in the routing table. The following shows the BGP routes in the routing table identified with a B.


In addition to seeing where the route goes and how it gets there, you also see how long your router has known about that route, which is important, because if the link has been down or offline recently, this time will be very short.


Router2>enable
Password:
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router2#show ip route
Codes: 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
Gateway of last resort is not set
C 192.168.5.0/24 is directly connected, FastEthernet0/1
B 192.168.6.0/24 [20/0] via 192.168.1.2, 5d15h
C 192.168.255.0/24 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S 192.168.3.0/24 [1/0] via 192.168.1.1



dummies

Source:http://www.dummies.com/how-to/content/viewing-your-border-gateway-protocol-bgp-routing-t.html

No comments:

Post a Comment