HP 6125XLG Command Reference Manual page 278

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

peer { group-name | ipv6-address } advertise-ext-community
undo peer { group-name | ipv6-address } advertise-ext-community
Default
No extended community attribute is advertised to a peer or peer group.
Views
BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
To satisfy increasing user demands, BGP defines a new attribute—extended community attribute. The
extended community attribute has the following advantages over the COMMUNITY attribute:
The extended community attribute has an 8-byte length.
The extended community attribute supports various types. You can select an extended community
attribute type as needed to implement route filtering and control. This simplifies configuration and
management.
After you execute the peer advertise-ext-community command, route updates sent to the peer or peer
group carry the extended community attribute.
After you execute the undo peer advertise-ext-community command, BGP, upon receiving a route with
the extended community attribute, removes the extended community attribute before sending the route to
the peer or peer group.
Examples
# In BGP IPv4 unicast instance view, advertise the extended community attribute to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] peer test advertise-ext-community
# In BGP-VPN IPv4 unicast instance view, advertise the extended community attribute to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family unicast
[Sysname-bgp-ipv4-vpn1] peer test advertise-ext-community
# In BGP IPv6 unicast instance view, advertise the extended community attribute to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6] peer test advertise-ext-community
267

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents