mpls-relay
Routes layer 2 traffic to the specified router by creating an MPLS shim interface on the layer 2 interface. The router can use any MPLS LSP to the remote destination address that you specify. You must issue this command in the virtual router where the remote address can be reached; that is, in the virtual router providing core connections. The no version removes the shim interface. See also the route interface command.
mpls-relay remoteAddress [ vc-id ] vcidValue [ group-id groupIdValue ]
[ control-word | no-control-word ] [ sequencing | no-sequencing ]
[ relay-format { ethernet | frame-relay | ppp | vlan } ]
- remoteIpAddressIP address of the router on the remote end of the layer 2 circuit
- vcidValueInteger in the range 14294967295 that identifies the virtual connection; the two ends across the MPLS core must match inside each VC type
NOTE: The VLAN ID, DLCI, or ATM VPI/VCI are not related to the VC ID and can be different on each end of the connection.
- groupIdValueInteger in the range 04294967295 that identifies a group of virtual connections; not currently used
- control-wordIndicates that the local preference is to use the control word for the layer 2 packets encapsulated in MPLS packets sent to the remote PE router. The default preference is determined by the interface stack on which the MPLS interface is stacked.
- no-control-wordIndicates that the local preference is to not use the control word for the layer 2 packets encapsulated in MPLS packets sent to the remote PE router. The default preference is determined by the interface stack on which the MPLS interface is stacked.
- sequencingSpecifies that the local preference is to include nonzero sequence numbers with the control word; enabling the remote PE to detect out-of-order packets; has no effect if no control word is sent in the packets. The router always accepts zero sequence numbers and checks the order of nonzero sequence numbers of MPLS packets received from the remote PE; any out of order packets are dropped, regardless of whether sequencing is configured.
- no-sequencingSpecifies that the sequencing number in the control word is set to zero, instructing the remote PE router to not attempt to detect out-of-order packets; has no effect if no control word is sent in the packets.
- relay-format ethernetSpecifies that the router uses Ethernet signaling and encapsulation, which causes the VLAN interface to appear as an Ethernet interface to the other side of the connection; enables a VLAN interface on one side of an MPLS tunnel to communicate with an Ethernet or a bridged Ethernet interface on the other side of an MPLS tunnel. The VLAN tag is not included in the MPLS encapsulation. This option is not available on serial or POS interfaces for HDLC layer 2 circuits. It is available only on VLAN interfaces
- relay-format frame-relaySpecifies that the router uses legacy (pre-RFC 4619) Frame Relay pseudowire type value for signaling and encapsulation. Enables a router running JUNOSe software that supports the pseudowire type value defined in RFC 4619, Encapsulation methods for transport of Frame Relay over MPLS Networks, to interoperate with a router that uses the legacy (pre-RFC 4619) pseudowire type value. This option is available on serial or POS interfaces for Frame Relay layer 2 circuits. It is not supported on E120 and E320 routers.
- relay-format pppSpecifies that the router uses VC-type PPP signaling and PPP encapsulation instead of VC-type HDLC signaling and HDLC encapsulation. The router uses VC-type HDLC signaling and HDLC encapsulation by default. This option is available only on serial and POS interfaces for HDLC layer 2 circuits.
- relay-format vlanSpecifies that the router uses VLAN signaling and encapsulation. This option is not available on serial or POS interfaces for HDLC layer 2 circuits. It is available for VLAN interfaces.
Interface Configuration, Subinterface Configuration
Release Information Command introduced before JUNOSe Release 7.1.0.
control-word, no-control-word, no-sequencing, and vlan keywords added in JUNOSe Release 7.1.0.
frame-relay keyword added in JUNOSe Release 9.1.0.
- Configuring an MPLS Pseudowire with VCC Cell Relay Encapsulation
- Configuring Ethernet/VLAN Layer 2 Services
- Configuring Frame Relay Layer 2 Services
- Configuring HDLC Layer 2 Services
- Configuring Local ATM Cross-Connects with AAL5 Encapsulation
- Configuring Local Cross-Connects Between Ethernet/VLAN Interfaces
- Configuring S-VLAN Tunnels for Layer 2 Services