![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg4ca.png)
1226 CHAPTER 82: IPV6 BGP CONFIGURATION COMMANDS
value. In the case that all other conditions are the same, the system first selects the
route with the smaller MED value as the best route for the autonomous system.
Examples # Devices A and B belong to AS100 and device C belongs to AS200. C is the peer
of A and B. Configure the MED of A as 25 to make C select the path from B.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] default med 25
default-route imported (IPv6 address family view)
Syntax default-route imported
undo default-route imported
View IPv6 address family view
Parameters None
Description Use the
default-route imported command to enable the redistribution of
default route into the IPv6 BGP routing table.
Use the
undo default-route imported command to disable the redistribution.
By default, the redistribution is not enabled.
Examples # Enable the redistribution of default route from OSPFv3 into IPv6 BGP.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] default-route imported
[Sysname-bgp-af-ipv6] import-route ospfv3 1
display bgp ipv6 group
Syntax display bgp ipv6 group [ ipv6-group-name ]
View Any view
Parameters ipv6-group-name: Peer group name, a string of 1 to 47 characters.
Description Use the
display bgp ipv6 group command to display IPv6 peer group
information.
If no ipv6-group-name is specified, information about all peer groups is displayed.