Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
OSPF Commands
OmniSwitch CLI Reference Guide
September 2009
page 41-7
ip ospf host
Creates and deletes an OSPF entry for directly attached hosts. Allows for the modification of the host 
parameters of Type of Service (ToS) and metric.
ip ospf host ip_address tos tos [metric metric]
no ip ospf host ip_address tos tos
Syntax Definitions
ip_address
The 32-bit IP address in dotted decimal format of the OSPF host. See 
the example below for more information.
tos
The type of service (ToS) of the specified OSPF host. The valid range is 
0- 15. Only ToS value 0 is supported at this time.
metric
The cost metric value assigned to the specified host. The valid range is 0 
and up.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
• The no variant of this command removes the record of the OSPF host.
• Use this command when multiple paths exist to a host. The specified host must be directly attached to 
the router. ToS routing is the ability to make a forwarding decision based on a destination address and 
a desired Quality of Service (QoS). ToS routing allows link selection based on QoS when more than 
one path exists between a source and a destination.A metric value is the cost of all the hops necessary 
for a packet to reach its destination. Routers use the metric to determine the best possible path
Examples
-> ip ospf host 172.22.2.115 tos 1 metric 10
-> no ip ospf host 172.22.2.115 tos 1
Release History
Release 6.1; command was introduced.
parameter
default
metric
0