Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 BGP Configuration Commands
Huawei Technologies Proprietary
4-33
Example
# Specify Vlan-interface1 as the source interface of a route update packet.
[Quidway-bgp] peer test connect-interface vlan-interface 1
4.1.37 peer default-route-advertise
Syntax
peer { group-name | peer-address } default-route-advertise
undo peer { group-name | peer-address } default-route-advertise
View
BGP view
Parameter
group-name: Specify name of the peer group.
peer-address: Specify IP address of the peer.
Description
Using peer default-route-advertise command, you can configure a peer/peer group to
generate a default route for a peer. Using undo peer default-route-advertise
command, you can cancel the existing configuration.
By default, a peer/peer group does not import the default route.
For this command, no default route needs to exist in the routing table. A default route is
sent unconditionally to a peer with the next hop as itself.
For the related commands, see default-route-advertise.
Example
# Configure a peer group named test to generate a default route.
[Quidway-bgp] peer test default-route-advertise
4.1.38 peer description
Syntax
peer { group-name | peer-address } description description-line
undo peer { group-name | peer-address } description
View
BGP view