forward
Syntax
[ no ] [ suspend ] forward
[ interface interfaceType interfaceSpecifier [
next-hop nextHop
[ ignore-default-route
] ]
[ order orderValue ] ] |
[ next-hop nextHop [ virtual-router vrName ]
[ ignore-default-route ] [ order orderValue ] ] |
[ order orderValue ] | classifier-group claclName ] [ precedence precValue ]
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Defines a rule to forward all packets that match the specified classifier control list. If you do not specify a classifier control list using the classifier-group keyword, the router will select all packets from the interface in the direction of the attached policy list. The no version removes the rule from the policy list; the suspend version temporarily suspends the forward rule; the no suspend version resumes application of a suspended rule.
See the forward interface and forward next-hop commands for descriptions of the Classifier Group Configuration mode versions of this command.
Options
- interfaceType—Interface type; see Interface Types and Specifiers (IP policy lists only)
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers (IP policy lists only)
- nextHop—Next-hop IP address (IPv4 and IPv6 policy lists)
- ignore-default-route—Ignores the default route as a consideration for the next hop (IPv4 and IPv6 policy lists)
- vrName—Name of the virtual router (IPv4 and IPv6 policy lists)
- orderValue—Order of this forward rule within the single classifier; in the range 1–32767; default value is 100 (IPv4 and IPv6 policy lists)
- claclName—Classifier control list used to classify packets for this policy
- precValue—Precedence of this rule in relation to other rules within this set: in the range 0–32768; default value is 100
Mode
Policy List Configuration