Netgear M5300-28G3 (GSM7328Sv2h2) - ProSAFE 24+4 Gigabit Ethernet L3 Managed Stackable Switch 管理者ガイド
![Netgear](https://files.manualsbrain.com/attachments/cf1ad5de25a3f8d6c88ef0ab489c1b137eebe11f/common/fit/150/50/17742d1e0cdacf24edeb88c30757620088415c5f7699f69b4517262e21e0/brand_logo.jpeg)
96
|
Chapter 7. OSPF
ProSafe Managed Switch
CLI: Configure Area 1 as a Stub Area on A1
1.
Enable routing on the switch.
2.
Set the router IDd to 1.1.1.1.
3.
Configure area 0.0.0.1 as a stub area
.
4.
Switch A injects a default route only to area 0.0.0.1.
5.
Enable OSPF area 0 on ports 2/0/11.
6.
Enable OSPF area 0.0.0.1 on 2/0/19.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#router ospf
(Netgear Switch) (Config-router)#router-id 1.1.1.1
(Netgear Switch) (Config-router)#area 0.0.0.1 stub
(Netgear Switch) (Config-router)#no area 0.0.0.1 stub summarylsa
(Netgear Switch) (Config-router)#exit
(Netgear Switch) (Config)#interface 2/0/11
(Netgear Switch) (Interface 2/0/11)#routing
(Netgear Switch) (Interface 2/0/11)#ip address 192.168.10.1 255.255.255.0
(Netgear Switch) (Interface 2/0/11)#ip ospf
(Netgear Switch) (Interface 2/0/11)#exit
(Netgear Switch) (Config)#interface 2/0/19
(Netgear Switch) (Interface 2/0/19)#routing
(Netgear Switch) (Interface 2/0/19)#ip address 192.168.20.1 255.255.255.0
(Netgear Switch) (Interface 2/0/19)#ip ospf
(Netgear Switch) (Interface 2/0/19)#ip ospf areaid 0.0.0.1
(Netgear Switch) (Interface 2/0/19)#exit