Utility Commands
440
ProSAFE M7100 Managed Switches
The following shows example CLI display output for the command.
<Switch> show hosts
Host name......................... Device
Default domain.................... gm.com
Default domain list............... yahoo.com, Stanford.edu, rediff.com
Domain Name lookup................ Enabled
Number of retries................. 5
Retry timeout period.............. 1500
Name servers (Preference order)... 176.16.1.18 176.16.1.19
Configured host name-to-address mapping:
Host Addresses
------------------------------ ------------------------------
accounting.gm.com 176.16.8.8
Host Total ElapsedTypeAddresses
--------------- -------- ------ -------- --------------
www.stanford.edu 72 3 IP 171.64.14.203
Packet Capture Commands
Packet capture commands assist in troubleshooting protocol-related problems with the
management CPU. The packets to and from the management CPU can be captured in an internally
allocated buffer area for export to a PC host for protocol analysis. Public domain packet analysis
tools like Ethereal can be used to decode and review the packets in detail. Capturing can be
performed in a variety of modes, either transmit-side only, receive-side only, or both. The
number of packets captured will depend on the size of the captured packets.
capture (Privileged EXEC command)
Use the command capture start to manually start capturing CPU packets for packet trace.
Capturing packets is stopped automatically when 128 packets are captured and have not yet
been displayed during a capture session. It is guaranteed that packets not displayed and not saved
will not be lost when capturing is in progress. Use the command capture stop to manually
stop capturing CPU packets for packet trace before the moment when 128 packets are captured
and capturing packets is stopped automatically.The packet capture operates in three modes:
• C
apture file
•
Remote capture
•
Capture line