02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 368 Enable BGP - Router 2<br />

R2# conf<br />

R2(conf)#int loop 0<br />

R2(conf-if-lo-0)#ip address 192.168.128.2/24<br />

R2(conf-if-lo-0)#no shutdown<br />

R2(conf-if-lo-0)#show config<br />

!<br />

interface Loopback 0<br />

ip address 192.168.128.2/24<br />

no shutdown<br />

R2(conf-if-lo-0)#int gig 2/11<br />

R2(conf-if-gi-2/11)#ip address 10.0.1.22/24<br />

R2(conf-if-gi-2/11)#no shutdown<br />

R2(conf-if-gi-2/11)#show config<br />

!<br />

interface GigabitE<strong>the</strong>rnet 2/11<br />

ip address 10.0.1.22/24<br />

no shutdown<br />

R2(conf-if-gi-2/11)#int gig 2/31<br />

R2(conf-if-gi-2/31)#ip address 10.0.2.2/24<br />

R2(conf-if-gi-2/31)#no shutdown<br />

R2(conf-if-gi-2/31)#show config<br />

!<br />

interface GigabitE<strong>the</strong>rnet 2/31<br />

ip address 10.0.2.2/24<br />

no shutdown<br />

R2(conf-if-gi-2/31)#<br />

R2(conf-if-gi-2/31)#router bgp 99<br />

R2(conf-router_bgp)#network 192.168.128.0/24<br />

R2(conf-router_bgp)#neighbor 192.168.128.1 remote 99<br />

R2(conf-router_bgp)#neighbor 192.168.128.1 no shut<br />

R2(conf-router_bgp)#neighbor 192.168.128.1 update-source loop 0<br />

R2(conf-router_bgp)#neighbor 192.168.128.3 remote 100<br />

R2(conf-router_bgp)#neighbor 192.168.128.3 no shut<br />

R2(conf-router_bgp)#neighbor 192.168.128.3 update loop 0<br />

R2(conf-router_bgp)#show config<br />

!<br />

router bgp 99<br />

bgp router-id 192.168.128.2<br />

network 192.168.128.0/24<br />

bgp graceful-restart<br />

neighbor 192.168.128.1 remote-as 99<br />

neighbor 192.168.128.1 update-source Loopback 0<br />

neighbor 192.168.128.1 no shutdown<br />

neighbor 192.168.128.3 remote-as 100<br />

neighbor 192.168.128.3 update-source Loopback 0<br />

neighbor 192.168.128.3 no shutdown<br />

R2(conf-router_bgp)#end<br />

R2#show ip bgp summary<br />

BGP router identifier 192.168.128.2, local AS number 99<br />

BGP table version is 1, main routing table version 1<br />

1 network entrie(s) using 132 bytes of memory<br />

3 paths using 204 bytes of memory<br />

BGP-RIB over all using 207 bytes of memory<br />

2 BGP path attribute entrie(s) using 128 bytes of memory<br />

2 BGP AS-PATH entrie(s) using 90 bytes of memory<br />

2 neighbor(s) using 9216 bytes of memory<br />

Neighbor AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/Pfx<br />

192.168.128.1 99 40 35 1 0 0 00:01:05 1<br />

192.168.128.3 100 4 4 1 0 0 00:00:16 1<br />

R2#<br />

522 Border Gateway Protocol (BGP)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!