Cisco Cisco Packet Data Gateway (PDG)
Troubleshooting
Verifying StarOS Network Connectivity ▀
VPC-VSM System Administration Guide, StarOS Release 19 ▄
165
Verifying StarOS Network Connectivity
There are multiple StarOS commands to verify and/or troubleshoot network connectivity of the target VPC-VSM
instance. Note that network connectivity can only be tested only after VM interfaces and ports have been configured and
bound.
instance. Note that network connectivity can only be tested only after VM interfaces and ports have been configured and
bound.
The commands specified in this section should be issued on a context-by-context basis. Contexts act like virtual private
networks (VPNs) that operate independently of other contexts. Ports, interfaces, and routes configured in one context
cannot be tested from another context without additional configuration.
networks (VPNs) that operate independently of other contexts. Ports, interfaces, and routes configured in one context
cannot be tested from another context without additional configuration.
To switch between contexts enter the following command at the root prompt for the Exec mode:
context context_name
context_name is the name of the context to which you wish to switch. The following prompt appears:
[context_name]host_name#
Using the ping or ping6 Command
The ping or ping6 command verifies the system’s ability to communicate with a remote node in the network by passing
data packets between and measuring the response. This command is useful in verifying network routing and if a remote
node is able to respond at the IP layer.
data packets between and measuring the response. This command is useful in verifying network routing and if a remote
node is able to respond at the IP layer.
Syntax
The ping command has the following syntax:
ping host_ipv4_address [ count num_packets ] [ flood ] [ pattern packet_pattern ]
[ size octet_count ] [ src { src_host_name | src_host_ipv4_address } ] [ vrf
vrf_nam ]
[ size octet_count ] [ src { src_host_name | src_host_ipv4_address } ] [ vrf
vrf_nam ]
ping6 host_ipv6_address [ count num_packets ] [ flood ][ pattern packet_pattern ]
[ size octet_count ] [ src { src_host_name | src_host_ipv6_address } ] [ vrf
vrf_nam ]
[ size octet_count ] [ src { src_host_name | src_host_ipv6_address } ] [ vrf
vrf_nam ]
For complete information regarding the above commands, see the Exec Mode Commands chapter of the Command line
Interface Reference.
Interface Reference.
The following displays a sample of a successful ping (IPV4) response.
PING 192.29.96.1 (192.29.96.1) 56(84) bytes of data.
64 bytes from 192.29.96.1: icmp_seq=1 ttl=255 time=0.624 ms
64 bytes from 192.29.96.1: icmp_seq=2 ttl=255 time=0.606 ms
64 bytes from 192.29.96.1: icmp_seq=3 ttl=255 time=0.612 ms
64 bytes from 192.29.96.1: icmp_seq=4 ttl=255 time=3.78 ms
64 bytes from 192.29.96.1: icmp_seq=5 ttl=255 time=4.83 ms