HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

125
Syntax
display ospf [ process-id ] routing [ ip-address { mask | mask-length } ] [ interface interface-type
interface-number ] [ nexthop nexthop-address ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the
command displays the routing information for all OSPF processes.
ip-address: Specifies a destination IP address.
mask: Specifies the mask in dotted decimal notation.
mask-length: Specifies mask length in the range of 0 to 32 bits.
interface interface-type interface-number: Displays routes passing the specified output interface. Without
this option, the command displays OSPF routing information for all interfaces.
nexthop nexthop-address: Displays routes passing the specified next hop. Without this option, the
command displays all OSPF routing information.
verbose: Displays detailed OSPF routing information. Without this keyword, the command displays brief
OSPF routing information.
Usage guidelines
If no OSPF process is specified, this command displays the routing information for all OSPF processes.
If no interface is specified, this command displays OSPF routing information for all interfaces.
If no next hop is specified, this command displays all OSPF routing information.
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