3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1153
route-policy-name: Rout policy name, a string of 1 to 19 characters.
value: Priority value, in the range 1 to 255. A smaller value has a higher priority.
Description
Use the preference command to set the priority of OSPF routes.
Use the undo preference command to restore the default.
The priority of OSPF internal routes defaults to 10, and the priority of OSPF 
external routes defaults to 150.
If a routing policy is specified, priorities defined by the routing policy will apply to 
matched routes, and the priorities set with the preference command apply to 
OSPF routes not matching the routing policy.
A router may run multiple routing protocols. When several routing protocols find 
routes to the same destination, the router uses the route found by the protocol 
with the highest priority.
Examples
# Set a priority of 150 for OSPF internal routes.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] preference 150 
reset ospf counters
Syntax
reset ospf [ process-id counters [ neighbor [ interface-type interface-number 
router-id ] ]
View
User view
Parameters
process-id: OSPF process ID, in the range 1 to 65535.
neighbor: Clears neighbor statistics on an interface.
interface-type interface-number: Interface type and interface number.
router-id: Neighbor router ID.
Description
Use the reset ospf counters command to reset OSPF counters. If no OSPF 
process is specified, counters of all OSPF processes are reset.
Examples
# Clear OSPF counters.
<Sysname> reset ospf counters 
reset ospf process
Syntax
reset ospf [ process-id process