This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:juniper:srx [2017/06/09 17:26] – jotasandoku | network_stuff:juniper:srx [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 54: | Line 54: | ||
| * To Enable it in SRX 300 Series [[https:// | * To Enable it in SRX 300 Series [[https:// | ||
| + | set protocols l2-learning global-mode switching | ||
| + | reboot | ||
| + | show ethernet-switching global-information | ||
| + | |||
| \\ | \\ | ||
| [[http:// | [[http:// | ||
| Line 62: | Line 66: | ||
| And put ip on it: | And put ip on it: | ||
| set interfaces vlan.0 family inet address 192.168.1.1/ | set interfaces vlan.0 family inet address 192.168.1.1/ | ||
| - | | + | Add physical interfaces to vlan-trust |
| set interfaces ge-0/0/10.0 family ethernet-switching vlan members vlan-trust | set interfaces ge-0/0/10.0 family ethernet-switching vlan members vlan-trust | ||
| \\ | \\ | ||
| * See different modes to configure and manage Layer 2 and bridge settings (bridge settings are needed for transparent mode, ready of it lately users family ethernet-switching options. See last section in transparent mode review document) | * See different modes to configure and manage Layer 2 and bridge settings (bridge settings are needed for transparent mode, ready of it lately users family ethernet-switching options. See last section in transparent mode review document) | ||
| - | * See this link for differences between family bridge (uses flow mode (full set of security functionalities ) and family ethernet-switch (switch local)) | + | * See this link for differences between family bridge (uses flow mode (full set of security functionalities ) and family ethernet-switch (switch local)): [[http:// |
| + | |||
| + | |||
| + | ---- | ||
| + | **BGP SRX**\\ | ||
| + | To get inspiration: | ||
| + | \\ | ||
| + | See this [[https:// | ||
| + | * Disable flow mode and enable packet mode: [[http:// | ||
| + | configure | ||
| + | delete security | ||
| + | < confirm this will delete everything below this level> | ||
| + | set security forwarding-options family mpls mode packet-based | ||
| + | commit and-quit | ||
| + | request system reboot | ||
| + | |||
| + | * Define irb gateway | ||
| + | * policy options | ||
| + | * BOGON-LIST | ||
| + | * irb.1 148.64.57.1 / 254 (decide which one) | ||
| + | * vlans? | ||
| + | * irb export term (called iBGP-export in the slingshots) | ||
| + | |||
| + | Note that in packet mode, no security policies are allowed, no point on defining zones either.. [[http:// | ||
| + | |||
| + | |||
| + | If we are in flow mode, To allow communication: | ||
| + | Put all interfaces in the same zone: | ||
| + | |||
| + | set security zones security-zone trust interface ge-0/ | ||
| + | set security zones security-zone trust interface ge-0/ | ||
| + | |||
| + | Create a policy to permit intra-zone traffic. | ||
| + | |||
| + | set security policies from-zone trust to-zone trust policy trust-to-trust match source-address any destination address any application any | ||
| + | set security policies from-zone trust to-zone trust policy trust-to-trust then permit | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | **SRX DIRECTORIES**\\ | ||
| + | * /junos : This is a read-only dir created in runtime by malloc. Expected to be 100%. See [[https:// | ||