3Com S7902E Command Reference Manual - page 1272
1-36
route-policy-name
: Route 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 IPv4 MBGP address family view, advertise a default route to the existing peer group
test
.
[Sysname]bgp 100
[Sysname-bgp]group test external
[Sysname-bgp]peer test as-number 200
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test default-route-advertise
peer enable (MBGP family view)
Syntax
peer
{
group-name
|
ip-address
}
enable
undo peer
{
group-name
|
ip-address
}
enable
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address
: IP address of an IPv4 MBGP peer.
Description
Use the
peer enable
command to enable the specified peer/peer group that has been created in BGP
view.
Use the
undo peer enable
command to disable the specified peer/peer group that has been created in
BGP view.
If a peer is disabled, the router will not exchange routing information with the peer.
Examples
# Enable the peer 18.10.0.9.