Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- router bgp 2
- bgp log-neighbor-changes
- neighbor 128.16.16.34 remote-as 1
- !
- address-family ipv4
- network 128.16.16.0
- network 128.16.16.0 mask 255.255.255.0
- neighbor 128.16.16.34 activate
- neighbor 128.16.16.34 route-map red out
- exit-address-family
- !
- ip route 128.16.16.0 255.255.255.0 Null0 200
- !
- ip prefix-list 1 seq 5 permit 128.16.16.16/28
- !
- route-map red permit 10
- match ip address prefix-list 1
- !
- #sh ip route | inc 128.16.16.
- S 128.16.16.0/22 is directly connected, Null0
- C 128.16.16.16/28 is directly connected, GigabitEthernet0/0/0
- L 128.16.16.18/32 is directly connected, GigabitEthernet0/0/0
- C 128.16.16.32/30 is directly connected, GigabitEthernet0/0/1
- L 128.16.16.33/32 is directly connected, GigabitEthernet0/0/1
- #sh ip bgp neighbors 185.158.96.34 advertised-routes
- Total number of prefixes 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement