BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
31.91
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.
Syntax
network
A.B.C.D
no network
A.B.C.D
network
A.B.C.D
route-map
WORD
no network
A.B.C.D
route-map
WORD
Mode
Router mode and Address Family [
ipv4 unicast|ipv4 multicast]
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.
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.
router bgp 1
no synchronization
network 1.2.3.0 mask 255.255.255.255
Parameter
Description
A.B.C.D
IP prefix <network>, e.g., 35.0.0.0
Parameter
Description
A.B.C.D
IP prefix <network>, e.g., 35.0.0.0
WORD
Name of the route map
awplus(config)#
router bgp 1
awplus(config-router)#
network 2.0.0.0
awplus#
show run
awplus(config)#
router bgp 1
awplus(config-router)#
network 1.2.3.0
awplus#
show run