Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

encapsulation-type (Layer 2 VPNs)

Syntax

encapsulation-type (atm-aal5 | atm-cell | atm-cell-port-mode | atm-cell-vc-mode | atm-cell-vp-mode | cesop | cisco-hdlc | ethernet | ethernet-vlan | frame-relay | frame-relay-port-mode | interworking | ppp | satop-e1 | satop-e3 | satop-t1 | satop-t3);

Hierarchy Level

[edit logical-systems logical-system-name protocols l2circuit neighbor address interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols l2vpn],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols l2vpn neighbor address],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols vpls],[edit protocols l2circuit neighbor address interface interface-name],[edit routing-instances routing-instance-name protocols l2vpn],[edit routing-instances routing-instance-name protocols l2vpn neighbor address],[edit routing-instances routing-instance-name protocols vpls],[edit routing-instances routing-instance-name protocols vpls neighbor address]

Release Information

Statement introduced in Junos OS Release 9.2.

Statement introduced in Junos OS Release 11.1 for EX Series switches.

Description

Specify the type of Layer 2 traffic originating from the CE device. Only the ethernet and ethernet-vlan encapsulation types are supported for VPLS. Not all encapsulation types are supported on the switches. See the switch CLI.

Options

atm-aal5—ATM Adaptation Layer (AAL/5)

atm-cell—ATM cell relay

atm-cell-port-mode—ATM cell relay port promiscuous mode

atm-cell-vc-mode—ATM VC cell relay nonpromiscuous mode

atm-cell-vp-mode—ATM virtual path (VP) cell relay promiscuous mode

cesop—CESOP-based Layer 2 VPN

cisco-hdlc—Cisco Systems–compatible HDLC

ethernet—Ethernet

ethernet-vlan—Ethernet VLAN

frame-relay—Frame Relay

frame-relay-port-mode—Frame Relay port mode

interworking—Layer 2.5 interworking VPN

ppp—PPP

satsop-e1—SATSOP-E1–based Layer 2 VPN

satsop-e3—SATSOP-E3–based Layer 2 VPN

satsop-t1—SATSOP-T1–based Layer 2 VPN

satsop-t3—SATSOP-T3–based Layer 2 VPN

Default: For VPLS networks, the default encapsulation type is ethernet.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2012-12-07