# ipv6 classifier-list

#### Syntax

ipv6 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 } ]
[ source-address ipv6Prefix | source-host ipv6Address ]
[ destination-address ipv6Prefix | destination-host ipv6Address ]
[ precedence precNum | dsfield dsFieldNum | tcfield tcFieldNum ]
[ protocol [ protocolQualifier ] ]

no ipv6 classifier-list classifierName [ classifierNumber ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Creates or modifies an IPv6 classifier control list. The no version removes the classifier control list.

#### Options

- classifierName—Name of the classifier control list entry
- trafficClassName—Name of the traffic class to match
- green—Matches packet color to green, indicating a low drop preference
- yellow—Matches packet color to yellow, indicating a medium drop preference
- red—Matches packet color to red, indicating a high drop preference
- userPacketClassValue—User packet value to match
- routeClassValue—Value of the source or destination route-class; in the range 0–255
- local—Specifies traffic destined for this interface
  - true—Matches packets that are locally destined
  - false—Matches packets that are not locally destined
- ipv6Prefix—Prefix that defines the IPv6 interface or network
- ipv6Address—Base IPv6 address of the network route
- precNum—Upper three bits of the traffic class byte; in the range 0–7
- dsFieldNum—Upper six bits of the traffic class byte; in the range 0–63
- tcFieldNum—Whole eight bits of the traffic class byte; in the range 0–255
- protocol—Protocol type to match; tcp, udp, icmpv6, or protocol number in the range 0–255
- protocolQualifier—Specifies the following protocol-specific parameters:

  For TCP and UDP:

  - source-port or destination-port—Specifies that a source or destination port is matched
  - portOperator—One of the following classifier parameters. See Creating or Modifying Classifier Control Lists for IPv6 Policy Lists for details.
    - lt—Less than
    - gt—Greater than
    - eq—Equal to
    - ne—Not equal
    - range—Range of port numbers
  - portNumber—Port number of the source or destination port

  For TCP only:

  - tcpFlag; a logic equation that specifies flag bit values; ! means logical NOT and & means logical AND; use any of the following flag names:
    - ack—0x10
    - fin—0x01
    - psh—0x08
    - rst—0x04
    - syn—0x02
    - urg—0x20

  For ICMPv6:

  - icmpType—ICMP message type
  - icmpCode—ICMP message code
- classifierNumber—Index of the classifier control list entry to be deleted

  | Note: The local-input keyword for the ipv6 policy command is deprecated, and may be completely removed in a future release. The keyword should be removed from scripts. You should recreate any local input policies using the ipv6 classifier-list local true command and attaching the policies using the ipv6 policy secondary-input command.

#### Mode

Global Configuration

#### Related Documentation

- Creating or Modifying Classifier Control Lists for IPv6 Policy Lists