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:
-
unit logical-unit-number {
-
-
accept-source-mac {
-
-
mac-address mac-address {
-
-
policer {
- input cos-policer-name;
- output cos-policer-name;
- }
- }
- }
-
accounting-profile name;
-
allow-any-vci;
-
atm-scheduler-map (map-name | default);
-
-
backup-options {
- interface interface-name;
- }
-
bandwidth rate;
-
cell-bundle-size cells;
-
clear-dont-fragment-bit;
-
-
compression {
-
-
rtp {
-
f-max-period number;
-
queues [ queue-numbers ];
-
-
port (Voice Services) {
- minimum port-number;
- maximum port-number;
- }
- }
- }
- compression-device interface-name;
-
copy-tos-to-outer-ip-header;
-
description text;
-
-
dial-options {
- l2tp-interface-id name;
- (dedicated | shared);
- }
-
-
dialer-options {
-
activation-delay seconds;
-
callback;
-
callback-wait-period time;
-
deactivation-delay seconds;
-
dial-string [ dial-string-numbers ];
-
idle-timeout seconds;
-
-
incoming-map {
-
caller caller-id) | accept-all;
-
-
initial-route-check seconds;
-
load-interval seconds;
-
load-threshold number;
-
pool pool-name;
-
redial-delay time;
-
-
watch-list {
- [ routes ];
- }
- }
-
disable;
-
disable-mlppp-inner-ppp-pfc;
-
dlci dlci-identifier ;
-
drop-timeout milliseconds;
-
-
dynamic-call-admission-control {
-
activation-priority priority;
-
bearer-bandwidth-limit kilobits-per-second;
- }
-
encapsulation type;
-
epd-threshold plp1 cells;
-
-
family family {
-
filter filter-name;
-
-
fragment-threshold bytes;
-
-
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-id tpid;
-
vlan-id number;
- }
-
interleave-fragments;
-
inverse-arp;
-
link-layer-overhead percent;
-
-
layer2-policer {
-
input-policer policer-name;
-
input-three-color policer-name;
-
output-policer policer-name;
-
output-three-color policer-name;
- }
- }
-
minimum-links number;
-
mrru bytes;
-
multicast-dlci dlci-identifier;
-
multicast-vci vpi-identifier.vci-identifier;
-
multilink-max-classes number;
-
multipoint;
-
-
oam-liveness {
- up-count cells;
- down-count cells;
- }
-
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-id tpid;
-
vlan-id number;
- }
-
passive-monitor-mode;
-
peer-unit unit-number;
-
plp-to-clp;
-
point-to-point;
-
-
ppp-options {
-
-
chap {
-
access-profile name;
-
local-name name;
-
passive;
- }
-
-
compression {
-
acfc;
-
pfc;
- }
-
lcp-restart-timer milliseconds;
-
ncp-restart-timer milliseconds;
-
-
pap {
-
default-pap-password password;
-
local-name name;
-
local-password password;
-
passive;
- }
- }
-
proxy-arp;
-
service-domain (inside | outside);
-
-
shaping {
- (cbr rate | rtvbr peak rate sustained rate burst length | vbr peak rate sustained rate burst length);
-
queue-length number;
- }
-
short-sequence;
-
transmit-weight number;
- (traps | no-traps);
-
trunk-bandwidth rate;
-
trunk-id number;
-
-
tunnel {
-
backup-destination address;
-
destination address;
-
key number;
-
-
routing-instance {
-
destination routing-instance-name;
- }
-
source source-address;
-
ttl number;
- }
-
vci vpi-identifier.vci-identifier;
-
vpi vpi-identifier;
-
vlan-id number;
-
vlan-tags inner tpid.vlan-id outer tpid.vlan-id;
-
-
family family {
-
-
family {
-
family-statements;
-
- }
- }
- }
- }
- }
- }
- }
You can include these statements at the following hierarchy levels:
For information about interface-specific logical properties, see Interface Types.
Table 23 lists statements that you can use to configure logical interfaces.
Table 23: Statements for Logical Interface Properties
|
Statement |
Interface Types |
Usage Guidelines |
|---|---|---|
|
ATM2 IQ interfaces |
|
|
Gigabit Ethernet intelligent queuing (IQ) interfaces |
|
|
All |
|
|
Ethernet interfaces configured for DLSw |
|
|
Ethernet interfaces configured for DLSw |
|
|
ISDN interfaces |
|
|
Fast 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 |
|
|
Frame Relay interfaces on J-series Services Routers |
JUNOS Class of Service Configuration Guide |
|
Asynchronous Transfer Mode (ATM) interfaces |
|
|
ATM2 IQ interfaces |
|
|
Encryption interfaces |
JUNOS Class of Service Configuration Guide |
|
J-series Services Routers ISDN interfaces |
|
|
All interfaces, except multilink and aggregated |
|
|
Fast 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 |
|
|
ATM interfaces |
|
|
ATM2 IQ interfaces |
|
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
AS PIC or MultiServices PIC link services IQ interfaces (lsq) and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
J-series Services Routers E1 and T1 interfaces. |
JUNOS Services Interfaces Configuration Guide |
|
GRE tunnel interfaces |
JUNOS Class of Service Configuration Guide |
|
ISDN interfaces |
|
|
All |
|
|
Encryption generic routing encapsulation (GRE) tunnel, and IP tunnel interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Adaptive services interfaces on M7i routing platforms J-series Services Routers ISDN interfaces |
JUNOS Services Interfaces Configuration Guide |
|
All |
|
|
MLPPP interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Point-to-point interfaces with Frame Relay encapsulation |
|
|
Multilink interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Fast 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 |
|
|
All interfaces, except aggregated SONET/SDH and loopback |
|
|
ATM2 IQ interfaces |
|
|
AS PIC or MultiServices link services IQ interfaces (lsq) and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
All |
|
|
Multilink interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Frame Relay Interfaces on J-series Services Routers |
JUNOS Services Interfaces Configuration Guide JUNOS Class of Service Configuration Guide |
|
Ethernet interfaces configured for DLSw |
|
|
ISDN interfaces |
|
|
ISDN interfaces |
|
|
Gigabit Ethernet IQ interfaces |
|
|
Gigabit Ethernet IQ interfaces |
|
|
AS PIC or MultiServices link services |
JUNOS Services Interfaces Configuration Guide |
|
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 |
|
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 |
|
Gigabit Ethernet IQ interfaces |
|
|
Link services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Interfaces with ATM and Frame Relay encapsulation |
Configuring Inverse ATM1 or ATM2 ARP and Configuring Inverse Frame Relay ARP |
|
GRE tunnel interfaces on Adaptive Services PICs |
JUNOS Services Interfaces Configuration Guide |
|
1-Gigabit Ethernet and 10-Gigabit Ethernet IQ2 interfaces |
|
|
Interfaces with PPP encapsulation. |
|
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
AS PIC or MultiServices link services IQ interfaces (lsq) |
JUNOS Services Interfaces Configuration Guide |
|
Ethernet interfaces configured for DLSw on J-series Services Routers |
|
|
ISDN interfaces |
|
|
ATM2 IQ interfaces |
Configuring PPP CHAP Authentication and Configuring PPP PAP Authentication |
|
Ethernet interfaces configured for DLSw |
|
|
Frame Relay interfaces on J-series Services Routers |
JUNOS Services Interfaces Configuration Guide JUNOS Class of Service Configuration Guide |
|
Gigabit 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) |
|
|
Ethernet interfaces configured for DLSw |
|
|
Multilink interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Multilink interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Point-to-multipoint Frame Relay interfaces |
|
|
Point-to-multipoint ATM1 and ATM2 IQ interfaces |
|
|
AS PIC or MultiServices link services IQ interfaces (lsq) |
JUNOS Services Interfaces Configuration Guide |
|
All |
|
|
Interfaces with PPP encapsulation. |
|
|
ATM1 and ATM2 IQ interfaces |
|
|
ATM1 and ATM2 IQ interfaces |
|
|
All |
JUNOS Services Interfaces Configuration Guide |
|
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 |
|
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 |
|
Gigabit Ethernet IQ interfaces |
|
|
ATM2 IQ interfaces |
Configuring PPP CHAP Authentication and Configuring PPP PAP Authentication |
|
SONET/SDH interfaces |
|
|
Ethernet interfaces configured for DLSw |
|
|
Logical tunnel interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Interfaces with PPP, PPP CCC, or PPP TCC encapsulation |
|
|
ATM2 IQ interfaces |
|
|
ATM2 IQ interfaces |
|
|
All |
|
|
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) |
|
|
Gigabit Ethernet IQ interfaces |
|
|
Gigabit Ethernet IQ interfaces |
|
|
Gigabit Ethernet IQ interfaces |
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 interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Interfaces with PPP, PPP CCC, or PPP TCC encapsulation |
Configuring PPP CHAP Authentication and Configuring PPP PAP Authentication |
|
Ethernet interfaces |
|
|
Gigabit Ethernet IQ interfaces |
|
|
Gigabit Ethernet IQ interfaces |
|
|
ATM1 interfaces |
|
|
AS PIC or MultiServices link services IQ interfaces (lsq) and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
GRE tunnel and IP tunnel interfaces |
JUNOS Services Interfaces Configuration Guide |
|
AS PIC or MultiServices link services IQ interfaces (lsq) and voice services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
ATM2 interfaces |
|
|
Adaptive services interfaces |
JUNOS Services Interfaces Configuration Guide |
|
ATM1 and ATM2 IQ interfaces |
|
|
Multilink interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Encryption, GRE tunnel, and IP tunnel interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Gigabit Ethernet IQ interfaces |
Configuring Frames with Particular TPIDs to Be Processed as Tagged Frames |
|
Gigabit Ethernet IQ interfaces |
|
|
Gigabit Ethernet IQ interfaces |
|
|
Ethernet interfaces configured for DLSw |
|
|
Ethernet interfaces configured for DLSw |
|
|
Gigabit 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) |
|
|
ATM2 IQ interfaces |
|
|
Ethernet interfaces configured for DLSw |
|
|
All |
Enabling or Disabling SNMP Notifications on Logical Interfaces |
|
ATM2 IQ interfaces |
|
|
ATM2 IQ interfaces |
|
|
GRE tunnel and IP tunnel interfaces |
JUNOS Services Interfaces Configuration Guide |
|
Encryption, GRE tunnel, and IP tunnel interfaces |
JUNOS Services Interfaces Configuration Guide |
|
ATM interfaces |
|
|
ATM1 and ATM2 IQ point-to-point interfaces |
|
|
ATM1 and ATM2 IQ point-to-point interfaces |
|
|
Fast 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 |
|
Gigabit Ethernet IQ interfaces |
|
|
ISDN interfaces |
This chapter describes the configuration of the logical interface properties: