BGP


Table 13.14. BGP Monitoring Commands
Information to Monitor Command Example
Entries in the BGP neighbor database show bgp neighbor
 user@host>  show bgp neighbor  Peer: 10.168.1.222+2691 AS 1    Local: 10.168.1.220+179 AS 1   Type: Internal  State: Established    Flags: <>   Last State: OpenConfirm       Last Event: RecvKeepAlive   Last Error: None   Options: <Preference LocalAddress HoldTime>         Local Address: 10.168.1.220     Holdtime: 90 Preference: 170   Number of flaps: 0   Peer ID: 10.168.1.222 Local ID: 10.168.1.220  Active Holdtime: 90   NLRI advertised by peer: unicast   NLRI for this session: unicast   Table inet.0 Bit: 1     Send state: in sync     Active Prefixes: 100     Received Prefixes: 100     Suppressed due to damping: 0   Table inet.2 Bit: 10000     Send state: not advertising     Active Prefixes: 0     Received Prefixes: 0     Suppressed due to damping: 0   Last traffic (seconds):       Received 22     Sent 5  Checked 5   Input messages:       Total 13425     Updates 1       Octets 255318   Output messages:      Total 13423     Updates 0       Octets 255055   Output Queue[0]: 0   Output Queue[1]: 0 
Remove entries from the neighbor database clear bgp neighbor
 user@host>  clear bgp neighbor  user@host> 
Entries in the BGP group database show bgp group
 user@host>  show bgp group  Group Type: External                    Local AS: 65004   Name: pe-pe   Export: [ match-all ]   Options: <Multihop Confed>   Total peers: 1        Established: 0   11.134.0.3+179 Group Type: External                    Local AS: 65004   Name: pe-ce   Export: [ gr-export ]   Total peers: 1        Established: 1   10.145.0.5+179   Route Queue Timer: unset Route Queue: empty 
BGP summary information show bgp summary
 user@host>  show bgp summary  Groups: 1       Peers: 1 Down Peers: 0 Table    Tot Paths  Act Paths Suppressed    History Damp State Pending inet.0         100        100          0          0          0 0 inet.2           0          0          0          0          0 0   Peer             AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State#A ctive/Received/Damped... 10.168.1.222        1      13433      13430       0       0 4d 15:55:10 100/100/ 0            0/0/0 
Remove damping information clear bgp damping
 user@host>  clear bgp damping  user@host> 


Juniper Networks Field Guide and Reference
Juniper Networks Field Guide and Reference
ISBN: 0321122445
EAN: 2147483647
Year: 2002
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net