TMS zl Management and Configuration Guide ST.1.2.100916

A-41
Command-Line Reference
Product OS Manager Context Commands
nslookup
This command is used to learn a device’s IP address according to its hostname.
Syntax: nslookup <hostname>
Replace <hostname> with the hostname you want to resolve.
For example, if you wanted to know the IP address for router5, you would
enter:
hostswitch(tms-module-<slot ID>)# nslookup router5
page
This command enables and disables page mode. In page mode, the terminal
output will pause when it fills the screen and wait for a keystroke such as
space
or Ctrl+C.
Syntax: [no] page
ping
This command sends an ICMP echo to a specified destination.
Syntax: ping < IP address | hostname > [repetitions <1-100000>] [data-size <0-
65471>]
Replace <IP address> with the IP address of the ping destination.
Replace <hostname> with the host name of the ping destination.
Include the repetitions option if you want to send multiple pings.
Include the data-size option if you want to customize the size of the ping.
The module displays the number of pings sent and responses received.
For example, to send a ping to a device with the IP address 192.168.115.104:
hostswitch(tms-module-<slot ID>)# ping 192.168.115.104
When you send ICMP echoes, the module displays the ping statistics to
describe the types of responses the router receives. If you need to halt a ping
operation, press
Ctrl+Z.
This command is also available from the global configuration mode context.