Configure 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;}service-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:
- Add an Interface Description to the Configuration
- Configure the Link Characteristics
- Configure the Media MTU
- Configure Interface Encapsulation
- Configure PPP Challenge Handshake Authentication Protocol
- Configure the Interface Speed
- Configure Keepalives
- Configure the Clock Source
- Configure the Router as a DCE
- Configure Receive and Transmit Leaky Bucket Properties
- Configure Accounting for the Physical Interface
- Configure BERT Properties
- Trace Operations of an Individual Router Interface
- Damp Interface Transitions
- Configure Multiservice Physical Interface Properties
- Enable or Disable SNMP Notifications on Physical Interfaces
- Disable a Physical Interface
For information about interface-specific physical properties, see Interface Types.
Table 2 lists statements that you can use to configure physical interfaces.
Table 2: Statements for Physical Interface Properties
802.3adaexConfigure Ethernet Link Aggregation or Configure Aggregated Ethernet Interfaces
access-profilename
accounting-profilename
acknowledge-retriesnumber
acknowledge-timermilliseconds
action-red-differential-delay(disable-tx | remove-link)
advertise-intervalmillisecondsGigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with small form-factor pluggable transceivers (SFPs)
aggregateasx
atm-encapsulation(direct | plcp)
bandwidth-limitbpsGigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
bert-algorithmalgorithmE3, T1, T3, multichannel DS-3, channelized interfaces (DS-3, OC-12, STM-1), and channelized IQ interfaces (E1 and DS-3)
bert-error-raterateE1, E3, T1, T3, and channelized interfaces (DS-3, OC-3, OC-12, STM-1)
bert-periodsecondsE1, E3, T1, T3, and channelized interfaces (DS-3, OC-12, STM-1)
boot-commandfilenameAdaptive services, monitoring services, and collector interfaces
boot-commandlengthGigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
buildout(0-132 | 133-265 | 266-398 | 399-531 | 532-655)
buildoutfeet
burst-size-limitbytesGigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
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)
cbrrate
clock-raterate
clockingclock-sourceclocking-mode(dce | dte | loop)
compatibility-mode(adtran | digital-link | kentrox | larscom | verilink) <subratevalue>Configure the E3 CSU Compatibility Mode and Configure 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 interfaces and Gigabit Ethernet interfaces with SFPs
Gigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
Configure Gigabit Ethernet Policers, Configure MAC Address Filtering, and Stacking and Rewriting Gigabit Ethernet IQ VLAN Tags
facility-overridefacility-name
fcs(32 | 16)Configure the E1 Frame Checksum, Configure the E3 Frame Checksum, Configure the SONET/SDH Frame Checksum, Configure the T1 Frame Checksum, and Configure 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-nameConfigure ATM2 IQ VC Tunnel CoS Components and Specify an Output Priority Map
fragment-thresholdbytes
framing(g704 | g704-no-crc4 | g.751 | g.832 | unframed | sf | esf)Configure E1 Framing, Configure E3 and T3 Parameters on ATM Interfaces, and Configure T1 Framing
hello-timermillisecondshigh-plp-thresholdpercent
hold-timemilliseconds
hold-timeupmillisecondsdownmillisecondsAll interfaces, except aggregated SONET/SDH, GRE tunnel, and IP tunnel
Damp Interface Transitions and Configure SONET/SDH Defect Triggers to be Ignored
hosthostname
ieee802.1ppremium [values]
idle-cycle-flagvalueConfigure the E1 Idle Cycle Flag, Configure the E3 Idle Cycle Flag, Configure the T1 Idle Cycle Flag, and Configure the T3 Idle Cycle Flag
ignore-allilmiConfigure Communication with Directly Attached ATM Switches and Routers
inactivity-timeoutsecondsindication(ignore | normal | require)indication-polarity(positive | negative)
ingress-rate-limitrate
interface-typetype
keepalives<down-countnumber> <intervalseconds> <up-countnumber>Aggregated SONET/SDH, DS-0, 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-speedspeedConfigure Aggregated Ethernet Link Speed and Configure Aggregated SONET/SDH Link Speed
lmilmi-optionsConfigure Tunable Keepalives for Frame Relay LMI and Configure Link Services Keepalive Settings on Frame Relay LMI
lmi-type(ansi | itu)Link services interfaces and interfaces with Frame Relay encapsulation
local-namename(long-buildout| no-long-buildout)(loop-timing| no-loop-timing)loopbackmodeDS-0, E1, E3, T1, T3, Ethernet, SONET/SDH, and serial interfaces (EIA-530, V.35, and X.21)
Configure Ethernet Loopback Capability, Configure E1 Loopback Capability, Configure E3 Loopback Capability, Configure SONET/SDH Loopback Capability, Configure T1 Loopback Capability, Configure T3 Loopback Capability, and Configure Serial Loopback Capability
Aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces
loss-priority(high | low)low-plp-max-thresholdpercent
macmac-addressConfigure the MAC Address on the Management Ethernet Interface
macmac-addressConfigure the MAC Address on the Management Ethernet Interface
(mac-learn-enable| no-mac-learn-enable)Gigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
maximum-vcsmaximum-vcs
minimum-linksnumber
mlfr-uni-nni-bundle-optionsbundle-optionsRemove MPLS Labels from Incoming Packets and "Remove 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 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
Configure Receive and Transmit Leaky Bucket Properties and "Configure Receive and Transmit Leaky Bucket Properties"
paired-groupgroup-name
partitionpartition-number
path-tracetrace-string
(payload-scrambler| no-payload-scrambler)Configure E3 and T3 Parameters on ATM Interfaces, Configure E3 HDLC Payload Scrambling, Configure SONET/SDH HDLC Payload Scrambling, Configure T3 HDLC Payload Scrambling, and Examples: Configure T3 Interfaces
policercos-policer-nameGigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
Remove MPLS Labels from Incoming Packets and "Remove MPLS Labels from Incoming Packets"
Configure Gigabit Ethernet Policers and Specify 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
Configure Receive and Transmit Leaky Bucket Properties and "Configure Receive and Transmit Leaky Bucket Properties"
All interfaces, except ATM, Fast Ethernet, and Gigabit Ethernet
red-differential-delaymilliseconds
required-depthnumberRemove MPLS Labels from Incoming Packets and "Remove MPLS Labels from Incoming Packets"
revert-timesecondsrts(assert | de-assert | normal)rts-polarity(positive | negative)
rtvbrpeakratesustainedrateburstlength
scheduler-mapsmap-nameJUNOS Internet Software Services Interfaces Configuration Guide
[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
speed(10m | 100m)Management Ethernet interface (
fxp0) and 12-port and 48-port Fast Ethernet interfaces
start-end-flag(shared | filler)Configure E1 Start End Flags, Configure the E3 Start End Flags, Configure T1 Start End Flags, and Configure the T3 Start End Flags
switching-mode(bidirectional | unidirectional)Unchannelized OC-3, OC-12, and OC-48 SONET/SDH interfaces on T-series platforms
Configure Switching between the Working and Protect Circuits
Adaptive services, monitoring services, and collector interfaces
t391seconds
t392number
tag-protocol-id[tpids]Gigabit Ethernet IQ interfaces and Gigabit Ethernet interfaces with SFPs
thresholdbytesAll interfaces, except ATM, channelized E1, E1, Fast Ethernet, Gigabit Ethernet, and channelized IQ
Configure Receive and Transmit Leaky Bucket Properties and "Configure 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-clockinverttriggerdefectignore
vbrpeakratesustainedrateburstlength
vpivpi-identifierConfigure Virtual Tributary Mapping of Channelized STM-1 IQ Interface
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 range 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 Configure Aggregated Ethernet Interfaces and Configure Aggregated SONET/SDH Interfaces.