The software driver for each network media type sets reasonable default values for general interface properties, such as the interface’s maximum transmission unit (MTU) size, receive and transmit leaky bucket properties, link operational mode, and clock source. To modify any of the default general interface properties, include the appropriate statements at the [edit interfaces interface-name] hierarchy level:
-
interfaces {
-
-
traceoptions {
- file filename <files number> <size size> <world-readable |
no-world-readable>
- <match regexp>;
- flag flag <disable>;
- }
-
-
interface-name {
-
accounting-profile name;
-
-
aggregated-ether-options {
- (flow-control | no-flow-control);
-
-
lacp mode {
-
periodic interval;
- }
-
-
link-protection {
- (enable | disable);
-
revert;
- }
-
link-speed speed;
- (loopback | no-loopback);
-
minimum-links number;
-
-
source-address-filter {
-
mac-address
- }
- (source-filtering | no-source-filtering);
- }
-
-
aggregated-sonet-options {
-
link-speed speed | mixed;
-
minimum-links number;
- }
-
-
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 (high | low);
-
transmit-weight (cells number | percent number);
- }
-
vc-cos-mode (alternate | strict);
- }
-
-
vpi vpi-identifier {
- maximum-vcs maximum-vcs ;
-
-
oam-liveness {
- up-count cells;
- down-count cells;
- }
-
oam-period (seconds | disable);
-
-
shaping {
- (cbr rate | rtvbr peak rate sustained rate burst length | vbr peak rate sustained rate burst length);
-
queue-length number ;
- }
- }
- }
-
clocking clock-source;
-
data-input (system | interface interface-name);
-
dce;
-
-
serial-options {
-
clock-rate rate;
-
clocking-mode (dce | dte | loop);
-
control-polarity (negative | positive);
-
cts-polarity (negative | positive);
-
dcd-polarity (negative | positive);
-
-
dce-options {
-
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);
- }
-
dsr-polarity (negative | positive);
-
-
dte-options {
-
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);
- }
-
dtr-circuit (balanced | unbalanced);
-
dtr-polarity (negative | positive);
-
encoding (nrz | nrzi);
-
indication-polarity (negative | positive);
-
line-protocol protocol;
-
loopback mode;
-
rts-polarity (negative | positive);
-
tm-polarity (negative | positive);
-
transmit-clock invert;
- }
-
description text;
-
- dialer-options {
- pool pool-name <priority priority>;
-
-
modem-options {
- init-command-string initialization-command-string;
- }
- }
-
disable;
-
-
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;
-
start-end-flag (filler | shared);
- }
-
-
e1-options {
-
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 (filler | shared);
-
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 (filler | shared);
-
loopback (local | remote);
- (payload-scrambler | no-payload-scrambler);
-
start-end-flag (filler | shared);
- (unframed | no-unframed);
- }
-
encapsulation type;
-
-
es-options {
-
backup-interface es-fpc/pic/port;
- }
-
-
fastether-options {
-
802.3ad aex;
- (flow-control | no-flow-control);
-
ingress-rate-limit rate;
- (loopback | no-loopback);
-
-
source-address-filter {
-
mac-address;
- }
- (source-filtering | no-source-filtering);
- }
-
flexible-vlan-tagging;
-
-
gigether-options {
-
802.3ad aex;
- (asynchronous-notification | no-asynchronous-notification);
- (auto-negotiation | no-auto-negotiation) remote-fault <local-interface-online |
local-interface-offline>;
-
auto-reconnect seconds;
- (flow-control | no-flow-control);
- (loopback | no-loopback);
-
-
source-address-filter {
-
mac-address;
- }
- (source-filtering | no-source-filtering);
-
-
ethernet-switch-profile {
- (mac-learn-enable | no-mac-learn-enable);
-
tag-protocol-id [ tpids ];
-
-
ethernet-policer-profile {
-
-
input-priority-map {
-
ieee802.1p premium [ values ];
- }
-
-
output-priority-map {
-
-
classifier {
-
-
premium {
-
-
forwarding-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;
- }
- }
- }
- }
- }
- (gratuitous-arp-reply | no-gratuitous-arp-reply);
-
hold-time up milliseconds down milliseconds;
-
- isdn-options {
-
bchannel-allocation (ascending | descending);
-
calling-number number;
-
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>;
-
link-mode mode;
-
-
lmi {
-
lmi-type (ansi | itu);
- n391dte number;
- n392dce number;
- n392dte number;
- n393dce number;
- n393dte number;
- t391dte seconds;
- t392dce seconds;
- }
-
- lsq-failure-options {
- no-termination-request;
- [ trigger-link-failure interface-name];
- }
-
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;
- cisco-interoperability send-lip-remove-link-for-link-reject;
-
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;
-
encapsulation type;
- }
-
mtu bytes;
-
-
multiservice-options {
- (core-dump | no-core-dump);
- (syslog | no-syslog);
- }
-
native-vlan-id number;
-
no-gratuitous-arp-request;
-
no-keepalives;
-
-
no-partition {
-
interface-type type;
- }
-
-
optics-options {
-
wavelength nm;
- }
-
partition partition-number oc-slice oc-slice-range interface-type type
-
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;
-
-
pap {
-
access-profile name;
-
local-name name;
-
local-password password;
-
passive;
- }
- }
-
-
receive-bucket {
-
overflow (discard | tag);
-
rate percentage;
-
threshold bytes;
- }
-
-
redundancy-options {
-
primary sp-fpc/pic/port;
-
secondary sp-fpc/pic/port;
- }
- schedulers number;
-
-
serial-options {
-
clock-rate rate;
-
clocking-mode (dce | dte | loop);
-
control-polarity (negative | positive);
-
cts-polarity (negative | positive);
-
dcd-polarity (negative | positive);
-
-
dce-options {
-
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);
- }
-
dsr-polarity (negative | positive);
-
-
dte-options {
-
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);
- }
-
dtr-circuit (balanced | unbalanced);
-
dtr-polarity (negative | positive);
-
encoding (nrz | nrzi);
-
indication-polarity (negative | positive);
-
line-protocol protocol;
-
loopback mode;
-
rts-polarity (negative | positive);
-
tm-polarity (negative | positive);
-
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);
-
-
snr-margin {
-
current margin;
-
snext margin;
- }
- }
-
-
sonet-options {
-
aggregate asx;
-
-
aps {
-
advertise-interval milliseconds;
-
authentication-key key;
-
force;
-
hold-time milliseconds;
-
lockout;
-
neighbor address;
-
paired-group group-name;
-
preserve-interface;
-
protect-circuit group-name;
-
request;
-
revert-time seconds;
-
switching-mode (bidirectional | unidirectional);
-
working-circuit group-name;
- }
-
-
bytes {
- c2 value;
- e1-quiet value;
- f1 value;
- f2 value;
- s1 value;
- z3 value;
- z4 value;
- }
-
fcs (16 | 32);
-
loopback (local | remote);
-
-
mpls {
-
-
pop-all-labels {
-
required-depth number;
- }
- }
-
path-trace trace-string;
- (payload-scrambler | no-payload-scrambler);
-
rfc-2615;
-
-
trigger {
-
defect ignore;
-
hold-time up milliseconds down milliseconds;
- }
-
vtmapping (itu-t | klm);
- (z0-increment | no-z0-increment);
- }
-
speed (10m | 100m | 1g | oc3
| oc12 | oc48);
-
stacked-vlan-tagging;
-
-
t1-options {
-
bert-algorithm algorithm;
-
bert-error-rate rate;
-
bert-period seconds;
-
buildout value;
-
byte-encoding (nx56 | nx64);
-
fcs (16 | 32);
-
framing (esf | sf);
-
idle-cycle-flag (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);
- (mac | no-mac);
- (payload-scrambler | no-payload-scrambler);
-
start-end-flag (filler | shared);
- }
-
-
traceoptions {
- flag flag <flag-modifier> <disable>;
- }
-
-
transmit-bucket {
-
overflow discard;
-
rate percentage;
-
threshold bytes;
- }
- (traps | no-traps);
-
-
unit logical-unit-number {
-
logical-interface-statements;
- }
-
vlan-tagging;
- }
- }
For information about interface-specific physical properties, see Interface Types.
Table 8 lists statements that you can use to configure physical interfaces.
Table 8: Statements for Physical Interface Properties
|
Statement |
Interface Types |
Usage Guidelines |
|---|---|---|
|
Aggregated Ethernet interfaces |
Configuring Ethernet Link Aggregation or Configuring Aggregated Ethernet Interfaces |
|
Interfaces with Point-to-Point Protocol (PPP) encapsulation |
Configuring the PPP Challenge Handshake Authentication Protocol |
|
All |
|
|
Interfaces with PPP encapsulation |
|
|
Link services and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Link services and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Link services and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
SONET/SDH interfaces |
|
|
Gigabit Ethernet intelligent queuing (IQ) interfaces and Gigabit Ethernet interfaces with small form-factor pluggable transceivers (SFPs) (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i platform) |
|
|
Aggregated SONET/SDH interfaces |
|
|
Aggregated Ethernet interfaces |
|
|
SONET/SDH interfaces |
|
|
Aggregated SONET/SDH interfaces |
|
|
ATM interfaces on J-series Services Routers |
Configuring SHDSL Operating Mode on an ATM Physical Interface |
|
SONET/SDH interfaces |
|
|
E3 and T3 traffic over Asynchronous Transfer Mode (ATM) interfaces |
|
|
ATM1 and ATM2 IQ interfaces |
|
|
SONET/SDH interfaces |
|
|
E1, E3, T1, T3 and Fast Ethernet |
|
|
Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i platform) |
|
|
J-series Services Routers equipped with a Dual-Port Channelized T1/E1 PIM; for Integrated Services Digital Network Primary Rate Interfaces (ISDN PRI) |
|
|
E3, T1, T3, multichannel DS3, channelized interfaces (DS3, OC12, and STM1), and channelized IQ interfaces (E1 and DS3) |
|
|
E1, E3, T1, T3, and channelized interfaces (DS3, OC3, OC12, and STM1) |
|
|
E1, E3, T1, T3, and channelized interfaces (DS3, OC12, and STM1) |
|
|
T1 interfaces |
|
|
E3 and T3 traffic over ATM interfaces |
|
|
Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i platform) |
|
|
DS0 and T1 interfaces |
|
|
SONET/SDH interfaces |
|
|
T3 interfaces |
|
|
ATM interfaces |
|
|
ATM2 IQ interfaces using ATM Layer 2 circuit cell-relay transport mode |
|
|
Interfaces with PPP encapsulation |
Configuring the PPP Challenge Handshake Authentication Protocol |
|
link services IQ (lsq) interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Gigabit Ethernet IQ interfaces |
|
|
ATM, DS0, E1, E3, SONET/SDH, T1, and T3 interfaces |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
E3 and T3 interfaces |
Configuring the E3 CSU Compatibility Mode and Configuring the T3 CSU Compatibility Mode |
|
Interfaces with PPP encapsulation. |
|
|
Serial interfaces (X.21) |
|
|
Serial interfaces (X.21) |
|
|
Adaptive services, monitoring services, and collector interfaces |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
ATM interfaces on J-series Services Routers |
Configuring SHDSL Operating Mode on an ATM Physical Interface |
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Interfaces with Frame Relay encapsulation |
|
|
Serial interfaces (EIA-530, V.35, and X.21) on J-series Services Routers. |
|
|
Interfaces with Point-to-Point Protocol (PPP) encapsulation |
|
|
All |
|
|
ISDN interfaces |
|
|
All |
Disabling a Physical Interface, Tracing Operations of an Individual Router Interface, and Tracing Operations of an Individual Router Interface |
|
ATM interfaces |
|
|
Multilink, link services, and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
DS0 interfaces |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530, V.35, and X.21) on M-series and T-series routing platforms. |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
Serial interfaces (EIA-530 and V.35) |
|
|
E1 interfaces |
|
|
E3 interfaces |
|
|
All interfaces, except loopback and multicast tunnel |
|
|
Serial interfaces (EIA-530, V.35, and X.21) |
|
|
ATM2 interfaces |
|
|
ES interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC, and the built-in Gigabit Ethernet port on the M7i platform) |
|
|
Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC, Aggregated Ethernet with Gigabit Ethernet IQ interfaces, and the built-in Gigabit Ethernet port on the M7i platform) |
Configuring Gigabit Ethernet Policers, Configuring MAC Address Filtering, and Configuring the Management Ethernet Interface |
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Fast Ethernet interfaces |
|
|
E1/E3, SONET/SDH, and T1/T3 interfaces |
Configuring the E1 Frame Checksum, Configuring the E3 Frame Checksum, Configuring the SONET/SDH Frame Checksum, Configuring the T1 Frame Checksum, and Configuring the T3 Frame Checksum |
|
T3 interfaces |
|
|
Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces |
|
|
SONET/SDH interfaces |
|
|
Gigabit Ethernet IQ and ATM2 interfaces |
Configuring ATM2 IQ VC Tunnel CoS Components and Specifying an Output Priority Map |
|
Multilink, link services, and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
10-gigabit Ethernet, SONET, E1, E3, and T1 interfaces |
Configuring E3 and T3 Parameters on ATM Interfaces, Configuring E1 Framing, and Configuring T1 Framing, Configuring 10-Gigabit Ethernet Framing, and Configuring SONET Options for 10-Gigabit Ethernet Interfaces. |
|
Gigabit Ethernet interfaces |
|
|
Ethernet interfaces |
|
|
Link services and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
ATM2 interfaces |
|
|
ATM2 interfaces |
|
|
SONET/SDH interfaces |
|
|
All interfaces, except aggregated SONET/SDH, generalized routing encapsulation (GRE) tunnel, and IP tunnel |
Damping Interface Transitions and Configuring SONET/SDH Defect Triggers to Be Ignored |
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Gigabit Ethernet IQ interfaces |
|
|
E1, E3, T1, and T3 interfaces |
Configuring the E1 Idle Cycle Flag, Configuring the E3 Idle Cycle Flag, Configuring the T1 Idle Cycle Flag, and Configuring the T3 Idle Cycle Flag |
|
Serial interfaces (EIA-530, V.35, and X.21) |
|
|
ATM interfaces |
Configuring Communication with Directly Attached ATM Switches and Routers |
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Serial interfaces (X.21) |
|
|
Serial interfaces (X.21) |
|
|
8-port, 12-port, and 48-port Fast Ethernet interfaces |
|
|
For USB ports (umd0) on J4350 and J6350 Services Routers. |
|
|
Gigabit Ethernet IQ interfaces |
|
|
Channelized IQ interfacesISDN interfaces |
|
|
DS0, E1, and T1 interfaces |
Configuring E1 Data Inversion and Configuring T1 Data Inversion |
|
ISDN interfaces |
|
|
Aggregated SONET/SDH, DS0, E1, E3, SONET/SDH, T1, and T3 interfaces |
|
|
Aggregated Ethernet interfaces |
|
|
T1 interfaces |
|
|
Serial interfaces (EIA-530, V.35, and X.21) |
|
|
ATM interfaces on J-series Services Routers |
Configuring SHDSL Operating Mode on an ATM Physical Interface |
|
ATM2 interfaces |
|
|
ATM2 interfaces |
|
|
AS PIC link services IQ interfaces (lsq) |
JUNOS Services Interfaces Configuration Guide |
|
Management Ethernet (fxp0) and Fast Ethernet interfaces |
|
|
Aggregated Ethernet and aggregated SONET/SDH interfaces |
Configuring Aggregated Ethernet Link Speed and Configuring Aggregated SONET/SDH Link Speed |
|
Interfaces with Frame Relay encapsulation |
Configuring Tunable Keepalives for Frame Relay LMI and JUNOS Services Interfaces Configuration Guide |
|
Link services interfaces and interfaces with Frame Relay encapsulation |
|
|
Interfaces with PPP encapsulation |
Configuring the PPP Challenge Handshake Authentication Protocol |
|
SONET/SDH interfaces |
|
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
T3 interfaces |
|
|
Channelized IQ interfaces |
|
|
DS0, E1, E3, T1, T3, Ethernet, SONET/SDH, ATM interfaces on J-series Services Routers, serial interfaces (EIA-530, V.35, and X.21), and 10-gigabit Ethernet interfaces in WAN PHY mode |
Configuring E1 Loopback Capability, Configuring E3 Loopback Capability, Configuring Ethernet Loopback Capability, Configuring Serial Loopback Capability, Configuring Channelized IQ SONET/SDH Loop Timing, Configuring T1 Loopback Capability, Configuring T3 Loopback Capability, Configuring SHDSL Operating Mode on an ATM Physical Interface, and Configuring SONET Options for 10-Gigabit Ethernet Interfaces |
|
Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces |