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

Syntax

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>}

Parameters

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.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp)#network 192.168.13.0/24 backdoor pathlimit 200
nx9500-6C8809(config-profile testNX9000-router-bgp)#show context
 router bgp
  bgp enable
  asn 1
  aggregate-address 116.117.118.0/24 as-set summary-only
  distance bgp 200 100 200
  bgp neighbor 192.168.13.99
   remote-as 199
   maximum-prefix 9999 80 restart 50
  network 1.2.3.0/24
  network 192.168.13.0/24 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