Set Ip Next-Hop (Pbr) - Allied Telesis AT-IX5-28GPX Manual

High availability, high power video surveillance poe switch
Hide thumbs Also See for AT-IX5-28GPX:
Table of Contents

Advertisement

Q
S C
O
OMMANDS
-
(PBR)
SET IP NEXT
HOP

set ip next-hop (PBR)

Overview
When this command is set, all packets that match a selected class-map will be
forwarded to the specified next hop.
The no variant of this command removes the next-hop address (in the context of
its policy-map and class-map) from the configuration.
Syntax
set ip next-hop <ip-addr>
no set ip next-hop
Mode
Policy Map Class Configuration
Usage
In typical deployments of policy-based routing, some traffic types require normal
routing (i.e. via the routes in the IP routing table) while other traffic types require
policy based routing.
Where the traffic to be policy routed is a subset of the traffic that is to be normally
routed, then the configuration is reasonably simple. The policy-map will contain
one or more classes that match the traffic to be policy routed, and will have their
next-hop configured by this command - set ip next-hop (PBR). The remaining
traffic will be conventionally routed according to the rules set for the default class
- providing that this is not subject to the set ip next-hop (PBR).
The situation becomes a little more complex where the traffic requiring normal
routing is a subset of the traffic to be policy-routed. In this situation the policy-map
would need to contain one, or more, classes that match the requirement for
normal routing. These classes would not be configured with a set ip next-hop
(PBR) command. The remaining traffic classes that require normal routing would
have the set ip next-hop (PBR) command applied to them. Note that this traffic
could be just the default class, if ALL other traffic types were to be policy-routed.
Also note that the order in which the classes are configured in the policy-map is
important; because traffic is matched against the classes in the order that they
were assigned to the policy-map.
For more information, see the "Policy-Based Routing" section of the
Overview and Configuration
Example
To forward a packet to a 192.168.1.1, use the commands:
awplus#
awplus(config)#
awplus(config-pmap)#
awplus(config-pmap-c)#
982
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
Parameter
Description
The IP address of the next hop destination.
<ip-addr>
configure terminal
policy-map pmap1
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
Guide.
class cmap1
set ip next-hop 192.168.1.1
QoS Feature
C613-50057-01 REV A

Advertisement

Table of Contents
loading

Table of Contents