Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Physical Interface Configuration Statements Overview

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.

M Series, MX Series, T Series, and J Series routers are factory configured according to the specific router, its features, and its physical interfaces. This section includes a default configuration example showing the statements used to configure the physical interfaces properties. Additional statements are used to set properties for specific interface types and are described in Physical Interfaces Properties Statements List.

To modify any of the default general interface properties, include the appropriate statements at the [edit interfaces interface-name] hierarchy level:

Note: The following configuration hierarchy and its included statements are shown only as an example of a configuration statement hierarchy and should not be referenced for resolving actual configurations. For information on a specific hierarchy level, see the hierarchy level document for that specific hierarchy, for example [edit interfaces] Hierarchy Level.

interfaces {traceoptions {file filename <files number> <match regular-expression> <size size> <world-readable | no-world-readable>;flag flag <disable>;}interface-name {accounting-profile name;aggregated-ether-options {(flow-control | no-flow-control);lacp {(active | passive);link-protection{ disable;(revertive | non-revertive (Interfaces));periodic interval;system-priority priority;}link-protection;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 | internal | 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>;}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);invert-data;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);ignore-l3-incompletes;ingress-rate-limit rate;(loopback | no-loopback);mpls {pop-all-labels {required-depth number;}}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);ignore-l3-incompletes;(loopback | no-loopback);mpls {pop-all-labels {required-depth number;}}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;interface-set interface-set-name {interface ethernet-interface-name {(unit unit-number | vlan-tags-outer vlan-tag);}}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 | c-lmi);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);cisco-interoperability send-lip-remove-link-for-link-reject;drop-timeout milliseconds;fragment-threshold bytes;hello-timer milliseconds;link-layer-overhead percent;lmi-type (ansi | itu | c-lmi);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;}modem-options {dialin (console | routable);init-command-string initialization-command-string;}mtu bytes;multiservice-options {(core-dump | no-core-dump);(syslog | no-syslog);(dump-on-flow-control);flow-control-options {down-on-flow-control;dump-on-flow-control;reset-on-flow-control;}}native-vlan-id number;no-gratuitous-arp-request;no-keepalives;no-partition {interface-type type;}optics-options {wavelength nm;alarmalarm-name {(syslog | link-down);}warningwarning-name {(syslog | link-down);}}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;}dynamic-profile profile-name;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 | internal | 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;loopbackmode;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 | auto) | speed (auto | 1Gbps | 100Mbps | 10Mbps) | speed (oc3 | oc12 | oc48));stacked-vlan-tagging;switch-options {switch-port port-number {(auto-negotiation | no-auto-negotiation);speed (10m | 100m | 1g);link-mode (full-duplex | half-duplex);}}multicast-statisticst1-options {bert-algorithm algorithm;bert-error-rate rate;bert-period seconds;buildout value;byte-encoding (nx56 | nx64);crc-major-alarm-threshold (1e-3 | 5e-4 | 1e-4 | 5e-5 | 1e-5);crc-minor-alarm-threshold (1e-3 | 5e-4 | 1e-4 | 5e-5 | 1e-5 | 5e-6 | 1e-6);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);unidirectional;vlan-tagging;vlan-vci-tagging;unit logical-unit-number {logical-interface-statements;}}}

Published: 2013-08-01

Published: 2013-08-01