R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

398
View
BGP view, BGP VPN instance view
Default level
2: System level
Parameters
ip-address: IP address of a peer.
Description
Use peer enable to enable the specified peer.
Use undo peer enable to disable the specified peer.
By default, the BGP peer is enabled.
If a peer is disabled, the router will not exchange routing information with the peer.
Examples
# Disable peer 18.10.0.9.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 18.10.0.9 group group1
[Sysname-bgp] undo peer 18.10.0.9 enable
peer fake-as (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address } fake-as as-number
undo peer { group-name | ip-address } fake-as
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.
as-number: Local autonomous system number, in the range of 1 to 4294967295.
Description
Use peer fake-as to configure a fake local AS number for a peer or peer group.
Use undo peer fake-as to remove the configuration.
By default, no fake local AS number is configured for a peer or peer group.
NOTE:
The peer fake-as command is only applicable to an eBGP peer or peer group.