EasyManuals Logo
Home>HP>Switch>5920 Series

HP 5920 Series User Manual

HP 5920 Series
607 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #371 background imageLoading...
Page #371 background image
358
[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

Table of Contents

Other manuals for HP 5920 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 5920 Series and is the answer not in the manual?

HP 5920 Series Specifications

General IconGeneral
BrandHP
Model5920 Series
CategorySwitch
LanguageEnglish

Related product manuals