H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-35
Examples
# Specify the source interface that sends route update packets to the peer group
named test as Loopback 0.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test connect-interface loopback 0
5.1.37 peer default-route-advertise
Syntax
peer group-name default-route-advertise
undo peer group-name default-route-advertise
View
BGP view
Parameters
group-name: Name of the peer group, containing 1 to 47 alphanumeric characters.
Description
Use the peer default-route-advertise command to send the default route to the peer
group.
Use the undo peer default-route-advertise command to cancel the existing
configuration.
By default, the default route is not sent to the peer group.
For this command, no default route needs to exist in the routing table. A default route is
sent unconditionally to a peer group with the next hop as itself.
Examples
# Configure a peer group named test to generate a default route.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test default-route-advertise
5.1.38 peer description
Syntax
peer { group-name | ip-address } description description-text