Navigation
Examples: Configuring Unicast Tunnels
Configure two unnumbered IP-IP tunnels:
[edit interfaces]
ip-0/3/0 {unit 0 {tunnel {source 192.168.4.18;destination 192.168.4.253;}family inet;}unit 1 {tunnel {source 192.168.4.18;destination 192.168.4.254;}family inet;}}
Configure numbered tunnel interfaces by including an address at the [edit interfaces ip-0/3/0 unit (0 | 1) family inet] hierarchy level:
[edit interfaces]
ip-0/3/0 {unit 0 {tunnel {source 192.168.4.18;destination 192.168.4.253;}family inet {address 10.5.5.1/30;}}unit 1 {tunnel {source 192.168.4.18;destination 192.168.4.254;}family inet {address 10.6.6.100/30;}}}
Configure an MPLS over GRE tunnel by including the family mpls statement at the [edit interfaces gr-1/2/0 unit 0] hierarchy level:
[edit interfaces]
gr-1/2/0 {unit 0 {tunnel {source 192.168.1.1;destination 192.168.1.2;}family inet {address 10.1.1.1/30;}family mpls;}}