Peer Keep-All-Routes (Bgp/Bgp-Vpn Instance View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

996
C
72: BGP C
HAPTER
Description
Examples

peer keep-all-routes (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
export: Applies the filter to routes advertised to the specified peer/peer group.
import: Applies the filter to routes received from the specified peer/peer group.
Use the
peer ip-prefix
received from or advertised to a peer or peer group.
Use the
undo peer ip-prefix
By default, no IP prefix list is specified.
# In BGP view, use the IP prefix list list 1 to filter routes advertised to the peer
group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test ip-prefix list1 export
# In BGP-VPN view, use the IP prefix list list 1 to filter routes advertised to the peer
group test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test ip-prefix list1 export
peer { group-name | ip-address } keep-all-routes
undo peer { group-name | ip-address } keep-all-routes
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Use the
peer keep-all-routes
from a peer or peer group, even routes that failed to pass the inbound policy (if
configured).
Use the
undo peer keep-all-routes
By default, the function is not enabled.
# In BGP view, save routing information from peer 131.100.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.100.1.1 as-number 200
[Sysname-bgp] peer 131.100.1.1 keep-all-routes
command to reference an IP prefix list to filter routes
command to remove the configuration.
command to save original routing information
command to disable this function.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents