Verify IP (O&M) connectivity from the MGW to another IP system (host) ping this command verifies the IP connectivity to another host. Ipac_ping -z -d [ -c ] [ -s ] -c the number of icmp echo request messages that will be sent toward the destina tion IP address.
Verify IP (O&M) connectivity from the MGW to another IP system (host) ping this command verifies the IP connectivity to another host. Ipac_ping -z -d [ -c ] [ -s ] -c the number of icmp echo request messages that will be sent toward the destina tion IP address.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
Verify IP (O&M) connectivity from the MGW to another IP system (host) ping this command verifies the IP connectivity to another host. Ipac_ping -z -d [ -c ] [ -s ] -c the number of icmp echo request messages that will be sent toward the destina tion IP address.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
Uppgjord - Prepared James McKay EJAMMCK Subject responsible MGw Commands Nr - No Dokansv/Godk - Doc respons/Approved Kontr - Checked Datum - Date 2011-02-19 Rev PA1 File
Use of 'ping' Options in MGw
Hello Everyone, I have complied descriptions and examples for the following Ping (ICMP) options within the M-MGw. Verify IP (O&M) connectivity from the MGW to another IP system (host). ping <host> This command verifies the IP connectivity to another IP system (host). The comma nd returns a string, which states the result of the verification. The origin of the traffic generated by this command is the IP stack for Operation & Maintenanc e. Example: MGW> ping 142.133.6.142 $ ping 142.133.6.142 * / 142.133.6.142 is alive $ Verify IP (SIGTRAN) connectivity from the MGW to another IP system (host). Note 1 For GMP V2/V3 (R5.1) nodes, the 'ipac_ping' command will only be accepted on the MPs (000200/000300) within the main subrack. Note 2 For GMP V4 (R6.0/R6.1) nodes, the 'ipac_ping' command will only be accepted on t wo (002300/002500) GPBs within the Control subrack. ipac_ping -z <srcIpAddr> -d <destIpAddr> [ -c <count> ] [ -s <pktSize> ] -c The number of ICMP echo request messages that will be sent toward the destina tion IP address. -d The destination IP address that will be used for the ICMP echo request messag e, that is, the hosts to which the connectivity is to be verified. -s The size in bytes of the ICMP echo request messages. -z The source IP address that will be used for the ICMP echo request message, th at is, the host from which the connectivity is to be verified. This command verifies the IP connectivity between an IP host on GPB or on SPB, a nd another IP system (host). The command sends a number of ICMP echo request mes sages toward a specified destination IP address. For each sent message, the result printout indicates if an ICMP echo reply messa ge has been received or if the operation has timed out (the timeout value is 5 s econds). This procedure is repeated until the specified number of messages has b een sent. Finally, a statistics summary is printed. Examples from GMP V2/V3 (R5.1) nodes: MGW> ipac_ping -z 10.250.7.4 -d 10.250.7.1 110117-13:17:15 172.21.56.131 8.0h MGW_NODE_MODEL_R5_1_R30_D01 stopfile=/tmp/277 46 $ ipac_ping -z 10.250.7.4 -d 10.250.7.1 PING (10.250.7.1) 56(64) bytes of data. 64 bytes from 10.250.7.1: icmp_seq=0 ttl=64 time=0.454 ms 64 bytes from 10.250.7.1: icmp_seq=1 ttl=64 time=0.454 ms 64 bytes from 10.250.7.1: icmp_seq=2 ttl=64 time=0.407 ms --- 10.250.7.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss round-trip min/avg/max = 0.407/0.438/0.454 ms $ MGW> ipac_ping -z 10.250.7.4 -d 10.250.7.1 -c 5 -s 100 110117-13:17:36 172.21.56.131 8.0h MGW_NODE_MODEL_R5_1_R30_D01 stopfile=/tmp/277 46 $ ipac_ping -z 10.250.7.4 -d 10.250.7.1 -c 5 -s 100 PING (10.250.7.1) 100(108) bytes of data. 108 bytes from 10.250.7.1: icmp_seq=0 ttl=64 time=10.735 ms 108 bytes from 10.250.7.1: icmp_seq=1 ttl=64 time=13.862 ms 108 bytes from 10.250.7.1: icmp_seq=2 ttl=64 time=13.270 ms 108 bytes from 10.250.7.1: icmp_seq=3 ttl=64 time=13.373 ms 108 bytes from 10.250.7.1: icmp_seq=4 ttl=64 time=13.389 ms --- 10.250.7.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss round-trip min/avg/max = 10.735/12.925/13.862 ms $ Examples from GMP V4 nodes (R6.0/R6.1): MGW> lhsh 002300 ipac_ping -z 10.250.7.142 -d 10.250.7.129 110117-13:28:15 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 $ lhsh 002300 ipac_ping -z 10.250.7.142 -d 10.250.7.129 PING (10.250.7.129) 56(64) bytes of data. 64 bytes from 10.250.7.129: icmp_seq=0 ttl=64 time=0.497 ms 64 bytes from 10.250.7.129: icmp_seq=1 ttl=64 time=0.462 ms 64 bytes from 10.250.7.129: icmp_seq=2 ttl=64 time=0.515 ms --- 10.250.7.129 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss round-trip min/avg/max = 0.462/0.491/0.515 ms $ MGW> lhsh 002500 ipac_ping -z 10.250.7.142 -d 10.250.7.129 110117-13:28:22 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 $ lhsh 002500 ipac_ping -z 10.250.7.142 -d 10.250.7.129 PING (10.250.7.129) 56(64) bytes of data. 64 bytes from 10.250.7.129: icmp_seq=0 ttl=64 time=0.460 ms 64 bytes from 10.250.7.129: icmp_seq=1 ttl=64 time=0.464 ms 64 bytes from 10.250.7.129: icmp_seq=2 ttl=64 time=0.446 ms --- 10.250.7.129 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss round-trip min/avg/max = 0.446/0.456/0.464 ms $ Command 'ipac_traceroute' which is new in M-MGW R6.0/R6.1 SW. ipac_traceroute- to determine the route taken by packets from an IP host on GPB or SPB to another IP system (host) across an IP network ipac_traceroute -z <srcIpAddr> -d <destIpAddr> [-c <count>] [-s <pktSize>] [-m < max ttl>] [-t <tos>] -c The number of 'ICMP echo request' messages that are sent toward the destinati on IP host address in each set. This is an optional parameter. -d The destination IP address that is used for the 'ICMP echo request' message, that is, the destination host to which the route will be identified. This is a m andatory parameter. -s The size in bytes of the 'ICMP echo request' messages. This is an optional pa rameter. -z The source IP address that is used for the 'ICMP echo request' message, that is, the source host from which the route will be identified. This is a mandatory parameter. -m The maximum TTL value. This is an optional parameter. -t The Type of Service (TOS) value. This is an optional parameter. MGW> lhsh 002300 ipac_traceroute -z 10.250.7.142 -d 10.250.7.129 110117-13:37:39 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 $ lhsh 002300 ipac_traceroute -z 10.250.7.142 -d 10.250.7.129 PING (10.250.7.129) 56(64) bytes of data. 64 bytes from 10.250.7.129: time=0.455 ms , 0.453 ms , 0.469 ms $ MGW> lhsh 002500 ipac_traceroute -z 10.250.7.142 -d 10.250.7.129 110117-13:38:11 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 $ lhsh 002500 ipac_traceroute -z 10.250.7.142 -d 10.250.7.129 PING (10.250.7.129) 56(64) bytes of data. 64 bytes from 10.250.7.129: time=0.449 ms , 32.742 ms , 0.373 ms $ Ping from the IP Access Host (IpAccessHostEt), executing on an ET board for IP ( ET-MFG/ET-IPG) over Nb/Iu (user plane traffic). via MoShell MGW> pr IpaccessHostEt 110117-14:03:17 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 ================================================================================ === Proxy MO ================================================================================ === 3778 IpSystem=1,IpAccessHostEt=CTRL-4-10.128.159.6 3779 IpSystem=1,IpAccessHostEt=CTRL-23-10.128.159.7 3781 IpSystem=1,IpAccessHostEt=CTRL-6-10.128.159.38 3782 IpSystem=1,IpAccessHostEt=CTRL-25-10.128.159.39 ================================================================================ === Total: 4 MOs MGW> acl IpAccessHostEt=CTRL-4-10.128.159.6 110117-14:04:09 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 ================================================================================ ================================= Proxy MO Action Nr of Params ================================================================================ ================================= 3778 IpAccessHostEt=CTRL-4-10.128.159.6 ping 1 ================================================================================ ================================= MGW> string - ping ( string host ); Calls a host or router to find out if it is present in the network. The following parameter is returned: Ping result: The IP address - is alive or no answer. Transaction required: No Parameters Name: host -Description: The IP address to the host that is called. MGW> acc IpAccessHostEt=CTRL-4-10.128.159.6 ping 110117-14:06:29 172.21.59.54 8.0h MGW_NODE_MODEL_B_15_106 stopfile=/tmp/29697 Call Action ping on following MOs ? ================================================================================ === 3778 IpSystem=1,IpAccessHostEt=CTRL-4-10.128.159.6 ================================================================================ === Are you Sure [y/n] ? y ================================================================================ ================================= Proxy MO Action Nr of Params ================================================================================ ================================= 3778 IpAccessHostEt=CTRL-4-10.128.159.6 ping 1 Parameter 1 of 1, host (string): 10.128.159.1 >>> Return value = 10.128.159.1 is alive ================================================================================ ================================= Total: 1 MOs attempted, 1 MOs actioned via COLI commands on the specific ET-MFG/IPG boards running the IpaccessHostEt S W. NAME - EtHostMo_startPing (Start a ping session) SYNOPSIS Command syntax: EtHostMo_startPing -d <destIpAddr> -h <hostFroId> -c <noPings> -s <pktSize> ..where.. EtHostMo_startPing is mandatory and name of the COLI command -d <destIpAddr> is mandatory (dotted decimal notation) -h <hostFroId> is mandatory (integer > 0) -c <noPings> is optional (default value 4) -s <pktSize> is optional (default value 56 byte ICMP payload) Example: EtHostMo_startPing -d 192.168.1.2 -h 1 -c 25 -s 18 MGW> pr IpaccessHostEt 110118-10:18:19 5.208.67.151 8.0r MGW_NODE_MODEL_R5_1_R30_E01 stopfile=/tmp/2032 3 ================================================================================ === Proxy MO ================================================================================ === 10934 IpSystem=1,IpAccessHostEt=MOD4-20-10.162.146.12 10935 IpSystem=1,IpAccessHostEt=MOD3-19-10.162.146.6 10936 IpSystem=1,IpAccessHostEt=MOD1-19-10.162.146.4 10937 IpSystem=1,IpAccessHostEt=MOD2-19-10.162.146.5 10938 IpSystem=1,IpAccessHostEt=MOD1-20-10.162.146.9 10939 IpSystem=1,IpAccessHostEt=MOD3-20-10.162.146.11 10940 IpSystem=1,IpAccessHostEt=MOD2-20-10.162.146.10 10941 IpSystem=1,IpAccessHostEt=MOD5-21-10.162.146.8 10942 IpSystem=1,IpAccessHostEt=MOD5-22-10.162.146.13 10943 IpSystem=1,IpAccessHostEt=MOD4-19-10.162.146.7 ================================================================================ === Total: 10 MOs MGW> fro IpAccessHostEt=MOD4-20-10.162.146.12 110118-10:17:36 5.208.67.151 8.0r MGW_NODE_MODEL_R5_1_R30_E01 stopfile=/tmp/2032 3 . ================================================================================ ================================= MO Attribute Value ================================================================================ ================================= IpAccessHostEt=MOD4-20-10.162.146.12 ipacHostEtFroId 8 ================================================================================ ================================= Total: 1 Mos MGW> get IpAccessHostEt=MOD4-20-10.162.146.12 ipInterfaceMoRef 110118-10:17:52 5.208.67.151 8.0r MGW_NODE_MODEL_R5_1_R30_E01 stopfile=/tmp/2032 3 ================================================================================ ================================= MO Attribute Value ================================================================================ ================================= IpAccessHostEt=MOD4-20-10.162.146.12 ipInterfaceMoRef Subrac k=5,Slot=20,PlugInUnit=1,EtMfg=1,GigaBitEthernet=1,IpInterface=MOD4-20-0.0.0.0-8 ================================================================================ ================================= Total: 1 MOs MGW> lhsh 892000; EtHostMo_startPing -d 10.162.146.1 -h 8 -c 5 -s 100 110118-10:19:05 5.208.67.151 8.0r MGW_NODE_MODEL_R5_1_R30_E01 stopfile=/tmp/2032 3 $ lhsh 892000 Welcome to OSE Shell OSE4.6.1. 892000> EtHostMo_startPing -d 10.162.146.1 -h 8 -c 5 -s 100 892000> (10.162.146.12) received echo reply from (10.162.146.1). icmpSeq=0 time= 0 ms (10.162.146.12) received echo reply from (10.162.146.1). icmpSeq=1 time=0 ms (10.162.146.12) received echo reply from (10.162.146.1). icmpSeq=2 time=0 ms (10.162.146.12) received echo reply from (10.162.146.1). icmpSeq=3 time=0 ms (10.162.146.12) received echo reply from (10.162.146.1). icmpSeq=4 time=0 ms ----- 10.162.146.12 PING statistics ----- 5 packets transmitted from (10.162.146.12) to (10.162.146.1). Packets received/timed-out: 5/0 (Packet loss 0) round-trip (ms) min/avg/max: 0/0/0 892000> exit Command 'EtHostMo_startTraceRoute' which is new in M-MGW R6.0/R6.1 SW. Command syntax: EtHostMo_startTraceRoute -d <destIpAddr> -h <hostFroId> -q <nQueries> -s <pktSiz e> -f <firstHop> -m <maxHop> -w <waitTime> ..where.. EtHostMo_startTraceRoute is mandatory and name of the COLI command -d <destIpAddr> is mandatory (dotted decimal notation) -h <hostFroId> is mandatory (integer > 0) -q <nQueries> is optional (default value 4) -s <pktSize> is optional (default value 56 byte ICMP payload) -f <firstHop> is optional (default value 1) -m <maxHop> is optional (default value 40) -w <waitTime> is optional (default value 5) Example: EtHostMo_startTraceRoute -d 192.168.1.2 -h 1 -q 5 -s 18 -f 3 -m 60 -w 3MGW> pr I paccessHostEt 110118-10:32:18 5.211.27.178 8.0r MGW_NODE_MODEL_B_15_21 stopfile=/tmp/29070 ================================================================================ === Proxy MO ================================================================================ === 9824 IpSystem=1,IpAccessHostEt=CTRL-23_UP 9825 IpSystem=1,IpAccessHostEt=CTRL-4_UP 9827 IpSystem=1,IpAccessHostEt=CTRL-6_UP 9829 IpSystem=1,IpAccessHostEt=CTRL-25_UP ================================================================================ === Total: 4 MOs MGW> fro IpAccessHostEt=CTRL-23_UP 110118-10:32:36 5.211.27.178 8.0r MGW_NODE_MODEL_B_15_21 stopfile=/tmp/29070 .. ================================================================================ ================================= MO Attribute Value ================================================================================ ================================= IpAccessHostEt=CTRL-23_UP ipacHostEtFroId 3 ================================================================================ ================================= Total: 1 MOs MGW> get IpAccessHostEt=CTRL-23_UP ipInterfaceMoRef 110118-10:33:11 5.211.27.178 8.0r MGW_NODE_MODEL_B_15_21 stopfile=/tmp/29070 ================================================================================ ================================= MO Attribute Value ================================================================================ ================================= IpAccessHostEt=CTRL-23_UP ipInterfaceMoRef Subrac k=CTRL,Slot=23,PlugInUnit=1,ExchangeTerminalIp=1,GigaBitEthernet=CTRL-23,IpInter face=CTRL-23_UP ================================================================================ ================================= Total: 1 MOs MGW> lhsh 012300; EtHostMo_startTraceRoute -d 10.163.240.209 -h 3 110118-10:35:25 5.211.27.178 8.0r MGW_NODE_MODEL_B_15_21 stopfile=/tmp/29070 $ lhsh 012300 Welcome to OSE Shell ose5.3. 012300> EtHostMo_startTraceRoute -d 10.163.240.209 -h 3 012300> (2) (2) (2) (2): 10.163.240.209 012300> exit $ Best regards, James