254
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or BGP
IPv4 multicast address family
view.
•
Enter BGP IPv4 unicast address
family view:
a.
bgp
as-number
b.
address-family ipv4
[
unicast
]
•
Enter BGP-VPN IPv4 unicast
address family view:
a.
bgp
as-number
b.
ip vpn-instance
vpn-instance-name
c.
address-family ipv4
[
unicast
]
•
Enter BGP IPv4 multicast address
family view:
a.
bgp
as-number
b.
address-family ipv4
multicast
N/A
3.
Advertise the COMMUNITY
or extended community
attribute to a peer or peer
group.
•
Advertise the COMMUNITY
attribute to a peer or peer group:
peer
{
group-name
|
ip-address
}
advertise-community
•
Advertise the extended
community attribute to a peer or
peer group:
peer
{
group-name
|
ip-address
}
advertise-ext-community
By default, the COMMUNITY or
extended community attribute is
not advertised.
4.
(Optional.) Apply a routing
policy to routes advertised to
a peer or peer group.
peer
{
group-name
|
ip-address
}
route-policy
route-policy-name
export
By default, no routing policy is
applied.
To configure BGP community (IPv6 unicast/multicast address family):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP IPv6 unicast
address family view or BGP
IPv6 multicast address family
view.
•
Enter BGP IPv6 unicast address
family view:
a.
bgp
as-number
b.
address-family ipv6
[
unicast
]
•
Enter BGP IPv6 multicast address
family view:
a.
bgp
as-number
b.
address-family ipv6 multicast
N/A