R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

269
Default
The BGP peer is enabled.
Views
BGP view, BGP VPN instance view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address of a peer.
Usage guidelines
If a peer is disabled, the router does not exchange routing information with the peer.
Execution of the undo peer enable command also deletes BGP IPv4 address family configuration.
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)
Use peer fake-as to configure a fake local AS number for a peer or peer group.
Use undo peer fake-as to restore the default.
Syntax
peer { group-name | ip-address } fake-as as-number
undo peer { group-name | ip-address } fake-as
Default
No fake local AS number is configured for a peer or peer group.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
as-number: Specifies the local autonomous system number, in the range of 1 to 4294967295.
Usage guidelines
This command applies only to an EBGP peer or peer group.