network (BGP Router Config)

This command configures BGP to advertise an address prefix.The prefix is only advertised if the common routing table includes a nonBGP route with the same prefix. The route may be a connected route, a static route, or a dynamic route from another routing protocol.

BGP accepts up to 64 networks per address family. The network command may specify a default route (network 0.0.0.0 mask 0.0.0.0).

If a route map is configured to set attributes on the advertised routes, match as-path and match community terms in the route map are ignored. A match ip-address prefix-list term is honored in this context. If your route map includes such a match term, the network is only advertised if the prefix list permits the network prefix. If there is no route map with the name given, the network is not advertised.

Default No networks are advertised by default.
Format network prefix mask network-mask [route-map rm-name]
Mode
  • BGP Router Config
  • IPv4 VRF Address Family Config
Parameter Description
prefix An IPv4 address prefix in dotted notation.
network-mask The network mask for the prefix in dotted quad notation (e.g., 255.255.0.0).
rm-name (Optional) A route map can be used to set path attributes on the route.

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail [email protected]

LANCOM Logo
OSZAR »