Huawei S6700 Series Configuration Manual page 400

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
l
Issue 01 (2012-03-15)
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
4.
Run:
peer { ipv4-address | group-name } allow-as-loop [ number ]
The local AS number is allowed to repeat in the AS_Path attribute.
Generally, a BGP device checks the AS_Path attribute of a route sent from a peer. If
the local AS number already exists in the AS_Path attribute, BGP ignores this route
to avoid a routing loop.
In some special applications, you can use the peer allow-as-loop command to allow
the AS_Path attributes of routes sent from the peers to contain the local AS number.
You can also set the number of times the local AS number is repeated.
Configure BGP not to compare AS_Path attributes of routes in the route selection process.
Perform the following steps on a BGP device:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
4.
Run:
bestroute as-path-ignore
BGP is configured to ignore AS_Path attributes of routes during route selection.
Configure a fake AS number.
Generally, a device supports only one BGP process. This means that a device supports only
one AS number. If AS numbers need to be replaced during network migration, you can run
the peer fake-as command to set a fake AS number for a specified peer to ensure smooth
network migration.
1.
Run:
system-view
The system view is displayed.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
381

Advertisement

Table of Contents
loading

Table of Contents