R3303-HP HSR6800 Routers MPLS Command Reference

354
Default
The default system MED value is 0.
Views
BGP-VPNv6 subaddress family view
Default command level
2: System level
Parameters
med-value: Specifies the default value of the Multi-Exit-Discriminator (MED), in the range of 0 to
4294967295.
Usage guidelines
With other criteria the same, the system selects the route with a smaller MED value as the AS external
route.
Examples
# Set the default MED to 10 in BGP-VPNv6 subaddress family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] default med 10
display bgp vpnv6 all peer
Use display bgp vpnv6 all peer to display information about the BGP VPNv6 peers established between
PEs.
Syntax
display bgp vpnv6 all peer [ ipv4-address verbose | verbose ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: M on i to r
Parameters
ipv4-address: Specifies a peer by its IPv4 address.
verbose: Displays the detailed information.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.