[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Interfaces Configuration Statement Hierarchy

To configure interfaces, use the following statements at the [edit Interfaces] 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 interfaces hierarchy are shown in normal font and are documented in the JUNOS Network Interfaces Configuration Guide and the JUNOS Services Interfaces Configuration Guide.

interfaces {
interface-name {
accounting-profile name ;
atm-options {
cell-bundle-size cells ;
ilmi;
linear-red-profiles profile-name {
high-plp-max-threshold percent ;
low-plp-max-threshold percent ;
queue-depth cells high-plp-threshold percent low-plp-threshold percent ;
}
mpls {
pop-all-labels {
required-depth number ;
}
}
pic-type (atm1 | atm2);
plp-to-clp;
promiscuous-mode {
vpi vpi-identifier ;
}
scheduler-maps map-name {
forwarding-class class-name {
epd-threshold cells plp1 cells ;
linear-red-profile profile-name ;
priority (low | high);
transmit-weight (cells number | percent number );
}
vc-cos-mode (alternate | strict);
}
vpi vpi-identifier {
maximum-vcs maximum-vcs ;
oam-liveness {
down-count cells;
up-count cells;
}
oam-period (disable | seconds);
shaping {
(cbr rate | rtvbr peak rate sustained rate burst length |
vbr peak rate sustained rate burst length );
queue-length number ;
}
}
}
clocking (external | internal);
dce;
description text ;
dialer-options {
pool pool-identifier ;
priority priority-number ;
}
disable;
dsl-options {
loopback local;
operating-mode mode ;
}
ds0-options {
bert-algorithm algorithm ;
bert-error-rate rate ;
bert-period seconds ;
byte-encoding (nx56 | nx64);
fcs (16 | 32);
idle-cycle-flag (flags | ones);
invert data;
loopback (payload | remote);
start-end-flag (shared | filler);
}
e1-options {
bert-algorithm algorithm ;
bert-error-rate rate ;
bert-period seconds ;
fcs (16 | 32);
framing (g704 | g704-no-crc4 | unframed);
idle-cycle-flag (flags | ones);
invert data;
loopback (local | remote);
start-end-flag (shared | filler);
timeslots time-slot-range;
}
e3-options {
atm-encapsulation (direct | PLCP);
bert-algorithm algorithm ;
bert-error-rate rate ;
bert-period seconds ;
buildout feet;
compatibility-mode (digital-link | kentrox | larscom) <subrate value >;
fcs (16 | 32);
framing (g.751 | g.832);
idle-cycle-flag value ;
loopback (local | remote);
(payload-scrambler | no-payload-scrambler);
start-end-flag value ;
(unframed | no-unframed);
}
encapsulation type ;
ether-vpls-over-atm-llc;
es-options {
backup-interface es- pim /0/ port ;
}
fabric-options {
member-interfaces member-interface-name;
}
failure-options {
[trigger-link-failure interface-name ];
}
fastether-options {
(flow-control | no-flow-control);
ingress-rate-limit rate ;
(loopback | no-loopback);
mpls {
pop-all-labels {
required-depth [ number ];
}
}
redundant-parent interface-name;
source-address-filter {
mac-address ;
}
(source-filtering | no-source-filtering);
}
flexible-vlan-tagging;
framing (lan-phy | sdh | sonet | wan-phy);
gigether-options {
(auto-negotiation <remote-fault
(local-interface-online | local-interface-offline)> | no-auto-negotiation);
(flow-control | no-flow-control);
ignore-l3-incompletes;
(loopback | no-loopback);
mpls {
pop-all-labels {
required-depth [ number ];
}
}
redundant-parent interface-name;
source-address-filter {
mac-address ;
}
(source-filtering | no-source-filtering);
ethernet-switch-profile {
ethernet-policer-profile {
input-priority-map {
ieee802.1p premium [ values ];
}
output-priority-map {
classifier {
premium {
forward-class class-name {
loss-priority (high | low);
}
}
}
}
policer cos-policer-name {
aggregate {
bandwidth-limit bps ;
burst-size-limit bytes ;
}
premium {
bandwidth-limit bps ;
burst-size-limit bytes ;
}
}
}
(mac-learn-enable | no-mac-learn-enable);
tag-protocol-id [ tpids ];
}
}
(gratuitous-arp-reply | no-gratuitous-arp-reply);
hold-time up milliseconds down milliseconds ;
isdn-options {
calling-number number ;
incoming-called-number number <reject>;
pool pool-name <priority priority> ;
spid1 spid-string ;
spid2 spid-string ;
static-tei-val value ;
switch-type (att5e | etsi | ni1 | ntdms100 | ntt);
t310 seconds ;
tei-option (first-call | power-up);
}
keepalives <down-count number > <interval seconds > <up-count number >;
lmi {
lmi-type (ansi | itu);
n391dte number ;
n392dce number ;
n392dte number ;
n393dce number ;
n393dte number ;
t391dte seconds ;
t392dce seconds ;
}
mac mac-address ;
mlfr-uni-nni-bundle-options {
acknowledge-retries number ;
acknowledge-timer milliseconds ;
action-red-differential-delay (disable-tx | remove-link);
drop-timeout milliseconds ;
fragment-threshold bytes ;
hello-timer milliseconds ;
link-layer-overhead percent ;
lmi-type (ansi | itu);
minimum-links number ;
mrru bytes ;
n391 number ;
n392 number ;
n393 number ;
red-differential-delay milliseconds ;
t391 seconds ;
t392 seconds ;
yellow-differential-delay milliseconds ;
}
modem-options {
dialin (console | routable);
init-command-string initialization-command-string ;
}
mtu bytes ;
multiservice-options {
boot-command filename;
(core-dump | no-core-dump);
(syslog | no-syslog);
}
no-gratuitous-arp-request;
no-keepalives;
no-partition {
interface-type type ;
}
partition partition-number {
interface-type type ;
oc-slice oc-slice-range ;
timeslots time-slot-range ;
}
passive-monitor-mode;
per-unit-scheduler;
ppp-options {
chap {
access-profile name;
default-chap-secret name ;
local-name name;
passive;
}
compression {
acfc;
pfc;
}
no-termination-request;
lcp-restart-timer milliseconds ;
ncp-restart-timer milliseconds ;
}
redundant-ether-options {
(flow-control | no-flow-control);
link-speed speed;
(loopback | no-loopback);
redundancy-group number;
source-address-filter mac-address;
(source-filtering | no-source-filtering);
}
serial-options {
clock-rate rate ;
clocking-mode (dce | internal | loop);
control-leads {
control-signal (assert | de-assert | normal);
cts (ignore | normal | require);
dcd (ignore | normal | require);
dsr (ignore | normal | require);
dtr signal-handling-option ;
ignore-all;
indication (ignore | normal | require);
rts (assert | de-assert | normal);
tm (ignore | normal | require);
}
control-polarity (positive | negative);
cts-polarity (positive | negative);
dcd-polarity (positive | negative);
dsr-polarity (positive | negative);
dtr-circuit (balanced | unbalanced);
dtr-polarity (positive | negative);
encoding (nrz | nrzi);
indication-polarity (positive | negative);
line-protocol protocol ;
loopback mode;
rts-polarity (positive | negative);
tm-polarity (positive | negative);
transmit-clock invert;
}
services-options {
inactivity-timeout seconds ;
open-timeout seconds ;
syslog {
host hostname {
facility-override facility-name ;
log-prefix prefix-number ;
services priority-level ;
}
}
}
shdsl-options {
annex (annex-a | annex-b);
line-rate line-rate ;
loopback (local | remote | payload);
snr-margin {
current margin ;
snext margin ;
}
}
t1-options {
bert-algorithm algorithm ;
bert-error-rate rate ;
bert-period seconds ;
buildout value ;
byte-encoding (nx64 | nx56);
fcs (16 | 32);
framing (esf | sf);
idle-cycle-flags (flags | ones);
invert-data;
line-encoding (ami | b8zs);
loopback (local | payload | remote);
remote-loopback-respond;
start-end-flag (filler | shared);
timeslots time-slot-range ;
}
t3-options {
atm-encapsulation (direct | PLCP);
bert-algorithm algorithm ;
bert-error-rate rate ;
bert-period seconds ;
buildout feet;
(cbit-parity | no-cbit-parity);
compatibility-mode (adtran | digital-link | kentrox | larscom | verilink)
<subrate value >;
fcs (16 | 32);
(feac-loop-respond | no-feac-loop-respond);
idle-cycle-flag value ;
(long-buildout | no-long-buildout);
(loop-timing | no-loop-timing);
loopback (local | payload | remote);
(payload-scrambler | no-payload-scrambler);
start-end-flag value ;
}
threshold bytes ;
traceoptions {
flag flag < flag-modifier > <disable>;
}
(traps | no-traps);
vlan-tagging;
unit logical-unit-number {
accept-source-mac {
mac-address mac-address ;
policer {
input policer-name ;
output policer-name ;
}
}
accounting-profile name ;
allow-any-vci;
atm-scheduler-map (default | map-name );
backup-options {
interface interface-name ;
}
bandwidth rate ;
cell-bundle-size cells ;
clear-dont-fragment-bit;
compression {
rtp {
f-max-period number ;
maximum-contexts number ;
port {
maximum port-number ;
minimum port-number ;
}
queues [ queue-numbers ];
}
}
compression-device interface-name ;
copy-tos-to-outer-ip-header;
description text ;
dialer-options {
activation-delay seconds ;
callback;
callback-wait-period seconds ;
deactivation-delay seconds ;
dial-string [ dial-string-numbers ];
idle-timeout seconds ;
incoming-map (accept-all | caller caller-number );
initial-route-check seconds ;
load-interval seconds ;
load-threshold percent ;
pool pool-name ;
redial-delay time ;
watch-list {
[ routes ];
}
}
disable;
disable-mlppp-inner-ppp-pfc;
dlci dlci-identifier ;
drop-timeout milliseconds ;
dynamic-call-admission-control {
activation-priority number ;
bearer-bandwidth-limit threshold ;
}
encapsulation type ;
epd-threshold cells plp1 cells ;
f-max-period number ;
fragment-threshold bytes ;
input-vlan-map {
(pop | pop-pop | pop-swap | push | push-push | swap |
swap-push | swap-swap);
inner-tag-protocol-id tpid;
inner-vlan-id number ;
tag-protocol-id tpid;
vlan-id number ;
}
interleave-fragments;
inverse-arp;
(keepalives | no-keepalives);
link-layer-overhead percent ;
minimum-links number ;
mrru bytes ;
multicast-dlci dlci-identifier ;
multicast-vci vpi-identifier.vci-identifier ;
multilink-max-classes number ;
multipoint number ;
multipoint;
oam-liveness {
up-count cells ;
down-count cells ;
}
oam-period (disable | seconds );
output-vlan-map {
(pop | pop-pop | pop-swap | push | push-push | swap |
swap-push | swap-swap);
inner-tag-protocol-id tpid;
inner-vlan-id number ;
tag-protocol-id tpid;
vlan-id number ;
}
passive-monitor-mode;
peer-unit unit-number ;
plp-to-clp;
point-to-point;
ppp-options {
chap {
access-profile name ;
default-chap-secret name ;
local-name name ;
passive;
}
compression {
acfc;
pfc;
}
lcp-restart-timer milliseconds ;
loopback-clear-timer seconds ;
ncp-restart-timer milliseconds ;
no-termination-request;
pap;
access-profile name ;
default-password password ;
local-name name ;
local-password password ;
passive;
}
}
pppoe-options {
access-concentrator name ;
auto-reconnect seconds ;
service-name name ;
underlying-interface interface-name ;
}
proxy-arp;
service-domain (inside | outside);
shaping{
(cbr rate | rtvbr peak rate sustained rate burst length |
vbr peak rate sustained rate burst length );
queue-length number ;
}
short-sequence;
three-color-policer {
input policer-name ;
output policer-name ;
}
transmit-weight number ;
(traps | no-traps);
trunk-bandwidth rate ;
trunk-id number ;
tunnel {
backup-destination address ;
destination address ;
key number ;
routing-instance {
destination routing-instance-name;
}
source source-address ;
ttl number ;
}
vci vpi-identifier.vci-identifier ;
vpi vpi-identifier ;
vlan-id number ;
vlan-tags inner tpid.vlan-id outer tpid.vlan-id ;
family family {
accounting {
destination-class-usage;
source-class-usage {
direction ;
}
}
address address {
arp ip-address (mac | multicast-mac) mac-address <publish>;
broadcast address ;
destination address ;
destination-profile name ;
eui-64;
multipoint-destination address dlci dlci-identifier ;
multipoint-destination address {
epd-threshold cells ;
inverse-arp;
oam-liveness {
up-count cells ;
down-count cells ;
}
oam-period ( disable | seconds );
shaping{
(cbr rate | rtvbr peak rate sustained rate burst length |
vbr peak rate sustained rate burst length );
queue-length number ;
}
vci vpi-identifier.vci-identifier ;
}
preferred;
primary;
vrrp-group group-number {
(accept-data | no-accept-data):
advertise-interval seconds ;
authentication-type authentication ;
authentication-key key ;
fast-interval milliseconds;
(preempt | no-preempt) {
hold-time seconds ;
}
priority number ;
track {
interface interface-name {
priority-cost priority ;
bandwidth-threshold bits-per-second {
priority-cost priority ;
}
}
priority-hold-time seconds ;
}
virtual-address [ addresses ];
}
web-authentication {
http;
}
}
bundle interface-name ;
dhcp {
client-identifier (ascii ascii | hexadecimal hexadecimal);
lease-time seconds;
retransmission-attempt number;
retransmission-interval seconds;
server-address ip-address;
update-server;
vendor-id vendor-id;
}
dialer filter-name;
filter {
group filter-group-number;
input filter-name;
input-list {
[filter-names];
}
output filter-name ;
output-list {
[filter-names];
}
}
keep-address-and-control;
mtu bytes ;
multicast-only;
next-hop-tunnel gateway-address ipsec-vpn vpn-name;
no-redirects;
policer {
arp policer-template-name;
input policer-template-name;
output policer-template-name;
}
primary;
proxy inet-address address ;
receive-options-packets;
receive-ttl-exceeded;
remote (inet-address address | mac-address address);
rpf-check <fail-filter filter-name> {
<mode loose>;
}
sampling {
direction ;
}
service {
input {
service-set service-set-name <service-filter filter-name >;
post-service-filter filter-name ;
}
output {
service-set service-set-name <service-filter filter-name >;
}
}
simple-filter {
input filter-name ;
}
(translate-discard-eligible | no-translate-discard-eligible);
(translate-fecn-and-becn | no-translate-fecn-and-becn);
unnumbered-address {
interface-name ;
destination destination-address ;
destination-profile profile-name ;
preferred-source-address interface-name ;
}
}
}
traceoptions {
flag flag <disable>;
}
}
traceoptions {
file filename <files number > <match regular-expression >
<size maximum-file-size > <world-readable | no-world-readable>;
flag flag <disable>;
}

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]