match source-protocol

Syntax

match source-protocol {bgp | connected | ospf | static}

no match source-protocol [bgp | connected | ospf | static]

Description

Matches the source routing protocol value of the route with the value configured in the match clause.

The no form of this command restores the default behavior of not matching the source routing protocol value of the route.

Command context

config-route-map

Parameters

{bgp | connected | ospf | static}

Specifies the bgp, connected, ospf, or static value to be matched with the route entry source protocol.

Authority

Administrators

Example

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

switch(config)# route-map GlobalMap permit seq 11
switch(config-route-map-GlobalMap-11)# match source-protocol ospf