Hi, Maxim! On Sat, Oct 25, 2003 at 02:47:06PM +0300, Maxim Tuliuk wrote:
On Sat, Oct 25, 2003 at 4:01 +0300, Sergey Babitch wrote:
show ip bgp summary Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd Как по snmp достать вот это число? -----------------------^^^^^^
Может кто-нибудь знает OID?
В BGP4-MIB есть практически все, кроме этого числа. А в CISCO-BGP4-MIB о пирах вообще ничего нет, только BGP таблица.
Напрямую нет; есть вот это (RFC1657):
Это все есть в BGP4-MIB, только я не понял как из этого получить нужные мне цифры.
bgpPeerInUpdates OBJECT-TYPE
SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of BGP UPDATE messages received on this connection. This object should be initialized to zero (0) when the connection is established." ::= { bgpPeerEntry 10 }
bgpPeerOutUpdates OBJECT-TYPE
SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of BGP UPDATE messages transmitted on this connection. This object should be initialized to zero (0) when the connection is established." ::= { bgpPeerEntry 11 }
bgpPeerInUpdateElapsedTime OBJECT-TYPE
SYNTAX Gauge32 MAX-ACCESS read-only STATUS current DESCRIPTION "Elapsed time in seconds since the last BGP UPDATE message was received from the peer. Each time bgpPeerInUpdates is incremented, the value of this object is set to zero (0)." ::= { bgpPeerEntry 24 }
-- Maxim Tuliuk WWW: http://www.primats.org.ua/~mt/ ICQ: 21134222
The bike is absolute freedom of moving =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
-- Good Luck! Sergey Babitch (SB551-RIPE) FreeLance Artist =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message