beautypg.com

Show ip route – Brocade Network OS Command Reference v4.1.0 User Manual

Page 938

background image

900

Network OS Command Reference

53-1003115-01

show ip route

2

show ip route

Shows IP route information.

Synopsis

show ip route

show ip route A.B.C.D/M [{debug | detail | longer}]

show ip route [all] [connected] [ospf] [bgp] [slot line_card_number] [static] [summary] [vrf name]
[rbridge-id rbridge-id]

show ip route nexthop [nexthopID [ref-routes]]

Operands

A.B.C.D/M

Specifies the IPv4 address/length to show information for a specific route.

debug

Displays debug information.

detail

Displays more-specific routes with the same specified prefix.

longer

Displays routes with addresses that match the address/mask prefix.

rbridge-id

Displays routes for a selected RBridge ID.

vrf

Displays routes for a selected VRF instance.

all

Displays information for all configured ip routes.

bgp

Displays BGP route information.

connected

Displays directly connected routes, such as local Layer 3 interfaces.

nexthop

Displays information about the configured next hop.

nexthopID

Valid values range from 0 through 65535.

ref-routes

Displays all routes that point to the specified nexthopID.

ospf

Displays routes learned from the Open Shortest Path First (OSPF) protocol.

rbridge-id rbridge-id

Displays routes for a selected RBridge ID.

slot line_card_number

Displays information for routes with the provided line card number.

static

Displays information about the configured static routes.

summary

Displays summary information for all routes.

vrf name

Displays routes for a selected VRF instance.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to display information about the IP routes in IP route management.

Usage Guidelines

None

Examples

switch# show ip route

Total number of IP routes: 7

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

BGP

Codes - i:iBGP e:eBGP

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link