3com S7906E Guía De Referencia

Descargar
Página de 2327
 
1-37 
host-advertise 
Syntax 
host-advertise ip-address cost 
undo host-advertise ip-address 
View 
OSPF area view 
Default Level 
2: System level 
Parameters 
ip-address: IP address of a host 
cost: Cost of the route, in the range 1 to 65535. 
Description 
Use the host-advertise command to advertise a host route.  
Use the undo host-advertise command to remove a host route. 
No host route is advertised by default. 
Examples 
# Advertise route 1.1.1.1 with a cost of 100. 
<Sysname> system-view 
[Sysname] ospf 100 
[Sysname-ospf-100] area 0 
[Sysname-ospf-100-area-0.0.0.0]host-advertise 1.1.1.1 100 
import-route (OSPF view) 
Syntax 
import-route  protocol  [  process-id | all-processes  |  allow-ibgp ] [ cost  cost | type  type  | tag tag  
route-policy route-policy-name ] * 
undo import-route protocol process-id | all-processes 
View 
OSPF view 
Default Level 
2: System level 
Parameters 
protocol: Redistributes routes from the specified protocol, which can be bgpdirectisisospfrip, or 
static
process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only when the protocol is 
ripospf, or isis