Peer Keep-All-Routes (Bgp/Bgp-Vpn Instance View) - H3C S9500 Series Command Manual

Routing switch bgp
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – BGP
H3C S9500 Series Routing Switches
Examples
# 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

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

Syntax
peer { group-name | ip-address } keep-all-routes
undo peer { group-name | ip-address } keep-all-routes
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
group-name: Name of a peer group.
ip-address: IP address of a peer.
Description
Use the peer keep-all-routes command to save original routing information from a
peer or peer group, even routes that failed to pass the inbound policy (if configured).
Use the undo peer keep-all-routes command to disable this function.
By default, the function is not enabled.
Examples
# 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
Chapter 1 BGP Configuration Commands
1-58

Advertisement

Table of Contents
loading

Table of Contents