beautypg.com

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

Page 339

background image

CanogaOS Command Reference

19-8

Packet forwarding based on configured policies overrides packet forwarding specified in routing

tables.

Note:

This command is valid for BGP, OSPF and RIP only


Command Syntax

match ip next-hop ACCESSLISTID

no match ip next-hop [ ACCESSLISTID ]

Syntax Description

ACCESSLISTID

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

Command Mode

Route-map mode

Defaults

No match ip next-hop is specified by default.

Examples

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

Related Commands

match community

match as-path

set as-path

set community

match metric

19.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


Command Syntax