NetScreen: Troubleshooting BGP Routing

To view bgp neighbor status

testf1(M)-> get vr trust-vr prot bgp neig
Peer AS Remote IP       Local IP          Wt Status   State     ConnID Up/Down
65000 10.95.253.18    10.95.253.22     100 Enabled  ESTABLISH     28 100d;02:03:04
65001 10.95.254.137   10.95.254.139    100 Enabled  ESTABLISH     27 100d;02:03:11
65002 10.95.254.138   10.95.254.139    100 Enabled  ESTABLISH    127 1d;04:54:54
To view advertised BGP routes
testf1(M)-> get vr trust-vr prot bgp rib-in neighbor 10.95.253.18 advertised
i: IBGP route, e: EBGP route, >: best route, *: valid route
Prefix         Nexthop    Wt  Pref   Med Orig    AS-Path
i       10.15.1.0/24         0.0.0.0 32768   100     0  IGP
i       10.15.0.0/24         0.0.0.0 32768   100     0  IGP
i       10.15.2.0/24         0.0.0.0 32768   100     0  IGP

To view received BGP routes

testf1(M)-> get vr trust-vr prot bgp rib-in neighbor 10.95.253.18 received 
i: IBGP route, e: EBGP route, >: best route, *: valid route
Prefix         Nexthop    Wt  Pref   Med Orig    AS-Path
i*  10.249.42.64/28    10.95.253.18   100   100     0  IGP   65000 65001
i*  10.249.154.240/28  10.95.253.18   100   100     0  IGP   65000 65001 65002

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s