ospf路由协议

ospf单域的配置:

Router(config)#router ospf ?

 <1-65535>  Process ID

Router(config)#router ospf 1

OSPF process 1 cannot start. There must be at least one "up" IP interface

Router(config-router)#network 192.168.1.1 0.0.0.255 area ?

 <0-4294967295>  OSPF area ID as a decimal value

 A.B.C.D         OSPF area ID in IP address format

Router(config-router)#network 192.168.1.1 0.0.0.255 area 0

修改端口的优先级

ip ospf priority priority(0-255) 默认为1

查看路由表

show ip route

查看邻居列表及其状态

show ip ospf neighbor

查看ospf的配置

show ip ospf

查看ospf接口的数据结构

show ip ospf interface type number


你可能感兴趣的:(IP,NetWork,process,Address,的)