Is-is route redistribution configuration example – H3C Technologies H3C S12500-X Series Switches User Manual

Page 234

Advertising
background image

220

Step Command

Remarks

3.

Enter BGP IPv6 unicast

address family view or
BGP-VPN IPv6 unicast

address family view.

address-family ipv6 [ unicast ] N/A

4.

Disable BGP from considering

AS_PATH during best route
selection.

bestroute as-path-neglect

By default, BGP considers
AS_PATH during best route

selection.

592B

Advertising a fake AS number to a peer or peer group

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.
To advertise a fake AS number to a peer or peer group (IPv4):

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view or BGP-VPN
instance view.

Enter BGP view:
bgp as-number

Enter BGP-VPN instance view:

a.

bgp as-number

b.

ip vpn-instance

vpn-instance-name

N/A

3.

Advertise a fake AS number to

a peer or peer group.

peer { group-name | ip-address }
fake-as as-number

By default, no fake AS number is
advertised to a peer or peer group.
This command applies to only
EBGP peers or EBGP peer groups.

To advertise a fake AS number to a peer or peer group (IPv6):

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view or BGP-VPN
instance view.

Enter BGP view:

bgp as-number

Enter BGP-VPN instance view:

a.

bgp as-number

b.

ip vpn-instance

vpn-instance-name

N/A

3.

Advertise a fake AS number to
a peer or peer group.

peer { group-name |
ipv6-address } fake-as as-number

By default, no fake AS number is
advertised to a peer or peer group.
This command applies to only

EBGP peers or EBGP peer groups.

Advertising
This manual is related to the following products: