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.

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.