Chapter 37 Reports and Reboot

37.1.2 Report Command Examples

The following commands start collecting data, display the traffic reports, and stop collecting data.

Router# configure terminal

 

 

Router(config)# show report ge1 ip

Amount

Direction

No. IP Address

User

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

1

192.168.1.4

admin

1273(bytes)

Outgoing

2

192.168.1.4

admin

711(bytes)

Incoming

Router(config)# show report ge1 service

Direction

 

No. Port Service

Amount

 

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

1

21

ftp

1273(bytes)

Outgoing

2

21

ftp

711(bytes)

Incoming

Router(config)# show report ge1 url

 

No. Hit

 

URL

 

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

1 1 140.114.79.60 Router(config)# show report status Report status: on

Collection period: 0 days 0 hours 0 minutes 18 seconds

37.1.3 Session Commands

This table lists the command to display the current sessions for debugging or statistical analysis.

Table 146 session Commands

COMMAND

DESCRIPTION

show conn [user {usernameanyunknown}]

Displays information about the selected sessions

[service {service-nameanyunknown}] [source

or about all sessions. You can look at all the active

{ipany}] [destination {ipany}] [begin

sessions or filter the information by user name,

<1..100000>] [end <1..100000>]

service object, source IP, destination IP, or session

number(s).

 

 

any means all users, services and IP addresses

 

respectively.

 

unknow means unknown users and services

 

respectively.

show conn ip-traffic destination

Displays information about traffic session sorted by

 

the destination.

show conn ip-traffic source

Displays information about traffic session sorted by

 

the source.

show conn status

Displays the number of active sessions.

250

 

NXC CLI Reference Guide