74 network – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 328
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 328 of 855
16.74 network
Use this command to specify the networks to be advertised by the BGP routing process. A unicast network
address without a mask is accepted if it falls into the natural boundary of its class. A class-boundary mask is
derived if the address matches its natural class-boundary.
Use the no form of this command to remove a network route entry.
Command Syntax
[no] network A.B.C.D
A.B.C.D IP prefix
[no] network A.B.C.D route-map WORD
A.B.C.D IP prefix
WORD Name of the route map
Command Mode
Router mode and IPv4-Unicast Address-family mode
Examples
The following example illustrates a Class-A address configured as a network route. The natural Class-A
network prefix mask length of 8 will be internally derived, that is, 2.0.0.0/8.
Switch(config)#router bgp 1
Switch(config-router)#network 2.0.0.0
Switch#show run
!
router bgp 1
no synchronization
network 1.0.0.0
!
The following example illustrates a network address which does not fall into its
natural class boundary, and hence, is
perceived as a host route, that is, 1.2.3.0/32.
Switch(config)#router bgp 1
Switch(config-router)#network 1.2.3.0
Switch#show run
!
router bgp 1
no synchronization
network 1.2.3.0 mask 255.255.255.255