User Manual

Table Of Contents
[Description]
Associates areas with an interface running OSPF. OSPF runs on the interface to which is assigned the IP address included in the
network range specified by network, and is associated with the area specified by area_id.
[Example]
Associate the 203.0.113.0/24 network connected to the VLAN #1 interface with the backbone area, and associate network
172.16.0.0/16 connected to the VLAN #2 interface with area 1.
SWX3220(config)# interface vlan1
SWX3220(config-if)# ip address 203.0.113.1/24
SWX3220(config-if)# exit
SWX3220(config)# interface vlan2
SWX3220(config-if)# ip address 172.16.0.1/16
SWX3220(config-if)# exit
SWX3220(config)# router ospf
SWX3220(config-router)# network 203.0.113.0/24 area 0
SWX3220(config-router)# network 172.16.0.0/16 area 1
7.12.21 Set OSPF router ID
[Syntax]
ospf router-id router_id
router-id router_id
no ospf router-id
no router-id [router_id]
[Parameter]
router_id : Router ID (IPv4 format IP address)
[Initial value]
none
[Input mode]
OSPFv2 mode
[Description]
Sets the OSPF router ID.
Although several ways to specify the OSPF router ID are provided, the decision is based on the following priority order.
1. Value set by the router-id command or the ospf router-id command entered in OSPFv2 mode
2. Value set by the router-id command entered in global configuration mode
3. Highest IP address of those specified for the VLAN interface
[Note]
If the router ID is changed, the changed router ID takes effect when this unit is restarted or when the OSPF process is restarted.
7.12.22 Set upper limit of link status advertisements handled by OSPF process
[Syntax]
overflow database lsa_num [action]
no overflow database
[Parameter]
lsa_num : <0-4294967294>
Upper limit of link status advertisements
action : Operation when the number of link status advertisements exceeds the setting. If omitted, "hard" is
used.
Setting value Description
hard Shut down the OSPF process
soft Output a warning message
280 | Command Reference | Layer 3 functions