Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cisco:bgp [2008/11/23 16:50]
93.103.1.78
cisco:bgp [2009/05/25 00:35] (current)
Line 104: Line 104:
     route-map prepend permit 10     route-map prepend permit 10
     set as-path prepend 65001 65001 65001     set as-path prepend 65001 65001 65001
 +
  
 ===== Extracting BGP info with regular expressions ===== ===== Extracting BGP info with regular expressions =====
 +
 +**Short version:**
 +   show ip bgp regexp [AS]$ - list all network paths with that AS
 +   show ip bgp regexp _AS_ - match any route going through AS
 +   show ip bgp regexp _AS AS_ - match any route passed through AS and AS
 +   show ip bgp regexp _AS$ - match only routes originated in this AS
  
 To find all subnets originating from AS 100 (AS path ends with 100): \\ To find all subnets originating from AS 100 (AS path ends with 100): \\
cisco/bgp.1227455410.txt.gz ยท Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready