Peer Advertise-Community (Mbgp Address Family View) - HP 6125G Command Reference Manual

Ip multicast
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Description
Use network to inject a network to the IPv4 MBGP routing table.
Use undo network to remove a network from the IPv4 MBGP routing table.
By default, no network route is injected.
The network route to be injected must exist in the local IP routing table, and using a routing policy makes
route management more flexible.
The ORIGIN attribute of the network route injected through the network command is IGP.
Examples
# In IPv4 MBGP address family view, inject the network 10.0.0.0/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] network 10.0.0.0 255.255.0.0

peer advertise-community (MBGP address family view)

Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address: Specifies an IPv4 MBGP peer by its IP address.
Description
Use peer advertise-community to advertise the COMMUNITY attribute to a peer or a peer group.
Use undo peer advertise-community to disable the COMMUNITY attribute advertisement to a peer or a
peer group.
By default, no COMMUNITY attribute is advertised to any peer or peer group.
Related commands: apply community, if-match community, and ip community-list (Layer 3—IP Routing
Command Reference).
Examples
# In IPv4 MBGP address family view, advertise the COMMUNITY attribute to the existing peer group
test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast
199

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents