Preference; Reset Ospf - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

[Sysname] ospf 1
[Sysname-ospf-1] peer 10.1.1.1

preference

Syntax
preference [ ase ] value
undo preference [ ase ]
View
OSPF view
Parameters
value: OSPF protocol preference, in the range of 1 to 255.
ase: Indicates the preference of a redistributed external route of the AS.
Description
Use the preference command to configure the preference of the OSPF protocol.
Use the undo preference command to restore the default.
By default, the preference of an internal OSPF route is 10 and that of an external OSPF route is 150.
Because multiple dynamic routing protocols could be running on a router, there is the problem of routing
information sharing among routing protocols and selection. Therefore, a default preference is specified
for each routing protocol. When a route is identified by different protocols, the protocol with the highest
preference selected for forwarding IP packets.
Examples
# Specify the preference of an imported external route of the AS as 160.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] preference ase 160

reset ospf

Syntax
reset ospf { all | process-id }
View
User view
Parameters
all: Resets all OSPF processes.
process-id: OSPF process ID, in the range of 1 to 65535.
Description
Use the reset ospf command to reset OSPF process(es).
4-45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents