Versions Compared

Key

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


 

By default, external routes and inter-area routes will be injected into stub areas or NSSAs . User can utilize the summaries disable true parameter to prevent external printer-area routes from being injected into stub areas or NSSAs. User can also use set protocols ospf4 area <area-id> default-lsa disable false to create a default route entry.
Image Removedareas in the same OSPF domain in the absence of effective route summarization. This can overwhelm a node particularly in large OSPF routing domains. Changing an area from stub to a totally-stubby area solves this issue. To change an area from stub to a totally-stubby-area, user can apply the command set protocols ospf area 0.0.0.1 no-summary from the PiCOS configuration mode.

In Figure 5-5 below, Router 2 is an ABR, to reduce the number of routes on Router 1 in area 0.0.0.2, we will configure area 0.0.0.2 on Router 2 as a totally stubby area.


Image Added

Figure 5-5. OSPF Stub area/NSSA summary: area 1.1.1.1 should be a stub area or an NSSA


Configuring Switch ARouter 2

Code Block
admin@XorPlus#admin@router2# set system hostname "router2"
admin@router2# set vlans vlan-id 50030 l3-interface vlan-500 
admin@XorPlus#"vlan30"
admin@router2# set vlans vlan-id 40 l3-interface "vlan40"
admin@router2# set interface vlangigabit-500ethernet vif vlan-500 address 192.168.1.2 prefix-length 30
admin@XorPlus#ge-1/1/3 family ethernet-switching native-vlan-id 30
admin@router2# set interface gigabit-ethernet tege-1/1/495 family ethernet-switching native-vlan-id 500
admin@XorPlus# 40
admin@router2# set vlan-interface interface vlan30 vif vlan30 address 10.10.2.2 prefix-length 24
admin@router2# set vlan-interface interface vlan40 vif vlan40 address 10.10.4.1 prefix-length 24
admin@router2# set protocols ospf4ospf router-id 12.12.12.12
admin@XorPlus#admin@router2# set protocols ospf4ospf area 0.0.0.2 area-type "stub"
admin@router2# set protocols ospf area 0.0.0 interface vlan-500 vif vlan-500 address 192.168.1.2
admin@XorPlus# commit
Waiting for merging configuration.
.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 vlan-interface loopback address 2.2.2.2 prefix-length 32
Commit OK.
Save Done.
admin@XorPlus#admin@router2#