41

Maintenance Tools

Use the maintenance tool commands to check the conditions of other devices through the NXC. The maintenance tools can help you to troubleshoot network problems.

41.1 Maintenance Tools Commands

Here are maintenance tool commands that you can use in privilege mode.

Table 152 Maintenance Tools Commands in Privilege Mode

COMMAND

DESCRIPTION

packet-trace [interface interface_name] [ip-

Sends traffic through the specified interface with

proto {<0..255> protocol_name any}] [src-

the specified protocol, source address, destination

host {ip hostname any}] [dst-host {ip

address, and/or port number.

hostname any}] [port {<1..65535> any}]

If you specify file, the NXC dumps the traffic to /

[file] [duration <1..3600>] [extension-filter

packet_trace/

filter_extension

packet_trace_interface. Use FTP to

]

retrieve the files (see Section 35.6 on page 228).

 

 

If you do not assign the duration, the NXC keeps

 

dumping traffic until you use Ctrl-C.

 

Use the extension filter to extend the use of this

 

command.

 

protocol_name: You can use the name, instead

 

of the number, for some IP protocols, such as tcp,

 

udp, icmp, and so on. The names consist of 1-16

 

alphanumeric characters, underscores (_), or

 

dashes (-). The first character cannot be a number.

 

hostname: You can use up to 252 alphanumeric

 

characters, dashes (-), or periods (.). The first

 

character cannot be a period.

 

filter_extension: You can use 1-256

 

alphanumeric characters, spaces, or '()+,/

 

:=?;!*#@$_%.- characters.

 

 

traceroute {ip hostname}

Displays the route taken by packets to the specified

 

destination. Use Ctrl+c when you want to return

 

to the prompt.

show arp-table

Displays the current Address Resolution Protocol

 

table.

show arp reply restricted

Displays whether the NXC is set to only respond to

 

ARP requests, in which both the source and

 

destination IP addresses are in different subnets.

 

 

show packet-capture status

Displays whether a packet capture is ongoing.

show packet-capture config

Displays current packet capture settings.

 

261

NXC CLI Reference Guide