472 CHAPTER 36: IPV6 BGP CONFIGURATION
Configuring IPv6 BGP
Route Redistribution
Follow these steps to configure IPv6 BGP route redistribution and filtering:
n
If the default-route imported command is not configured, using the 
import-route command cannot redistribute any IGP default route.
Advertising a Default
Route to a Peer/Peer
Group
Follow these steps to configure to advertise default route to a peer/peer group:
n
With the peer default-route-advertise command used, the local router 
advertises a default route with itself as the next hop to the specified peer/peer 
group, regardless of whether the default route is available in the routing table.
Configuring Route
Distribution Policy
Follow these steps to configure policies for route distribution:
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter BGP view  bgp as-number - 
Enter IPv6 address family view  ipv6-family - 
Enable default route 
redistribution into the IPv6 
BGP routing table 
default-route imported Optional
Not enabled by default 
Enable route redistribution 
from another routing protocol 
import-route protocol 
[ process-id ] [ med 
med-value | route-policy 
route-policy-name ]* 
Required
Not enabled by default
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter BGP view  bgp as-number Required 
Enter IPv6 address family 
view 
ipv6-family - 
Advertise a default route 
to a peer/peer group 
peer { ipv6-group-name | ipv6-address } 
default-route-advertise 
[ route-policy route-policy-name ] 
Required
Not advertised by 
default
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter BGP view  bgp as-number Required 
Enter IPv6 address family view  ipv6-family - 
Configure outbound route 
filtering 
filter-policy { acl6-number | 
ipv6-prefix 
ipv6-prefix-name } export 
[ protocol process-id ] 
Required
Not configured by default 
Apply a routing policy to 
routes advertised to a 
peer/peer group 
peer { ipv6-group-name | 
ipv6-address } route-policy 
route-policy-name export 
Required
Not applied by default 
Specify an IPv6 ACL to filer 
routes advertised to a 
peer/peer group 
peer { ipv6-group-name | 
ipv6-address } filter-policy 
acl6-number export 
Required
Not specified by default 
Specify an AS path ACL to 
filer routes advertised to a 
peer/peer group 
peer { ipv6-group-name | 
ipv6-address } as-path-acl 
as-path-acl-number export 
Required
Not specified by default