Skip to content

Instantly share code, notes, and snippets.

@Stary2001
Last active July 27, 2017 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stary2001/f468564987c8325ec3ce74a710548915 to your computer and use it in GitHub Desktop.
Save Stary2001/f468564987c8325ec3ce74a710548915 to your computer and use it in GitHub Desktop.
!
! Zebra configuration saved from vty
! 2017/07/22 22:26:44
!
hostname bgpd
password random-test-password-plz
log stdout
!
router bgp 4212343005
bgp router-id 10.254.5.1
network 10.254.5.0/24
neighbor 10.254.7.253 remote-as 4212343007
neighbor 10.254.7.253 interface gre1
neighbor 10.254.8.254 remote-as 4212343008
neighbor 10.254.8.254 interface mininet
!
address-family ipv6
exit-address-family
exit
!
line vty
!
osiris# show ip bgp
BGP table version is 0, local router ID is 10.254.5.1
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.254.1.0/24 10.254.7.253 0 4212343007 42123430
01 i
*> 10.254.5.0/24 0.0.0.0 0 32768 i
*> 10.254.7.0/24 10.254.7.253 0 0 4212343007 i
> 10.254.8.0/24 10.254.8.254 0 0 4212343008 i
Displayed 4 out of 4 total prefixes
osiris# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel,
> - selected route, * - FIB route
K>* 0.0.0.0/0 via 62.210.129.1, br0
C>* 10.0.1.0/24 is directly connected, internal
C>* 10.8.0.2/32 is directly connected, tun0
C>* 10.254.0.0/16 is directly connected, mininet
B>* 10.254.1.0/24 [20/0] via 10.254.7.253, gre1, 00:02:10
B>* 10.254.7.0/24 [20/0] via 10.254.7.253, gre1, 00:02:40
C>* 10.254.7.253/32 is directly connected, gre1
C>* 62.210.129.0/24 is directly connected, br0
C>* 127.0.0.0/8 is directly connected, lo
K>* 172.29.254.0/24 via 172.31.0.2, 9net-bridge
C>* 172.31.0.0/16 is directly connected, 9net-bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment