R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
351
To do… Use the command…
Remarks
Enable Guard route redistribution
into BGP
import-route guard [ med
med-value | route-policy
route-policy-name ] *
Required
Disabled by default
NOTE:
• A Guard route confi
g
ured on a router is neither installed into the FIB nor used by the router to forward
IP packets.
• Guard routes redistributed into the BGP route table have an ORIGIN attribute of incomplete.
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—whether to output the
traps and the output direction—are determined according to the information center configuration. (For
information center configuration, see System Management and Maintenance 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 —
Enable the
logging of
peer state
changes
globally
log-peer-change
Optional
Enabled by default
for a peer or
peer group
peer { group-name | ip-address }
log-change
Optional
Enabled by default
Displaying and maintaining BGP
Displaying BGP
To do… Use the command…
Remarks
Display peer group information display bgp group [ group-name ]
Available in
any view
Display advertised BGP routing
information
display bgp network
Display AS path information display bgp paths [ as-regular-expression ]