Connectivity Guide
bestpath router-id
Ignores comparing router-id information for external paths during best-path selection.
Syntax bestpath router-id {ignore}
Parameters ignore — Enter to ignore AS path for best-path computation.
Default Enabled
Command Mode ROUTER-BGP
Usage Information If you do not receive the same router ID for multiple paths, select the path that you received rst. If you received
the same router ID for multiple paths, ignore the path information. The no version of this command resets the
value to the default.
NOTE: To congure these settings for a non-default VRF instance, rst enter the ROUTER-CONFIG-
VRF sub mode using the following commands:
1 Enter the ROUTER BGP mode using the router bgp as-number command.
2 From the ROUTER BGP mode, enter ROUTER BGP VRF mode using the vrf vrf-name command.
Example
OS10(conf-router-bgp-2)# bestpath router-id ignore
Supported Releases 10.3.0E or later
clear ip bgp
Resets BGP IPv4 or IPv6 neighbor sessions.
Syntax
clear ip bgp [vrf vrf-name] {ipv4–address | ipv6–address | * }
Parameters
• vrf vrf-name — (OPTIONAL) Enter the keyword vrf then the name of the VRF to clear IPv4 or IPv6
BGP neighbor sessions corresponding to that VRF.
• IPv4–address — Enter an IPv4 address to clear a BGP neighbor conguration.
• IPv6–address — Enter an IPv6 address to clear a BGP neighbor conguration.
• * — Clears all BGP sessions.
Default Not congured
Command Mode EXEC
Usage Information None.
Example
OS10# clear ip bgp 1.1.15.4
Supported Releases 10.3.0E or later
clear ip bgp *
Resets BGP sessions. The soft parameter, BGP soft reconguration, clears policies without resetting the TCP connection.
Syntax
clear ip bgp * [vrf vrf-name] [ipv4 unicast | ipv6 unicast | soft [in | out]]
Layer 3 465