H3C LS-3100-52P-OVS-H3 Operation Manual - page 1042
1-3
Configuration Procedure
Follow these steps to configure MBGP basic functions:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Specify a peer or peer group
and its AS number
peer { group-name |
ip-address } as-number
as-number
Required
Not specified by default.
Enter IPv4 MBGP address
family view
ipv4-family multicast
Required
Enable a peer or peer group
created in IPv4 unicast view
peer { group-name |
ip-address } enable
Required
Not enabled by default
Specify a preferred value for
routes from an IPv4 MBGP
peer or peer group
peer{ group-name |
ip-address } preferred-value
value
Optional
The default preferred value is 0.
Controlling Route Advertisement and Reception
Prerequisites
You need to configure MBGP basic functions before configuring this task.
Configuring MBGP Route Redistribution
MBGP can advertise routing information in the local AS to neighboring ASs. It redistributes such routing
information from IGP into its routing table rather than learns the information by itself.
Follow these steps to configure MBGP route redistribution:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv4 MBGP address
family view
ipv4-family multicast
—
Enable route redistribution from
another routing protocol
import-route protocol [ process-id
[ med med-value| route-policy
route-policy-name ] * ]
Inject a network into the MBGP
routing table
network ip-address [ mask |
mask-length ] [ short-cut |
route-policy route-policy-name ]
At least one of these
approaches is required.
No route redistribution is
configured by default.