1、配置单个IP地址参与OSPF
Router (config) # router ospf 63
Router (config-router) # network 131.107.25.1 0.0.0.0 area 0
2、网络地址参与OSPF
Router (config-router) # network 133.181.0.0 0.0.255.255 area 0
3、定义参与OSPF的子网地址
Router (config-router) # area 0 range 212.37.123.0 255.255.255.0
4、配置被动接口(包括路由器和第三层交换机的配置)
Router (config-router) # passive-interface Ethernet 0
Router (config-router) # passive-interface vlan37
35、配置路由过滤
Router (config) # access-list 12 deny any
Router (config) # router ospf 63
Router (config-router) # distribute-list 12 in serial 0
6、配置管理距离
Router (config-router) # distance 10
37、配置OSPF引入外部路由的花费值
Router (config-router) # redistribute metric 100
8、配置引入外部路由时缺省的标记值
Router (config-router) # redistribute tag 10
9、配置引入外部路由时缺省的外部路由类型
Router (config-router) # redistribute connected metric-type 1 subnets
10、配置IP地址池的名称
Router (config) # ip dhcp pool ttt/234