Match Ip Next-Hop - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Route Map Commands

match ip next-hop

Use this command to add a next-hop match clause to a route map entry. You can specify the
next hop to match by either:
A route matches the route map if the route's next hop matches the access list or prefix list.
Each entry of a route map can have at most one access list-based next-hop match clause and
one prefix list-based next-hop match clause. If the route map entry already has one of these
match clauses, entering this command replaces that match clause with the new clause.
Note that access lists, prefix lists and route map entries all specify an action of deny or permit.
The action in the access list or prefix list determines whether the route map checks update
messages and routes for a given next-hop value. The route map action and its set clauses
determine what the route map does with update messages and routes that contain that next
hop.
Use the no parameter to remove the next-hop match clause from a route map entry. To
remove a prefix list-based match clause you must also specify the prefix-list parameter.
Syntax
match ip next-hop {<accesslistID>|prefix-list <prefix-listname>}
no match ip next-hop [<accesslistID>]
no match ip next-hop prefix-list [<prefix-listname>]
Parameter
<accesslistID>
<access-list-name
<1-199>
<1300-2699>
prefix-list
<prefix-listname>
Route-map mode
Mode
This command is valid for BGP update messages and OSPF and RIP routes.
Usage
To add entry 3 to the route map called rmap1, which will process routes whose next hop
Examples
matches the ACL called mylist, use the commands:
awplus(config-route-map)#
39.8
specifying the name of an access list. To create the access list, enter Global Configuration
mode and use the access-list command.
specifying the name of a prefix list. To create the prefix list, enter Global Configuration
mode and use the ip prefix-list command.
Description
{<access-list-name>|<1-199>|<1300-2699>}
The IP access list name or number
The IP access list name
>
The IP access list number
The IP access list number (expanded range)
Use an IP prefix list to specify which next hop to match
The prefix list name.
awplus#
awplus(config)#
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
configure terminal
route-map rmap1 permit 3
match ip next-hop mylist
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents