Home arrow Routing arrow BGP arrow BGP Sample Command for Cisco

Google Translation


Advertisements


Yahoo Network

Merchant Solutions


Who's Online

We have 2 guests online
BGP sample commands for Cisco PDF Print E-mail
Written by CiscoNET   


1. How do I remove a neighbor?

router(config)# router bgp
router(config-router)# no neighbor



2. How do I shutdown a session?

router(config)# router bgp
router(config-router)# neighbor shutdown

router(config)# router bgp
router(config-router)# no neighbor shutdown



3. How do I clear or restart a session?

router# clear ip bgp



4. How do I clear BGP session without hard reset?

router# clear ip bgp soft out



5. How do I clear all BGP sessions?

router# show ip bgp neighbor *



6. How do I display all BGP routes that contain subnet and supernet netmask?

router# show ip bgp cidr-only



7. How do I display routes that belong to the specified communities?

router# show ip bgp community community-number [exact]



8. How do I display routes that are permitted by community list?

router# show ip bgp community-list community-number [exact]



9. How do I display routes that are matched by the specified autonomouse system path access list?

router# show ip bgp filter-list access-list-number



10. How do I display the routes with inconsistent originating autonomous systems?

router# show ip bgp inconsistent-as



11. How do I display the routes that match the specified regular expression entered on the command line?

router# show ip bgp regexp regular-expression



12. How do I display the contents of the BGP routing table?

router# show ip bgp [network][network-mask][subnets]



13. How do I display routes learned from a paticular BGP neighbor?

router# show ip bgp neighbor [address][received-routes | routes | advertised
-routes | paths regular-expression | dampened-routes]



14. How do I display all BGP paths in the database?

router# show ip bgp paths



15. How do I display information about BGP peer groups?

router# show ip bgp peer-group [tag][summary]



16. How do I display the status of all BGP connections?

router# show ip bgp summary



17. How do I look at a BGP session to see if it is up?

router# show ip bgp neighbor



18. How do I see what routes are being seen?

router# show ip bgp neighbor routes



19. How do I see what routes are being advertised?

router# show ip bgp neighbor advertised-routes







Please share this article with ;
Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Wists!Simpy!Newsvine!Blinklist!Fark!Yahoo!Netvouz!RawSugar!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
< Prev   Next >

BGP routing issue?

show ip bgp

Sponsored Links


Discount HP Gears


Sponsor II


What's your IP?

You are connecting to this site from: 38.103.63.60

Related Articles