Configuring Logical Interface Properties
For a physical interface device to function, you must configure at least one logical interface on that device. For each logical interface, you must specify the protocol family that the interface supports. You can also configure other logical interface properties. These vary by Physical Interface Card (PIC) and encapsulation type, but include the IP address of the interface, and whether the interface supports multicast traffic, data-link connection identifiers (DLCIs), virtual channel identifiers (VCIs) and virtual path identifiers (VPIs), and traffic shaping.
To configure logical interface properties, include the following statements:
unitlogical-unit-number{accept-source-mac{mac-addressmac-address{policer{inputcos-policer-name;outputcos-policer-name;}}}accounting-profilename;allow-any-vci;atm-scheduler-map (map-name| default);backup-options {interfaceinterface-name;}bandwidthrate;cell-bundle-sizecells;clear-dont-fragment-bit;compression{rtp{f-max-periodnumber;queues[queue-numbers];port{minimumport-number;maximumport-number;}}}compression-deviceinterface-name;copy-tos-to-outer-ip-header;descriptiontext;dial-options{l2tp-interface-idname;(dedicated | shared);}dialer-options{activation-delayseconds;callback;callback-wait-periodtime;deactivation-delayseconds;dial-string[dial-string-numbers];idle-timeoutseconds;incoming-map {callercaller-id)|accept-all;{initial-route-checkseconds;load-intervalseconds;load-thresholdnumber;poolpool-name;redial-delaytime;watch-list {[routes];}}disable;disable-mlppp-inner-ppp-pfc;dlcidlci-identifier;drop-timeoutmilliseconds;dynamic-call-admission-control {activation-prioritypriority;bearer-bandwidth-limitkilobits-per-second;}encapsulationtype;epd-threshold cells plp1cells;familyfamily{filterfilter-name;{fragment-thresholdbytes;input-vlan-map{(pop|pop-pop | pop-swap |push|push-push |swap|swap-push | swap-swap);inner-tag-protocol-id;inner-vlan-id;tag-protocol-idtpid;vlan-idnumber;}interleave-fragments;inverse-arp;link-layer-overheadpercent;layer2-policer {input-policerpolicer-name;input-three-colorpolicer-name;output-policerpolicer-name;output-three-colorpolicer-name;}}minimum-linksnumber;mrrubytes;multicast-dlcidlci-identifier;multicast-vcivpi-identifier.vci-identifier;multilink-max-classesnumber;multipoint;oam-liveness{up-countcells;down-countcells;}oam-period(seconds| disable);output-vlan-map{(pop|pop-pop | pop-swap |push|push-push |swap|swap-push | swap-swap);inner-tag-protocol-id;inner-vlan-id;tag-protocol-idtpid;vlan-idnumber;}passive-monitor-mode;peer-unitunit-number;plp-to-clp;point-to-point;ppp-options {chap {access-profilename;local-namename;passive;}compression{acfc;pfc;}lcp-restart-timermilliseconds;ncp-restart-timermilliseconds;pap {default-pap-passwordpassword;local-namename;local-passwordpassword;passive;}}proxy-arp;service-domain (inside | outside);shaping{(cbrrate|rtvbrpeakratesustainedrateburstlength|vbrpeakratesustainedrateburstlength);queue-lengthnumber;}short-sequence;transmit-weightnumber;(traps | no-traps);trunk-bandwidthrate;trunk-idnumber;tunnel{backup-destinationaddress;destinationaddress;keynumber;routing-instance{destinationrouting-instance-name;}sourcesource-address;ttlnumber;}vcivpi-identifier.vci-identifier;vpivpi-identifier;vlan-idnumber;vlan-tagsinnertpid.vlan-idoutertpid.vlan-id;familyfamily{family {family-statements;{}}}You can include these statements at the following hierarchy levels:
[edit interfacesinterface-name]- [
edit logical-routerslogical-router-nameinterfacesinterface-name]This chapter describes the configuration of the logical interface properties:
- Specifying the Logical Interface Number
- Configuring Logical Router Interface Properties
- Adding a Logical Unit Description to the Configuration
- Configuring a Point-to-Point Connection
- Configuring a Multipoint Connection
- Configuring Accounting for the Logical Interface
- Configuring the Interface Bandwidth
- Enabling or Disabling SNMP Notifications on Logical Interfaces
- Configuring Interface Encapsulation
- Configuring the PPP Timer
- Configuring PPP CHAP Authentication
- Configuring PPP PAP Authentication
- Disabling a Logical Interface
For information about interface-specific logical properties, see Interface Types.
Table 22 lists statements that you can use to configure logical interfaces.
access-profilenameaccept-source-macaccounting-profilenameack-delay-timetimeack-maxcountactivation-delaysecondsactivation-prioritypriorityFast Ethernet and Gigabit Ethernet interfaces, ISDN BRI interfaces, and serial interfaces with PPP or Frame Relay encapsulation on J4350 and J6350 Services Routers supporting voice over IP with the TGM550 media gateway module
adaptive-shapersadaptive-shaper-nameallow-any-vciatm-scheduler-map(map-name| default)backup-destinationaddressbackup-optionsbandwidthratebearer-bandwidth-limitkilobits-per-secondFast Ethernet and Gigabit Ethernet interfaces, ISDN BRI interfaces, and serial interfaces with PPP or Frame Relay encapsulation on J4350 and J6350 Services Routers supporting voice over IP with the TGM550 media gateway module
cbrratecell-bundle-sizecellsclear-dont-fragment-bitcompressionAS PIC or MultiServices PIC link services IQ interfaces (
lsq) and voice services interfacescompression-deviceinterface-namecopy-tos-to-outer-ip-headerdeactivation-delaysecondsdescriptiontextdestination(address|routing-instance-name)Encryption generic routing encapsulation (GRE) tunnel, and IP tunnel interfaces
dialer-optionsdisabledisable-mlppp-inner-ppp-pfcdlcidlci-identifierdrop-timeoutmilliseconds dynamic-call-admission-controlFast Ethernet and Gigabit Ethernet interfaces, ISDN BRI interfaces, and serial interfaces with PPP or Frame Relay encapsulation on J4350 and J6350 Services Routers supporting voice over IP with the TGM550 media gateway module
encapsulationtypeepd-thresholdcellsf-max-periodnumberAS PIC or MultiServices link services IQ interfaces (
lsq) and voice services interfacesfamilyfragment-thresholdbytesframe-relay(map-name|default)idle-timetime idle-timeout initial-route-checksecondsinner-vlan-idinner-tag-protocol-idinputinput-policerpolicer-name;For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 interfaces on M-series and T-series routing platforms
JUNOS Class of Service Configuration Guide and Applying a Policer
input-three-colorpolicer-name;For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 interfaces on M-series and T-series routing platforms
JUNOS Class of Service Configuration Guide and Applying a Policer
input-vlan-mapinterleave-fragmentsinverse-arpConfiguring Inverse ATM1 or ATM2 ARP and Configuring Inverse Frame Relay ARP
keynumberlayer2-policerlcp-restart-timerl2tp-interface-idnamelink-layer-overheadpercentllc2Ethernet interfaces configured for DLSw on J-series Services Routers
load-thresholdnumberlocal-namenameConfiguring PPP CHAP Authentication and Configuring PPP PAP Authentication
local-windowcountloss-priority-mapsmac-addressmac-addressGigabit Ethernet 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)
max-retrycountminimum-linksnumbermrrubytesmulticast-dlcidlci-identifiermulticast-vcivpi-identifier.vci-identifiermultilink-max-classesnumbermultipointncp-restart-timeroam-livenessoam-period(disable |seconds)outputoutput-policerpolicer-name;For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 interfaces on M-series and T-series routing platforms
JUNOS Class of Service Configuration Guide and Applying a Policer
output-three-colorpolicer-name;For 1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 interfaces on M-series and T-series routing platforms
JUNOS Class of Service Configuration Guide and Applying a Policer
output-vlan-mappassiveConfiguring PPP CHAP Authentication and Configuring PPP PAP Authentication
passive-monitor-modep-bit-timeouttimepeer-unitunit-numberpfcplp1cellsplp-to-clppoint-to-pointpolicerGigabit 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)
poppop-poppop-swapRemoving the Outer VLAN Tag and Rewriting the Inner VLAN Tag
portAS PIC or MultiServices or MultiServices link services IQ interfaces (
lsq) and voice services interfacesppp-optionsConfiguring PPP CHAP Authentication and Configuring PPP PAP Authentication
proxy-arppushpush-pushqueue-lengthnumberqueues[queue-numbers]AS PIC or MultiServices link services IQ interfaces (
lsq) and voice services interfacesrouting-instancertpAS PIC or MultiServices link services IQ interfaces (
lsq) and voice services interfacesrtvbrpeakratesustainedrateburstlengthservice-domain(inside | outside)shapingshort-sequencesourcesource-addressswapConfiguring Frames with Particular TPIDs to Be Processed as Tagged Frames
swap-pushswap-swapt1-timetimet2-timetimetag-protocol-idtpidGigabit 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)
transmit-weightnumbertrej-timetime(traps| no-traps)Enabling or Disabling SNMP Notifications on Logical Interfaces
trunk-bandwidthratetrunk-idnumberttlnumbertunnelvbrpeakratesustainedrateburstlengthvcivpi-identifier.vci-identifiervpivpi-identifiervlan-idnumberFast Ethernet, Gigabit Ethernet interfaces, and Gigabit Ethernet IQ interfaces and aggregated Ethernet using Gigabit Ethernet IQ interfaces
Binding a VLAN ID to a Logical Interface and Rewriting the VLAN Tag
vlan-tagsinnertpid.vlan-idoutertpid.vlan-idwatch-list