Upload
others
View
12
Download
0
Embed Size (px)
Citation preview
Programmability
• boot ipxe, page 2
• boot manual, page 3
• boot system, page 4
• default boot, page 5
• install, page 6
• show install, page 10
• dig, page 13
• mlog, page 15
• net-debug, page 16
• net-dhcp, page 18
• net6-dhcp, page 19
• net-show , page 20
• net6-show, page 21
• net-tcp-bufs, page 22
• net-tcp-mss, page 23
• ping, page 24
• ping4, page 26
• ping6, page 27
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 1
boot ipxeTo configure the iPXE boot, use the boot ipxe command in global configuration mode. To disable theconfiguration, use the no form of this command.
boot ipxe{forever | timeout | seconds}switch switch-number
no boot ipxe{forever | timeout | seconds}switch switch-number
Syntax Description Attempts iPXE boot forever.forever
Configures a timeout in seconds for iPXE network boot. Valid valuesare from 1 to 2147483647.
timeout seconds
Enables iPXE boot for switches in the stack. Valid values are from 0 to9.
switch switch-number
Command Default
Command Modes Global configuration (config)
Command History ModificationRelease
This command was introduced.Cisco IOS XE Denali 16.3.2
Usage Guidelines iPXE is an open source implementation of Preboot eXecution Environment (PXE). The bootloaders boot animage located on an HTTP, FTP, or a TFTP server.
If the forever keyword is configured, the switch sends Dynamic Host Control Protcol (DHCP) requestsforever. If the timeout keyword is configured, DHCP requests are sent for the specified amount of time, andwhen the timeout expires, the switch reverts to device boot.
Examples The following example shows how to configure an iPXE boot timeout for switch 2:Device(config)# boot ipxe timeout 240 switch 2
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)2
Programmabilityboot ipxe
boot manualTo configure manual boot, use the boot manual command in global configuration mode. To remove theconfiguration, use the no form of this command.
boot manual switch switch-number
no boot manual switch switch-number
Syntax Description Configures manual boot for the switches in the stack.switch swtich-number
Command Default Manual boot is enabled.
Command Modes Global configuration (config)
Command History ModificationRelease
This command was introduced.Cisco IOS XE Denali 16.3.2
Usage Guidelines When manual boot is disabled, and the switch reloads, the boot process starts automatically. When manualboot is disabled, the bootloader determines whether to execute a device boot or a network boot based on theconfigured value of the iPXE ROMMON variable.
Examples The following example shows how to configure manual boot for switch 2:Device(config)# boot manual switch 2
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 3
Programmabilityboot manual
boot systemTo enable a system image boot, use the boot system command in global configuration mode. To disable theconfiguration, use the no form of this command.
boot system switch {all | | number} {flash: | | ftp: | | http: | | tftp:}
no boot system [switch | {all | | number}] [flash: | | ftp: | | http: | | tftp: | | ]
Syntax Description Specifies the flash filesytem to boot an image.flash:
Specifies an FTP location to boot an image.ftp:
Specifies an HTTP location to boot an image.http:
Specifies a TFTP location to boot an image.tftp:
Enables booting for switches in a stack. Valid values are from 0 to 9.switch number
Command Default
Command Modes Global configuration (config)
Command History ModificationRelease
This command was introduced.Cisco IOS XE Denali 16.3.2
Usage Guidelines
Examples
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)4
Programmabilityboot system
default bootTo modify the default boot system parameters, use the defaut boot command in global configuration mode.
default boot {ipxe {forever | | timeout | seconds} | |manual | | system {flash: | | ftp: | | http: | | tftp:}}switchnumber
Syntax Description Enables iPXE boot.ipxe
Configures forever boot.forever
Configures a boot timeout in seconds. Valid values are from 1 to2147483647.
timeout seconds
Enables manual boot.manual
Enables a system image boot.system
Specifies the flash filesytem to boot an image.flash:
Specifies an FTP location to boot an image.ftp:
Specifies an HTTP location to boot an image.http:
Specifies a TFTP location to boot an image.tftp:
Enables booting for switches in a stack. Valid values are from 0 to 9.switch number
Command Default What is the default?
Command Modes Global configuration (config)
Command History ModificationRelease
The command was introduced.Cisco IOS XE Denali 16.3.2
Usage Guidelines
Examples
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 5
Programmabilitydefault boot
installTo install Software Maintenance Upgrade (SMU) packages, use the install command in privileged EXECmode.
install {activate | file {bootflash: | flash: | webui:} [prompt-level {all | none}] | add file {bootflash: | flash:| ftp: | http: | https: | rcp: | scp: | tftp: | webui:} [activate [prompt-level {all | none}]] | commit | deactivatefile {bootflash: | flash: | webui:} [prompt-level {all | none}] | remove {file {bootflash: | flash: | ftp: | http:| https: | rcp: | scp: | tftp: | webui:}| inactive } | rollback to {base | committed | id {install-ID }}}
Syntax Description Validates whether the SMU is added through theinstall add command, and restarts the Netconfprocesses (confd and opdatamgrd).
This keyword runs a compatibility check, updatespackage status, and if the package can be restarted,it triggers post-install scripts to restart the necessaryprocesses, or triggers a reload for non-restartablepackages.
activate
Specifies the package to be activated.file
Specifies the location of the installed package.{bootflash: | flash: | http: | https: | rcp: | scp: |tftp:webui:}
(Optional) Prompts the user about installationactivities.
For example, the activate keyword, automaticallytriggers a reload for packages that require a reload.Before activating the packag, a message will promptusers as to whether they want to continue.
The all keyword allows you to enable prompts. Thenone keyword diables prompts.
prompt-level {all | none}
Copies files from a remote location (via FTP, TFTP)to a device and performs Software MaintenanceUpgrade (SMU) compatibility check for the platformand image versions.
This keyword runs base compatibility checks toensure that a specified package is supported on aplatform. It also adds an entry in the package file,so that the status can be monitored and maintained.
add
Specifies the package to be added.{http: | https: | rcp: | scp: | tftp:}
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)6
Programmabilityinstall
Makes SMU changes persistent over reloads.
You can do a commit after activating a package,while the system is up, or after the first reload. If apackage is activated, but not committed, it remainsactive after the first reload, but not after the secondreload.
commit
Deactivates an installed package.
Deactivating a package also updates the packagestatus and triggers a process restart or a reload.
deactivate
Remove installed packages.
The package file is removed from the file system.The remove keyword can only be used on packagesthat are currently inactive.
remove
Removes all inactive packages from the device.inactive
Rollbacks the data model interface (DMI) package(DMP) SMU to the base version, the last committedversion, or a known commit ID, and restarts Netconfprocesses.
rollback
Returns to the base image.to base
Returns to the installation state when the last commitoperation was performed.
committed
Returns to the specific install point ID.
Valid values are from 1 to 4294967295.
id install-ID
Command Default Packages are not installed.
Command Modes Privileged EXEC (#)
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines An SMU is a package that can be installed on a system to provide a patch fix or security resolution to a releasedimage. This package contain a minimal set of files for patching the release along with some metadata thatdescribes the contents of the package.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 7
Programmabilityinstall
Packages msut be added prior to activating the SMU.
A package must be deactivated, before it is removed from the bootflash. A removed packaged must be addedagain.
Examples The following example shows how to add an install package on a device:Device# install add file tftp://172.16.0.1//tftpboot/folder1/isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.bin
install_add: START Sun Feb 26 05:57:04 UTC 2017Downloading file tftp://172.16.0.1//tftpboot/folder1/isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.binFinished downloading filetftp://172.16.0.1//tftpboot/folder1/isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.bin tobootflash:isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.binSUCCESS: install_add /bootflash/isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.bin
Sun Feb 26 05:57:22 UTC 2017
The following example shows how to activate an install package:Device# install activate file bootflash:isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.bin
install_activate: START Sun Feb 26 05:58:41 UTC 2017DMP package.Netconf processes stoppedSUCCESS: install_activate/bootflash/isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.binSun Feb 26 05:58:58 UTC 2017*Feb 26 05:58:47.655: %DMI-4-CONTROL_SOCKET_CLOSED: SIP0: nesd:Confd control socket closed Lost connection to ConfD (45): EOF on socket to ConfD.*Feb 26 05:58:47.661: %DMI-4-SUB_READ_FAIL: SIP0: vtyserverutild:Confd subscription socket read failed Lost connection to ConfD (45):EOF on socket to ConfD.*Feb 26 05:58:47.667: %DMI-4-CONTROL_SOCKET_CLOSED: SIP0: syncfd:Confd control socket closed Lost connection to ConfD (45): EOF on socket to ConfD.*Feb 26 05:59:43.269: %DMI-5-SYNC_START: SIP0: syncfd:External change to running configuration detected.The running configuration will be synchronized to the NETCONF running data store.*Feb 26 05:59:44.624: %DMI-5-SYNC_COMPLETE: SIP0: syncfd:The running configuration has been synchronized to the NETCONF running data store.
The following example shows how to commit an installed package:Device# install commit
install_commit: START Sun Feb 26 06:46:48 UTC 2017SUCCESS: install_commit Sun Feb 26 06:46:52 UTC 2017
The following example shows how to rollback to the base SMU package:Device# install rollback to base
install_rollback: START Sun Feb 26 06:50:29 UTC 20177 install_rollback: Restarting impacted processes to take effect7 install_rollback: restarting confd
*Feb 26 06:50:34.957: %DMI-4-CONTROL_SOCKET_CLOSED: SIP0: syncfd:Confd control socket closed Lost connection to ConfD (45): EOF on socket to ConfD.*Feb 26 06:50:34.962: %DMI-4-CONTROL_SOCKET_CLOSED: SIP0: nesd:Confd control socket closed Lost connection to ConfD (45): EOF on socket to ConfD.*Feb 26 06:50:34.963: %DMI-4-SUB_READ_FAIL: SIP0: vtyserverutild:Confd subscription socket read failed Lost connection to ConfD (45):EOF on socket to ConfD.Netconf processes stopped7 install_rollback: DMP activate completeSUCCESS: install_rollback Sun Feb 26 06:50:41 UTC 2017*Feb 26 06:51:28.901: %DMI-5-SYNC_START: SIP0: syncfd:
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)8
Programmabilityinstall
External change to running configuration detected.The running configuration will be synchronized to the NETCONF running data store.*Feb 26 06:51:30.339: %DMI-5-SYNC_COMPLETE: SIP0: syncfd:The running configuration has been synchronized to the NETCONF running data store.
Related Commands DescriptionCommand
Displays information about install packages.show install
DescriptionCommand
Displays information about data model updatepacakges.
show install
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 9
Programmabilityinstall
show installTo display information about install packages, use the show install command in privileged EXEC mode.
show install {active | committed | inactive | log | package {bootflash: | flash: | webui:}| rollback | summary| uncommitted}
Syntax Description Displays information about active packages.active
Displays package activations that are persistent.committed
Displays inactive packages.inactive
Displays entries stored in the logging installationbuffer.
log
Displays metadata information about the package,including description, restart information,components in the package, and so on.
package
Specifies the location of the install package.{bootflash: | flash: | webui:}
Displays the software set associated with a savedinstallation.
rollback
Displays information about the list of active,inactive, committed, and superseded packages.
summmary
Displays package activations that are nonpersistent.uncommitted
Command Modes Privileged EXEC (#)
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines Use the show commands to view the status of the install package.
Will the install package name include the CDETS number (for exampleasr1000rpx86-universalk9.2017-02-08_10.01.0.CSCvb73520.SSA.smu.bin)
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)10
Programmabilityshow install
Examples The following is sample output from the show install package command:Device# show install package bootflash:isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.binName: isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSVersion: 16.5.1.0.199.1484082952..EverestPlatform: ISR4300Package Type: dmpDefect ID: CSCvb12345Package State: AddedSupersedes List: {}Smu ID: 1
The following is sample output from the show install summary command:Device# show install summary
Active Packages:bootflash:isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.bin
Inactive Packages:No packages
Committed Packages:bootflash:isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.bin
Uncommitted Packages:No packages
Device#
The table below lists the significant fields shown in the display.
Table 1: show install summary Field Descriptions
DescriptionField
Name of the active install package.Active Packages
List of inactive packages.Inactive Packages
Install packages that have saved or committed changesto the harddisk, so that the changes become persistentacross reloads.
Committed Packages
Intall package activations that are nonpersistent.Uncommitted Packages
The following is sample output from the show install log command:Device# show install log
[0|install_op_boot]: START Fri Feb 24 19:20:19 Universal 2017[0|install_op_boot]: END SUCCESS Fri Feb 24 19:20:23 Universal 2017[3|install_add]: START Sun Feb 26 05:55:31 UTC 2017[3|install_add( FATAL)]: File path (scp) is not yet supported for this command[4|install_add]: START Sun Feb 26 05:57:04 UTC 2017[4|install_add]: END SUCCESS/bootflash/isr4300-universalk9.2017-01-10_13.15.1.CSCvb12345.SSA.dmp.binSun Feb 26 05:57:22 UTC 2017[5|install_activate]: START Sun Feb 26 05:58:41 UTC 2017
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 11
Programmabilityshow install
Related Commands DescriptionCommand
Installs SMU packages.install
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)12
Programmabilityshow install
digTo do a lookup of the Domain Name System (DNS) server, use the dig command in rommon mode.
dig hostname {v4 | v6} [dns-server-address]
Syntax Description DNS host namehostname
IPv4 address.v4
IPv6 address.v6
(Optional) DNS Server IP address.dns-server-address
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines This command does a look up of the DNS name and displays the IP/IPv6 address of the DNS server.
Examples The following is sample output from the dig hostname command:Device: dig example.org
DNS lookup using 2001:DB8::1addr = 2001:DB8:0000:0000:0000:0000:0000:0001
The following is sample output from the dig hostname v4 command:Device: dig example.org v4
DNS lookup using 10.29.27.5addr = 172.16.0.1
The following is sample output from the dig hostname v4 dns-server-address command:Device: dig example.org v4 10.29.27.5
DNS lookup using 10.29.27.5addr = 172.16.0.1
The following is sample output from the dig hostname v6 command:Device: dig example.org v6
DNS lookup using 2001:DB::1addr = 2001:DB8:0000:0000:0000:0000:0000:0001
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 13
Programmabilitydig
Related Commands DescriptionCommand
Displays or changes the network debug values.net-debug
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)14
Programmabilitydig
mlogTo direct log messages to a memory buffer instead of the serial port, use themlog command in rommonmode.
mlog [show | reset | ctrl [on | off | toggle]]
Syntax Description (Optional) Displays memory log messages.show
(Optional) Resets the logging of messages tothe memory log.
reset
(Optional)ctrl
(Optional)on
(Optional)off
(Optional)toggle
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines This command directs protocol log (that is all logs controlled by the net-debug command) messages to amemory buffer instead of the serial port.
With memory logging, log messages are displayed after a test is run. For example, HTTP debugs can beenabled through memory logging. Log messages are displayed in the memory buffer after running a copyfrom http://server/name to null: command.
Examples The following example shows how to direct log messages to the memory buffer:Device: mlog show
Related Commands DescriptionCommand
Displays or changes the network debug values.net-debug
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 15
Programmabilitymlog
net-debugTo display or change the network debug values use the net-debug command in rommon mode.
net-debug [new-value]
Syntax Description (Optional) New debug value to use.new-value
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines This command enables or disables log levels for each of the following functional areas:
• Domain Name System (DNS)
• Dynamic Host Control Protocol (DHCP)
• File Transfer Protocol (FTP)
• Hypertext Transfer Protocol (HTTP)
• IP
• TCP
• UDP
• Uniform Resource Identifier (URI)
Examples This following is sample output from the net-debug command:Device: net-debug
ether: 0ip: 0
dhcp: 0udp: 0tcp: 0http: 0dns: 0uri: 0
t/ftp: 2ip6: 0
dhcp6: 0:000 200 000 000
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)16
Programmabilitynet-debug
Related Commands DescriptionCommand
Directs log messages to a memory bufferinstead of the serial port.
mlog
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 17
Programmabilitynet-debug
net-dhcpTo initiate an IPv4 Dynamic Host Control Protocol (DHCP) request for remote configuration, use the net-dhcpcommand in rommon mode.
net-dhcp [timeout]
Syntax Description (Optional) Timeout in seconds.timeout
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines This command initiates an IPv4 DHCP request and processes the reply.
Examples The following example shows how to enable the net-dhcp command:Device: net-dhcp
Related Commands DescriptionCommand
Displays or changes the network debug values.net-debug
Displays network parameters.net-show
Initiates an IPv6 DHCP request for remoteconfiguration.
net6-dhcp
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)18
Programmabilitynet-dhcp
net6-dhcpTo initiate an IPv6Dynamic Host Control Protocol (DHCP) request for remote configuration, use the net6-dhcpcommand in rommon mode.
net6-dhcp [timeout]
Syntax Description (Optional) Timeout in seconds.timeout
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines You can change the timeout by specifying a time in seconds
Examples The following example shows how to enable the net6-dhcp command:Device: net6-dhcp
Related Commands DescriptionCommand
Displays or changes the network debug values.net-debug
Initiates an IPv4 DHCP request and processesthe reply.
net-dhcp
Displays network parameters.net-show
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 19
Programmabilitynet6-dhcp
net-showTo display network parameters, use the net-show command in rommon mode.
net-show
This command has no arguments or keywords.
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines This command displays network configuration such as IP address, gateway, MAC address and so on.
Examples The following is sample output from the net-show command:Device: net-showNetwork params:IPv4:
ip addr 10.29.27.150netmask 255.255.0.0gateway 10.29.0.1
IPv6:link-local addr fe80::366f:90ff:feb8:cb80site-local addr fec0::366f:90ff:feb8:cb80
DHCP addr 2001:dead:beef:cafe::9999router addr fe80::7ada:6eff:fe13:8580SLAAC addr 2001:dead:beef:cafe:366f:90ff:feb8:cb80 /64SLAAC addr f00d::366f:90ff:feb8:cb80 /64SLAAC addr feed::366f:90ff:feb8:cb80 /64
Common:macaddr 34:6f:90:b8:cb:80
dns 2001:dead:beef:cafe::5bootfile http://www.example.org/ed10mdomain ip6.example.org
DescriptionCommand
Displays IPv6 network parameters.net6-show
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)20
Programmabilitynet-show
net6-showTo display IPv6 network parameters, use the net6-show command in rommon mode.
net6-show
This command has no arguments or keywords.
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines
Examples The following is sample output from the net6-show command:Device: net6-show
switch: net6-showIP6 addresseslink-local addr fe80::366f:90ff:feb8:cb80site-local addr fec0::366f:90ff:feb8:cb80
DHCP addr 2001:dead:beef:cafe::9999router addr fe80::7ada:6eff:fe13:8580SLAAC addr 2001:dead:beef:cafe:366f:90ff:feb8:cb80 /64SLAAC addr f00d::366f:90ff:feb8:cb80 /64SLAAC addr feed::366f:90ff:feb8:cb80 /64
--null addr ::
all-nodes addr ff02::1all-routers addr ff02::2
all-dhcp addr ff02::1:2Slct-node addr ff02::1:ffb8:cb80ll mmac addr 33:33:00:00:00:01sl mmac addr 33:33:00:00:00:02sn mmac addr 33:33:ff:b8:cb:80
dhcp mmac addr 33:33:ff:00:99:99router mac addr 78:da:6e:13:85:80
IP6 neighbour table0: ip6 fec0::366f:90ff:feb8:cb80 MAC 34:6f:90:b8:cb:801: ip6 fe80::366f:90ff:feb8:cb80 MAC 34:6f:90:b8:cb:802: ip6 fe80::7ada:6eff:fe13:8580 MAC 78:da:6e:13:85:803: ip6 2001:dead:beef:cafe::5 MAC 30:f7:0d:08:7e:bd4: ip6 fe80::32f7:dff:fe08:7ebd MAC 30:f7:0d:08:7e:bd
Related Commands DescriptionCommand
Displays network parameters.net-show
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 21
Programmabilitynet6-show
net-tcp-bufsTo display TCP buffers, use the net-tcp-bufs command in rommon mode.
net-tcp-bufs [mss]
Syntax Description (Optional) The Maximum Segment Size (MSS)of TCP buffers.
mss
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines You can set the MSS of TCP buffers using the mss argument.
Examples The following is sample output from the net-tcp-bufs command:Device: net tcp-bufs
tcp_num_buffs 4
Related Commands DescriptionCommand
View or set the TCP MSS.net-tcp-mss
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)22
Programmabilitynet-tcp-bufs
net-tcp-mssTo view or set the TCP Maximum Segment Size (MSS), use the net-tcp-mss command in rommon mode.
net-tcp-mss [mss]
Syntax Description (Optional) The Maximum Segment Size (MSS)of TCP buffers.
mss
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines Use the mss argument to change the MSS size.
Examples The following is sample output from the net-tcp-mss command:Device: net-tcp-mss
switch: net-tcp-msstcp_segment_size 1024
The following is sample output from the net-tcp-mss mss command:Device: net-tcp-mss 700
switch: net-tcp-mss 700tcp_segment_size 700
Related Commands DescriptionCommand
Displays TCP buffers.net-tcp-bufs
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 23
Programmabilitynet-tcp-mss
pingTo diagnose basic network connectivity, use the ping command in rommon mode.
ping [host_ip_address] [retries]
Syntax Description (Optional) IP address of the host.host_ip_address
(Optional) Number of retries.retries
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines The ping and ping4 commands are the same.
The ping command is a very common method for troubleshooting the accessibility of devices
A timeout is implemented at the bootloader device prompt, that allows the bootloader to poll the TCP stackevery 200 ms. As a result, the bootloader may take up to 200 ms to respond to pings. However, when thebootloader is downloading a file, and thus actively polling for new packets, it responds to ping quickly.
Examples The following is sample output from the ping command:Device: ping 10.29.27.5
Ping 10.29.27.5 with 32 bytes of data ...Host 10.29.27.5 is alive.
The following is sample output from the ping host_ip_address retries command:Device: ping 10 6.29.27.5 6
Ping 10.29.27.5 with 32 bytes of data ... reply received in 0 msPing 10.29.27.5 with 32 bytes of data ... reply received in 0 msPing 10.29.27.5 with 32 bytes of data ... reply received in 0 msPing 10.29.27.5 with 32 bytes of data ... reply received in 1 msPing 10.29.27.5 with 32 bytes of data ... reply received in 0 msPing 10.29.27.5 with 32 bytes of data ... reply received in 0 ms
Related Commands DescriptionCommand
Diagnoses basic network connectivity.ping4
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)24
Programmabilityping
DescriptionCommand
Determines the network connectivity toanother device using IPv6 addressing.
ping6
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 25
Programmabilityping
ping4To diagnose basic network connectivity, use the ping4 command in rommon mode.
ping4 [host_ip_address ][retries]
Syntax Description (Optional) IP address of the host to be pinged.host_ip_address
(Optional) Number of retries.retries
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines The ping and ping4 commands are the same
A timeout is implemented at the bootloader device prompt, that allows the bootloader to poll the TCP stackevery 200 ms. As a result, the bootloader may take up to 200 ms to respond to pings. However, when thebootloader is downloading a file, and thus actively polling for new packets, it responds to ping quickly.
Examples The following is sample output from the ping4 host_ip_address command:Device: ping4 10.29.27.5
Ping 10.29.27.5 with 32 bytes of data ...Host 10.29.27.5 is alive.
Related Commands DescriptionCommand
Diagnoses basic network connectivity.ping
Determines the network connectivity toanother device using IPv6 addressing.
ping6
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)26
Programmabilityping4
ping6To determine the network connectivity to another device using IPv6 addressing, use the ping6 command,rommon mode.
ping6 [host] [repeats] [len]
Syntax Description (Optional) IP address of the host to be pinged.host
(Optional) Number of times to repeat the ping.repeats
len
Command Modes Rommon
Command History ModificationRelease
This command was introduced.Cisco IOS XE Everest 16.5.1
Usage Guidelines A timeout is implemented at the bootloader device prompt, that allows the bootloader to poll the TCP stackevery 200 ms. As a result, the bootloader may take up to 200 ms to respond to pings. However, when thebootloader is downloading a file, and thus actively polling for new packets, it responds to ping quickly.
Examples The following is sample output from the ping6 host retries len command:Device: ping6 2001:dead:beef:cafe::5 6 1000
Ping host 2001:dead:beef:cafe::5, 6 times, 1000 bytesPinging 2001:dead:beef:cafe::5 ... reply in 0 msPinging 2001:dead:beef:cafe::5 ... reply in 1 msPinging 2001:dead:beef:cafe::5 ... reply in 1 msPinging 2001:dead:beef:cafe::5 ... reply in 0 msPinging 2001:dead:beef:cafe::5 ... reply in 0 msPinging 2001:dead:beef:cafe::5 ... reply in 0 ms
Related Commands DescriptionCommand
Diagnoses basic network connectivity.ping
Diagnoses basic network connectivity.ping4
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches) 27
Programmabilityping6
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 9500 Switches)28
Programmabilityping6