Command Manual – Routing Protocol 
Quidway S8500 Series Routing Switches  Chapter 5  BGP Configuration Commands
 
Huawei Technologies Proprietary 
5-10 
View 
BGP view 
Parameter 
med-value: MED value to be specified. The range is 0 to 4294967295. By default, the 
med-value is 0.  
Description 
Use the default med command to configure the default system metric. 
Use the undo default med command to restore the default metric of the system. 
Multi-Exit Discriminators (MED) attribute is the external metric of a route. Different from 
local preference, MED is exchanged between ASs. However, this attribute is 
non-transitive. When a router running BGP gets routes with the same destination 
address but different next hops from different external peers, it selects the route with 
the smallest MED as the optimum route, provided that all other conditions are the 
same. 
Example 
# Routers RTA and RTB belong to AS100 and router RTC belongs to AS200. RTC is 
the peer of RTA and RTB. So the MED of RTA can be configured as 25 to allow RTC to 
select the route transmitted by RTB first. 
[Quidway-bgp] default med 25 
5.1.12  display bgp group 
Syntax 
display bgp group [ group-name ]  
View 
Any view 
Parameter 
group-name: Specified a peer group. 
Description 
Use the display bgp group command to view the information of peer groups.  
Example 
# View the information of the peer group aaa.  
<Quidway> display bgp group aaa 
Group : aaa  type : external