Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-35
5.7.3 Configuring BGP Community
Follow these steps to configure BGP community:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Advertise the
community
attribute to a
peer/peer
group
peer
{
group-name |
ip-address
}
advertise-community
Advertise the
community
attribute to a
peer/peer
group
Advertise the
extended
community
attribute to a
peer/peer
group
peer
{
group-name |
ip-address
}
advertise-ext-community
Required
Not configured by
default
Apply a routing policy to routes
advertised to a peer/peer
group
peer
{
group-name
|
ip-address
}
route-policy
route-policy-name
export
Required
Not configured by
default
Note:
z
When configuring BGP community, you need to configure a routing policy to define
the community attribute, and apply the routing policy to route advertisement.
z
For routing policy configuration, refer to
Routing Policy Configuration
.
5.7.4 Configuring a BGP Route Reflector
Follow these steps to configure a BGP route reflector:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure the router as a
route reflector and specify a
peer/peer group as its client
peer
{
group-name |
ip-address
}
reflect-client
Required
Not configured by default
Enable route reflection
between clients
reflect
between-clients
Optional
Enabled by default