This command identifies network IPv6 prefixes that BGP originates in route advertisements to its neighbors. The prefix is only advertised if the common routing table includes a non-BGP 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 ipv6-address|prefix-length [route-map rm-name] |
| Mode | IPv6 Address Family Config |
| Parameter | Description |
|---|---|
| ipv6-address | Network IPv6 prefixes. |
| prefix | An IPv4 address prefix in dotted notation. |
| rm-name | (Optional) A route map can be used to set path attributes on the route. |