beautypg.com

Network (bgp) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 557

background image

Network OS Command Reference

519

53-1003115-01

network (BGP)

2

network (BGP)

Configures the device to advertise a network.

Synopsis

network network/mask [route-map map-name] | [weight num] | [backdoor]

no network network/mask [route-map map-name] | [weight num] | [backdoor]

Operands

network/mask

Network and mask in CIDR notation.

map-name

Name of the route map with which to set or change BGP4 attributes for the
network to be advertised.

num

Weight to be added to routes to this network. Range is 0 through 65535.

backdoor

Changes administrative distance of the route to this network from the EBGP
administrative distance (the default is 20) to the local BGP4 weight (the
default is 200), tagging the route as a backdoor route.

Defaults

The default for num is 0.

Command Modes

BGP address-family IPv4 unicast configuration mode

Description

Use this command to configure the device to advertise a network. BGP4 prefers larger weights
over smaller weights.

Usage Guidelines

Use the no form of the command to restore the defaults.

Examples

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# router bgp

switch(config-bgp-router)# address-family ipv4 unicast

switch(config-bgp-ipv4u)# network 10.11.12.13/30 route-map myroutemap

See Also

route-map