Evil_TTL> show | s

Juniper SRX Logical Tunnels

Category:Juniper -> Security

Basic config template:

set interfaces lt-0/0/0 unit 1 encapsulation ethernet
set interfaces lt
-0/0/0 unit 1 peer-unit 2
set interfaces lt
-0/0/0 unit 1 family inet address 169.254.0.1/30
set interfaces lt
-0/0/0 unit 2 encapsulation ethernet
set interfaces lt
-0/0/0 unit 2 peer-unit 1
set interfaces lt
-0/0/0 unit 2 family inet address 169.254.0.2/30
set interfaces lt
-0/0/0 unit 3 encapsulation ethernet
set interfaces lt
-0/0/0 unit 3 peer-unit 4
set interfaces lt
-0/0/0 unit 3 family inet address 169.254.0.5/30
set interfaces lt
-0/0/0 unit 4 encapsulation ethernet
set interfaces lt
-0/0/0 unit 4 peer-unit 3
set interfaces lt
-0/0/0 unit 4 family inet address 169.254.0.6/30

set routing
-instances BLUE interface lt-0/0/0.2
set routing
-instances RED interface lt-0/0/0.4
set routing
-instances YELLOW interface lt-0/0/0.1
set routing
-instances YELLOW interface lt-0/0/0.3

set security zones security
-zone BLUE_ZONE-lt host-inbound-traffic protocols bgp
set security zones security
-zone BLUE_ZONE-lt interfaces lt-0/0/0.2
set security zones security
-zone RED_ZONE-lt host-inbound-traffic protocols bgp
set security zones security
-zone RED_ZONE-lt interfaces lt-0/0/0.4
set security zones security
-zone YELLOW_ZONE-lt host-inbound-traffic protocols bgp
set security zones security
-zone YELLOW_ZONE-lt interfaces lt-0/0/0.1
set security zones security
-zone YELLOW_ZONE-lt interfaces lt-0/0/0.3

set routing
-instances YELLOW protocols bgp group LT_YELLOW_to_LT_RED_and_BLUE local-as 65000
set routing
-instances YELLOW protocols bgp group LT_YELLOW_to_LT_RED_and_BLUE type internal
set routing
-instances YELLOW protocols bgp group LT_YELLOW_to_LT_RED_and_BLUE hold-time 15
set routing
-instances YELLOW protocols bgp group LT_YELLOW_to_LT_RED_and_BLUE multipath multiple-as
set routing-instances YELLOW protocols bgp group LT_YELLOW_to_LT_RED_and_BLUE neighbor 169.254.0.2
set routing
-instances YELLOW protocols bgp group LT_YELLOW_to_LT_RED_and_BLUE neighbor 169.254.0.6

set routing
-instances BLUE protocols bgp group LT_BLUE_to_LT_YELLOW local-as 65000
set routing
-instances BLUE protocols bgp group LT_BLUE_to_LT_YELLOW type internal
set routing
-instances BLUE protocols bgp group LT_BLUE_to_LT_YELLOW hold-time 15
set routing
-instances BLUE protocols bgp group LT_BLUE_to_LT_YELLOW neighbor 169.254.0.1
set routing
-instances RED protocols bgp group LT_RED_to_LT_YELLOW local-as 65000
set routing
-instances RED protocols bgp group LT_RED_to_LT_YELLOW type internal
set routing
-instances RED protocols bgp group LT_RED_to_LT_YELLOW hold-time 15
set routing
-instances RED protocols bgp group LT_RED_to_LT_YELLOW neighbor 169.254.0.5 

 

By privilege15