Enabling trap, Enabling logging of peer state changes – H3C Technologies H3C S7500E Series Switches User Manual

Page 248

Advertising
background image

6-45

To do…

Use the command…

Remarks

Configure the maximum time to wait

for the End-of-RIB marker

graceful-restart timer

wait-for-rib timer

Optional

180 seconds by default

z

In general, the maximum time allowed for the peer (the GR restarter) to reestablish a BGP session

should be less than the Holdtime carried in the Open message.

z

The End-Of-RIB (End of Routing-Information-Base) indicates the end of route updates.

Enabling Trap

After Trap is enabled for BGP, BGP generates Level-4 traps to report important events of it. The

generated traps are sent to the Information Center of the device. The output rules of the traps, namely,

whether to output the traps and the output direction, are determined according to the Information

Center configuration. (For Information Center configuration, see Information Center Configuration in

the Network Management and Monitoring Configuration Guide.)

Follow these steps to enable Trap:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable Trap for BGP

snmp-agent trap enable bgp

Optional

Enabled by default

Enabling Logging of Peer State Changes

Follow these steps to enable the logging of peer state changes:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

globally

log-peer-change

Optional

Enabled by default

Enable the

logging of peer

state changes

for a peer or

peer group

peer { group-name | ip-address }

log-change

Optional

Enabled by default

Advertising