match ip route-source

Syntax

match ip route-source prefix-list <PREFIX-LIST-NAME>

no match ip route-source prefix-list <PREFIX-LIST-NAME>

Description

Matches the IP address of the source of the route using IP prefix lists.

The no form of this command restores the default behavior of not matching the IP address of the route.

Command context

config-route-map

Parameters

<PREFIX-LIST-NAME>

Specifies the name of the prefix list to match the IP address of the source of the route.

Authority

Administrators

Example

Configuring a match clause in the route map to match the source of the route:

switch(config)# ip prefix-list RouterLst 4.4.4.4/32
switch(config)# route-map GlobalMap permit seq 11
switch(config-route-map-GlobalMap-11)# match ip route-source prefix-list RouterLst