8 match ip next-hop prefix-list – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 561

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 561 of 855

28.7.1.1 Command Syntax

match ip next-hop ACCESSLISTID

no match ip next-hop [ ACCESSLISTID ]

28.7.1.2 Syntax Description

ACCESSLISTID

Specify a IPv4 access-list name, up to 20 characters.

28.7.1.3 Command Mode

Route-map mode

28.7.1.4 Defaults

No match ip next-hop is specified by default.

28.7.1.5 Examples

Switch# configure terminal
Switch(config)# route-map rmap1 permit 3
Switch(config-route-map)# match ip next-hop mylist

28.7.1.6 Related Commands

match community
match as-path
set as-path
set community
match metric

28.8 match ip next-hop prefix-list

Use this command to specify the next-hop IP address match criterion, using the prefix-list.
Use the no parameter with this command to remove the specified match criterion.

Use the match ip next-hop prefix-list command to match the next-hop IP address of a route.

Note:

This command is valid for BGP and RIP only

Advertising