SRX

last person joined: 4 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Unable to specify forwarding-class action in SRX240h

    Posted 01-19-2012 14:33

    Have an SRX240H that we are trying to enable MF classification and send to a forwarding class but do not see actions that allow this. Maybe am missing something obvious - all docs indicate our SW versions should support this.

     

    admin# edit family inet filter classify term media then ?
    Possible completions:
      <[Enter]>            Execute this command
    > discard              Discard the packet
    > reject               Reject the packet
    > routing-instance     Packets are directed to specified routing instance
      |                    Pipe through a command

     

    Nothing for accept or forwarding-class

     

    admin> show version
    Model: srx240h
    JUNOS Software Release [10.4R6.5]



  • 2.  RE: Unable to specify forwarding-class action in SRX240h
    Best Answer

    Posted 01-20-2012 06:07

    Try using set instead of edit. Works for me on 11.2R5.

     

    # set term media then ?
    Possible completions:
      accept               Accept the packet
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups
      count                Count the packet in the named counter
    > discard              Discard the packet
      forwarding-class     Classify packet to forwarding class
      log                  Log the packet
      loss-priority        Packet's loss priority
      next                 Continue to next term in a filter
      packet-mode          Bypass flow mode for the packet
      policer              Name of policer to use to rate-limit traffic
      port-mirror          Port-mirror the packet
    > reject               Reject the packet
    > routing-instance     Packets are directed to specified routing instance
      sample               Sample the packet
      service-accounting   Count the packets for service accounting
      service-filter-hit   Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters
      syslog               System log (syslog) information about the packet
      topology             Packets are directed to specified topology
      virtual-channel      Set the output interface virtual channel
    [edit firewall family inet filter classify]
    # edit term media then ?
    Possible completions:
      <[Enter]>            Execute this command
    > discard              Discard the packet
    > reject               Reject the packet
    > routing-instance     Packets are directed to specified routing instance
      |                    Pipe through a command
    [edit firewall family inet filter classify]

     



  • 3.  RE: Unable to specify forwarding-class action in SRX240h

    Posted 01-20-2012 17:08

    BenR is correct.

     

    'edit' is like 'cd' down into the configuration hierarchy.  You can only 'edit' all the way down to a section that has further sub-options, just like you can only 'cd' down into directories, but can't 'cd' into a file itself