虚拟路由默认设有 trust-vr 直接在里面添加即可
静态路由※
配置静态路由※
ip vrouter 虚拟路由器名称
ip route 目的地址 下一跳地址 weight 权重 查看静态路由表※
show ip route static动态路由※
配置动态路由※
OSPF※
基础配置※
ip vrouter 虚拟路由器名称
router ospf
router-id 路由器标识
network 网段地址/CIDR area 区域编号区域认证※
area 区域编号 authentication 秘钥指定OSPF接口网络类型※
ip ospf network 网络类型网络类型:
point-to-point – 指定接口网络类型为点到点网络类型。
point-to-multipoint -指定接口网络类型为点到多点网络类型。
STUB区域※
area 区域ID stub no-summaryNSSA区域※
area 区域ID nssa 通告默认路由※
default-infomation originate always