O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

network weight — router, BGP

Synopsis

network address mask weight weight [route-map map]
no network address mask weight weight [route-map map]

Configures

An absolute weight to a BGP network

Default

None

Description

This command sets the weight for routes to the given network, overriding any weight value learned by other means (redistribution, etc.).

address mask

The address of a network, specified as an IP address followed by a subnet mask.

weight weight

The weight to be assigned to these routes. It can have any value from to 65,535.

route-map map

A route map to be applied to these routes.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required