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;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;dlcidlci-identifier;drop-timeoutmilliseconds;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;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;}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
- Disabling a Logical Interface
For information about interface-specific logical properties, see Interface Types.
Table 18 lists statements that you can use to configure logical interfaces.
access-profile
nameConfiguring the PPP Challenge Handshake Authentication Protocol
accounting-profilenameack-delay-time
timeack-max
countactivation-delay
seconds
atm-scheduler-map(map-name| default)
backup-destinationaddress
bandwidthrate
cbrrate
cell-bundle-sizecellsAS PIC or MultiServices PIC link services IQ interfaces (
lsq) and voice services interfacesdeactivation-delay
seconds
descriptiontext
destination(address|routing-instance-name)Encryption generic routing encapsulation (GRE) tunnel, and IP tunnel interfaces
dlcidlci-identifier
drop-timeoutmilliseconds
encapsulationtype
epd-thresholdcellsAS PIC or MultiServices link services IQ interfaces (
lsq) and voice services interfaces
fragment-thresholdbytesidle-time
timeinitial-route-check
secondsConfiguring Inverse ATM1 or ATM2 ARP and Configuring Inverse Frame Relay ARP
keynumberl2tp-interface-id
name
link-layer-overheadpercentEthernet interfaces configured for DLSw on J-series Services Routers
load-thresholdnumber
local-namenameConfiguring the PPP Challenge Handshake Authentication Protocol
local-window
count
mac-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-retry
count
minimum-linksnumber
mrrubytes
multicast-dlcidlci-identifier
multicast-vcivpi-identifier.vci-identifier
multilink-max-classesnumber
oam-period(disable |seconds)Configuring the PPP Challenge Handshake Authentication Protocol
p-bit-timeout
time
peer-unitunit-number
plp1cellsGigabit 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 the Outer VLAN Tag and Rewriting the Inner VLAN Tag
AS PIC or MultiServices or MultiServices link services IQ interfaces (
lsq) and voice services interfacesConfiguring the PPP Challenge Handshake Authentication Protocol
queue-lengthnumber
queues[queue-numbers]AS PIC or MultiServices link services IQ interfaces (
lsq) and voice services interfacesAS PIC or MultiServices link services IQ interfaces (
lsq) and voice services interfaces
rtvbrpeakratesustainedrateburstlength
service-domain(inside | outside)
sourcesource-address
tag-protocol-idtpidt1-time
timet2-time
time
transmit-weightnumbertrej-time
timeEnabling or Disabling SNMP Notifications on Logical Interfaces
trunk-bandwidthrate
trunk-idnumber
ttlnumber
vbrpeakratesustainedrateburstlength
vcivpi-identifier.vci-identifier
vpivpi-identifier
vlan-idnumber
vlan-tagsinnertpid.vlan-idoutertpid.vlan-id