Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###############################################################################################
- Border_1#
- !
- router bgp 65000
- no synchronization
- bgp router-id 11.11.11.11
- bgp log-neighbor-changes
- network 11.11.11.11 mask 255.255.255.255
- network 192.168.10.0
- network 192.168.11.0
- network 192.168.12.0
- network 192.168.13.0
- aggregate-address 192.168.8.0 255.255.248.0 summary-only
- neighbor 158.98.84.2 remote-as 100
- neighbor 158.98.84.2 prefix-list FILTER-OUT out
- neighbor 158.98.84.2 route-map SET_LOCAL_PREF in
- neighbor 158.98.84.2 route-map SET_MED out
- neighbor 158.98.84.6 remote-as 1234
- neighbor 158.98.84.6 prefix-list FILTER-OUT out
- neighbor 158.98.84.6 route-map SET_LOCAL_PREF in
- neighbor 158.98.84.6 route-map SET_MED out
- neighbor 192.168.1.2 remote-as 65000
- neighbor 192.168.1.2 next-hop-self
- no auto-summary
- !
- ip prefix-list FILTER-OUT seq 10 permit 192.168.8.0/21
- ip prefix-list FILTER-OUT seq 20 permit 11.11.11.11/32
- !
- route-map SET_LOCAL_PREF permit 10
- set local-preference 150
- !
- route-map SET_MED permit 10
- set metric 100
- !
- Border_1#sh ip bgp sum
- BGP router identifier 11.11.11.11, local AS number 65000
- BGP table version is 17, main routing table version 17
- 11 network entries using 1320 bytes of memory
- 20 path entries using 1040 bytes of memory
- 25/7 BGP path/bestpath attribute entries using 3100 bytes of memory
- 12 BGP AS-PATH entries using 288 bytes of memory
- 0 BGP route-map cache entries using 0 bytes of memory
- 0 BGP filter-list cache entries using 0 bytes of memory
- Bitfield cache entries: current 2 (at peak 2) using 64 bytes of memory
- BGP using 5812 total bytes of memory
- BGP activity 66/55 prefixes, 131/111 paths, scan interval 60 secs
- Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
- 158.98.84.2 4 100 253 195 17 0 0 00:02:37 4
- 158.98.84.6 4 1234 252 194 17 0 0 00:02:37 4
- 192.168.1.2 4 65000 243 228 17 0 0 00:02:30 6
- Border_1#sh ip bgp
- BGP table version is 17, local router ID is 11.11.11.11
- Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
- r RIB-failure, S Stale
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- *> 11.11.11.11/32 0.0.0.0 0 32768 i
- *>i22.22.22.22/32 192.168.1.2 0 100 0 i
- *>i55.55.55.55/32 192.168.1.2 0 200 0 300 i
- * 158.98.84.6 150 0 1234 100 200 300 i
- * 158.98.84.2 150 0 100 200 300 i
- *>i66.66.66.66/32 192.168.1.2 0 200 0 300 200 100 i
- * 158.98.84.6 150 0 1234 100 i
- * 158.98.84.2 0 150 0 100 i
- *>i77.77.77.77/32 192.168.1.2 0 200 0 300 200 i
- * 158.98.84.6 150 0 1234 100 200 i
- * 158.98.84.2 150 0 100 200 i
- *>i88.88.88.88/32 192.168.1.2 0 200 0 300 200 100 1234 i
- * 158.98.84.6 0 150 0 1234 i
- * 158.98.84.2 150 0 100 1234 i
- *> 192.168.8.0/21 0.0.0.0 32768 i
- * i 192.168.1.2 0 100 0 i
- s> 192.168.10.0 0.0.0.0 0 32768 i
- Network Next Hop Metric LocPrf Weight Path
- s> 192.168.11.0 0.0.0.0 0 32768 i
- s> 192.168.12.0 0.0.0.0 0 32768 i
- s> 192.168.13.0 0.0.0.0 0 32768 i
- ###############################################################################################
- Border_2# -
- !
- router bgp 65000
- no synchronization
- bgp router-id 22.22.22.22
- bgp log-neighbor-changes
- network 22.22.22.22 mask 255.255.255.255
- network 192.168.10.0
- network 192.168.11.0
- network 192.168.12.0
- network 192.168.13.0
- aggregate-address 192.168.8.0 255.255.248.0 summary-only
- neighbor 55.55.55.55 remote-as 300
- neighbor 55.55.55.55 ebgp-multihop 2
- neighbor 55.55.55.55 prefix-list FILTER-OUT out
- neighbor 55.55.55.55 route-map SET_LOCAL_PREF in
- neighbor 55.55.55.55 route-map SET_MED out
- neighbor 192.168.1.1 remote-as 65000
- neighbor 192.168.1.1 next-hop-self
- no auto-summary
- !
- ip route 55.55.55.55 255.255.255.255 158.98.84.10
- ip route 55.55.55.55 255.255.255.255 158.98.84.14
- !
- ip prefix-list FILTER-OUT seq 10 permit 192.168.8.0/21
- ip prefix-list FILTER-OUT seq 20 permit 22.22.22.22/32
- !
- route-map SET_LOCAL_PREF permit 10
- set local-preference 200
- !
- route-map SET_MED permit 10
- set metric 200
- set as-path prepend 65000 65000
- !
- Border_2#sh ip bgp sum
- BGP router identifier 22.22.22.22, local AS number 65000
- BGP table version is 17, main routing table version 17
- 11 network entries using 1320 bytes of memory
- 12 path entries using 624 bytes of memory
- 13/7 BGP path/bestpath attribute entries using 1612 bytes of memory
- 4 BGP AS-PATH entries using 96 bytes of memory
- 0 BGP route-map cache entries using 0 bytes of memory
- 0 BGP filter-list cache entries using 0 bytes of memory
- Bitfield cache entries: current 2 (at peak 2) using 64 bytes of memory
- BGP using 3716 total bytes of memory
- BGP activity 45/34 prefixes, 76/64 paths, scan interval 60 secs
- Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
- 55.55.55.55 4 300 222 177 17 0 0 00:02:38 4
- 192.168.1.1 4 65000 228 243 17 0 0 00:02:54 2
- Border_2#sh ip bgp
- BGP table version is 17, local router ID is 22.22.22.22
- Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
- r RIB-failure, S Stale
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- *>i11.11.11.11/32 192.168.1.1 0 100 0 i
- *> 22.22.22.22/32 0.0.0.0 0 32768 i
- r> 55.55.55.55/32 55.55.55.55 0 200 0 300 i
- *> 66.66.66.66/32 55.55.55.55 200 0 300 200 100 i
- *> 77.77.77.77/32 55.55.55.55 200 0 300 200 i
- *> 88.88.88.88/32 55.55.55.55 200 0 300 200 100 1234 i
- * i192.168.8.0/21 192.168.1.1 0 100 0 i
- *> 0.0.0.0 32768 i
- s> 192.168.10.0 0.0.0.0 0 32768 i
- s> 192.168.11.0 0.0.0.0 0 32768 i
- s> 192.168.12.0 0.0.0.0 0 32768 i
- s> 192.168.13.0 0.0.0.0 0 32768 i
- ###############################################################################################
- ISP_1#
- BGP table version is 63, local router ID is 66.66.66.66
- Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
- r RIB-failure, S Stale
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- * 11.11.11.11/32 158.98.84.18 0 1234 65000 i
- *> 158.98.84.1 100 0 65000 i
- *> 55.55.55.55/32 158.98.84.22 0 200 300 i
- *> 66.66.66.66/32 0.0.0.0 0 32768 i
- *> 77.77.77.77/32 158.98.84.22 0 0 200 i
- *> 88.88.88.88/32 158.98.84.18 0 0 1234 i
- * 192.168.8.0/21 158.98.84.18 0 1234 65000 i
- *> 158.98.84.1 100 0 65000 i
- ###############################################################################################
- ISP_2#
- BGP table version is 60, local router ID is 55.55.55.55
- Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
- r RIB-failure, S Stale
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- *> 11.11.11.11/32 158.98.84.26 0 200 100 65000 i
- r> 22.22.22.22/32 22.22.22.22 200 0 65000 65000 65000 i
- *> 55.55.55.55/32 0.0.0.0 0 32768 i
- *> 66.66.66.66/32 158.98.84.26 0 200 100 i
- *> 77.77.77.77/32 158.98.84.26 0 0 200 i
- *> 88.88.88.88/32 158.98.84.26 0 200 100 1234 i
- *> 192.168.8.0/21 22.22.22.22 200 0 65000 65000 65000 i
- * 158.98.84.26 0 200 100 65000 i
- ###############################################################################################
- COMPANY#
- BGP table version is 73, local router ID is 88.88.88.88
- Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
- r RIB-failure, S Stale
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- * 11.11.11.11/32 158.98.84.17 0 100 65000 i
- *> 158.98.84.5 100 0 65000 i
- *> 22.22.22.22/32 158.98.84.17 0 100 200 300 65000 65000 65000 i
- *> 55.55.55.55/32 158.98.84.17 0 100 200 300 i
- *> 66.66.66.66/32 158.98.84.17 0 0 100 i
- *> 77.77.77.77/32 158.98.84.17 0 100 200 i
- *> 88.88.88.88/32 0.0.0.0 0 32768 i
- * 192.168.8.0/21 158.98.84.17 0 100 65000 i
- *> 158.98.84.5 100 0 65000 i
- ###############################################################################################
- INTERNET#
- BGP table version is 32, local router ID is 77.77.77.77
- Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
- r RIB-failure, S Stale
- Origin codes: i - IGP, e - EGP, ? - incomplete
- Network Next Hop Metric LocPrf Weight Path
- *> 11.11.11.11/32 158.98.84.21 0 100 65000 i
- *> 22.22.22.22/32 158.98.84.25 0 300 65000 65000 65000 i
- *> 55.55.55.55/32 158.98.84.25 0 0 300 i
- *> 66.66.66.66/32 158.98.84.21 0 0 100 i
- *> 77.77.77.77/32 0.0.0.0 0 32768 i
- *> 88.88.88.88/32 158.98.84.21 0 100 1234 i
- * 192.168.8.0/21 158.98.84.25 0 300 65000 65000 65000 i
- *> 158.98.84.21 0 100 65000 i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement