Displaying ospf route information – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 158

Advertising
background image

144

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Displaying OSPF information

6

Displaying OSPF route information

To display OSPF route information, enter the following command at any CLI level.

Syntax: show ip ospf routes [ip-addr]

The ip-addr parameter specifies a destination IP address. If you use this parameter, only the route
entries for that destination are shown.

This display shows the following information.

Adjacent Neighbor Count

The number of adjacent neighbor routers.

Neighbor:

The neighbor router’s ID.

TABLE 17

CLI display of OSPF route information

This field...

Displays...

Index

The row number of the entry in the router’s OSPF route table.

Destination

The IP address of the route's destination.

Mask

The network mask for the route.

Path_Cost

The cost of this route path. (A route can have multiple paths. Each path
represents a different exit port for the Layer 3 Switch.)

Type2_Cost

The type 2 cost of this path.

Path_Type

The type of path, which can be one of the following:

Inter – The path to the destination passes into another area.

Intra – The path to the destination is entirely within the local area.

External1 – The path to the destination is a type 1 external route.

External2 – The path to the destination is a type 2 external route.

Adv_Router

The OSPF router that advertised the route to this Brocade Layer 3 Switch.

Link-State

The link state from which the route was calculated.

TABLE 16

Output of the show ip ospf interface command

This field

Displays

Virtual ADX show ip ospf routes

Index Destination Mask Path_Cost Type2_Cost Path_Type

1

10.95.7.0 255.255.255.0 1 0 Intra

Adv_Router Link_State Dest_Type State Tag Flags

10.35.1.220 10.95.7.251 Network Valid 00000000 7000

Paths Out_Port Next_Hop Type Arp_Index State

1 3

10.95.7.250 OSPF 8 84 00

Index Destination Mask Path_Cost Type2_Cost Path_Type

2 10.3.63.0 255.255.255.0 11 0 Inter

Adv_Router Link_State Dest_Type State Tag Flags

10.95.7.250 10.3.63.0 Network Valid 00000000 0000

Paths Out_Port Next_Hop Type Arp_Index State

1 3

10.95.7.250 OSPF 8 84 00

Advertising