R2511-HP MSR Router Series IP Multicast Command Reference(V5)
224
network (MBGP address family view)
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.
Syntax
network ip-address [ mask | mask-length ] [ short-cut | route-policy route-policy-name ]
undo network ip-address [ mask | mask-length ] [ short-cut ]
Default
No network route is injected.
Views
IPv4 MBGP address family view
Default command level
2: System level
Parameters
ip-address: Specifies a destination IP address.
mask: Specifies a mask, in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
short-cut: Specifies the route to use the local preference. If the route is an EBGP route whose preference
is higher than the local preference, using this keyword can configure the EBGP route to use the local
preference, and thus the route can hardly become the optimal route.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
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)
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.
Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community










