3com 8807 Reference Guide

Page of 1099
522
C
HAPTER
 27: BGP C
ONFIGURATION
 C
OMMANDS
network
Syntax
network ip-address [ address-mask ] [ route-policy route-policy-name ]
undo network ip-address [ address-mask ] [ route-policy route-policy-name ]
View
BGP view
Parameter
ip-address: Network address that BGP advertises.
address-mask: Mask of the network address.
route-policy-name: Route-policy applied to advertised routes.
Description
Use the network command to configure the network routes advertised by the 
local BGP.
Use the undo network command to cancel the existing configuration.
By default, the local BGP does not advertise any routes.
Example
# Advertise routes to the network segment 10.0.0.0/16.
[3Com-bgp] network 10.0.0.1 255.255.0.0 
log-peer-change
Syntax
log-peer-change
undo log-peer-change
View
BGP view
Parameter
None
Description
Use the log-peer-change command to enable the switch for reporting the BGP 
peer changes and print the BGP state change messages onto the screen. Use the 
undo log-peer-change command to disable this function.
The switch for reporting BGP peer changes is disabled by default.
Example
# Enable the switch for reporting the BGP peer changes.
<SW8800> system-view
 
[SW8800] bgp 
[3Com-bgp] log-peer-change