Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren
Area 0
Switch A2
Switch A1
OSPF
172
Managed Switches
Figure 17. OSPFv3 Protocol for IPv6
CLI: Configure OSPFv3
1.
On A1, enable IPv6 unicast routing on the switch.
(Netgear Switch) (Config)#ipv6 unicast-routing
2.
Enable OSPFv3, and assign 1.1.1.1 to router ID.
(Netgear Switch) (Config)#ipv6 router ospf
(Netgear Switch) (Config-rtr)#enable
(Netgear Switch) (Config-rtr)#router-id 1.1.1.1
(Netgear Switch) (Config-rtr)#exit
3.
Enable routing mode on the interface 1/0/1, and assign the IP address 2000::1 to IPv6.
(Netgear Switch) (Config)#interface 1/0/1
(Netgear Switch) (Interface 1/0/1)#routing
(Netgear Switch) (Interface 1/0/1)#ipv6 address 2000::1/64
(Netgear Switch) (Interface 1/0/1)#ipv6 enable
4.
Enable OSPFv3 on the interface 1/0/1, and set the OSPF network mode to broadcast.
(Netgear Switch) (Interface 1/0/1)#ipv6 ospf
(Netgear Switch) (Interface 1/0/1)#ipv6 ospf network broadcast
(Netgear Switch) #show ipv6 ospf neighbor
Router ID Priority Intf ID Interface State DeadTime
---------- -------- ------- --------- -------------- -------
2.2.2.2 1 13 1/0/1 Full/BACKUP-DR 34