To configure forwarding options, use the following statements at the [edit forwarding-options] hierarchy level. Statements exclusively for J-series and SRX-series devices running JUNOS software are shown in bold font and are documented in this chapter.
Shared JUNOS statements in the forwarding-options hierarchy are shown in normal font and are documented in the JUNOS Policy Options Configuration Guide and the JUNOS Services Interfaces Configuration Guide.
- forwarding-options {
-
- accounting group-name {
-
- output {
- aggregate-export-interval value ;
-
- cflowd [
hostnames ]
{
-
- aggregation {
- autonomous-system;
- destination-prefix;
- protocol-port;
-
- source-destination-prefix
{
- caida-compliant;
- }
- source-prefix;
- }
- autonomous-system-type;
- port;
- version;
- }
- flow-active-timeout;
- flow-inactive-timeout;
-
- interface interface - name
{
- engine-id number ;
- engine-type number ;
- source-address address ;
- }
- }
- }
-
- family
family-name {
-
- inet {
- filter (input | output);
- }
-
- inet6 {
- filter (input | output);
- }
-
- mpls {
- filter (input | output);
- }
- }
-
- hash-key {
-
- family {
-
- inet {
- layer-3;
- layer-4;
- }
-
- mpls {
- label-1;
- label-2;
- label-3;
- no-labels;
-
- payload {
-
- ip {
- layer-3-only;
-
- port-data {
- destination-lsb;
- destination-msb;
- source-lsb;
- source-msb;
- }
- }
- }
- }
- }
- }
-
-
helpers {
-
-
bootp {
-
client-response-ttl
value ;
-
description text ;
-
-
interface interface-name {
-
broadcast;
-
client-response-ttl
number
;
-
description description ;
-
maximum-hop-count
number
;
-
minimum-wait-time
seconds
;
-
no-listen;
-
server address ;
-
vpn;
- }
-
maximum-hop-count
number ;
-
minimum-wait-time
seconds ;
-
relay-agent-option;
-
-
server address {
-
routing-instance [
value ];
- }
-
vpn;
- }
-
- domain {
- description text ;
- interface interface-name;
-
- server {
- address
address ;
- routing-instance [ value
];
- }
- }
-
- port
value {
- description text ;
- interface interface-name;
-
- server {
- address
address ;
- routing-instance [ value
];
- }
- }
-
- tftp {
- description text ;
- interface interface-name;
-
- server {
- address
address ;
- routing-instance [ value
];
- }
- }
-
- traceoptions {
-
- file
filename {
- files
number ;
- match
regular-expression
;
- size
maximum-file-size ;
- <world-readable | no-world-readable>;
- }
-
- flag {
- address;
- all;
- bootp;
- config;
- domain;
- ifdb;
- io;
- main;
- port;
- rtsock;
- tftp;
- trace;
- ui;
- util;
- }
- level
level ;
- }
- }
-
- packet-capture {
- disable;
-
- file
filename {
- <files number >;
- <size maximum-file-size
>;
- <world-readable | no-world-readable>;
- }
- maximum-capture-size [ value ];
- }
-
- port-mirroring {
-
- family {
-
- inet {
-
- input {
- rate
number ;
- run-length number ;
- }
-
- output {
-
- interface interface-name
{
-
- next-hop {
-
address
;
- }
- }
- no-filter-check;
- }
- }
- }
-
- traceoptions {
- file
filename <files number > <size maximum-file-size >
- <world-readable | no-world-readable>;
- }
- }
-
- sampling {
-
disable;
-
- input {
-
- family {
-
- inet {
- max-packets-per-second number
;
- rate
number
;
- run-length number ;
- }
- }
- }
-
- output {
-
- cflowd
hostname {
-
- aggregation {
- autonomous-system;
- destination-prefix;
- protocol-port;
-
- source-destination-prefix
{
- caida-compliant;
- }
- source-prefix;
- }
- autonomous-system-type (origin
| peer);
- (local-dump | no-local-dump);
- port
port-number ;
- source-address address ;
- version
format ;
- }
-
- file {
- disable;
- file filename;
- files
number ;
- size
bytes ;
- (stamp | no-stamp);
- (world-readable | no-world-readable);
- }
- flow-active-timeout seconds
;
- flow-inactive-timeout seconds
;
- interface interface-name ;
- }
- }
- }