HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 12

packet-size, timeout, interface-type interface-number, Layer 3-IP Services Configuration Guide

Page 12 highlights

-s packet-size: Specifies the length (in bytes) of an ICMPv6 echo request, which is in the range of 20 to 8100 and defaults to 56. -t timeout: Specifies the timeout value (in milliseconds) of an ICMPv6 echo reply, which is in the range of 0 to 65535 and defaults to 2000. -tos tos: Specifies the ToS value for an IPv6 echo request, which is in the range of 0 to 255 and defaults to 0. host: Specifies the IPv6 address or host name of the destination, a string of 1 to 46 characters. -i interface-type interface-number: Specifies an outbound interface by its type and number. This parameter can be used only when the destination address is the link local address and the specified outbound interface must have a link local address. For more information about the configuration of a link local address, see Layer 3-IP Services Configuration Guide. If this parameter is not provided, the ICMP echo request sending interface is determined by searching the routing table or forwarding table according to the destination IP address. -vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the destination belongs, where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the destination is on the public network, do not specify this option. Description Use ping ipv6 to verify whether an IPv6 address is reachable, and display the corresponding statistics. To use the name of the destination host to perform the ping ipv6 operation, you must configure DNS on the device first. Otherwise, the ping ipv6 operation fails. For more information about DNS, see Layer 3-IP Services Configuration Guide. To abort the ping ipv6 operation during the execution of the command, press Ctrl+C. Examples # Verify whether the IPv6 address 2001::1 is reachable. ping ipv6 2001::1 PING 2001::2 : 56 data bytes, press CTRL_C to break Reply from 2001::1 bytes=56 Sequence=1 hop limit=64 time = 62 ms Reply from 2001::1 bytes=56 Sequence=2 hop limit=64 time = 26 ms Reply from 2001::1 bytes=56 Sequence=3 hop limit=64 time = 20 ms Reply from 2001::1 bytes=56 Sequence=4 hop limit=64 time = 4 ms Reply from 2001::1 bytes=56 Sequence=5 hop limit=64 time = 16 ms --- 2001::2 ping statistics --5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 4/25/62 ms # Verify whether the IPv6 address 2001::1 in VPN 1 is reachable. ping ipv6 -vpn-instance vpn1 2001::1 PING 2001::1 : 56 data bytes, press CTRL_C to break 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

6
-s
packet-size
: Specifies the length (in bytes) of an ICMPv6 echo request, which is in the range of 20 to
8100 and defaults to 56.
-t
timeout
: Specifies the timeout value (in milliseconds) of an ICMPv6 echo reply, which is in the range of
0 to 65535 and defaults to 2000.
-tos
tos
: Specifies the ToS value for an IPv6 echo request, which is in the range of 0 to 255 and defaults
to 0.
host
: Specifies the IPv6 address or host name of the destination, a string of 1 to 46 characters.
-i
interface-type interface-number
: Specifies an outbound interface by its type and number. This
parameter can be used only when the destination address is the link local address and the specified
outbound interface must have a link local address. For more information about the configuration of a link
local address, see
Layer 3—IP Services Configuration Guide
. If this parameter is not provided, the ICMP
echo request sending interface is determined by searching the routing table or forwarding table
according to the destination IP address.
-vpn-instance
vpn-instance-name
: Specifies the MPLS L3VPN to which the destination belongs, where
vpn-instance-name
is a case-sensitive string of 1 to 31 characters. If the destination is on the public
network, do not specify this option.
Description
Use
ping ipv6
to verify whether an IPv6 address is reachable, and display the corresponding statistics.
To use the name of the destination host to perform the ping ipv6 operation, you must configure DNS on
the device first. Otherwise, the ping ipv6 operation fails. For more information about DNS, see
Layer
3—IP Services Configuration Guide
.
To abort the ping ipv6 operation during the execution of the command, press
Ctrl+C
.
Examples
# Verify whether the IPv6 address 2001::1 is reachable.
<Sysname> ping ipv6 2001::1
PING 2001::2 : 56
data bytes, press CTRL_C to break
Reply from 2001::1
bytes=56 Sequence=1 hop limit=64
time = 62 ms
Reply from 2001::1
bytes=56 Sequence=2 hop limit=64
time = 26 ms
Reply from 2001::1
bytes=56 Sequence=3 hop limit=64
time = 20 ms
Reply from 2001::1
bytes=56 Sequence=4 hop limit=64
time = 4 ms
Reply from 2001::1
bytes=56 Sequence=5 hop limit=64
time = 16 ms
--- 2001::2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 4/25/62 ms
# Verify whether the IPv6 address 2001::1 in VPN 1 is reachable.
<Sysname> ping ipv6 –vpn-instance vpn1 2001::1
PING 2001::1 : 56
data bytes, press CTRL_C to break