Command Manual – Multicast Protocol 
Quidway S8500 Series Routing Switches 
Chapter 7  MBGP Multicast Extension
 Configuration Commands
 
Huawei Technologies Proprietary 
7-2 
Example 
# Create an aggregation entry in the MBGP routing table, with aggregated route 
address as 192.213.0.0. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] bgp 100 
[Quidway-bgp] ipv4-family multicast 
[Quidway-bgp-af-mul] aggregate 192.213.0.0 255.255.0.0 
7.1.2  compare-different-as-med 
Syntax 
compare-different-as-med 
undo compare-different-as-med 
View 
IPv4 multicast sub-address family view 
Parameter 
None 
Description 
Use the compare-different-as-med command to enable to compare the route MED 
values of neighbors from different ASs. 
Use the undo compare-different-as-med command to disable this function. 
By default, the comparison function is disabled. 
If there are multiple routes available to the same destination address, you can select 
the route with the smallest MED value.  
This command is not recommended unless you make sure that different ASs use the 
same IGP and route selection modes. 
Example 
# Enable to compare the route MED values of neighbors from different ASs. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] bgp 100 
[Quidway-bgp] ipv4-family multicast 
[Quidway-bgp-af-mul] compare-different-as-med