Configuring Physical Interface Properties
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 interfacesinterface-name]hierarchy level:interfaces {interface-name{accounting-profilename;aggregated-ether-options {aggregated-ether-interface-options;}aggregated-sonet-options {aggregated-sonet-interface-options;}atm-options{atm-interface-options;}clockingclock-source;dce;descriptiontext;disable;ds0-options {ds0-interface-options;}e1-options {e1-interface-options;}e3-options{e3-interface-options;}encapsulationtype;es-options{es-interface-options;}fastether-options{fastether-interface-options;}gigether-options{gigether-interface-options;}(gratuitous-arp-reply| no-gratuitous-arp-reply);hold-timeupmillisecondsdownmilliseconds;keepalives <down-countnumber> <intervalseconds> <up-countnumber>;link-modemode;lmi{lmi-type (ansi | itu);n391dtenumber;n392dcenumber;n392dtenumber;n393dcenumber;n393dtenumber;t391dteseconds;t392dceseconds;}macmac-address;mlfr-uni-nni-bundle-options{mlfr-interface-options;}mtubytes;multiservice-options{boot-commandfilename;(core-dump | no-core-dump);(syslog | no-syslog);}no-gratuitous-arp-request;no-keepalives;no-partition {interface-typetype;}partitionpartition-numberoc-sliceoc-slice-rangeinterface-typetype{timeslotstime-slot-range;}passive-monitor-mode;per-unit-scheduler;ppp-options {chap {access-profilename;local-namename;passive;}}receive-bucket{overflow (discard | tag);ratepercentage;thresholdbytes;}serial-options {serial-interface-options;}services-options {service-interface-options;}sonet-options{sonet-interface-options;}speed(10m | 100m);stacked-vlan-tagging;t1-options {t1-interface-options;}t3-options{t3-interface-options;}traceoptions{flagflag<flag-modifier> <disable>;}transmit-bucket{overflow discard;ratepercentage;thresholdbytes;}(traps | no-traps);unit {logical-interface-statements;}vlan-tagging;}}This chapter discusses configuration of the following physical interface properties:
- Adding an Interface Description to the Configuration
- Configuring the Link Characteristics
- Configuring the Media MTU
- Configuring Interface Encapsulation
- Configuring the PPP Challenge Handshake Authentication Protocol
- Configuring the Interface Speed
- Configuring Keepalives
- Configuring the Clock Source
- Configuring the Router as a DCE
- Configuring Receive and Transmit Leaky Bucket Properties
- Configuring Accounting for the Physical Interface
- Configuring BERT Properties
- Tracing Operations of an Individual Router Interface
- Damping Interface Transitions
- Configuring Multiservice Physical Interface Properties
- Enabling or Disabling SNMP Notifications on Physical Interfaces
- Disabling a Physical Interface
For information about interface-specific physical properties, see Interface Types.
Table 4 lists statements that you can use to configure physical interfaces.
Table 4: Statements for Physical Interface Properties
802.3adaexConfiguring Ethernet Link Aggregation or Configuring Aggregated Ethernet Interfaces
access-profilenameConfiguring the PPP Challenge Handshake Authentication Protocol
accounting-profilename
acknowledge-retriesnumber
acknowledge-timermilliseconds
action-red-differential-delay(disable-tx | remove-link)
advertise-intervalmillisecondsGigabit 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)
aggregateasx
atm-encapsulation(direct | plcp)E3 and T3 traffic over Asynchronous Transfer Mode (ATM) interfaces
bandwidth-limitbpsGigabit 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)
bert-algorithmalgorithmE3, T1, T3, multichannel DS3, channelized interfaces (DS3, OC12, and STM1), and channelized IQ interfaces (E1 and DS3)
bert-error-raterateE1, E3, T1, T3, and channelized interfaces (DS3, OC3, OC12, and STM1)
bert-periodsecondsE1, E3, T1, T3, and channelized interfaces (DS3, OC12, and STM1)
boot-commandfilenameAdaptive services, monitoring services, and collector interfaces
boot-commandlengthGigabit 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)
buildoutvalue
buildoutfeet
burst-size-limitbytesGigabit 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)
byte-encoding(nx64 | nx56)
bytes[values]
cell-bundle-sizecellsATM2 IQ interfaces using ATM Layer 2 circuit cell-relay transport mode
(cbit-parity| no-cbit-parity)
cbrrateConfiguring the PPP Challenge Handshake Authentication Protocol
clock-raterate
clockingclock-sourceclocking-mode(dce | dte | loop)
compatibility-mode(adtran | digital-link | kentrox | larscom | verilink) <subratevalue>Configuring the E3 CSU Compatibility Mode and Configuring the T3 CSU Compatibility Mode
control-polarity(positive | negative)
control-signal(assert | de-assert | normal)Adaptive services, monitoring services, and collector interfaces
cts(ignore | normal | require)cts-polarity(positive | negative)
dcd(ignore | normal | require)dcd-polarity(positive | negative)
descriptiontextdrop-timeoutmillisecondsdsr(ignore | normal | require)dsr-polarity(positive | negative)dtrsignal-handling-optiondtr-circuit(balanced | unbalanced)dtr-polarity(positive | negative)
encapsulationtypeencoding(nrz | nrzi)epd-thresholdcellsGigabit 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 and the built-in Gigabit Ethernet port on the M7i platform)
Configuring Gigabit Ethernet Policers, Configuring MAC Address Filtering, and Stacking and Rewriting Gigabit Ethernet IQ VLAN Tags
facility-overridefacility-name
fcs(32 | 16)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
(feac-loop-respond| no-feac-loop-respond)
(flow-control| no-flow-control)Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces
forwarding-classclass-nameConfiguring ATM2 IQ VC Tunnel CoS Components and Specifying an Output Priority Map
fragment-thresholdbytes
framing(g704 | g704-no-crc4 | g.751 | g.832 | unframed | sf | esf)Configuring E3 and T3 Parameters on ATM Interfaces, Configuring E1 Framing, and Configuring T1 Framing
hello-timermillisecondshigh-plp-thresholdpercent
hold-timemilliseconds
hold-timeupmillisecondsdownmillisecondsAll 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
hosthostname
ieee802.1ppremium [values]
idle-cycle-flagvalueConfiguring the E1 Idle Cycle Flag, Configuring the E3 Idle Cycle Flag, Configuring the T1 Idle Cycle Flag, and Configuring the T3 Idle Cycle Flag
ignore-allilmiConfiguring Communication with Directly Attached ATM Switches and Routers
inactivity-timeoutsecondsindication(ignore | normal | require)indication-polarity(positive | negative)
ingress-rate-limitrate
interface-typetypeConfiguring E1 Data Inversion and Configuring T1 Data Inversion
keepalives<down-countnumber> <intervalseconds> <up-countnumber>Aggregated SONET/SDH, DS0, E1, E3, SONET/SDH, T1, and T3 interfaces
lacpmode
log-prefixprefix-numberline-encoding(ami | b8zs)line-protocolprotocollinear-red-profileprofile-namelinear-red-profilesprofile-name
link-modemode
link-speedspeedConfiguring Aggregated Ethernet Link Speed and Configuring Aggregated SONET/SDH Link Speed
lmilmi-optionsConfiguring Tunable Keepalives for Frame Relay LMI and Configuring Link Services Keepalive Settings on Frame Relay LMI
lmi-type(ansi | itu)Link services interfaces and interfaces with Frame Relay encapsulation
local-namenameConfiguring the PPP Challenge Handshake Authentication Protocol
(long-buildout| no-long-buildout)(loop-timing| no-loop-timing)loopbackmodeDS0, E1, E3, T1, T3, Ethernet, SONET/SDH, and serial interfaces (EIA-530, V.35, and X.21)
Configuring E1 Loopback Capability, Configuring E3 Loopback Capability, Configuring Ethernet Loopback Capability, Configuring Serial Loopback Capability, Configuring SONET/SDH Loopback Capability, Configuring T1 Loopback Capability, and Configuring T3 Loopback Capability
Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces
loss-priority(high | low)low-plp-max-thresholdpercent
macmac-addressConfiguring the MAC Address on the Management Ethernet Interface
(mac-learn-enable| no-mac-learn-enable)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)
maximum-vcsmaximum-vcs
minimum-linksnumber
mlfr-uni-nni-bundle-optionsbundle-optionsRemoving MPLS Labels from Incoming Packets and "Removing MPLS Labels from Incoming Packets"
mrrubytes
mtubytesAll interfaces, except management Ethernet (
fxp0), loopback, multilink, and multicast tunnelAdaptive services, monitoring services, and collector interfaces
n391number
n392number
n393number
neighboraddressInterfaces with PPP, Frame Relay, or Cisco High-level Data Link Control (HDLC) encapsulation
oam-period(disable |seconds)
oc-sliceoc-slice-rangeopen-timeoutseconds
overflow(discard | tag)All interfaces, except ATM, channelized E1, E1, Fast Ethernet, Gigabit Ethernet, and channelized IQ
Configuring Receive and Transmit Leaky Bucket Properties and "Configuring Receive and Transmit Leaky Bucket Properties"
paired-groupgroup-name
partitionpartition-numberConfiguring the PPP Challenge Handshake Authentication Protocol
path-tracetrace-string
(payload-scrambler| no-payload-scrambler)Configuring E3 and T3 Parameters on ATM Interfaces, Configuring E3 HDLC Payload Scrambling, Configuring SONET/SDH HDLC Payload Scrambling, Configuring T3 HDLC Payload Scrambling, and Examples: Configuring T3 Interfaces
plp1cells
policercos-policer-nameGigabit 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)
Removing MPLS Labels from Incoming Packets and "Removing MPLS Labels from Incoming Packets"
Configuring the PPP Challenge Handshake Authentication Protocol
Configuring Gigabit Ethernet Policers and Specifying an Output Priority Map
promiscuous-modevpivpi-identifier
protect-circuitgroup-namequeue-depthcells
queue-lengthnumber
ratepercentageAll interfaces, except ATM, channelized E1, E1, Fast Ethernet, Gigabit Ethernet, and channelized IQ
Configuring Receive and Transmit Leaky Bucket Properties and "Configuring Receive and Transmit Leaky Bucket Properties"
All interfaces, except ATM, Fast Ethernet, and Gigabit Ethernet
red-differential-delaymilliseconds
required-depthnumberRemoving MPLS Labels from Incoming Packets and "Removing MPLS Labels from Incoming Packets"
revert-timesecondsrts(assert | de-assert | normal)rts-polarity(positive | negative)
rtvbrpeakratesustainedrateburstlength
scheduler-mapsmap-name
[servicespriority-level]
source-address-filtermac-addressAggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces
(
source-filtering| no-source-filtering)Aggregated Ethernet, Fast Ethernet, Gigabit Ethernet, Gigabit Ethernet IQ, and Gigabit Ethernet interfaces with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i platform)
speed(10m | 100m)Management Ethernet interface (
fxp0) and 12-port and 48-port Fast Ethernet interfaces
start-end-flag(shared | filler)Configuring E1 Start End Flags, Configuring the E3 Start End Flags, Configuring T1 Start End Flags, and Configuring the T3 Start End Flags
switching-mode(bidirectional | unidirectional)Unchannelized OC3, OC12, and OC48 SONET/SDH interfaces on T-series platforms
Configuring Switching Between the Working and Protect Circuits
Adaptive services, monitoring services, and collector interfaces
t391seconds
t392number
tag-protocol-id[tpids]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)
thresholdbytesAll interfaces, except ATM, channelized E1, E1, Fast Ethernet, Gigabit Ethernet, and channelized IQ
Configuring Receive and Transmit Leaky Bucket Properties and "Configuring Receive and Transmit Leaky Bucket Properties"
timeslotstime-slot-rangetm(ignore | normal | require)tm-polarity(positive | negative)All interfaces, except ATM, Fast Ethernet, and Gigabit Ethernet
transmit-clockinvertEnabling or Disabling SNMP Notifications on Physical Interfaces
triggerdefectignore
vbrpeakratesustainedrateburstlength
vpivpi-identifierConfiguring ATM Cell-Relay Promiscuous Mode and Configuring the Maximum Number of ATM1 VCs on a VP
Configuring Virtual Tributary Mapping of Channelized STM1 Interfaces
working-circuitgroup-name
yellow-differential-delaymilliseconds
(z0-increment| no-z0-increment)
You specify aggregated interfaces by assigning a number for the aggregated interface. For aggregated Ethernet interfaces, configure
aexas in the following example:[edit interfaces]ae0 {...}For aggregated SONET/SDH interfaces, configure
asxas in the following example:[edit interfaces]as0 {...}The maximum number of aggregated interfaces is 16, and the assigned number can be from 0 through 15. You should not mix SONET and SDH mode on the same aggregated interface.
NOTE: SONET/SDH aggregation is proprietary to the JUNOS software and might not work with other software.
For aggregated Ethernet interfaces, you must include the
vlan-taggingstatement at the[edit interfaces aex]hierarchy level to complete the association.For more information, see Configuring Aggregated Ethernet Interfaces and Configuring Aggregated SONET/SDH Interfaces.