IP ROUTING COMMANDS

Command Usage

If the address is specified without the netmask parameter, the router displays all routes for the corresponding natural class address (page 4-233).

Example

Console#show

ip route

 

 

Ip Address

Netmask

Next Hop

Protocol Metric Interface

--------------- --------------- --------------- ---------- ------ ---------

0.0.0.0

0.0.0.0

10.2.48.102

static

0

1

10.2.48.2

255.255.252.0

10.2.48.16

local

0

1

10.2.5.6

255.255.255.0

10.2.8.12

RIP

1

2

10.3.9.1

255.255.255.0

10.2.9.254 OSPF-intra

2

3

Total entry: 4

 

 

 

 

 

Console#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

Description

 

 

 

 

 

 

Ip

IP address of the destination network, subnetwork, or host. Note that

Address

the address 0.0.0.0 indicates the default gateway for this router.

 

 

 

 

 

 

Netmask

Network mask for the associated IP subnet.

 

 

 

 

 

 

Next Hop

IP address of the next hop (or gateway) used for this route.

 

 

 

Protocol

The protocol which generated this route information. (Values: static,

 

local, RIP, OSPF)

 

 

 

 

 

 

 

 

 

 

Metric

Cost for this interface.

 

 

 

 

 

 

 

Interface

VLAN interface through which this address can be reached.

 

 

 

 

 

 

 

 

show ip traffic

Use this command to display statistics for IP, ICMP, UDP, TCP and ARP protocols.

Command Mode

Privileged Exec

Command Usage

For a description of the information shown by this command, see “Displaying Statistics for IP Protocols” on page 3-165.

4-229

Page 515
Image 515
SMC Networks SMC6724L3 manual Show ip traffic, 229