Peer Fake-As - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn] peer 1.1.1.1 enable
Related commands
display bgp peer

peer fake-as

Use peer fake-as to advertise a fake AS number to a peer or peer group.
Use undo peer fake-as to restore the default.
Syntax
peer { group-name | ip-address | ipv6-address } fake-as as-number
undo peer { group-name | ip-address | ipv6-address } fake-as
Default
No fake local AS number is advertised to a peer or peer group.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
as-number: Specifies a fake AS number in the range of 1 to 4294967295.
Usage guidelines
After you move a BGP router from an AS to another AS (from AS 2 to AS 3 for example), you have to
modify the AS number of the router on all its EBGP peers. To avoid such modifications, you can configure
the router to advertise a fake AS number 2 to its EBGP peers so that the EBGP peers still think that Router
A is in AS 2.
The peer fake-as command is only applicable to EBGP peers or peer groups.
If you execute the peer fake-as command on the local router, specify the local router's AS number on the
peer as the fake local AS number specified in the command.
Examples
# In BGP view, advertise a fake AS number of 200 to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test fake-as 200
# In BGP-VPN instance view, advertise a fake AS number of 200 to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
358

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents