请问H3C S3600交换机上的vlan-interface8开启ospf功能并属于区域0,引入直连路由网段192.168.1.0怎么配置

2024-12-26 14:35:02
推荐回答(1个)
回答1:

ospf 65108
import-route direct route-policy connect
area 0.0.0.0
network x.x.x.x x.x.x.x --------vlan-interface8的网段如108.5.10.1/24 可以写成108.5.0.0 0.0.255.255
#
ip ip-prefix connect index 10 permit 192.168.1.0 24
#
route-policy connect permit node 10
if-match ip-prefix connect