Sunday, September 14, 2014

BGP Commands

Implementation:

#router bgp 6500
#neighbor 10.45.1.1 remote-as 5500
#neighbor 10.45.1.1 password (encryption 0-7) WORD 
#neighbor 2.2.2.2(იმის Loopback) update-source loopback0 (საკუთარი loopback)
#neighbor 2.2.2.2 ebgp-multihop <1-255>  (default 1)
#neighbor 1.1.1.1 shutdown
#neighbor 1.1.1.1 distribute-list <ACL N> in/out
#neighbor 1.1.1.1 prefix-list NAME in/out
#neighbor 1.1.1.1 filter-list <ACL N> or <ip as-path N> in/out
#neighbor 1.1.1.1 route-map WORD in/out
#neighbor 1.1.1.1 soft-reconfiguration inbound
#neighbor 1.1.1.1 weight <0-65535>  (higher better)
#bgp router-id 1.1.1.1
#network 4.4.4.0 (mask 255.255.255.0)
#auto-summary
#aggregate-address 128.127.0.0 255.255.240.0 (summary-only)
#synchronization
#bgp default local preference 700 (default 100, higher better)
#default metric (default 0)
#maximum-paths <1-16> 



#set as-path prepend 3 3



#show ip bgp summary
#show ip bgp neighbors (A.B.C.D)
#show tcp brief
#debug ip bgp
#show ip bgp = lists BGP table
#show ip bgp nei 1.1.1.1 advertised-routes
#clear ip bgp  1.1.1.1 
#clear ip bgp *
#clear ip bgp 1.1.1. out
#clear ip bgp 1.1.1. soft out
#clear ip bgp 1.1.1.1 in
#clear ip bgp 1.1.1.1 soft in
#clear ip bgp * soft
#show ip bgp neighbor 1.1.1.1 advertised-routes
#show ip bgp neighbor 1.1.1.1 received-routes
#show ip bgp neighbor 1.1.1.1 routes
#show ip bgp rib-failures  (Routing Information Base= routing table)

No comments:

Post a Comment