If the ASBR has a default route, the default-route-advertise command enables the ASBR to advertise the default route 0.0.0.0 to the OSPF area. If the ASBR has no default route, the default-route-advertise always command or the default-route-advertise command can be used: With always configu...
Default routes that are imported using the import-route command cannot be advertised. To advertise default routes, run the default-route-advertise command. The cost of a generated default route is determined by the cost and type parameters in the default-route-advertise command, and the default...
1.1.10 default-route-advertisedefault-route-advertise命令用来将缺省路由引入到OSPF路由区域。undo default-route-advertise命令用来恢复缺省情况。【命令】default-route-advertise [ [ always | permit-calculate-other ] | cost cost-value | route-policy route-policy-name | type type ] *...
1.1.10 default-route-advertisedefault-route-advertise命令用来将缺省路由引入到OSPF路由区域。undo default-route-advertise命令用来恢复缺省情况。【命令】default-route-advertise [ [ always | permit-calculate-other ] | cost cost-value | route-policy route-policy-name | type type ] *...
#int vlan 20 //进入vlan 20Switch(config-if)#ip address 192.168.3.1 255.255.255.0 //vlan 200配置IP地址为192.168.3.1Switch(config-if)#no shutdown //启动该vlan 20端口Switch(config-if)#end //返回到特权模式Switch#show ip route //查看路由表Switch#conf t //...
Because it has a default route, Router 2.2.2.2 originates a type 5 LSA with a link ID of 0.0.0.0. This is the result of thedefault-information originatecommand in its OSPF configuration. r2.2.2.2#show ip ospf database external 0.0.0.0OSPF Router with ID (2.2.2.2) (Process ID 2) ...
Distance: (default is 110) 显示Router ID为:2.2.2.2 3、改变其Router ID: r2(config)#router ospf 1 r2(config-router)#router-id 10.10.10.10 Reload or use "clear ip ospf process" command, for this to take effect r2(config-router)#end ...
[R4-ospf-1]default-route-advertise always 给区域内所有路由下发一条到达目的网段 的默认路由 [R1]dis ospf peer 查看邻居表 [R1]dis ospf peer brief 查看邻居简表 [R1]int g0/0/0 [R1-GigabitEthernet0/0/0]ospf dr [R1-GigabitEthernet0/0/0]ospf dr-priority ?
The area border router (ABR) for the NSSA does not, by default, originate a default route into the NSSA. You must use the area <x> nssa default-information originate command. Prerequisites Requirements There are no specific requirements for this document. Components Used This document is ...
* - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C 192.168.1.0/24 is directly connected, Vlan10 C 192.168.3.0/24 is directly connected, Vlan20 S3560# ...