match protocol

Matches the routes on protocol types and subtypes in a route-map instance.
Syntax
match interface { bgp [ external | internal | static-network ] | rip | static }
no match interface { bgp [ external | internal | static-network ] | rip | static }
Parameters
bgp
Matches BGP routes.
external
Matches eBGP routes.
internal
Matches iBGP routes.
static-network
Matches BGP static routes.
rip
Matches RIP routes.
static
Matches static routes.
Modes

Route-map configuration mode

Usage Guidelines

The no form of the command removes the configuration.

Examples

The following example configures the RIP protocol as a matching criterion for a route-map instance.

device configure terminal 
device(config)# route-map myroutemap permit 10
device(config-routemap myroutemap)# match protocol rip