Versions Compared

Key

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

...

To disable injecting routes into an area from an ABR manually, the user can apply the prefix lists in inbound  or outbound directions to control the dissemination of routes into and out of OSPF areas. The command used to control route dissemination is set protocols ospf area in filter-list prefix. The keyword in indicated routes advertised into an area. Whereas out indicates routes going out of the area. Its important to note that the user must configure the prefix list before applying it through the  set protocols ospf area in filter-list prefix command. The command to create the prefix list is set routing prefix-list. 



                                                     Figure 5-6. OSPF area range configuration. 

...

Code Block
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 protocols lldp enable true
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.1 in filter-list
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 system hostname "router2"
admin@router2# set vlanl3-interface loopback lo address 2.2.2.2 prefix-length 32
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 vlans vlan-id 30 l3-interface "vlan30"
admin@router2# set vlans vlan-id 40 l3-interface "vlan40"

...