Peer Keep-All-Routes - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
This command enables you to temporarily tear down the BGP session to a specific peer or peer group so
that you can perform network upgrade and maintenance without needing to delete and reconfigure the
peer or peer group. To recover the session, execute the undo peer ignore command.
If a session has been established to a peer, executing the peer ignore command for the peer tears down
the session and clears all related routing information.
If sessions have been established to a peer group, executing the peer ignore command for the peer
group disables the sessions to all peers in the group and clears all related routing information.
Examples
# In BGP view, disable session establishment with peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 ignore
# In BGP-VPN instance view, disable session establishment with peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1::1 ignore

peer keep-all-routes

Use peer keep-all-routes to save all route updates from a peer or peer group, regardless of whether the
routes have passed the configured routing policy.
Use undo peer keep-all-routes to restore the default.
Syntax
In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view:
peer { group-name | ip-address } keep-all-routes
undo peer { group-name | ip-address } keep-all-routes
In BGP IPv6 unicast instance view:
peer { group-name | ipv6-address } keep-all-routes
undo peer { group-name | ipv6-address } keep-all-routes
Default
Route updates from a peer or peer group are not saved.
Views
BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view
Predefined user roles
network-admin
288

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents