F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
498
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.
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)
NOTE:
The peer fake-as command is only applicable to an EBGP peer or peer group.
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.
Examples
# In BGP view, configure a fake AS number of 200 for the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test fake-as 200
# In BGP-VPN instance view, configure a fake AS number of 200 for the peer group test. (The VPN has
been created.)