4 debug ipv6 nd, 5 ipv6 default-gateway – PLANET WGSW-50040 User Manual

Page 212

Advertising
background image

12.2.4 debug ipv6 nd

Command:

debug ipv6 nd [ ns | na | rs | ra | redirect ]

no debug ipv6 nd [ ns | na | rs | ra | redirect ]

Function:

Enable the debug of receiving and sending operations for specified types of IPv6 ND messages.

The ns, na, rs, ra and redirect parameters represent neighbor solicitation, neighbor advertisement,

route solicitation, route advertisement and route redirect. No specification means to enable the

debug for all five types of ND message. The no operation of this command will disable debug of

receiving and sending operations for specified types of IPv6 ND messages, while no specification

means to disable that for all five types of ND message.

Default:

The debug of receiving and sending operations for all five types of IPv6 ND messages is disabled

by default.

Command Mode:

Admin Mode

Usage Guide:

The ND protocol is an essential part of IPv6. This command can display the ND message of a

specified type for troubleshooting.

Example:

Switch#debug ipv6 nd

IPv6 ND: rcvd, type <136>, src <fe80::203:fff:fe01:2786>, dst <fe80::203:fff:fe01:59ba>

Displayed information

Explanation

IPv6 ND: rcvd

Receive ND data report

type <136>

ND Type

Src <fe80::203:fff:fe01:2786>

Source IPv6 address

Dst <fe80::203:fff:fe01:59ba>

Destination IPv6 address

12.2.5 ipv6 default-gateway

Command:

ipv6 default-gateway <ipv6-address>

no ipv6 default-gateway <ipv6-address>

Function:

Set the IPv6 default-gateway address of switch; the no command will delete the IPv6

Advertising