Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
View
BGP view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
route-policy-name: Routing policy name, a string of 1 to 19 characters.
Description
Use the peer default-route-advertise command to advertise a default route to a
peer/peer group.
Use the undo peer default-route-advertise command to disable default route
advertisement to a peer/peer group.
By default, no default route is advertised to a peer/peer group.
With this command used, the router unconditionally sends a default route with the next
hop being itself to the peer/peer group regardless of whether the default route is
available in the routing table.
Examples
# In BGP view, advertise a default route to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test default-route-advertise
5.1.48 peer description
Syntax
peer { group-name | ip-address } description description-text
undo peer { group-name | ip-address } description
View
BGP view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
description-text: Description information for the peer/peer group, a string of 1 to 79
characters.
Chapter 5 BGP Configuration Commands
5-42