
C613-50186-01 Rev B
Command Reference for AR2050V
1303
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NETWORK
(BGP
AND
BGP4+)
network (BGP and BGP4+)
Overview
Use this command to specify particular routes to be advertised into the BGP or
BGP4+ 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.
Note that you can specify a prefix length for the prefix being added, and you can
also specify a classful network without a prefix length and an appropriate prefix
length is added. Note that specifying a non-classful prefix without a prefix length
results in a /32 prefix length on an IPv4 route.
Use the
no
variant of this command to remove a network route entry.
Syntax [BGP]
network {
<ip-prefix/length>|<ip-network-addr>
} [mask
<
network-mask
>] [route-map
<route-map-name
>] [backdoor]
no network {
<ip-prefix/length>|<ip-network-addr>
} [mask
<
network-mask
>] [route-map
<route-map-name
>] [backdoor]
Syntax [BGP4+]
network {
<ipv6-prefix/length>|<ipv6-network-addr>
} [route-map
<route-map-name
>]
no network {
<ipv6-prefix/length>|<ipv6-network-addr>
}
[route-map
<route-map-name
>]
Mode [BGP]
Router Configuration and IPv4 Address Family [
ipv4 unicast]
mode
Mode [BGP4+]
IPv6 Address Family Configuration
Parameter
Description
<ip-prefix/length>
IP network prefix and prefix length entered in dotted
decimal format for the IP network prefix, then slash
notation for the prefix length in the format A.B.C.D/M, e.g.
192.168.1.224/27
<ip-network-addr>
IP network prefix entered in dotted decimal format
A.B.C.D, e.g. 192.168.1.224
<
network-mask
>
Specify a network mask in the format A.B.C.D, e.g.
255.255.255.224.
<ipv6-prefix/
length>
IPv6 network prefix and prefix length entered in dotted
decimal format for the IPv6 network prefix, then slash
notation for the IPv6 prefix length in the format X:X::X:X/
M, e.g. 2001:db8::/64
<ipv6-network-addr>
IP network prefix entered in dotted decimal format
A.B.C.D, e.g. 192.168.1.224
<route-map-name>
Specify the name of the route map.
backdoor
Specify a BGP backdoor route that is not advertised.