Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
admin@router2# set vlans vlan-id 30 l3-interface "vlan30"
admin@router2# set vlans vlan-id 40 l3-interface "vlan40"
admin@router2# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 30
admin@router2# set interface gigabit-ethernet ge-1/1/5 family ethernet-switching native-vlan-id 40
admin@router2# set l3-interface vlan-interface vlan30 address 10.10.2.2 prefix-length 24
admin@router2# set l3-interface vlan-interface vlan40 address 10.10.4.1 prefix-length 24
admin@router2# set protocols ospf router-id 2.2.2.2
admin@router2# set protocols ospf area 0.0.0.2 area-type "stub"
admin@router2# set protocols ospf area 0.0.0.2 no-summary
admin@router2# set protocols ospf network 10.10.2.0/24 area 0.0.0.2
admin@router2# set protocols ospf network 10.10.4.0/24 area 0.0.0.0
admin@router2# set vlanl3-interface loopback lo address 2.2.2.2 32 prefix-length 32
Commit OK.
Save Done.
admin@router2#

...

Code Block
admin@router4# set vlans vlan-id 40 l3-interface "vlan40"
admin@router4# set vlans vlan-id 50 l3-interface "vlan50"
admin@router4# set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 40
admin@router4# set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 50
admin@router4# set l3-interface vlan-interface vlan40 address 10.10.4.2 prefix-length 24
admin@router4# set l3-interface vlan-interface vlan50 address 10.10.5.1 prefix-length 24
admin@router4# set protocols ospf router-id 4.4.4.4
admin@router4# set protocols ospf network 10.10.4.0/24 area 0.0.0.0
admin@router4# set protocols ospf network 10.10.5.0/24 area 0.0.0.1
admin@router4# set protocols ospf area 0.0.0.1 area-type nssa
admin@router4# set protocols ospf area 0.0.0.1 no-summary
admin@router4# set protocols ospf network 4.4.4.4/32 area 0
admin@router4# set protocols ospf redistribute static
admin@router4# set vlanl3-interface loopback lo address 4.4.4.4 prefix-length 32
Commit OK.
Save done.

...