Configuring A Bgp Device To Send Community Attributes To Its Peer - 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 Run:
----End
7.11.3 Configuring a BGP Device to Send Community Attributes to
Its Peer
A community attribute takes effect only after the community attribute and the routing policy
referencing the community attribute are advertised.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bgp as-number
The BGP view is displayed.
Step 3 Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
Step 4 Run:
peer { ipv4-address | group-name } route-policy route-policy-name export
An export routing policy is configured.
Step 5 Run one of the following commands as needed to configure a BGP device to advertise
community attributes to its peer or peer group.
l To configure the BGP device to send a standard community attribute to its peer or peer group,
l To configure the BGP device to send an extended community attribute to its peer or peer
----End
Issue 01 (2012-03-15)
NOTE
A maximum of 32 community attributes can be configured in the apply community command.
apply extcommunity { rt { as-number:nn | ipv4-address:nn } } &<1-16>
[ additive ]
An extended community attribute (Route-Target) is configured for BGP routes.
NOTE
When configuring a BGP community, use a routing policy to define the community attribute, and apply
the routing policy to the routes to be advertised.
For details on routing policy configurations, see the chapter "Routing Policy Configuration."
run:
peer { ipv4-address | group-name } advertise-community
By default, a device advertises no community attribute to its peer or peer group.
group, run:
peer { ipv4-address | group-name } advertise-ext-community
By default, a device advertises no extended community attribute to its peer or peer group.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
419

Advertisement

Table of Contents
loading

Table of Contents