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