Debug route – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 697

Advertising
background image

Brocade 6910 Ethernet Access Switch Configuration Guide

641

53-1002651-02

31

Debug Commands

Example

Console#debug ipcfg

Dump IPv4 Rif

===============================================================================

IP Address prefix_len ifindex role

192.168.2.1 24 1001 1

192.168.3.1 24 1002 1

192.68.4.1 24 1003 1

Dump IPv6 Rif

===============================================================================

IP Address prefix_len ifindex

20000000:0:21122ff:fe334455 64 1001

20000001:20000:0:9 64 1001

fe800000:0:21122ff:fe334455 64 1001

30000001:20003:0:4 64 1002

fe800000:0:21122ff:fe334455 64 1002

Console#

debug route

This command shows detailed information for all entries in the routing table, routing entries in the
Linux kernel, and entries in the ZebOS routing table.

Syntax

debug route {all | ipal | routecfg}

all – Shows all routing tables.

ipal – Shows routing entries in the Linux kernel.

routecfg – Shows entries in the ZebOS routing table.

Command Mode
Privileged Exec

Example

Console#debug route all

Dump IP Routing Table from Kernel
Destination Nexthop Interface table id
----------- ------- --------- --------
192.168.1.0 0.0.0.0 5097 254
192.168.2.0 0.0.0.0 1001 254
192.168.3.0 0.0.0.0 1002 254
10.0.0.0 192.168.2.99 1001 254
0.0.0.0 192.168.2.99 1001 254

Destination Nexthop Interface table id
----------- ------- --------- --------
2000:: :: 1001 254
2000:1:2:: :: 1001 254
3000:1:2:3:: :: 1002 254
3000:1:2:3:: :: 1002 254
FE80:: :: 5097 254
FE80:: :: 1002 254
FE80:: :: 1001 254
FF00:: :: 5097 254
FF00:: :: 1002 254
FF00:: :: 1001 254
:: FE80::2E0:98FF:FE7A:CE7A 1001 254
:: 2000::64 1001 254

Advertising