protocols bgp asn neighbor <id> log
Enables BGP neighbor logs.
- asn
- The number of the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
- all
- Enables all BGP neighbor logs.
- events
- Enables only BGP neighbor event logs.
- filters
- Enables only BGP neighbor filter logs.
- fsm
- Enables only BGP neighbor finite-state machine logs.
- keepalive
- Enables only BGP neighbor keepalive logs.
- nsm
- Enables only BGP neighbor network services module (NSM) logs.
- all
- Enables all BGP neighbor logs.
- in
- Enables BGP neighbor update-in logs.
- out
- Enables BGP neighbor update-out logs.
Configuration mode
protocols {
bgp asn {
neighbor id {
log {
all
events
filters
fsm
keepalive
nsm
update {
all
in
out
}
}
}
}
}
Use the set form of this command to enable BGP neighbor logs.
Use the delete form of this command to remove BGP neighbor logs.
Use the show form of this command to view BGP neighbor logs.