Configuration Procedure
Follow these steps to configure MBGP basic functions:
To do...
Enter system view
Enter BGP view
Specify a peer or peer group
and its AS number
Enter IPv4 MBGP address
family view
Enable a peer or peer group
created in IPv4 unicast view
Specify a preferred value for
routes from an IPv4 MBGP
peer or peer group
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...
Enter system view
Enter BGP view
Enter IPv4 MBGP address
family view
Enable route redistribution from
another routing protocol
Inject a network into the MBGP
routing table
Use the command...
system-view
bgp as-number
peer { group-name |
ip-address } as-number
as-number
ipv4-family multicast
peer { group-name |
ip-address } enable
peer { group-name |
ip-address } preferred-value
value
Use the command...
system-view
bgp as-number
ipv4-family multicast
import-route protocol [ process-id
[ med med-value | route-policy
route-policy-name ] * ]
network ip-address [ mask |
mask-length ] [ short-cut |
route-policy route-policy-name ]
1-3
Remarks
—
—
Required
Not specified by default.
Required
Required
Not enabled by default
Optional
The default preferred value is 0.
Remarks
—
—
—
At least one of these
approaches is required.
No route redistribution is
configured by default.