To configure shared interfaces on a PSD:
The logical unit number must match the value of the logical unit number for the physical shared interface. For example, if the shared interface logical unit is 1 (as part of so-0/0/0.1), configure ut-0/0/0.1 as the logical peer tunnel interface.
As described in the previous step, the logical unit number for the shared interface and the uplink tunnel interface must match.
SONET (PSD1)
In the following example, the logical SONET interface so-0/0/0.0 is peered with the logical tunnel interface ut-1/0/0.0 and so-0/0/0.1 is peered with ut-1/0/0/.1.
- interfaces {
-
- so-0/0/0 {
- encapsulation frame-relay;
- shared-interface;
-
- unit 0 {
- dlci 100;
- peer-interface ut-1/0/0.0;
-
- family inet {
- address 10.10.10.1/24;
- }
- }
-
- unit 1 {
- dlci 101;
- peer-interface ut-1/0/0.1
-
- family inet {
- address 10.10.11.1/24;
- }
- }
- }
-
- ut-1/0/0 {
-
- unit 0 {
- peer-interface so-0/0/0.0;
- }
-
- unit 1 {
- peer-interface so-0/0/0.1;
- }
- }
- }
SONET (PSD2)
In the following example, the logical SONET interface so-0/0/0.2 is peered with the logical tunnel interface ut-2/0/0.2.
- interfaces {
-
- so-0/0/0 {
- encapsulation frame-relay;
- shared-interface;
-
- unit 2 {
- dlci 102;
- peer-interface ut-2/0/0.2;
-
- family inet {
- address 10.10.12.1/24;
- }
- }
-
- ut-2/0/0 {
-
- unit 0 {
- peer-interface so-0/0/0.2;
- }
- }
- }
Ethernet (PSD1)
In the following example, the logical SONET interface ge-1/0/0.1 is peered with the logical tunnel interface ut-3/0/0.1 and ge-1/0/0.2 is peered with ut-4/0/0/.2.
- interfaces {
-
- ge-1/0/0 {
- vlan-tagging;
- shared-interface;
-
- unit 1{
- vlan-id 100;
- peer-interface ut-3/0/0.1;
-
- family inet {
- address 10.10.13.1/24;
- }
- }
-
- unit 2{
- vlan-id 101;
- peer-interface ut-4/0/0.2
-
- family inet {
- address 10.10.14.1/24;
- }
- }
- }
-
- ut-3/0/0 {
-
- unit 1{
- peer-interface ge-1/0/0.1;
- }
-
- unit 2{
- peer-interface ge-1/0/0.2;
- }
- }
- }
Ethernet (PSD2)
In the following example, the logical SONET interface ge-1/0/0.3 is peered with the logical tunnel interface ut-4/0/0.3.
- interfaces {
-
- ge-1/0/0 {
- vlan-tagging;
- shared-interface;
-
- unit 3{
- vlan-id 102;
- peer-interface ut-4/0/0.3;
-
- family inet {
- address 10.10.15.1/24;
- }
- }
-
- ut-4/0/0 {
-
- unit 3{
- peer-interface ge-1/0/0.3;
- }
- }
- }