H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-10
The multi-exit discriminator (MED) is an external route metric. Different from the local
preference, the MED is exchanged between autonomous systems. After the MED
enters an autonomous system, it will not be sent out of this autonomous system. The
MED attribute is used to select the optimal route, that is, the route with a smaller MED
value is selected. When a router running the BGP obtains routes with the same
destination address but different next hops through different external peers, the route
selection will be based on the MED value. In the case that all other conditions are the
same, the system first selects the route with the smaller MED value as an external route
of the autonomous system.
Examples
# Set the MED value to 25.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] default med 25
5.1.11 display bgp group
Syntax
display bgp [ multicast ] group [ group-name ]
View
Any view
Parameters
multicast: Specifies multicast address family.
group-name: Name of a peer group, a string of 1 to 47 alphanumeric characters.
Description
Use the display bgp group command to display the information of peer groups.
Examples
# Display the information of the peer group aaa.
<H3C> display bgp group aaa
Group : aaa type : external
as-number : 200
members in this group :
10.1.1.1 11.1.1.1
configuration within the group :
no export policy route-policy
no export policy filter-policy