3com S7906E Guide De Référence

Page de 2327
 
1-28 
display ospf routing 
Syntax 
display ospf [ process-id  ]  routing [ interface  interface-type interface-number ] [ nexthop 
nexthop-address ] 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
process-id: OSPF process ID, in the range 1 to 65535. 
interface  interface-type interface-number: Displays OSPF routing information advertised via the 
interface.  
nexthop nexthop-address: Displays OSPF routing information with the specified next hop.  
Description 
Use the display ospf routing command to display OSPF routing information. 
If no OSPF process is specified, the routing information of all OSPF processes is displayed. 
Examples 
# Display OSPF routing information. 
<Sysname> display ospf routing 
 
          OSPF Process 1 with Router ID 192.168.1.2 
                   Routing Tables 
 
 Routing for Network 
 Destination        Cost  Type       NextHop         AdvRouter     Area 
 192.168.1.0/24     1562  Stub       192.168.1.2     192.168.1.2   0.0.0.0 
 172.16.0.0/16      1563  Inter      192.168.1.1     192.168.1.1   0.0.0.0 
 
 Total Nets: 2 
 Intra Area: 1  Inter Area: 1  ASE: 0  NSSA: 0 
Table 1-15 display ospf routing command output description 
Field 
Description 
Destination Destination 
network 
Cost 
Cost to destination 
Type 
Route type: intra-area, transit, stub, inter-area, type1 external, type2 external.
NextHop 
Next hop address 
AdvRouter Advertising 
router 
Area Area 
ID