Download Print this page

Configuring A Bgp Device To Send Community Attributes To Its Peer - Huawei Quidway NetEngine80E Configuration Manual

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8.12.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-plain | as-number-dot }
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 the following commands to advertise community attributes to the peer group.
l To configure the BGP device to send a standard community attribute to its peer or peer group,
l To advertise an extended community attribute to a specified peer or peer group, perform the
Issue 02 (2014-09-30)
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
following steps:
1.
Run the peer { ipv4-address | group-name } advertise-ext-community command to
advertise an extended community attribute to a specified peer or peer group.
2.
(Optional) Run the ext-community-change enable command to enable the device to
change extended community attributes using a routing policy.
By default, BGP peers cannot change extended community attributes using a route-
policy; specifically, BGP peers advertise only the extended community attributes
carried in routes to a specified peer or peer group, and the peer route-policy command
cannot be used to modify the extended community attributes.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP Configuration
823

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e