Serviceability Packet Tracing Commands
Use these commands to trace packets and diagnose conditions that affect the switch.
These commands improve the capability to diagnose conditions that affect the switch.
capture start
M4250
M4350
Use the capture start command to manually start capturing CPU packets for packet trace.
The packet capture operates in three modes:
- capture file
- remote capture
- capture line
The command is not persistent across a reboot cycle.
| Format | capture start [all | receive | transmit] |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| all | Capture all traffic. |
| receive | Capture only received traffic. |
| transmit | Capture only transmitted traffic. |
capture stop
M4250
M4350
Use the capture stop command to manually stop capturing CPU packets for packet trace.
| Format | capture stop |
| Mode | Privileged EXEC |
capture {file | remote | line | usb}
M4250
M4350
Use this command to configure file capture options. The command is persistent across a reboot cycle.
| Format | capture {file | remote | line | usb} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| file |
In the capture file mode, the captured packets are stored in a file on NVRAM. The maximum file size defaults to 524288 bytes. The switch can transfer the file to a TFTP server via TFTP, SFTP, SCP via CLI, and SNMP. The file is formatted in pcap format, is named cpuPktCapture.pcap, and can be examined using network analyzer tools such as Wireshark® or Ethereal®. Starting a file capture automatically terminates any remote capture sessions and line capturing. After the packet capture is activated, the capture proceeds until the capture file reaches its maximum size, or until the capture is stopped manually using the CLI command capture stop. |
| remote |
In the remote capture mode, the captured packets are redirected in real time to an external PC running the Wireshark tool for Microsoft® Windows®. A packet capture server runs on the switch side and sends the captured packets via a TCP connection to the Wireshark tool. The remote capture can be enabled or disabled using the CLI. There should be a Windows PC with the Wireshark tool to display the captured file. When using the remote capture mode, the switch does not store any captured data locally on its file system. You can configure the IP port number for connecting Wireshark to the switch. The default port number is 2002. If a firewall is installed between the Wireshark PC and the switch, then these ports must be allowed to pass through the firewall. You must configure the firewall to allow the Wireshark PC to initiate TCP connections to the switch. If the client successfully connects to the switch, the CPU packets are sent to the client PC, then Wireshark receives the packets and displays them. This continues until the session is terminated by either end. Starting a remote capture session automatically terminates the file capture and line capturing. |
| line | In the capture line mode, the captured packets are saved into the RAM and can be displayed on the CLI. Starting a line capture automatically terminates any remote capture session and capturing into a file. There is a maximum 128 packets of maximum 128 bytes that can be captured and displayed in line mode. |
| usb | In the usb mode, the captured packets are stored in a file on USB device. |
capture remote port
M4250
M4350
Use this command to configure file capture options. The command is persistent across a reboot cycle. The port-id argument is a TCP port number from 1024–49151.
| Format | capture remote port port-id |
| Mode | Global Config |
capture file size
M4250
M4350
Use this command to configure file capture options. The command is persistent across a reboot cycle. The file-size argument is the maximum size the PCAP file can reach, which is 2–512 KB.
| Format | capture file size max file-size |
| Mode | Global Config |
capture line wrap
M4250
M4350
This command enables wrapping of captured packets in line mode when the captured packets reach full capacity.
| Format | capture line wrap |
| Mode | Global Config |
no capture line wrap
This command disables wrapping of captured packets and configures capture packet to stop when the captured packet capacity is full.
| Format | no capture line wrap |
| Mode | Global Config |
capture usb
M4250
M4350
This command sets a file name on a USB device as the destination for the capture of CPU packets.
| Format | capture usb file-name |
| Mode | Global Config |
show capture packets
M4250
M4350
Use this command to display packets captured and saved to RAM. It is possible to capture and save into RAM, packets that are received or transmitted through the CPU. A maximum 128 packets can be saved into RAM per capturing session. A maximum 128 bytes per packet can be saved into the RAM. If a packet holds more than 128 bytes, only the first 128 bytes are saved; data more than 128 bytes is skipped and cannot be displayed in the CLI.
Capturing packets is stopped automatically when 128 packets are captured and have not yet been displayed during a capture session. Captured packets are not retained after a reload cycle.
| Format | show capture packets |
| Mode | Privileged EXEC |
debug aaa accounting
M4250
M4350
This command is useful to debug accounting configuration and functionality in User Manager.
| Format | debug aaa accounting |
| Mode | Privileged EXEC |
no debug aaa accounting
Use this command to turn off debugging of User Manager accounting functionality.
| Format | no debug aaa accounting |
| Mode | Privileged EXEC |
debug aaa authorization
M4250
M4350
Use this command to enable the tracing for AAA in User Manager. This is useful to debug authorization configuration and functionality in the User Manager. Each of the parameters is used to configure authorization debug flags.
| Format | debug aaa authorization [commands | exec] |
| Mode | Privileged EXEC |
no debug aaa authorization
Use this command to turn off debugging of the User Manager authorization functionality.
| Format | no debug aaa authorization |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #debug aaa authorization
Tacacs authorization receive packet tracing enabled.
(NETGEAR Switch) #debug tacacs authorization packet transmit
authorization tracing enabled.
(NETGEAR Switch) #no debug aaa authorization
AAA authorization tracing enabled
(NETGEAR Switch) #
debug aaa coa
M4250
M4350
This command is useful to debug accounting DAS control messages in User Manager.
| Format | debug aaa coa |
| Mode | Privileged EXEC |
no debug aaa coa
Use this command to turn off debugging of User Manager DAS control messages.
| Format | no debug aaa coa |
| Mode | Privileged EXEC |
debug aaa pod
M4250
M4350
This command is useful to debug accounting DAS packets in User Manager.
| Format | debug aaa pod |
| Mode | Privileged EXEC |
no debug aaa pod
Use this command to turn off debugging of User Manager DAS packets.
| Format | no debug aaa pod |
| Mode | Privileged EXEC |
debug arp
M4250
M4350
Use this command to enable ARP debug protocol messages.
| Default | disabled |
| Format | debug arp |
| Mode | Privileged EXEC |
no debug arp
Use this command to disable ARP debug protocol messages.
| Format | no debug arp |
| Mode | Privileged EXEC |
debug authentication
M4250
M4350
This command displays either the debug trace for either a single event or all events for an interface.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Default | none |
| Format | debug authentication packet {all | event} unit/slot/port |
| Mode | Privileged EXEC |
debug auto-voip
M4250
M4350
Use this command to enable Auto VoIP debug messages. Use the optional parameters to trace H323, SCCP, or SIP packets respectively.
| Default | disabled |
| Format | debug auto-voip [H323 | SCCP | SIP] |
| Mode | Privileged EXEC |
no debug auto-voip
Use this command to disable Auto VoIP debug messages.
| Format | no debug auto-voip |
| Mode | Privileged EXEC |
debug auto-vlan
M4250
M4350
Use this command to enable debug the Auto-VLAN feature.
| Default | disabled |
| Format | debug auto-vlan |
| Mode | Privileged EXEC |
no debug auto-vlan
Use this command to disable Auto-VLAN debug messages.
| Format | no debug auto-vlan |
| Mode | Privileged EXEC |
debug clear
M4250
M4350
This command disables all previously enabled “debug” traces.
| Default | disabled |
| Format | debug clear |
| Mode | Privileged EXEC |
debug console
M4250
M4350
This command enables the display of “debug” trace output on the login session in which it is executed. Debug console display must be enabled in order to view any trace output. The output of debug trace commands will appear on all login sessions for which debug console has been enabled. The configuration of this command remains in effect for the life of the login session. The effect of this command is not persistent across resets.
| Default | disabled |
| Format | debug console |
| Mode | Privileged EXEC |
no debug console
This command disables the display of “debug” trace output on the login session in which it is executed.
| Format | no debug console |
| Mode | Privileged EXEC |
debug crashlog (M4250 series switch)
M4250
Use this command on an M4250 series switch to view information contained in the crash log file that the system maintains when it experiences an unexpected reset. The crash log file contains the following information:
- Call stack information in both primitive and verbose forms
- Log Status
- Buffered logging
- Event logging
- Persistent logging
- System Information (output of sysapiMbufDump)
- Message Queue Debug Information
- Memory Debug Information
- Memory Debug Status
- OS Information (output of osapiShowTasks)
- process information (meminfo, cpuinfo, interrupts, version and net/sockstat)
| Default | disabled |
| Format | debug crashlog {proc | verbose | deleteall | crashlog-number [export url] | {data crashlog-number [upgrade url | export url | component-id item-number additional-parameter]}} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| proc | View the application process crashlog. |
| verbose | Enable the verbose crashlog. |
| deleteall | Delete all crash log files on the system. |
| crashlog-number | Specifies the file number to view. The system maintains up to four copies, and the valid range is 1–4. |
| export url | To upload the crash log (or crash dump) to a TFTP server, use the export keyword and specify the required TFTP server information. |
| data | Crash log data recorder. |
| crashdump-number | Specifies the crash dump number to view. The valid range is 0–2. |
| upgrade url | To download a crash dump to the switch, use the upgrade keyword and specify the required TFTP server information. |
| component-id | The ID of the component that caused the crash. |
| item-number | The item number. |
| additional-parameter | Additional parameters to include. You can include up to two parameters. |
debug crashlog (M4350 series switch)
M4350
Use this command on an M4350 series switch to view information contained in the crash log file that the system maintains when it experiences an unexpected reset. The crash log file contains the following information:
- Call stack information in both primitive and verbose forms
- Log Status
- Buffered logging
- Event logging
- Persistent logging
- System Information (output of sysapiMbufDump)
- Message Queue Debug Information
- Memory Debug Information
- Memory Debug Status
- OS Information (output of osapiShowTasks)
- process information (meminfo, cpuinfo, interrupts, version and net/sockstat)
| Default | disabled |
| Format | debug crashlog {proc | verbose | deleteall | crashlog-number [[export url] | [slot slot-number]] | {data crashlog-number [upgrade url | export url | [slot slot-number] | component-id item-number additional-parameter [slot slot-number]]}} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| proc | View the application process crashlog. |
| verbose | Enable the verbose crashlog. |
| deleteall | Delete all crash log files on the system. |
| crashlog-number | Specifies the file number to view. The system maintains up to four copies, and the valid range is 1–4. |
| export url | To upload the crash log (or crash dump) to a TFTP server, use the export keyword and specify the required TFTP server information. |
| slot | The slot or unit number for the unit on which the crashlog is located. |
| data | Crash log data recorder. |
| crashdump-number | Specifies the crash dump number to view. The valid range is 0–2. |
| upgrade url | To download a crash dump to the switch, use the upgrade keyword and specify the required TFTP server information. |
| component-id | The ID of the component that caused the crash. |
| item-number | The item number. |
| additional-parameter | Additional parameters to include. You can include up to two parameters. |
debug debug-config
M4250
M4350
Use this command to upload (export) or download (upgrade) the debug-config.ini file. The debug-config.ini file executes CLI commands on specific predefined events. The debug config file is created manually and downloaded to the switch.
| Default | disabled |
| Format | debug debug-config {export url | upgrade url} |
| Mode | Privileged EXEC |
debug dhcp packet
M4250
M4350
This command displays “debug” information about DHCPv4 client activities and traces DHCPv4 packets to and from the local DHCPv4 client.
| Default | disabled |
| Format | debug dhcp packet [transmit | receive] |
| Mode | Privileged EXEC |
no debug dhcp packet
This command disables the display of “debug” trace output for DHCPv4 client activity.
| Format | no debug dhcp packet [transmit | receive] |
| Mode | Privileged EXEC |
debug dhcp server packet
M4250
M4350
This command displays “debug” information about DHCPv4 server activities and traces DHCPv4 packets to and from the local DHCPv4 client.
| Default | disabled |
| Format | debug dhcp server packet |
| Mode | Privileged EXEC |
no debug dhcp server packet
This command disables the display of “debug” trace output for DHCPv4 server activity.
| Format | no debug dhcp server packet |
| Mode | Privileged EXEC |
debug dot1x packet
M4250
M4350
Use this command to enable dot1x packet debug trace.
| Default | disabled |
| Format | debug dot1x packet [transmit | receive] |
| Mode | Privileged EXEC |
no debug dot1x packet
Use this command to disable dot1x packet debug trace.
| Format | no debug dot1x packet [transmit | receive] |
| Mode | Privileged EXEC |
debug drop-counters start
M4250
M4350
This command starts collecting egress or ingress packet drop counters. Use the debug drop-counters stop command to stop the collection of packet drop counters.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Use the optional L2, L3, or L2L3 keyword to limit the packet drop collection to Layer 2 level (L2), Layer 3 level (L3) or both Layer 2 and 3 level (L2L3) packet drops.
| Default | disabled |
| Format | debug drop-counters {egress | ingress} interface unit/slot/port start [L2 | L2L3 | L3] |
| Mode | Privileged EXEC |
debug drop-counters stop
M4250
M4350
This command stops collecting packet drop counters.
| Default | disabled |
| Format | debug drop-counters stop |
| Mode | Privileged EXEC |
debug drop-counters show
M4250
M4350
This command displays collected packet drop counters.
| Format | debug drop-counters show |
| Mode | Privileged EXEC |
debug igmpsnooping packet
M4250
M4350
This command enables tracing of IGMP snooping packets received and transmitted by the switch.
| Default | disabled |
| Format | debug igmpsnooping packet [transmit | receive] |
| Mode | Privileged EXEC |
no debug igmpsnooping packet
This command disables tracing of IGMP snooping packets.
| Format | no debug igmpsnooping packet |
| Mode | Privileged EXEC |
debug igmpsnooping packet transmit
M4250
M4350
This command enables tracing of IGMP snooping packets transmitted by the switch. Snooping must be enabled on the device and the interface in order to monitor packets for a particular interface.
| Default | disabled |
| Format | debug igmpsnooping packet transmit |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 02:45:06 192.168.17.29-1 IGMPSNOOP[185429992]: igmp_snooping_debug.c(116)
908 % Pkt TX - Intf: 1/0/20(20), Vlan_Id:1 Src_Mac: 00:03:0e:00:00:00 Dest_Mac:
01:00:5e:00:00:01 Src_IP: 9.1.1.1 Dest_IP: 225.0.0.1 Type: V2_Membership_Report Group:
225.0.0.1
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| TX | A packet transmitted by the device. |
| Intf | The interface that the packet left from. Format used is unit/port (internal interface number). |
| Src_Mac | Source MAC address of the packet. |
| Dest_Mac | Destination multicast MAC address of the packet. |
| Src_IP | The source IP address in the IP header in the packet. |
| Dest_IP | The destination multicast IP address in the packet. |
| Type |
The type of IGMP packet. Type can be one of the following:
|
| Group | Multicast group address in the IGMP header. |
no debug igmpsnooping transmit
This command disables tracing of transmitted IGMP snooping packets.
| Format | no debug igmpsnooping transmit |
| Mode | Privileged EXEC |
debug igmpsnooping packet receive
M4250
M4350
This command enables tracing of IGMP snooping packets received by the switch. Snooping must be enabled on the device and the interface in order to monitor packets for a particular interface.
| Default | disabled |
| Format | debug igmpsnooping packet receive |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 02:45:06 192.168.17.29-1 IGMPSNOOP[185429992]: igmp_snooping_debug.c(116)
908 % Pkt RX - Intf: 1/0/20(20), Vlan_Id:1 Src_Mac: 00:03:0e:00:00:10 Dest_Mac:
01:00:5e:00:00:05 Src_IP: 11.1.1.1 Dest_IP: 225.0.0.5 Type: Membership_Query Group:
225.0.0.5
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| RX | A packet received by the device. |
| Intf | The interface that the packet went out on. |
| Src_Mac | Source MAC address of the packet. |
| Dest_Mac | Destination multicast MAC address of the packet. |
| Src_IP | The source IP address in the ip header in the packet. |
| Dest_IP | The destination multicast ip address in the packet. |
| Type |
The type of IGMP packet. Type can be one of the following:
|
| Group | Multicast group address in the IGMP header. |
no debug igmpsnooping receive
This command disables tracing of received IGMP snooping packets.
| Format | no debug igmpsnooping receive |
| Mode | Privileged EXEC |
debug ip acl
M4250
M4350
Use this command to enable debug of IP Protocol packets matching the ACL criteria.
| Default | disabled |
| Format | debug ip acl number |
| Mode | Privileged EXEC |
no debug ip acl
Use this command to disable debug of IP Protocol packets matching the ACL criteria.
| Format | no debug ip acl number |
| Mode | Privileged EXEC |
debug ip dvmrp packet
M4350
Use this command to trace DVMRP packet reception and transmission. The receive keyword traces only received DVMRP packets and transmit keyword traces only transmitted DVMRP packets. When neither keyword is used in the command, then all DVMRP packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ip dvmrp packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ip dvmrp packet
Use this command to disable debug tracing of DVMRP packet reception and transmission.
| Format | no debug ip dvmrp packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ip igmp packet
M4250
M4350
Use this command to trace IGMP packet reception and transmission. The receive keyword traces only received IGMP packets and the transmit keyword traces only transmitted IGMP packets. When neither keyword is used in the command, then all IGMP packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ip igmp packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ip igmp packet
Use this command to disable debug tracing of IGMP packet reception and transmission.
| Format | no debug ip igmp packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ip mcache packet
M4250
M4350
Use this command for tracing MDATA packet reception and transmission. The receive keyword traces only received MDATA packets and the transmit keyword traces only transmitted MDATA packets. When neither keyword is used in the command, then all data packet traces are dumped. Vital information such as source address, destination address, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ip mcache packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ip mcache packet
Use this command to disable debug tracing of MDATA packet reception and transmission.
| Format | no debug ip mcache packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ip pimdm packet
M4250
M4350
Use this command to trace PIMDM packet reception and transmission. The receive keyword traces only received PIMDM packets and the transmit keyword traces only transmitted PIMDM packets. When neither keyword is used in the command, then all PIMDM packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ip pimdm packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ip pimdm packet
Use this command to disable debug tracing of PIMDM packet reception and transmission.
| Format | no debug ip pimdm packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ip pimsm packet
M4250
M4350
Use this command to trace PIMSM packet reception and transmission. The receive keyword traces only received PIMSM packets and the transmit keyword traces only transmitted PIMSM packets. When neither keyword is used in the command, then all PIMSM packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ip pimsm packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ip pimsm packet
Use this command to disable debug tracing of PIMSM packet reception and transmission.
| Format | no debug ip pimsm packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ipv6 dhcp
M4250
M4350
This command displays “debug” information about DHCPv6 client, relay, or server activities and traces DHCPv6 packets to, from, or both to and from the local DHCPv6 client, relay, or server.
| Default | disabled |
| Format | debug ipv6 dhcp {client | relay | server} [receive | transmit] |
| Mode | Privileged EXEC |
no debug ipv6 dhcp
This command disables the display of “debug” trace output for DHCPv6 client, relay, or server activities.
| Format | no debug ipv6 dhcp {client | relay | server} [receive | transmit] |
| Mode | Privileged EXEC |
debug ipv6 mcache packet
M4250
M4350
Use this command for tracing MDATAv6 packet reception and transmission. The receive keyword traces only received MDATAv6 packets and the transmit keyword traces only transmitted MDATAv6 packets. When neither keyword is used in the command, then all data packet traces are dumped. Vital information such as source address, destination address, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ipv6 mcache packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ipv6 mcache packet
Use this command to disable debug tracing of MDATAv6 packet reception and transmission.
| Format | no debug ipv6 mcache packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ipv6 mld packet
M4250
M4350
Use this command to trace MLDv6 packet reception and transmission. The receive keyword traces only received MLDv6 packets and the transmit keyword traces only transmitted MLDv6 packets. When neither keyword is used in the command, then all MLDv6 packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ipv6 mld packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ipv6 mld packet
Use this command to disable debug tracing of MLDv6 packet reception and transmission.
| Format | no debug ipv6 mld packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ipv6 pimdm packet
M4250
M4350
Use this command to trace PIMDMv6 packet reception and transmission. The receive keyword traces only received PIMDMv6 packets and the transmit keyword traces only transmitted PIMDMv6 packets. If neither keyword is used in the command, all PIMDMv6 packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ipv6 pimdm packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ipv6 pimdm packet
Use this command to disable debug tracing of PIMDMv6 packet reception and transmission.
| Format | no debug ipv6 pimdm packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ipv6 pimsm packet
M4250
M4350
Use this command to trace PIMSMv6 packet reception and transmission. The receive keyword traces only received PIMSMv6 packets and the transmit keyword traces only transmitted PIMSMv6 packets. If neither keyword is used in the command, all PIMSMv6 packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug ipv6 pimsm packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug ipv6 pimsm packet
Use this command to disable debug tracing of PIMSMv6 packet reception and transmission.
| Format | no debug ipv6 pimsm packet [receive | transmit] |
| Mode | Privileged EXEC |
debug lacp packet
M4250
M4350
This command enables tracing of LACP packets received and transmitted by the switch.
| Default | disabled |
| Format | debug lacp packet |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 14:04:51 10.254.24.31-1 DOT3AD[183697744]: dot3ad_debug.c(385) 58 %%
Pkt TX - Intf: 1/0/1(1), Type: LACP, Sys: 00:11:88:14:62:e1, State: 0x47, Key: 0x36
no debug lacp packet
This command disables tracing of LACP packets.
| Format | no debug lacp packet |
| Mode | Privileged EXEC |
debug lldp packet
M4250
M4350
Use this command to enable debug tracing for LLDP packets. The optional receive keyword traces only received LLDP packets and the optional transmit keyword traces only transmitted LLDP packets.
| Default | Disabled |
| Format | debug lldp packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug lldp packet
Use this command to disable debug tracing for LLDP packets.
| Format | no debug lldp packet [receive | transmit] |
| Mode | Privileged EXEC |
debug mldsnooping packet
M4250
M4350
Use this command to trace MLD snooping packet reception and transmission. The receive keyword traces only received MLD packets and the transmit keyword traces only transmitted MLD snooping packets. When neither keyword is used in the command, then all MLD snooping packet traces are dumped. Vital information such as source address, destination address, control packet type, packet length, and the interface on which the packet is received or transmitted is displayed on the console.
| Default | disabled |
| Format | debug mldsnooping packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug mldsnooping packet
Use this command to disable debug tracing of MLD snooping packet reception and transmission.
| Format | no debug mldsnooping packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ping packet
M4250
M4350
This command enables tracing of ICMP echo requests and responses. The command traces pings on the network port/service port for switching packages. For routing packages, pings are traced on the routing ports as well.
| Default | disabled |
| Format | debug ping packet |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 00:21:22 192.168.17.29-1 SIM[181040176]: sim_debug.c(128) 20 % Pkt TX - Intf:
1/0/1(1),
SRC_IP:10.50.50.2, DEST_IP:10.50.50.1, Type:ECHO_REQUEST
<15> JAN 01 00:21:22 192.168.17.29-1 SIM[182813968]: sim_debug.c(82) 21 % Pkt RX - Intf:
1/0/1(1), S
RC_IP:10.50.50.1, DEST_IP:10.50.50.2, Type:ECHO_REPLY
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| TX/RX | TX refers to a packet transmitted by the device. RX refers to packets received by the device. |
| Intf | The interface that the packet came in or went out on. |
| SRC_IP | The source IP address in the IP header in the packet. |
| DEST_IP | The destination IP address in the IP header in the packet. |
| Type | Type determines whether or not the ICMP message is a REQUEST or a RESPONSE. |
no debug ping packet
This command disables tracing of ICMP echo requests and responses.
| Format | no debug ping packet |
| Mode | Privileged EXEC |
debug ospf packet
M4350
This command enables tracing of OSPF packets received and transmitted by the switch.
| Default | disabled |
| Format | debug ospf packet |
| Mode | Privileged EXEC |
Command example:
The following samples show the output of the trace message.
<15> JAN 02 11:03:31 10.50.50.1-2 OSPF[46300472]: ospf_debug.c(297) 25430 % Pkt RX -
Intf:2/0/48 Src
Ip:192.168.50.2 DestIp:224.0.0.5 AreaId:0.0.0.0 Type:HELLO NetMask:255.255.255.0 D
esigRouter:0.0.0.0 Backup:0.0.0.0
<15> JAN 02 11:03:35 10.50.50.1-2 OSPF[46300472]: ospf_debug.c(293) 25431 % Pkt TX -
Intf:2/0/48 Src
Ip:10.50.50.1 DestIp:192.168.50.2 AreaId:0.0.0.0 Type:DB_DSCR Mtu:1500 Options:E
Flags: I/M/MS Seq:126166
<15> JAN 02 11:03:36 10.50.50.1-2 OSPF[46300472]: ospf_debug.c(297) 25434 % Pkt RX -
Intf:2/0/48 Src
Ip:192.168.50.2 DestIp:192.168.50.1 AreaId:0.0.0.0 Type:LS_REQ Length: 1500
<15> JAN 02 11:03:36 10.50.50.1-2 OSPF[46300472]: ospf_debug.c(293) 25435 % Pkt TX -
Intf:2/0/48 Src
Ip:10.50.50.1 DestIp:192.168.50.2 AreaId:0.0.0.0 Type:LS_UPD Length: 1500
<15> JAN 02 11:03:37 10.50.50.1-2 OSPF[46300472]: ospf_debug.c(293) 25441 % Pkt TX -
Intf:2/0/48 Src
Ip:10.50.50.1 DestIp:224.0.0.6 AreaId:0.0.0.0 Type:LS_ACK Length: 1500
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| TX/RX | TX refers to a packet transmitted by the device. RX refers to packets received by the device. |
| Intf | The interface that the packet came in or went out on. Format used is unit/slot/port (internal interface number). |
| SrcIp | The source IP address in the IP header of the packet. |
| DestIp | The destination IP address in the IP header of the packet. |
| AreaId | The area ID in the OSPF header of the packet. |
| Type |
Could be one of the following:
|
The remaining fields in the trace are specific to the type of OSPF packet.
HELLO packet field definitions.
| Parameter | Definition |
|---|---|
| Netmask | The netmask in the hello packet. |
| DesignRouter | Designated Router IP address. |
| Backup | Backup router IP address. |
DB_DSCR packet field definitions.
| Field | Definition |
|---|---|
| MTU | MTU |
| Options | Options in the OSPF packet. |
| Flags |
Could be one or more of the following:
|
| Seq | Sequence Number of the DD packet. |
LS_REQ packet field definitions.
| Field | Definition |
|---|---|
| Length | Length of packet |
LS_UPD packet field definitions.
| Field | Definition |
|---|---|
| Length | Length of packet |
LS_ACK packet field definitions.
| Field | Definition |
|---|---|
| Length | Length of packet |
no debug ospf packet
This command disables tracing of OSPF packets.
| Format | no debug ospf packet |
| Mode | Privileged EXEC |
debug rip packet
M4250
M4350
This command turns on tracing of RIP requests and responses. The output is directed to the log file.
| Default | disabled |
| Format | debug rip packet |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 00:35:15 192.168.17.29-1 RIP[181783160]: rip_map_debug.c(96) 775 %
Pkt RX on Intf: 1/0/1(1), Src_IP:43.1.1.1 Dest_IP:43.1.1.2
Rip_Version: RIPv2 Packet_Type:RIP_RESPONSE
ROUTE 1): Network: 10.1.1.0 Mask: 255.255.255.0 Metric: 1
ROUTE 2): Network: 40.1.0.0 Mask: 255.255.0.0 Metric: 1
ROUTE 3): Network: 10.50.50.0 Mask: 255.255.255.0 Metric: 1
ROUTE 4): Network: 41.1.0.0 Mask: 255.255.0.0 Metric: 1
ROUTE 5): Network:42.0.0.0 Mask:255.0.0.0 Metric:1
Another 6 routes present in packet not displayed.
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| TX/RX | TX refers to a packet transmitted by the device. RX refers to packets received by the device. |
| Intf | The interface that the packet came in or went out on. |
| Src_IP | The source IP address in the IP header of the packet. |
| Dest_IP | The destination IP address in the IP header of the packet. |
| Rip_Version | RIP version used: RIPv1 or RIPv2. |
| Packet_Type | Type of RIP packet: RIP_REQUEST or RIP_RESPONSE. |
| Routes |
Up to 5 routes in the packet are displayed in the following format:
The next hop is only displayed if it is different from 0.0.0.0. For RIPv1 packets, Mask is always |
| Number of routes not printed | Only the first five routes present in the packet are included in the trace. There is another notification of the number of additional routes present in the packet that were not included in the trace. |
no debug rip packet
This command disables tracing of RIP requests and responses.
| Format | no debug rip packet |
| Mode | Privileged EXEC |
debug sflow packet
M4250
M4350
Use this command to enable sFlow debug packet trace.
| Default | disabled |
| Format | debug sflow packet |
| Mode | Privileged EXEC |
no debug sflow packet
Use this command to disable sFlow debug packet trace.
| Format | no debug sflow packet |
| Mode | Privileged EXEC |
debug spanning-tree bpdu
M4250
M4350
This command enables tracing of spanning tree BPDUs received and transmitted by the switch.
| Default | disabled |
| Format | debug spanning-tree bpdu |
| Mode | Privileged EXEC |
no debug spanning-tree bpdu
This command disables tracing of spanning tree BPDUs.
| Format | no debug spanning-tree bpdu |
| Mode | Privileged EXEC |
debug spanning-tree bpdu receive
M4250
M4350
This command enables tracing of spanning tree BPDUs received by the switch. Spanning tree should be enabled on the device and on the interface in order to monitor packets for a particular interface.
| Default | disabled |
| Format | debug spanning-tree bpdu receive |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 01:02:04 192.168.17.29-1 DOT1S[191096896]: dot1s_debug.c(1249) 101 % Pkt RX
- Intf: 1/0/9(9), Source_Mac: 00:11:88:4e:c2:10 Version: 3, Root Mac: 00:11:88:4e:c2:00,
Root Priority: 0x8000 Path Cost: 0
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| RX | A packet received by the device. |
| Intf | The interface that the packet came in on. |
| Source_Mac | Source MAC address of the packet. |
| Version | Spanning tree protocol version (0-3). 0 refers to STP, 2 RSTP and 3 MSTP. |
| Root_Mac | MAC address of the CIST root bridge. |
| Root_Priority | Priority of the CIST root bridge. The value is between 0 and 61440. It is displayed in hex in multiples of 4096. |
| Path_Cost | External root path cost component of the BPDU. |
no debug spanning-tree bpdu receive
This command disables tracing of received spanning tree BPDUs.
| Format | no debug spanning-tree bpdu receive |
| Mode | Privileged EXEC |
debug spanning-tree bpdu transmit
M4250
M4350
This command enables tracing of spanning tree BPDUs transmitted by the switch. Spanning tree should be enabled on the device and on the interface in order to monitor packets on a particular interface.
| Default | disabled |
| Format | debug spanning-tree bpdu transmit |
| Mode | Privileged EXEC |
The following sample shows the output of the trace message.
<15> JAN 01 01:02:04 192.168.17.29-1 DOT1S[191096896]: dot1s_debug.c(1249) 101 % Pkt TX
- Intf: 1/0/7(7), Source_Mac: 00:11:88:4e:c2:00 Version: 3, Root_Mac: 00:11:88:4e:c2:00,
Root_Priority: 0x8000 Path_Cost: 0
The following parameters are displayed in the trace message.
| Parameter | Definition |
|---|---|
| TX | A packet transmitted by the device. |
| Intf | The interface that the packet went out on. |
| Source_Mac | Source MAC address of the packet. |
| Version | Spanning tree protocol version (0-3). 0 refers to STP, 2 RSTP and 3 MSTP. |
| Root_Mac | MAC address of the CIST root bridge. |
| Root_Priority | Priority of the CIST root bridge. The value is between 0 and 61440. It is displayed in hex in multiples of 4096. |
| Path_Cost | External root path cost component of the BPDU. |
no debug spanning-tree bpdu transmit
This command disables tracing of transmitted spanning tree BPDUs.
| Format | no debug spanning-tree bpdu transmit |
| Mode | Privileged EXEC |
debug tacacs
M4250
M4350
This command enables TACACS+ debugging.
| Format | debug tacacs {packet | accounting | authentication | authorization} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| packet | Turn on TACACS+ packet debugs for received and transmitted packets. |
| accounting | Turn on TACACS+ accounting debugging. |
| authentication | Turn on TACACS+ authentication debugging. |
| authorization | Turn on TACACS+ authorization debugging. |
no debug tacacs
This command disables TACACS+ debugging.
| Format | no debug tacacs {packet | accounting | authentication | authorization} |
| Mode | Privileged EXEC |
debug transfer
M4250
M4350
This command enables debugging for file transfers.
| Format | debug transfer |
| Mode | Privileged EXEC |
no debug transfer
This command disables debugging for file transfers.
| Format | no debug transfer |
| Mode | Privileged EXEC |
debug udld events
M4250
M4350
This command enables debugging for the UDLD events.
To display the debug trace, enable the debug console command.
| Default | Disabled |
| Format | debug udld events |
| Mode | Privileged EXEC |
no debug udld events
This command disables debugging for the UDLD events.
| Format | no debug udld events |
| Mode | Privileged EXEC |
debug udld packet
M4250
M4350
This command enables debugging on the received or transmitted UDLD PDUs, or both.
| Default | Disabled |
| Format | debug udld packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug udld packet
This command disables debugging for UDLD packets.
| Format | no debug udld packet [receive | transmit] |
| Mode | Privileged EXEC |
debug ipdt logging
M4250
M4350
This command enables debug tracing for IPv4DT events. Debug messages are sent to the system log at the debug severity level. To print these messages on the console, enable console logging at the debug level using the logging console debug command.
| Default | Enabled |
| Format | debug ipdt logging |
| Mode | Privileged Config |
no debug ipdt logging
This command disables debug tracing for IPv4DT events.
| Format | no debug ipdt logging |
| Mode | Privileged Config |
debug ip vrrp
M4350
This command enables debug tracing of VRRP events. Debug messages are sent to the system log at the debug severity level. To print these messages on the console, enable console logging at the debug level with the logging console debug command.
The debug options that are enabled for a specific peer are the sum of the options that are enabled globally and the options that are enabled specifically for the peer.
| Default | Disabled |
| Format | debug ip vrrp |
| Mode | Privileged Config |
no debug ip vrrp
This command disables debug tracing of VRRP events.
| Format | no debug ip vrrp |
| Mode | Privileged Config |
debug ipv6 ospfv3 packet
M4350
This command enables IPv6 OSPFv3 packet debug tracing. As an option, use the vrf keyword and associated vrf-name argument to enable tracing of OSPFv3 packets that are received and transmitted on a specific virtual router instance.
| Default | Disabled |
| Format | debug ipv6 ospfv3 packet [vrf vrf-name] |
| Mode | Privileged Config |
no debug ipv6 ospfv3 packet
This command disables debug tracing of IPv6 OSPFv3 packets.
| Format | no debug ipv6 ospfv3 packet |
| Mode | Privileged Config |
debug ipv6 ping packet
M4250
M4350
This command enables debug tracing of ICMPv6 Echo request and response packets. As an option, use the vrf keyword and associated vrf-name argument to enable tracing of ICMPv6 Echo request and response packets that are received and transmitted on a specific virtual router instance.
| Default | Disabled |
| Format | debug ipv6 ping packet [vrf vrf-name] |
| Mode | Privileged Config |
no debug ipv6 ping packet
This command disables debug tracing of ICMPv6 Echo request and response packets.
| Format | no debug ipv6 ping packet |
| Mode | Privileged Config |
show debugging
M4250
M4350
Use this command to display enabled packet tracing configurations.
| Format | show debugging |
| Mode | Privileged EXEC |
Command example:
console# debug arp
Arp packet tracing enabled.
console# show debugging
Arp packet tracing enabled.
no show debugging
Use this command to disable packet tracing configurations.
| Format | no show debugging |
| Mode | Privileged EXEC |
exception protocol
M4250
M4350
Use this command to specify the protocol used to store the core dump file.
| Default | usb |
| Format | exception protocol {nfs | tftp | ftp | usb | local} |
| Mode | Global Config |
no exception protocol
Use this command to reset the exception protocol configuration to its factory default value.
| Format | no exception protocol |
| Mode | Global Config |
exception dump ftp-server
M4250
M4350
Use this command to configure the IP address of a remote FTP server as an external server to which you can dump core files. If you do not specify the user name and password, the switch uses anonymous FTP. (The FTP server must be configured to accept anonymous FTP.)
| Default | None |
| Format | exception dump ftp-server ip-address [{username user-name password password}] |
| Mode | Global Config |
no exception dump ftp-server
This command resets the remote FTP server configuration that is used for exception dumps to the default value (which is none). This command also resets the FTP user name and password to empty strings.
| Format | no exception dump ftp-server |
| Mode | Global Config |
exception dump tftp-server
M4250
M4350
Use this command to configure the IP address of a remote TFTP server in order to dump core files to an external server.
| Default | None |
| Format | exception dump tftp-server {ip-address} |
| Mode | Global Config |
no exception dump tftp-server
Use this command to reset the exception dump remote server configuration to its factory default value.
| Format | no exception dump tftp-server |
| Mode | Global Config |
exception dump filepath
M4250
M4350
Use this command to configure a file-path to dump core file to a TFTP server, FTP server, NFS mount, or USB device subdirectory.
| Default | None |
| Format | exception dump filepath dir |
| Mode | Global Config |
no exception dump filepath
Use this command to reset the exception dump filepath configuration to its factory default value.
| Format | no exception dump filepath |
| Mode | Global Config |
exception dump compression
M4250
M4350
Use this command to enable compression mode.
| Default | Enabled |
| Format | exception dump compression |
| Mode | Global Config |
no exception dump compression
This command disables compression mode.
| Format | no exception dump compression |
| Mode | Global Config |
exception dump stack-ip-address protocol
M4250
M4350
This command configures the protocol (DHCP or static) that is used to configure the service port after a unit crashed. If you enter the dhcp keyword, the unit receives its IP address from a DHCP server that must be available in the network.
| Default | dhcp |
| Format | exception dump stack-ip-address protocol {dhcp | static} |
| Mode | Global Config |
no exception dump stack-ip-address protocol
This command resets the stack IP protocol configuration to its default value (dhcp).
| Format | no exception dump stack-ip-address protocol |
| Mode | Global Config |
exception dump stack-ip-address add
M4250
M4350
Use this command to add a static IP address that is assigned to an individual unit’s service port in a stack after the unit crashed. This IP address is used to perform the core dump.
| Default | None |
| Format | exception dump stack-ip-address add ip-address netmask [gateway] |
| Mode | Global Config |
no exception dump stack-ip-address remove
M4250
M4350
Use this command to remove a stack IP address configuration. If this IP address is assigned to any unit in a stack then, the IP address is removed from the unit.
| Format | no exception dump stack-ip-address remove ip-address netmask |
| Mode | Global Config |
exception core-file
M4250
M4350
Use this command to configure a prefix for a core-file name. The core file name is generated with the prefix as follows:
If hostname is selected:
file-name-prefix_hostname_Time_Stamp.bin
If hostname is not selected:
file-name-prefix_MAC_Address_Time_Stamp.bin
If hostname is configured, the core file name takes the host name, otherwise the core-file name uses the MAC address when generating a core dump file. The prefix length is 15 characters.
| Default | Core |
| Format | exception core-file file-name [hostname] [time-stamp] |
| Mode | Global Config |
no exception core-file
Use this command to reset the exception core file prefix configuration to its factory default value. The hostname and time-stamp are disabled.
| Format | no exception core-file |
| Mode | Global Config |
exception switch-chip-register
M4250
M4350
Use this command to enable or disable the switch-chip-register dump in case of an exception. For an M4350 series switch in a switch stack, the switch-chip-register dump occurs only for the primary management unit and not for members.
| Default | Disable |
| Format | exception switch-chip-register {enable | disable} |
| Mode | Global Config |
write core
M4250
M4350
Use this command to generate a core dump file on demand. The write core test command is helpful when testing the core dump setup. For example, if the TFTP protocol is configured, write core test communicates with the TFTP server and informs the user if the TFTP server can be contacted. Similarly, if the protocol is configured as nfs, this command mounts and unmounts the file system and informs the user of the status.
For the write core test command, the destination file name is used for the TFTP test. Optionally, you can specify the destination file name when the protocol is configured as TFTP.
| Default | None |
| Format | write core [test file_name] |
| Mode | Privileged EXEC |
debug exception
M4250
M4350
Use this command to display core dump features support.
| Default | None |
| Format | debug exception |
| Mode | Privileged EXEC |
show exception
M4250
M4350
Use this command to display the configuration parameters for generating a core dump file.
The optional core-dump-file keyword displays core dump files that exist on the local file system. The optional log keyword displays core dump traces that exist on the local file system.
| Default | None |
| Format | show exception [core-dump-file | log [previous]] |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #show exception
Coredump file name............................. core
Coredump filename uses hostname................ False
Coredump filename uses time-stamp.............. TRUE
NFS mount point................................
TFTP server IP.................................
FTP server IP..................................
FTP user name..................................
FTP password...................................
File path......................................
Protocol....................................... usb
Switch-chip-register........................... False
Compression mode............................... TRUE
Stack IP Address Protocol...................... dhcp
Stack IP Address:
IP Address Net Mask Gateway Assigned Unit
--------------- --------------- --------------- ---------------
mbuf
M4250
M4350
Use this command to configure memory buffer (MBUF) threshold limits and generate notifications when MBUF limits have been reached.
| Format | mbuf {falling-threshold 1-100 | rising threshold 1-100 | severity 0-7} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| Rising Threshold | The percentage of the memory buffer resources that, when exceeded for the configured rising interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled). |
| Falling Threshold | The percentage of memory buffer resources that, when usage falls below this level for the configured interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled). |
| Severity | The severity level at which Mbuf logs messages. The range is 1 to 7. The default is 5 (L7_LOG_SEVERITY_NOTICE). |
show mbuf
M4250
M4350
Use this command to display the memory buffer (MBUF) Utilization Monitoring parameters.
| Format | show mbuf |
| Mode | Privileged EXEC |
| Field | Description |
|---|---|
| Rising Threshold | The percentage of the memory buffer resources that, when exceeded for the configured rising interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled). |
| Falling Threshold | The percentage of memory buffer resources that, when usage falls below this level for the configured interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled). |
| Severity | The severity level. |
show mbuf total
M4250
M4350
Use this command to display memory buffer (MBUF) information.
| Format | show mbuf total |
| Mode | Privileged EXEC |
| Field | Description |
|---|---|
| Mbufs Total | Total number of message buffers in the system. |
| Mbufs Free | Number of message buffers currently available. |
| Mbufs Rx Used | Number of message buffers currently in use. |
| Total Rx Norm Alloc Attempts | Number of times the system tried to allocate a message buffer allocation of class RX Norm. |
| Total Rx Mid2 Alloc Attempts | Number of times the system tried to allocate a message buffer allocation of class RX Mid2. |
| Total Rx Mid1 Alloc Attempts | Number of times the system tried to allocate a message buffer allocation of class RX Mid1. |
| Total Rx Mid0 Alloc Attempts | Number of times the system tried to allocate a message buffer allocation of class RX Mid0. |
| Total Rx High Alloc Attempts | Number of times the system tried to allocate a message buffer allocation of class RX High. |
| Total Tx Alloc Attempts | Number of times the system tried to allocate a message buffer allocation of class TX. |
| Total Rx Norm Alloc Failures | Number of message buffer allocation failures for RX Norm class of message buffer. |
| Total Rx Mid2 Alloc Failures | Number of message buffer allocation failures for RX Mid2 class of message buffer. |
| Total Rx Mid1 Alloc Failures | Number of message buffer allocation failures for RX Mid1 class of message buffer. |
| Total Rx Mid0 Alloc Failures | Number of message buffer allocation failures for RX Mid0 class of message buffer. |
| Total Rx High Alloc Failures | Number of message buffer allocation failures for RX High class of message buffer. |
| Total Tx Alloc Failures | Number of message buffer allocation failures for TX class of message buffer. |
clear mbuf stats
M4250
M4350
Use this command to delete the memory buffer (MBUF) statistics.
| Format | clear mbuf stats |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch)#clear mbuf stats
Are you sure you want to clear mbuf statistics (y/n) y
mbuf stats cleared.
show msg-queue
M4250
M4350
Use this command to display the message queues.
| Default | None |
| Format | show msg-queue |
| Mode | Privileged EXEC |
session start
M4350
Use this command to initiate a console session from the stack primary management unit to another unit in the stack, or from a member unit to a manager or another member unit. During the session, you can issue troubleshooting and debugging commands on the member unit, and the output displays the relevant information from the member unit specified in the session. Commands are displayed on the member unit using the user help option ?.
Use the unit keyword and unit-number parameter to specify the unit that must connect to the primary management unit.
Use the manager keyword to connect directly to the manager unit from any member unit without entering the manager’s unit number.
| Default | Disabled |
| Format | session start {unit unit-number | manager} |
| Mode | Privileged EXEC |
session stop
M4350
Use this command to terminate a session that was started with the session start command. The session can be from a manager to a member, from member to a member, or from a member to a manager.
Use the unit keyword and unit-number argument to specify the unit that must disconnect from the primary management unit.
Use the manager keyword to disconnect directly from the manager unit from any member unit without entering the manager’s unit number.
| Default | Disabled |
| Format | session stop {unit unit-number | manager} |
| Mode | Global Config |
sw reset
M4250
M4350
Use this command to reboot the switch after a serious error occurred.
| Default | Enabled |
| Format | sw reset |
| Mode | Global Config |
no sw reset
Use this command to prevent the switch from rebooting after a serious error occurred. Preventing the switch from rebooting can be useful for the purpose of debugging.
| Format | no sw reset |
| Mode | Global Config |
show sw reset
M4250
M4350
Use this command to show whether the sw reset command is enabled.
| Format | show sw reset |
| Mode | Privileged EXEC |