thiese are step we need config a srx 240 device work as transparent or layer 2

1- first we need connect to web GUI and config default configuration and set root password

2-interfaces >>> change switch to lyaer 2

3-reboot

4- delete all interfaces config by this command:

delete interfaces

5-now we need 2 interfaces work as bridged. we will config all interfaces step by step

Configure IRB and the underlying interface:

root@# show interfaces | match interfaces | display set
set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
set interfaces ge-0/0/1 unit 0 family bridge vlan-id 2
set interfaces irb unit 0 family inet address 1.1.1.1/24
Configure the IRB interface to be in the transparent mode:
root@# show bridge-domains | display set
set bridge-domains IRB domain-type bridge
set bridge-domains IRB vlan-id 2
set bridge-domains IRB routing-interface irb.0
root@# show security zones | display set
set security zones security-zone trust interfaces ge-0/0/1.0 host-inbound-traffic system-services http
The requirement is to use ge-0/0/0 for out-of-band management. Configure ge-0/0/0 interface as family bridge:
set interfaces ge-0/0/0 unit 0 family bridge interface-mode access
set interfaces ge-0/0/0 unit 0 family bridge vlan-id 2
Configure the IRB interface with the out-of-band management IP address:
set interfaces irb unit 0 family inet address 192.168.1.1/24
Configure the ge-0/0/0 interface under functional-zone management:
set security zones functional-zone management interfaces ge-0/0/0.0
host-inbound-traffic system-services all
Configure the routing-option to add the route for the default gateway:
set routing-option static route 0.0.0.0/0 next-hop 172.16.1.1

 

منبع : CCNA |how to config Juniper srx 240 as transparent
برچسب ها : interfaces ,bridge ,interface ,family ,configure ,unit ,family bridge ,bridge domains ,root@ show ,security zones ,system services ,traffic system services ,inbound traffic system ,host inbound traffic ,family bridge interface