BGP routes to be advertised are filtered, including the imported routes and the local routes
advertised through the
network
command.
----End
8.5.5 Configuring ses to Advertise Default Routes to Peers
A router sends a default route with the local address being the next hop to the specified peer,
regardless of whether there are default routes in the local routing table.
Context
Do as follows on the BGP4+ router:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bgp
as-number
The BGP view is displayed.
Step 3
Run:
ipv6-family
unicast
The BGP IPv6 unicast address family view is displayed.
Step 4
Run:
peer
{
ipv6-address
|
group-name
}
default-route-advertise
[
route-policy
route-
policy-name
]
Default routes are advertised to peers (or a peer group).
NOTE
After the command
peer default-route-advertise
is run, the switch sends a default route with the local
address as the next hop to the specified peer, regardless of whether there are default routes in the routing
table.
----End
8.5.6 Configuring the Policy for Advertising BGP4+ Routing
Information
After the policy for advertising routes is configured, only the routes that match the policy can
be added to the local BGP4+ routing table and advertised to BGP4+ peers.
Context
Do as follows on the BGP4+ switch:
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
8 BGP4+ Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
515