icmpV6Error
icmpV6error - configures the type and code (sub-type) of error message
SYNOPSIS
icmpV6error sub-command options
DESCRIPTION
The icmpV6error command is used to configure the type and code (sub-type) of error message to send.
STANDARD OPTIONS
type
Read-only The type of ICMPv6 message to be sent. The messageType must first be set in the icmpV6 command by calling setType.
code
This parameter configures the code.
For icmpV6DestinationUnreachable code, options are:
Option |
Value |
Usage |
---|---|---|
icmpV6NoRouteToDestination |
0 |
(default) there is no route to a destination |
icmpV6CommunicationProhibted |
1 |
communication prohibited |
icmpV6NotAssigned |
2 |
(not assigned) |
icmpV6Addressnreachable |
3 |
address is unreachable |
icmpV6PortUnreachable |
4 |
port is unreachable |
icmpV6SourceAddressFailed |
5 |
address has failed |
icmpV6RejectRuteDestination |
6 |
route destination is rejected |
For icmpV6PacketTooBigCodeType, this is always set to 0.
For icmpV6TimeExceeded code, options are:
Option |
Value |
Usage |
---|---|---|
icmpV6HopLimitExceeded |
0 |
(default) hop limit was exceeded in transit |
icmpV6FragmentReassemblyTimeExceeded |
1 |
fragment reassembly time was exceeded |
For icmpV6ParameterProblemCodeType; options are:
Option |
Value |
Usage |
---|---|---|
icmpV6ErroneousHeaderField Detected |
0 |
(default) erroneous header field encountered |
icmpV6UnrecognizedNextheader Type |
1 |
unrecognized Next Header type encountered |
icmpV6UnrecognizedIpV6Option |
2 |
unrecognized ipV6 option encountered |
checkSum
Read-only. The 16-bit ICMPv6 checksum. This is the ones complement of the ones complement sum of the whole ICMPv6 message, which starts at the message type field. The 'whole' message includes the IPv6 header and extension header fields.
mtu
Maximum Transmission Unit. Applies to icmpV6PacketTooBigMessage type only. The maximum size of the message that can be sent on this link to the next hop. (default = 0)
pointer
Applies to icmpV6ParameterProblemMessage type only. It identifies the offset (octet) where the error was detected in the packet.
COMMANDS
The icmpV6error command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
icmpV6error setDefault
Sets to IxTclHal default values for all configuration options.
EXAMPLES
See example under icmpV6.
SEE ALSO
icmpV6, icmpV6Informational, icmpV6MulticastListener, icmpV6NeighborDiscovery,icmpV6OptionLinkLayerDestination, icmpV6OptionLinkLayerSource, icmpV6OptionMaxTransmissionUnit, icmpV6OptionPrefixInformation, icmpV6OptionRedirectedHeader, icmpV6OptionUserDefine, icmpV6UserDefine.