set weight

Use this command to specify the weight to be set when all match clauses in the route map match.

Syntax

set weight value
no set weight value

Parameters

value Specifies the weight to set when all match clauses in the route map match. Valid values are from 1 - 2147483647.

Defaults

None.

Mode

BGP route map configuration.

Usage

The no set weight command removes the specified weight clause from this route map.

Example

This example shows how to set the weight to 50, if all match clauses in the bgprm1 route map match:

System(su)->configure
System(su-config)->route-map bgp bgprm1 permit
System(su-config-route-map-bgp)->set weight 50
System(su-config-route-map-bgp)->