Configuring The Bgp4+ Community Attribute - Huawei S6700 Series Configuration Manual

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
----End

8.4.8 Configuring the BGP4+ Community Attribute

The community attribute is used to simplify the management of routing policies. The
management scope of the community attribute is far larger than that of the peer group. The
community attribute can control the routing policies of multiple BGP4+ switchs.
Issue 01 (2012-03-15)
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
ipv6-family [ unicast ]
The BGP IPv6 unicast address family view is displayed.
4.
Run the following commands to configure the AS-Path attribute as required:
– Run:
peer { ipv6-address | group-name } allow-as-loop [ number ]
The local AS number can be used repeatedly.
– Run:
bestroute as-path-ignore
The AS-Path attribute is not configured as one of the route selection rules.
– Run:
peer { ipv6-address | group-name } public-as-only
The AS-Path attribute is configured to carry only the public AS number.
The commands in Step 4 can be used regardless of the order.
Configuring the Fake AS Number
Do as follows on the BGP4+ switch:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
peer { ipv6-address | group-name } fake-as fake-as-number
The fake AS number is set.
You can hide the actual AS number of the local switch by using this command. EBGP
peers in other ASs can only see this fake AS number. That is, peers in other ASs need
to specify the number of the AS where the local peer resides as this fake AS number.
NOTE
This command is applicable only to EBGP peers.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP4+ Configuration
509

Advertisement

Table of Contents
loading

Table of Contents