I don’t believe Juniper platforms have any compatible show
outputs that allow access to that information and it doesn’t look like show bgp neighbor
fits the bill quite right. They do, however, have some appealing logging options within the traceoptions
stanza that log to /log
directory. Although I can’t confirm the configuration below gives you exactly what you’re used to receiving with performance-statistics
, I’m confident it will provide more.
I would test this myself, but my organization might frown on me self-initiating BGP route updates for thousands of routes (event soft resets).
Give this a try:
[edit protocols bgp]
user@host:A# show
traceoptions {
file bgp-perf size 10k;
flag update detail;
flag all;
}
Juniper TechLibrary - Understanding Trace Operations for BGP Protocol Traffic
Just as a warning, detailed
and all
flag options are extremely CPU intensive and are only amplified in larger deployments. Use them sparingly (if at all) in production networks. The flags emphasized below are the ones that should be most relevant towards what you’re trying to achieve.
BGP protocol-specific trace options:
- 4byte - as-4-byte AS events.
- bfd - BFD protocol events.
- damping - Damping operations.
- graceful-restart - Graceful restart events.
- keepalive - BGP keepalive messages.
- nsr-synchronization - Nonstop active routing synchronization events.
- open - BGP open packets. These packets are sent between peers when they are establishing a connection.
- packets - All BGP protocol packets.
- refresh - BGP refresh packets.
- update - BGP update packets. These packets provide routing updates to BGP systems.
Global tracing options:
- all - All tracing operations
- general - All normal operations and routing table changes (a combination of the normal and route trace operations)
- normal - Normal events
- policy - Policy processing
- route - Routing information
- state - State transitions
- task - Routing protocol task processing
- timer - Routing protocol timer processing
Trace options flag modifiers:
- detail - Detailed trace information.
- filter - Filter trace information. Applies only to route and damping tracing flags.
- receive - Packets being received.
- send - Packets being transmitted.
Good luck!