R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
334
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
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,
including routes that fail 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
# I n B G P v i e w, s a v e r o u t i n g i n f o r m a t i o n f ro m p e e r 131.10 0 .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
# In BGP-VPN instance view, save routing information from peer 131.100.1.1(the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 131.100.1.1 as-number 200
[Sysname-bgp-vpn1] peer 131.100.1.1 keep-all-routes
peer log-change (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address } log-change
undo peer { group-name | ip-address } log-change
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Description
Use the peer log-change command to enable the logging of session state and event information for a
specified peer or peer group.