Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

packet-forwarding-options

date_range 05-Feb-25

Syntax

content_copy zoom_out_map
packet-forwarding-options {
      eracl-ip6-match {
          (srcip6-and-destip6 | srcip6-only);
      }    
       firewall {
        eracl-profile {
         eracl-scale;
        }
        profiles {
         ethernet-switching {
          (profile1 | profile2);
         }
         inet {
          (profile1 | profile2);
         }
        }
       }
      firewall-profile {
          (default-profile | evpn-mh-profile | mef-profile);
          (profile-one | profile-two);
          egress-l2-extended-match;
          filter-modify {
               (full-scale | make-before-break);
          }
      }
      forwarding-profile (default-profile | host-acl-profile | host-profile | lpm-profile);
      hw-db-profile {
        (balanced | balanced-exem | l2-xl | l3-xl);
        lpm-distribution (1 | 2 | 200 | 3 | 4);
      }    
      internal-forwarding-bandwidth internal-forwarding-bandwidth-value { 
        reserve ingress-egress-mcast percentage; 
      }
      ipfix-sw-mode; 
      l2-profile {
        fast-flush-profile;
      }
      lag-profile {
        (default-profile | lag-mode-high | lag-mode-medium);
      }
      mcast-repl-type {
         ingress-egress-recycle;
         ingress-only;
      } 
      mef-forwarding-profile;
      mpls {
       lsp-ingress-stats-enable;
       lsp-transit-stats-enable;
       }
      multicast-profile {
         strict-ttl-check-profile;
      }
      multicast-statistics;
      no-ip-tos-rewrite;
      overlay {
          interface-num interface-num;
          next-hop next-hop;
      }
      packet-format-match (mpls-packet-format-2 | mpls-packet-format-3 | mpls-packet-format-4 | mpls-packet-format-5 | mpls-packet-format-6 | mpls-packet-format-7 | mpls-packet-format-8);
      recycle-bandwidth-profiles {
         name;
         evpn-irb percentage;
         fti-virtual-loop percentage;
         ingress-egress-mcast percentage;
         srv6 percentage;
         srv6-ext percentage;
         tunnel-services percentage;
         vrf-leak percentage;
      } 
      system-profile {
       (default-profile | vxlan-extended | vxlan-stitching | vpls-meshgroups);
      }
      warm-boot;
}

Hierarchy Level

content_copy zoom_out_map
[edit system]

Description

Configure packet forwarding options. The packet forwarding option specifies that data is forwarded to the specified forwarding destination.

Options

eracl-ip6-match

IPv6 match for ERACL, source or destination. The default is destination only.

  • srcip6-and-destip6—Match on both the source and destination.

  • srcip6-only—Match on source only.

firewall-profile

Set the firewall profile.

  • default-profile—Set the profile to support default services.

  • evpn-mh-profile—Set the profile to support EVPN-MH.

  • mef-profile—Set the profile to support MEF services.

  • profile-one—Selects profile one feature set.

  • profile-two—Selects profile two feature set.

forwarding-profile (default-profile | host-acl-profile | host-profile | lpm-profile)

Configure the profile for the unified forwarding table.

  • default-profile—MAC: 32K, L3-host: 32K, LPM: 720K, FP-Compression: 18K. Restarts PFE.

  • host-acl-profile—MAC: 160K, L3-host: 160K, LPM: 65K, FP-Compression: 18K. Restarts PFE.

  • host-profile—MAC: 160K, L3-host: 160K, LPM: 72K, FP-Compression: 0. Restarts PFE.

  • lpm-profile—MAC: 32K, L3-host: 32K, LPM: 1.24M, ARP: 61K, FP-Compression: 0, Tunnels: 0. Restarts PFE.

hw-db-profile

Set the hardware database profile.

  • (balanced | balanced-exem | l2-xl | l3-xl)—Select the profile type. Restarts PFE.

  • (Mandatory) lpm-distribution (1 | 2 | 200 | 3 | 4)—Specify route distribution between public and private (VRF/VPN) routes in longest prefix match (LPM). Default is 1.

    • 1—Set the LPM distribution to 1
    • 2—Set the LPM distribution to 2. Not valid for the balanced profile.
    • 200—Set the LPM distribution to 200. Valid only for the balanced profile.
    • 3—Set the LPM distribution to 3. Not valid for the balanced profile.
    • 4—Set the LPM distribution to 4. Valid only for the l2-xl profile.
internal-forwarding-bandwidth Set the internal forwarding bandwidth.
ipfix-sw-mode

(QFX5120 only) Enable software-based IPFIX processing, used to enable flow-based telemetry for VXLANs. Must reboot for this option to take effect.

l2-profile

Set the L2 profile.

  • fast-flush-profile—Set the profile to support fast flush.

lag-profile

Set link aggregation group (LAG) configuration mode.

  • default-profile—Allow to create 256 LAGs and maximum 64 members per LAG.

  • lag-mode-high—Allow to create 1024 LAGs and maximum 16 members per LAG.

  • lag-mode-medium—Allow to create 512 LAGs and maximum 32 members per LAG.

mcast-repl-type Set multicast replication type. Restarts PFE.
mef-forwarding-profile

Enable MEF Forwarding Profile, restart PFE

multicast-profile

Set the multicast profile.

  • strict-ttl-check-profile—Set the profile to support strict TTL check for multicast traffic.

multicast-statistics

Enable multicast statistics support.

no-ip-tos-rewrite (ACX7100 only) Disable L3 code point rewrite at system level, restart PFE.
packet-format-match

Packet format match conditions based on VLAN tags and MPLS labels. The default match is an untagged packet with one or two labels.

  • mpls-packet-format-2—Untagged packet with one label.

  • mpls-packet-format-3—Untagged packet with two labels.

  • mpls-packet-format-4—Single tagged packet with one or two labels.

  • mpls-packet-format-5—Single tagged packet with one label.

  • mpls-packet-format-6—Single tagged packet with two labels.

  • mpls-packet-format-7—Untagged or single tagged packet with one label.

  • mpls-packet-format-8—Untagged or single tagged packet with two labels.

recycle-bandwidth-profiles Configure a profile that maps a feature to the recycle port bandwidth.
system-profile

Specify the system-profile

  • default-profile—Select the default system profile.

  • vpls-meshgroups—Select the VPLS mesh group system profile.

  • vxlan-extended—Select the vxlan-extended system profile.

  • vxlan-stitching—Select the vxlan-stitching system profile.

    Note:

    You are required to configure set system packet-forwarding-options system-profile vxlan-stitching on ACX series routers to enable Layer 2 stitching. The PFE will restart once this configuration is applied.

warm-boot

Enable warm boot support.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced prior to Junos OS Release 21.1R1 and Junos OS Evolved Release 21.1R1.

no-ip-tos-rewrite option introduced in Junos OS Evolved Release 22.1R1.

ipfix-sw-mode option introduced in Junos OS Release 22.2R1.

vpls-meshgroups option introduced in Junos OS Evolved Release 24.2R1.

footer-navigation