display ipv6 rawip verbose

Use display ipv6 rawip verbose to display detailed information about IPv6 RawIP connections.

Syntax

display ipv6 rawip verbose [ slot slot-number [ pcb pcb-index ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

pcb pcb-index: Specifies a PCB by its index in the range of 1 to 16.

slot slot-number: Specifies an IRF member device by its member ID.

Usage guidelines

Detailed information about an IPv6 RawIP connection includes socket's creator, state, option, type, and protocol number, and source and destination IPv6 addresses of the connection.

Examples

# Display detailed information about an IPv6 RawIP connection.

<Sysname> display ipv6 rawip verbose
Total RawIP socket number: 1
 Slot: 6
 Creator: ping ipv6[320]
 State: N/A
 Options: N/A
 Error: 0
 Receiving buffer(cc/hiwat/lowat/drop/state): 0 / 9216 / 1 / 0 / N/A
 Sending buffer(cc/hiwat/lowat/state): 0 / 9216 / 512 / N/A
 Type: 3
 Protocol: 58
 Connection info: src = ::, dst = ::
 Inpcb flags: N/A
 Inpcb vflag: INP_IPV6
 Hop limit: 255 (minimum hop limit: 0)
 Send VRF: 0xffff
 Receive VRF: 0xffff

Table 49: Command output

Field

Description

Total RawIP socket number

Total number of IPv6 RawIP sockets.

Slot

ID of the IRF member device.

Creator

Task name of the socket. The process number is in the square brackets.

State

Socket state.

Options

Socket options.

Receiving buffer (cc/hiwat/lowat/drop/state)

Displays receive buffer information in the following order:

  • cc—Used space.

  • hiwat—Maximum space.

  • lowat—Minimum space.

  • drop—Number of dropped packets.

  • state—Buffer state:

    • CANTSENDMORE—Unable to send data to the peer.

    • CANTRCVMORE—Unable to receive data from the peer.

    • RCVATMARK—Receiving tag.

    • N/A—None of the above states.

Sending buffer(cc/hiwat/lowat/state)

Displays send buffer information in the following order:

  • cc—Used space.

  • hiwat—Maximum space.

  • lowat—Minimum space.

  • state—Buffer state:

    • CANTSENDMORE—Unable to send data to the peer.

    • CANTRCVMORE—Unable to receive data from the peer.

    • RCVATMARK—Receiving tag.

    • N/A—None of the above states.

Type

Socket type:

  • 1SOCK_STREAM. This socket uses TCP to provide reliable transmission of byte streams.

  • 2SOCK_DGRAM. This socket uses UDP to provide datagram transmission.

  • 3SOCK_RAW. This socket allows an application to change the next upper-layer protocol header.

  • N/A—None of the above types.

Protocol

Number of protocol using the socket. 58 represents ICMP.

Connection info

Connection information, including the source and destination IPv6 addresses.

Inpcb flags

Flags in the Internet PCB:

  • INP_RECVOPTS—Receives IPv6 options.

  • INP_RECVRETOPTS—Receives replied IPv6 options.

  • INP_RECVDSTADDR—Receives destination IPv6 address.

  • INP_HDRINCL—Provides the entire IPv6 header.

  • INP_REUSEADDR—Reuses the IPv6 address.

  • INP_REUSEPORT—Reuses the port number.

  • INP_ANONPORT—Port number not specified.

  • INP_PROTOCOL_PACKET—Identifies a protocol packet.

  • INP_RCVVLANID—Receives the VLAN ID of the packet. Only UDP and RawIP support this flag.

  • IN6P_IPV6_V6ONLY—Only supports IPv6 protocol stack.

  • IN6P_PKTINFO—Receives the source IPv6 address and input interface of the packet.

  • IN6P_HOPLIMIT—Receives the hop limit.

  • IN6P_HOPOPTS—Receives the hop-by-hop options extension header.

  • IN6P_DSTOPTS—Receives the destination options extension header.

  • IN6P_RTHDR—Receives the routing extension header.

  • IN6P_RTHDRDSTOPTS—Receives the destination options extension header preceding the routing extension header.

  • IN6P_TCLASS—Receives the traffic class of the packet.

  • IN6P_AUTOFLOWLABEL—Attaches a flow label automatically.

  • IN6P_RFC2292—Uses the API specified in RFC 2292.

  • IN6P_MTU—Discovers differences in the MTU size of every link along a given data path. TCP does not support this flag.

  • INP_RCVMACADDR—Receives the MAC address of the frame.

  • INP_USEICMPSRC—Uses the specified IPv6 address as the source IPv6 address for outgoing ICMP packets.

  • INP_SYNCPCB—Waits until Internet PCB is synchronized.

  • N/A—None of the above flags.

Inpcb vflag

IP version flag in the Internet PCB:

  • INP_IPV4—IPv4 protocol.

  • INP_IPV6—IPv6 protocol.

  • INP_IPV6PROTO—Creates an Internet PCB based on IPv6 protocol.

  • INP_TIMEWAIT—In TIMEWAIT state.

  • INP_ONESBCAST—Sends broadcast packets.

  • INP_DROPPED—Protocol dropped flag.

  • INP_SOCKREF—Strong socket reference.

  • INP_DONTBLOCK—Do not block synchronization of the Internet PCB.

  • N/A—None of the above flags.

Hop limit(minimum hop limit)

Hop limit in the Internet PCB. The minimum number of hops is displayed in the parentheses.

Send VRF

Sent instances.

Receive VRF

Received instances.