
Managing IP
Configuring IP
page 15-32
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
•
source-interface.
Use the
source-interface
keyword to set the IP address to be used as source IP for
the ping packets.
•
data-pattern.
Use the
data-pattern
keyword to set the data pattern to be used in the data field of the
ping packets.
•
dont-fragment.
Use the
dont-fragment
keyword to set the don't-fragment bit in the IP packet.
•
tos.
Use the
tos
keyword to set the type of service field in the IP header.
For example, to send a ping with a count of 2, a size of 32 bytes, an interval of 2 seconds, time-out of 10
seconds, a source-interface using mgmt, tos of 1, data-pattern of AB and dont-fragment you would enter:
-> ping 172.22.2.115 count 2 size 32 interval 2 timeout 10 source-interface mgmt
tos 1 data-pattern AB dont-fragment
Note.
If you change the default values, they only apply to the current ping. The next time you use the
ping
command, the default values are used unless you enter different values again.
Tracing an IP Route
command is used to find the path taken by an IP packet from the local switch to a
specified destination. This command displays the individual hops to the destination as well as timing
information. When using this command, enter the name of the destination as part of the command line
(either the IP address or host name). Use the optional
max-hop
parameter to set a maximum hop count to
the destination. If the trace reaches this maximum hop count without reaching the destination, the trace
stops.
For example, to perform a traceroute to a device with an IP address of 172.22.2.115 with a maximum hop
count of 10 you would enter:
-> traceroute 172.22.2.115 max-hop 10
Optionally, you can also specify:
•
min-hop.
Use the
min-hop
keyword to set the minimum number of hops for the first packet.
•
source-interface.
Use the
source-interface
keyword to set the source IP interface to be used in the
traceroute packets.
•
probes.
Use the
probes
keyword to set the number of packets (retry) to be sent for each hop-count.
•
timeout.
Use the
timeout
keyword to set the time to wait for the response of each probe packet.
•
port.
Use the
port
keyword to set the destination port number to be used in the probing packets.
Displaying TCP Information
Use the
command to display TCP statistics. Use the
command to
display TCP port information.