junos中的stub
set area 2 stub 配置一个区
set area 3 nssa 配置为一个NSSA(非纯stub)
set area 3 interface fe-2/0/1.0 配一个区的接口
set area 3 stub defalut-metric配置一个默认的路由到 stub区域
set area 3 nssa stub defalut-sa1 defalut-metric 1 配置一个默认的路由到nssa stub区域
在ospf中插入路由
set export my-export-policy
区域验证
junos
set authentication-type md5
set interface fe-0/0/0.0 authentication md5 1 key testkey
IOS
router ospf 1
area 2 authentication message-digest
inter fa0/0
ip ospf message-digest-key 1 md5 testkey
监控OSPF
ios
show ip ospf database
show ip ospf interface
show ip ospf interface ?
jun
show ospf database
show ospf interface
show ospf interface fe-0/0/0.0 extersive
show ospf neighbor