network (bgp-router-config)

Configures the local network IP addresses and masks. These network addresses are broadcasted to neighboring BGP peers. You can configure a single IP address or a range of IP addresses in the A.B.C.D/M notation.

Supported in the following platforms:

  • Wireless Controllers — RFS 4000

  • Service Platforms — NX 95XX, NX 96XX


network <IP/M> {backdoor|pathlimit|route-map}
network <IP/M> {backdoor pathlimit <1-255>}
network <IP/M> {pathlimit <1-255>}
network <IP/M> {route-map <ROUTE-MAP-NAME>}


network <IP/M> {backdoor pathlimit <1-255>|pathlimit <1-255>|route-map <ROUTE-MAP-NAME>}
network <IP/M> Configures the local network‘s address in the A.B.C.D/M format
  • <IP/M> – Specify the network address.
backdoor pathlimit <1-255> Optional. Configures a BGP backdoor route. After configuring the backdoor route, you can optionally configure the as-path hop count limit attribute for this backdoor route.
  • pathlimit <1-255> – Specify the hop count limit from 1 - 255.
pathlimit <1-255> Optional. Configures the maximum path limit for this AS
  • <1-255> – Specify the hop count limit from 1 - 255.
route-map <ROUTE-MAP-NAME> Optional. Associates a BGP route map with this local network. When applied, the route-map values take precedence
  • <ROUTE-MAP-NAME> – Specify the route map name.


nx9500-6C8809(config-profile testNX9000-router-bgp)#network backdoor pathlimit 200
nx9500-6C8809(config-profile testNX9000-router-bgp)#show context
 router bgp
  bgp enable
  asn 1
  aggregate-address as-set summary-only
  distance bgp 200 100 200
  bgp neighbor
   remote-as 199
   maximum-prefix 9999 80 restart 50
  network backdoor pathlimit 200
  bgp-route-limit num-routes 10
nx9500-6C8809(config-profile testNX9000-router-bgp)#

Related Commands

no (bgp-router-config) Removes the list of local networks configured