تنظیمات OSPFv3 (IPv6) بر روی سوئیچ‌های MES23xx/33xx/35xx/5324
17 مهٔ 2025 توسط
نوران ارتباطات نوین (نورانو)

در اینجا یک طرح شامل سه سوئیچ و دو ناحیه مختلف در نظر گرفته شده است. در سوئیچ SW2، چندین VLAN کلاینت با پروسه OSPF فعال تنظیم شده‌ است.

:SW1
ipv6 unicast-routing
ipv6 router ospf 1
router-id 10.1.4.73
exit
interface vlan 1858
ipv6 address 2001:67c:233c:b814::1/119
ipv6 ospf 1 area 0.0.0.46
exit


:SW2
ipv6 unicast-routing
ipv6 router ospf 1
router-id 10.1.4.75
exit
interface vlan 2
ipv6 address 2001:10::1/125
ipv6 ospf 1 area 0.0.0.46
exit
!
interface vlan 3
ipv6 address 2001:10::5/126
ipv6 ospf 1 area 0.0.0.46
exit
!
interface vlan 882
ipv6 address 2001:67c:233c:b813::1/119
ipv6 ospf 1 area 0.0.0.0
exit
!
interface vlan 1858
ipv6 address 2001:67c:233c:b814::2/119
ipv6 ospf 1 area 0.0.0.46
exit


:SW3
ipv6 unicast-routing
interface vlan 882
ipv6 address 2001:67c:233c:b813::2/119
ipv6 ospf 1 area 0.0.0.0
exit
ipv6 router ospf 1
router-id 10.1.4.1
exit


دستورات تشخیصی:

show run
show ipv6 ospf neighbor
show ipv6 ospf
show ipv6 route