6-72
Examples
# Clear the flap statistics of all routes matching AS path ACL 10.
<Sysname> reset bgp flap-info as-path-acl 10
reset bgp ipv4 all
Syntax
reset bgp
ipv4
all
View
User view
Default Level
1: Monitor level
Parameters
None
Description
Use the
reset bgp ipv4 all
command to reset all the BGP connections of IPv4 unicast address family.
Examples
# Reset all the BGP connections of IPv4 unicast address family.
<Sysname> reset bgp ipv4 all
router-id
Syntax
router-id
router-id
undo router-id
View
BGP view
Default Level
2: System level
Parameters
router-id
: Router ID in IP address format.
Description
Use the
router-id
command to specify a router ID.
Use the
undo router-id
command to remove the router ID.
To run BGP protocol, a router must have a router ID, which is an unsigned 32-bit integer, the unique ID
of the router in the AS.
You can specify a router ID manually. If not, the system selects an IP address as the router ID. The
selection sequence is the highest IP address among loopback interface addresses; if not available,
then the highest IP address of interfaces. It is recommended to specify a loopback interface address
as the router ID to enhance network reliability.