Procedure
l Configuring the switches to Advertise the Community Attribute to the Peers
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:
ipv6-family [ unicast ]
The BGP IPv6 unicast address family view is displayed.
4. Run the following commands to advertise community attributes to the peer group:
– Run:
peer { ipv4-address | ipv6-address | group-name } advertise-community
switchs are configured to advertise the standard community attribute to a peer
group.
– Run:
peer { ipv4-address | ipv6-address | group-name } advertise-ext-
community
switchs are configured to advertise the extended community attribute to a peer
group.
l Applying the Routing Policies to the Advertised Routing Information
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:
ipv6-family [ unicast ]
The BGP IPv6 unicast address family view is displayed.
4. Run:
peer { ipv4-address | ipv6-address | group-name } route-policy route-
policy-name export
The outbound routing policies are configured.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 8 BGP4+ Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
510