next-interface
Syntax
[ no ] [ suspend ] next-interface interfaceType
interfaceSpecifier
[ next-hop nextHop ] [ classifier-group claclName ] [ precedence precValue ]
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Defines an output interface for an IP policy list. When the interfaceType is a broadcast medium, specify a next hop using the next-hop command. The no version removes a next interface rule from a policy list; the suspend keyword temporarily suspends the rule; the no suspend version resumes application of a suspended rule. For IP interfaces, this command is supported only on input policies.
![]() | Note: The next-interface command has been replaced by the forward interface command and may be removed completely in a future release. The SRP module Fast Ethernet port cannot be the destination of the next-interface command. |
Options
- interfaceType—Interface type; see Interface Types and Specifiers
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers
- nextHop—Next-hop IP address
- claclName—In Policy List Configuration, specifies the classifier control list used to classify packets for this next-hop policy. If you do not specify a classifier group, the router selects all packets from the interface associated with this policy list for this rule.
- precValue—In Policy List Configuration, specifies the precedence of this rule in relation to other rules within this set
Mode
Classifier Group Configuration, Policy List Configuration