route-map bgp

Use this command to create a BGP route map and enter configuration mode for this route map.

Syntax

route-map bgp name [permit | deny] [sequence-number]
no route-map bgp name [permit | deny] [sequence-number]

Parameters

name Specifies a name for this route-map.
permit (Optional) Specifies that set command configurations will be applied on packets matching all match clauses.
deny (Optional) Specifies that set command configurations should be skipped on packets matching all match clauses.
sequence-number (Optional) Specifies the sequence for this route map in the route map list.

Defaults

  • If permit or deny is not specified, the route-map defaults to permit.
  • If sequence-number is not specified, 10 will be applied.

Mode

Global configuration.

Usage

Route-map names support up to 32 alphanumeric characters.

Each named route-map can have one or more entries. Each BGP route-map entry is identified by a unique sequence-number. Each entry can be optionally configured as a permit or deny.

Executing the route-map bgp command enters BGP route map configuration command mode for the specified entry. Once in BGP route map configuration command mode, each entry can be configured for one or more clauses made up of match or set configurations.

The system supports 100 BGP route maps.

The system supports 1000 set or match clauses across all configured route-maps.

The no route-map bgp command removes the specified route-map list.

Example

This example shows how to create a BGP permit route map named bgprm1 with a sequence value of 20:

System(su-config)->route-map bgp bgprm1 permit 20
System(su-config-route-map-bgp)->show route-map bgprm1
 route-map bgp bgprm1 permit 20
System(su-config-route-map-bgp)->