Switch 7700 Command reference Guide, v2.0

Table Of Contents
BGP Configuration Commands 215
Usually, BGP uses the optimal route to update the source interface of the packets.
However, you can set the mode of the interface to Loopback in order to send
route updates even if the interface is not work normally.
Example
Specify Vlan-interface1 as the source interface of a route update packet.
[SW7700-bgp]peer test connect-interface vlan-interface 1
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
Use the peer default-route-advertise command to configure a peer/peer
group to generate a default route for a peer.
Use the undo peer default-route-advertise command to 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.
Related command: default-route-advertise.
Example
Configure a peer group named test to generate a default route.
[SW7700-bgp]peer test as-number 100
[SW7700-bgp]peer test default-route-advertise
peer description Syntax
peer { group_name | peer_address } description description_line
undo peer { group_name | peer_address } description
View
BGP view
Parameter
group_name: Group name.