[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
Configuring the Encapsulation on a Physical Interface
By default, PPP is the encapsulation type for physical
interfaces. To configure the encapsulation on a physical interface,
include the encapsulation statement at the [edit interfaces interface-name] hierarchy level:
- [edit interfaces interface-name]
-
encapsulation (atm-ccc-cell-relay |
atm-pvc | cisco-hdlc | cisco-hdlc-ccc | cisco-hdlc-tcc | ethernet-ccc
| ethernet-over-atm | ethernet-tcc | ethernet-vpls | extended-frame-relay-ccc
| extended-frame-relay-tcc | extended-vlan-ccc | extended-vlan-tcc
| extended-vlan-vpls | flexible-ethernet-services | flexible-frame-relay
| frame-relay | frame-relay-ccc | frame-relay-port-ccc | frame-relay-tcc
| multilink-frame-relay-uni-nni | ppp | ppp-ccc | ppp-tcc | vlan-ccc
| vlan-vpls);
The physical interface encapsulation can be one
of the following:
- ATM CCC Cell Relay—Connects two remote virtual circuits
or ATM physical interfaces with a label-switched path (LSP). Traffic
on the circuit is ATM cells.
You can configure an ATM1 Physical Interface Card
(PIC) to use cell-relay accumulation mode (CAM). In this mode, the
incoming cells (1 to 8 cells) are packaged into a single packet and
forwarded to the LSP. Cell-relay accumulation mode is not supported
on ATM2 PICs. You configure CAM as shown in the following example:
- [edit chassis]
- fpc 1 {
-
- pic 0 {
- atm-cell-relay-accumulation;
- }
- }
For more information, see the JUNOS System
Basics Configuration Guide.
- ATM PVC—Defined in RFC 2684, Multiprotocol
Encapsulation over ATM Adaptation Layer 5. When you configure physical ATM interfaces with ATM PVC encapsulation,
an RFC 2684-compliant ATM Adaptation Layer 5 (AAL5) tunnel is set
up to route the ATM cells over a Multiprotocol Label Switching (MPLS)
path that is typically established between two MPLS-capable routing
platforms using the Label Distribution Protocol (LDP).
- Cisco HDLC—E1, E3, SONET/SDH, T1, and T3 interfaces
can use Cisco HDLC encapsulation. Two related versions are supported:
- CCC version (cisco-hdlc-ccc)—The logical
interface does not require an encapsulation statement. When you use
this encapsulation type, you can configure the ccc family
only.
- TCC version (cisco-hdlc-tcc)—Similar to
CCC and has the same configuration restrictions, but used for circuits
with different media on either side of the connection.
- Ethernet over ATM—As defined in RFC 1483, Multiprotocol Encapsulation over ATM Adaptation
Layer 5, this encapsulation type allows ATM interfaces
to connect to devices that support only bridged-mode protocol data
units (BPDUs). The JUNOS software does not completely support bridging,
but accepts BPDU packets as a default gateway. If you use the router
as an edge device, then the router acts as a default gateway. It accepts
Ethernet logical link control (LLC)/SNAP frames with IP or Address
Resolution Protocol (ARP) in the payload, and drops the rest. For
packets destined to the Ethernet local area network (LAN), a route
lookup is done using the destination IP address. If the route lookup
yields a full address match, the packet is encapsulated with an LLC/SNAP
and media access control (MAC) header, and the packet is forwarded
to the ATM interface.
- Ethernet cross-connect—Ethernet interfaces without
VLAN tagging can use Ethernet CCC encapsulation. Two related
versions are supported:
- CCC version (ethernet-ccc)—Ethernet interfaces
with standard Tag Protocol ID (TPID) tagging can use Ethernet CCC
encapsulation. When you use this encapsulation type, you can configure
the ccc family only.
- TCC version (ethernet-tcc)—Similar to CCC,
but used for circuits with different media on either side of the connection.
For 8-port, 12-port, and 48-port Fast Ethernet
PICs, TCC is not supported.
- VLAN CCC (vlan-ccc)—Ethernet interfaces
with VLAN tagging enabled can use VLAN CCC encapsulation. VLAN CCC
encapsulation supports TPID 0x8100 only. When you use this encapsulation
type, you can configure the ccc family only.
- Extended VLAN cross-connect—Gigabit Ethernet interfaces
with VLAN 802.1Q tagging enabled can use extended VLAN cross-connect
encapsulation. (Ethernet interfaces with standard TPID tagging can
use VLAN CCC encapsulation.) Two related versions of extended
VLAN cross-connect are supported:
- CCC version (extended-vlan-ccc)—Extended
VLAN CCC encapsulation supports TPIDs 0x8100, 0x9100, and 0x9901.
When you use this encapsulation type, you can configure the ccc family only.
- TCC version (extended-vlan-tcc)—Similar
to CCC, but used for circuits with different media on either side
of the connection.
For 8-port, 12-port, and 48-port Fast Ethernet
PICs, extended VLAN CCC is not supported. For 4-port Gigabit Ethernet
PICs, extended VLAN CCC and extended VLAN TCC are not supported.
- Ethernet VPLS (ethernet-vpls)—Ethernet
interfaces with VPLS enabled can use Ethernet VPLS encapsulation.
For more information about VPLS, see the JUNOS VPNs Configuration
Guide and the JUNOS Feature Guide.
- Ethernet VLAN VPLS (vlan-vpls)—Ethernet
interfaces with VLAN tagging and VPLS enabled can use Ethernet VLAN
VPLS encapsulation. For more information about VPLS, see the JUNOS VPNs Configuration Guide and
the JUNOS Feature Guide.
- Extended VLAN VPLS (extended-vlan-vpls)—Ethernet
interfaces with VLAN 802.1Q tagging and VPLS enabled can use Ethernet Extended
VLAN VPLS encapsulation. (Ethernet interfaces with standard TPID tagging
can use Ethernet VLAN VPLS encapsulation.) Extended Ethernet VLAN
VPLS encapsulation supports TPIDs 0x8100, 0x9100, and 0x9901. For
more information about VPLS, see the JUNOS VPNs Configuration
Guide and the JUNOS Feature
Guide.
- Flexible Ethernet services (flexible-ethernet-services)—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) can use flexible Ethernet services encapsulation.
Aggregated Ethernet bundles cannot use this encapsulation type. You
use this encapsulation type when you want to configure multiple per-unit
Ethernet encapsulations. This encapsulation type allows you to configure
any combination of route, TCC, CCC, Layer 2 virtual private networks
(VPNs), and VPLS encapsulations on a single physical port. If you
configure flexible Ethernet services encapsulation on the physical
interface, VLAN IDs from 1 through 511 are no longer reserved
for normal VLANs.
- Flexible Frame Relay (flexible-frame-relay)—IQ
interfaces can use flexible Frame Relay encapsulation. You use flexible
Frame Relay encapsulation when you want to configure multiple per-unit
Frame Relay encapsulations. This encapsulation type allows you to
configure any combination of TCC, CCC, and standard Frame Relay encapsulations
on a single physical port. Also, each logical interface can have any
data-link connection identifier (DLCI) value from 1 through 1022.
- Frame Relay (frame-relay)—Defined in RFC
1490, Multiprotocol Interconnect over Frame Relay. E1, E3, link services, SONET/SDH, T1, T3, and voice services interfaces
can use Frame Relay encapsulation. Five related versions are supported:
- CCC version (frame-relay-ccc)—The same
as standard Frame Relay for DLCIs 0 through 511. DLCIs 512 through
1022 are dedicated to CCC. This numbering restriction does not apply
to IQ interfaces. The logical interface must also have frame-relay-ccc encapsulation. When you use this encapsulation type, you can configure
the ccc family only.
- TCC version (frame-relay-tcc)—Similar to
Frame Relay CCC and has the same configuration restrictions, but used
for circuits with different media on either side of the connection.
- Extended CCC version (extended-frame-relay-ccc)—This encapsulation type allows you to dedicate DLCIs 1 through
1022 to CCC. The logical interface must have frame-relay-ccc encapsulation. When you use this encapsulation type, you can configure
the ccc family only.
- Extended TCC version (extended-frame-relay-tcc)—Similar to extended Frame Relay CCC, this encapsulation type
allows you to dedicate DLCIs 1 through 1022 to TCC, which is used
for circuits with different media on either side of the connection.
- Port CCC version (frame-relay-port-ccc)—Defined
in the IETF document Frame Relay Encapsulation over Pseudo-Wires (expired December 2002). This encapsulation type allows you to transparently
carry all the DLCIs between two customer edge (CE) routers without
explicitly configuring each DLCI on the two provider edge (PE) routers
with Frame Relay transport. The connection between the two CE routers
can be either user-to-network interface (UNI) or network-to-network
interface (NNI); this is completely transparent to the PE routers.
The logical interface does not require an encapsulation statement.
When you use this encapsulation type, you can configure the ccc family only.
- Multilink Frame Relay (MLFR) UNI and NNI (multilink-frame-relay-uni-nni)—Link services and voice services interfaces functioning as
FRF.16 bundles can use multilink Frame Relay UNI NNI encapsulation.
This encapsulation is also used on link services and voice services
interfaces’ constituent T1, E1, or NxDS0
interfaces.
- PPP—Defined in RFC 1661, The Point-to-Point
Protocol (PPP) for the Transmission of Multiprotocol
Datagrams over Point-to-Point Links. PPP is the default
encapsulation type for physical interfaces. E1, E3, SONET/SDH, T1,
and T3 interfaces can use PPP encapsulation. Two related versions
are supported:
- Circuit cross-connect (CCC) version (ppp-ccc)—The
logical interface does not require an encapsulation statement. When
you use this encapsulation type, you can configure the ccc family only.
- Translational cross-connect (TCC) version (ppp-tcc)—Similar to CCC and has the same configuration restrictions,
but used for circuits with different media on either side of the connection.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]