ip classifier-list
Creates or modifies a classifier control list. Use the not keyword to deny traffic for a specific protocol, source address, or destination address. Use the any keyword to allow traffic to any source or destination address. The no version removes the classifier control list.
ip classifier-list classifierName [ traffic-class trafficClassName ]
[ color { green | yellow | red } ] [ user-packet-class userPacketClassValue ]
[ source-route-class routeClassValue ] [destination-route-class routeClassValue ]
[ local { true | false } ] [ not ] { protocol }
[ not ] { sourceAddress sourceMask | host sourceHostAddress | any } [ sourceQualifier ]
[ not ] { destinationAddress destinationMask | host destinationHostAddress | any }
[ destinationQualifier ] [ tcpQualifier ] [ ip-flags ipFlags ]
[ ip-frag-offset { eq 0 | eq 1 | gt 1 } ]
[ precedence precNum | dsField dsFieldNum | tos tosNum ]no ip classifier-list classifierName [ classifierNumber ]
- classifierNameName of the classifier control list entry
- trafficClassNameName of the traffic class to match
- greenMatches packet color to green, indicating a low drop preference
- yellowMatches packet color to yellow, indicating a medium drop preference
- redMatches packet color to red, indicating a high drop preference
- userPacketClassValueUser packet value to match; in the range 015
- routeClassValueValue of the route-class; in the range 0255
- localSpecifies traffic destined for this interface
- notMatches any except the immediately following protocol or address
- protocolProtocol name (IGMP, IP, TCP, or UDP) or number (in the range 0255) to match
- sourceAddressSource address to match
- sourceMaskWild-card mask to apply to the source address
- hostMatches source or destination address as a host
- sourceHostAddressSource host address to match
- anyMatches any source or destination address
- sourceQualifierFor UDP or TCP protocols, one of the following protocol-specific classifier parameters. See JUNOSe Policy Management Configuration Guide, Chapter 2, Creating Classifier Control Lists for Policies, for details.
- portOperatorOne of the following Boolean operator keywords: lt (less than), gt (greater than), eq (equal to), ne (not equal), or range (range of port numbers)
- rangeSingle port number or a range of port numbers
- destinationAddressDestination address to match
- destinationMaskWild-card mask to apply to the destination address
- destinationHostAddressDestination host address to match
- destinationQualifierOne of the following protocol-specific classifier parameters for destination TCP or UDP ports, ICMP code and type, or IGMP type. The portOperator and port range are used with TCP and UDP. The icmpType, icmpCode, and igmpType parameters are used with ICMP and IGMP.
- portOperatorone of the following Boolean operator keywords: lt (less than), gt (greater than), eq (equal to), or ne (not equal), or range (range of port numbers) (TCP and UDP only)
- rangeSingle port number or a range of port numbers
- icmpTypeICMP message type (ICMP only)
- icmpCodeICMP message code (ICMP only)
- igmpTypeIGMP message type (IGMP only)
- tcpQualifierTCP flags classification parameters
- tcpFlagFor TCP only; a logic equation that specifies flag bit values; ! means logical NOT and & means logical AND; use any of the following flag names:
- ipFlagsLogic equation that specifies flag bit values; ! means logical NOT and & means logical AND; use any of the following flag names:
- precNumUpper three bits of the ToS byte; in the range 07
- dsFieldNumUpper six bits of the ToS byte; in the range 063
- tosNumWhole eight bits of the ToS byte; in the range 0255
- classifierNumberIndex of the classifier control list entry to be deleted
Global Configuration
Release Information Command introduced before JUNOSe Release 7.1.0.