3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
990 CHAPTER 72: BGP CONFIGURATION COMMANDS
View BGP view/BGP-VPN instance 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
# In BGP-VPN instance view, advertise a default route to peer group test (the VPN
has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test default-route-advertise
peer description (BGP/BGP-VPN instance view)
Syntax peer { group-name | ip-address } description description-text
undo peer { group-name | ip-address } description
View BGP view/BGP-VPN instance 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.
Description Use the
peer description command to configure the description information for
a peer/peer group.