Archive download-sw /imageonly /overwrite source-url






















Filenames are limited to characters; the name cannot contain control characters, spaces, deletes, slashes, quotes, semicolons, or colons. You can verify that the file was copied by entering the dir filesystem: boot loader command.

Use the debug cluster privileged EXEC command to enable debugging of cluster-specific events. Use the no form of this command to disable debugging. The undebug cluster command works the same as the no debug cluster command. When you enable debugging, it is enabled only on the stack master. To enable debugging on a stack member, you can start a session from the stack master by using the session switch-number privileged EXEC command.

Then enter the debug command at the command-line prompt of the stack member. The undebug matm move update command works the same as the no debug matm move update command. To delete one or more files from the specified file system, use the delete command in boot loader mode.

The switch prompts you for confirmation before deleting each file. You can verify that the files were deleted by entering the dir usbflash0: boot loader command.

To display the list of files and directories on the specified file system, use the dir command in boot loader mode. Optional Path directory and directory name that contain the contents you want to display.

Separate each directory name with a space. To display the available commands, use the help command in boot loader mode. To enable on-board failure logging OBFL , use the hw-module global configuration command on the switch stack or on a standalone switch.

Use the no form of this command to disable this feature. Optional The switch number, which is the stack member number. If the switch is a standalone switch, the switch number is 1. If the switch is in a stack, the range is 1 to 4, depending on the switch member numbers in the stack. Optional Specifies the severity of the hardware-related messages that are stored in the flash memory.

The range is from 1 to 7. If you do not enter the message level level parameter, all the hardware-related messages generated by the switch are stored in the flash memory.

On a standalone switch, entering the hw-module module [ switch-number ] logging onboard [ message level level ] command is the same as entering the hw-module module logging onboard [ message level level ] command. Entering the hw-module module logging onboard [ message level level ] command on a stack master enables OBFL on all the stack members that support OBFL.

This example shows how to enable OBFL on a switch stack and to specify that all the hardware-related messages on stack member 4 are stored in the flash memory when this command is entered on the stack master:. This example shows how to enable OBFL on a standalone switch and to specify that only severity 1 hardware-related messages are stored in the flash memory of the switch:.

You can verify your settings by entering the show logging onboard privileged EXEC command. To log messages to a UNIX syslog server host, use the logging global configuration command. To build a list of syslog servers that receive logging messages, enter this command more than once. To log messages to an internal buffer, use the logging buffered global configuration command. Use it on the switch or on a standalone switch or, in the case of a switch stack, on the stack master.

Optional The size of the buffer created, in bytes. The range is to bytes. The default buffer size is bytes. If a standalone switch or the stack master fails, the log file is lost unless you previously saved it to flash memory using the logging file flash global configuration command. Do not make the buffer size too large because the switch could run out of memory for other tasks. Use the show memory privileged EXEC command to view the free processor memory on the switch. However, this value is the maximum number of bytes available, and the buffer size should not be set to this amount.

To limit messages logged to the console according to severity, use the logging console command. Use the no form of this command to disable message logging. The following example sets the level of console messages received to severity 3 errors and above:.

To store log messages in a file in flash memory, use the logging file flash command. Use it on a standalone switch or, in the case of a switch stack, on the stack master. Optional The maximum logging file size. The range is to The default is bytes. Optional The minimum logging file size. To change the default level of syslog messages stored in the history file and sent to the SNMP server, use the logging history command.

The following example sets the level of syslog messages stored in the history file and sent to the SNMP server to To specify the number of syslog messages that can be stored in the history table, use the logging history size global configuration command. When the history table contains the maximum number of message entries specified, the oldest message entry is deleted from the table to allow the new message entry to be stored.

The following example sets the number of syslog messages that can be stored in the history table to To limit messages logged to the terminal lines according to severity, use the logging monitor command.

The following example sets the level of terminal messages received to severity 3 errors and above:. To limit messages logged to the syslog servers according to severity, use the logging trap command. The following example sets the level of syslog server messages received to severity 3 errors and above:. To set the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated, use the mac address-table aging-time global configuration command.

Enter 0 seconds to disable aging. You can verify your setting by entering the show mac address-table aging-time privileged EXEC command. Before you disable MAC address learning, be sure that you are familiar with the network topology and the switch system configuration. If you later disable port security on the interface, the disabled MAC address learning state is enabled. To enable smart logging, use the logging smartlog command in global configuration mode on the switch.

To disable smart logging or return to the default setting, use the no form of this command. You must configure a NetFlow collector before you enable smart logging. You can verify the configuration by entering the show logging smartlog privileged EXEC command. This example shows a typical smart logging configuration. It assumes that you have already used the Flexible NetFlow CLI to configure the NetFlow exporter cisco , and configures smart logging to capture the first bytes of the packets:.

To enable the MAC address notification feature on the switch stack, use the mac address-table notification global configuration command. Optional Sets the MAC utilization threshold percentage. The range is 1 to percent. The default is 50 percent.

Optional Sets the time between MAC threshold notifications. The range is to seconds. The default is seconds. You can enable traps whenever a MAC address is moved from one port to another in the same VLAN by entering the mac address-table notification mac-move command and the snmp-server enable traps mac-notification move global configuration command.

To generate traps whenever the MAC address table threshold limit is reached or exceeded, enter the mac address-table notification threshold [ limit percentage ] [ interval time ] command and the snmp-server enable traps mac-notification threshold global configuration command. This example shows how to set the threshold limit to 10 and set the interval time to seconds:. You can verify your settings by entering the show mac address-table notification privileged EXEC command. To add static addresses to the MAC address table, use the mac address-table static global configuration command.

Use the no form of this command to remove static entries from the table. Destination MAC address unicast or multicast to add to the address table. Packets with this destination address received in the specified VLAN are forwarded to the specified interface. Specifies the interface to which the received packet is forwarded.

Valid interfaces include physical ports and port channels. This example shows how to add the static address c2f3. You can verify your setting by entering the show mac address-table privileged EXEC command.

To create one or more directories on the specified file system, use the mkdir command in boot loader mode. To display the contents of one or more files, use the more command in boot loader mode. Use flash: for the system board flash device. Path directory and name of the files to display. To modify the Network Mobility Services Protocol NMSP notification interval value on the controller to address latency in the network, use the nmsp notification interval command in global configuration mode.

This example shows how to modify NMSP notification intervals for device attachment connecting to the network or disconnecting from the network every 10 seconds:. This example shows how to configure NMSP notification intervals for location parameters location change every 20 seconds:.

Use it on the switch stack, on the cluster command switch, or on a cluster member switch. To end the session, enter the exit command.

If the switch is the cluster command switch, but the cluster member switch n does not exist, an error message appears. To get the switch number, enter the show cluster members privileged EXEC command on the cluster command switch. You can use this command to access a cluster member switch from the cluster command-switch prompt or to access a cluster command switch from the member-switch prompt.

For Catalyst XL, XL, , , , , , and switches, the Telnet session accesses the member-switch command-line interface CLI at the same privilege level as on the cluster command switch. For example, if you execute this command at user level on the cluster command switch, the cluster member switch is accessed at user level. If you use this command on the cluster command switch at the privilege level, the command accesses the remote device at the privilege level.

If you use an intermediate enable-level lower than the privilege, access to the cluster member switch is at the user level. For Catalyst and switches running standard edition software, the Telnet session accesses the menu console the menu-driven interface if the cluster command switch is at privilege level If the cluster command switch is at privilege level 1, you are prompted for the password before being able to access the menu console.

Cluster command switch privilege levels map to the cluster member switches running standard edition software as follows:. If the cluster command switch privilege level is from 1 to 14, the cluster member switch is accessed at privilege level 1. If the cluster command switch privilege level is 15, the cluster member switch is accessed at privilege level This command will not work if the vty lines of the cluster command switch have access-class configurations.

You are not prompted for a password because the cluster member switches inherited the password of the cluster command switch when they joined the cluster. This example shows how to start a session with member 3.

All subsequent commands are directed to member 3 until you enter the exit command or close the session:. To rename a file, use the rename command in boot loader mode. This example shows a file named config. You can verify that the file was renamed by entering the dir filesystem: boot loader command. To perform a hard reset on the system, use the reset command in boot loader mode. A hard reset is similar to power-cycling the switch ; it clears the processor, registers, and memory.

To remove one or more empty directories from the specified file system, use the rmdir command in boot loader mode. Path directory and name of the empty directories to remove. The switch prompts you for confirmation before deleting each directory. You can verify that the directory was deleted by entering the dir filesystem: boot loader command. To display messages with sequence numbers when there is more than one log message with the same time stamp, use the service sequence-numbers global configuration command.

This example shows how to display messages with sequence numbers when there is more than one log message with the same time stamp:. To set or display environment variables, use the set command in boot loader mode. Environment variables can be used to control the boot loader or any other software running on the switch.

Use one of the following keywords for variable and the appropriate value for value :. If it is set to 0 or No, the boot loader attempts to automatically boot the system. If it is set to anything else, you must manually boot the switch from the boot loader mode. If the BOOT environment variable is not set, the system attempts to load and execute the first executable image it can find by using a recursive, depth-first search through the flash: file system.

If the BOOT variable is set but the specified images cannot be loaded, the system attempts to boot the first bootable file that it can find in the flash: file system. Valid values are 1, Yes, On, 0, No, and Off. If set to 1, Yes, or On, you can interrupt the automatic boot process by pressing the Break key on the console after the flash: file system has initialized.

Helper files extend or patch the functionality of the boot loader. PS1 prompt —Specifies a string that is used as the command-line prompt in boot loader mode. The Cisco IOS software inherits the baud rate setting from the boot loader and continues to use this value unless the configuration file specifies another setting. Valid values are 50, 75, , , , , , , , , , , , , , , , , , , , and Environment variables that have values are stored in the flash: file system in various files.

Each line in the files contains an environment variable name and an equal sign followed by the value of the variable. A variable has no value if it is not listed in these files; it has a value if it is listed even if the value is a null string. Environment variables that have values are stored in flash memory outside of the flash: file system.

Under typical circumstances, it is not necessary to alter the setting of the environment variables. You can verify your setting by using the set boot loader command. To display the settings of the boot environment variables, use the show boot privileged EXEC command. This example shows the output from the show boot command. The table below describes each field in the display:.

Displays a semicolon-separated list of executable files to try to load and execute when automatically booting up. In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory.

If the BOOT variable is set but the specified images cannot be loaded, the system attempts to boot up with the first bootable file that it can find in the flash: file system. Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. Displays the filename that Cisco IOS uses to read and write a private nonvolatile copy of the system configuration.

Displays whether a break is permitted during booting up is enabled or disabled. If it is set to yes, on, or 1, you can interrupt the automatic bootup process by pressing the Break key on the console after the flash: file system is initialized. Displays whether the switch automatically or manually boots up. Hi WLC with ver 8. Each switch is connected with about APs and all these switches are connected to the same core switch. There are NO any issues abou Created by jrpfahl on AM.

Our setup works to allow any mac and ipad to screen share to any apple tv all through the wireless. However, I just added 11 BenQ Touch panels, "big computer monitors that are tou Access Point antennas with single connection. Created by robinandjiang on AM. Ask a Question. Find more resources. Project Gallery. New Community Member Guide. Related support document topics. Recognize Your Peers.

Spotlight Award Nomination. Content for Community-Ad. Follow our Social Media Channels. This example shows the output from the show mac address-table aging-time command:. This example shows the output from the show mac address-table aging-time vlan 10 command:. This example shows the output from the show mac address-table count command:.

H available in privileged EXEC mode only. Optional Specifies an interface to match; valid interfaces include physical ports and port channels.

This example shows the output from the show mac address-table dynamic command:. The interface type; valid interfaces include physical ports and port channels. This example shows the output from the show mac address-table interface command:. Use the show mac address-table learning command without any keywords to display configured VLANs and whether MAC address learning is enabled or disabled on them. This example shows the output from the show mac address-table learning command showing that MAC address learning is disabled on VLAN To display the MAC address-table move update information on the device , use the show mac address-table move update command in EXEC mode.

This example shows the output from the show mac address-table move update command:. To display information about the multicast MAC address table, use the show mac-address-table multicast command.

For the MAC address table entries that are used by the routed ports, the routed port name is displayed in the "vlan" column, not the internal VLAN number. To display the MAC address notification settings for all interfaces or the specified interface, use the show mac address-table notification command in EXEC mode.

Optional Displays information for all interfaces. Optional The specified interface. Use the show mac address-table notification change command without keywords to see if the MAC address change notification feature is enabled or disabled, the number of seconds in the MAC notification interval,.

Use the interface keyword to display the notifications for all interfaces. If the interface ID is included, only the flags for that interface appear. This example shows the output from the show mac address-table notification change command:.

This example shows the output from the show mac address-table secure command:. This example shows the output from the show mac address-table static command:. This example shows the output from the show mac address-table vlan 1 command:. Displays attachment suppress interfaces. Displays the NMSP notification interval. Displays all connection-specific counters. Displays status of active NMSP connections.

Displays details for all of the NMSP services to which the controller is subscribed. The following is sample output from the show nmsp notification interval command:.

Displays the UDI information for a standalone switch or the specified stack members. Displays the hardware-related messages generated by a standalone switch or the specified stack members. Displays the counter information on a standalone switch or the specified stack members. Displays the time when a standalone switch or the specified stack members start, the reason the standalone switch or specified stack members restart, and the length of time that the standalone switch or specified stack members have been running since they last restarted.

The following example displays the UDI information for a standalone switch or the specified stack members. The following example displays the hardware-related messages generated by a standalone switch or the specified stack members.

The following example displays the counter information on a standalone switch or the specified stack members. The following example displays the temperature of a standalone switch or the specified stack members.

The following example displays the time when a standalone switch or the specified stack members start, the reason the standalone switch or the specified stack members restart, and the length of time that the standalone switch or the specified stack members have been running since they last restarted.

The following example displays the system voltages of a standalone switch or the specified stack members. The following example displays the status of a standalone switch or the specified stack members.

To shut down VLAN switching, use the shutdown command in global configuration mode. To disable the configuration set, use the no form of this command. This example shows how to shutdown a VLAN:. This example shows that the access point is not shut down:.

After you run PRBS by using the test cable-diagnostics prbs interface interface-id command, use the show cable-diagnostics prbs interface interface-id privileged EXEC command to display the results. After you run TDR by using the test cable-diagnostics tdr interface interface-id command, use the show cable-diagnostics tdr interface interface-id privileged EXEC command to display the results. Optional Specifies an interface on the source or destination device. The MAC address of the source device in hexadecimal format.

The MAC address of the destination device in hexadecimal format. Optional Specifies the VLAN on which to trace the Layer 2 path that the packets take from the source device to the destination device. Do not disable CDP.

When the device detects a device in the Layer 2 path that does not support Layer 2 traceroute, the device continues to send Layer 2 trace queries and lets them time out.

Layer 2 traceroute supports only unicast traffic. If you specify a multicast source or destination MAC address, the physical path is not identified, and an error message appears. The traceroute mac command output shows the Layer 2 path when the specified source and destination addresses belong to the same VLAN.

If you specify source and destination addresses that belong to different VLANs, the Layer 2 path is not identified, and an error message appears. If the VLAN is not specified, the path is not identified, and an error message appears. The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs for example, multiple CDP neighbors are detected on a port.

When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears. This example shows how to display the Layer 2 path by specifying the source and destination MAC addresses:. This example shows how to display the Layer 2 path by using the detail keyword:. This example shows how to display the Layer 2 path by specifying the interfaces on the source and destination device es:. This example shows the Layer 2 path when the device is not connected to the source device :.

This example shows the Layer 2 path when the device cannot find the destination port for the source MAC address:. This example shows the Layer 2 path when the destination MAC address is a multicast address:. To display the Layer 2 path taken by the packets from the specified source IP address or hostname to the specified destination IP address or hostname, use the traceroute mac ip command in privileged EXEC mode.

The IP address of the source device as a bit quantity in dotted-decimal format. The IP address of the destination device as a bit quantity in dotted-decimal format. The IP hostname of the destination device.

The traceroute mac ip command output shows the Layer 2 path when the specified source and destination IP addresses are in the same subnet. This example shows how to display the Layer 2 path by specifying the source and destination IP addresses and by using the detail keyword:. This example shows how to display the Layer 2 path by specifying the source and destination hostnames:.

To display the contents of one or more files, use the type command in boot loader mode. If you specify a list of files, the contents of each file appear sequentially. To reset one or more environment variables, use the unset command in boot loader mode.

BOOT —Resets the list of executable files to try to load and execute when automatically booting. HELPER —Identifies the semicolon-separated list of loadable files to dynamically load during the boot loader initialization. PS1 —Specifies the string that is used as the command-line prompt in boot loader mode. The BOOT environment variable can also be reset by using the no boot system global configuration command. To display the boot loader version, use the version command in boot loader mode.

This example shows how to display the boot loader version on a device :. Skip to content Skip to search Skip to footer. Book Contents Book Contents. Find Matches in This Book. PDF - Complete Book 6. Updated: May 3, Chapter: System Management Commands. Command Default The current software image is not overwritten with the downloaded image. Usage Guidelines Filenames and directory names are case sensitive.

Image names are case sensitive. Examples This example shows how to create a TAR file. Command Default Uploads the currently running image from the flash: file system.

Examples This example shows how to upload the currently running image on member switch 3 to a TFTP server at You can enter up to 50 domains. You can use regular expressions to match the domain name. Examples The following example shows how to enable AVC with DNS-AS: Device configure terminal Device config avc dns-as client enable Examples The following example shows how to make entries in the trusted domain list: Device configure terminal Device config trusted-domains Device config-trusted-domains domain www.

Command Default No default behavior or values. Usage Guidelines When you enter the boot command without any arguments, the device attempts to automatically boot the system by using the information in the BOOT environment variable, if any.

Filenames and directory names are case sensitive. Examples This example shows how to boot the device using the new-image. The valid range is from to Examples The following example sets the buffer size to KB: Switch config boot buffersize boot enable-break To enable the interruption of the automatic boot process on a standalone switch, use the boot enable-break global configuration command.

Command Default Disabled. Usage Guidelines This command works properly only from a standalone switch. Note Despite setting this command, you can interrupt the automatic boot process at any time by pressing the MODE button on the switch front panel. Examples This example uses the boot host dhcp command to enable auto-configuration with a saved configuration. Switch config boot host dhcp boot host retry timeout To set the amount of time for which the system tries to download a configuration file, use the boot host retry timeout global configuration command.

Command Default There is no default. Examples This example sets the timeout to seconds: Switch config boot host retry timeout boot manual To enable the ability to manually boot a standalone switch during the next boot cycle, use the boot manual global configuration command.

Command Default Manual booting is disabled. Examples The following example specifies the name of the boot image configuration file as config-boot. Syntax Description filesystem: Specifies a file system. The range is from 1 to 4. Examples This example shows how to clear all the OBFL information except for the uptime and CLI-command information: Switch clear logging onboard Clear logging onboard buffer [confirm] You can verify that the information is deleted by entering the show logging onboard privileged EXEC command.

Command Default No default is defined. Examples This example shows how to remove a specific MAC address from the dynamic address table: Switch clear mac address-table dynamic address Examples This example shows how to clear the mac address-table move update-related counters. Switch clear mac address-table move update You can verify that the information is cleared by entering the show mac address-table move update privileged EXEC command.

Use the no form of this global configuration command from the cluster member switch console port to remove the switch from a cluster only during debugging or recovery procedures. Command Default The switch is not a member of any cluster. Usage Guidelines This command is available only on the cluster command switch. The cluster command switch automatically provides its MAC address to cluster member switches when these switches join the cluster.

A cluster member can have only one cluster command switch. You usually use this command from the cluster member switch console port only when the member has lost communication with the cluster command switch. With a typical switch configuration, we recommend that you remove cluster member switches only by entering the no cluster member n global configuration command on the cluster command switch.

Switch config no cluster commander-address You can verify your settings by entering the show cluster privileged EXEC command. Command Default The default hop count is 3. Examples This example shows how to set hop count limit to 4. This command is executed on the cluster command switch: Switch config cluster discovery hop-count 4 You can verify your setting by entering the show cluster privileged EXEC command. Use the no form of the command to remove all members and to make the cluster command switch a candidate switch.

Command Default The switch is not a cluster command switch. No cluster name is defined. The member number is 0 when the switch is the cluster command switch. Usage Guidelines Enter this command on any command-capable switch that is not part of any cluster.

If the switch is already configured as the cluster command switch, this command changes the cluster name if it is different from the previous cluster name. Examples This example shows how to enable the cluster command switch, name the cluster, and set the cluster command switch member number to 4: Switch config cluster enable Engineering-IDF4 4 You can verify your setting by entering the show cluster privileged EXEC command on the cluster command switch.

Use the no form of this command to set the duration to the default value. Command Default The default holdtime is 80 seconds.

Usage Guidelines Enter this command with the cluster timer global configuration command only on the cluster command switch. For example, it takes holdtime-in-secs divided by the interval-in-secs number of heartbeat messages to be missed in a row to declare a switch down. Examples This example shows how to change the interval timer and the duration on the cluster command switch: Switch config cluster timer 3 Switch config cluster holdtime 30 You can verify your settings by entering the show cluster privileged EXEC command.

H [ password enable-password ] [ vlan vlan-id ] no cluster member n Syntax Description n Optional The number that identifies a cluster member. H Specifies the MAC address of the cluster member switch in hexadecimal format.

Command Default A newly enabled cluster command switch has no associated cluster members. Usage Guidelines Enter this command only on the cluster command switch to add a candidate to or remove a member from the cluster. If a switch does not have a configured hostname, the cluster command switch appends a member number to the cluster command-switch hostname and assigns it to the cluster member switch. The cluster command switch adds the candidate to the cluster through VLAN 3: Switch config cluster member 2 mac-address 00E0.

The cluster command switch selects the next available member number and assigns it to the switch that is joining the cluster: Switch config cluster member mac-address 00E0. Command Default The default outside interface is automatically selected by the cluster command switch.

Usage Guidelines Enter this command only on the cluster command switch. Examples This example shows how to set the outside interface to VLAN 1: Switch config cluster outside-interface vlan 1 You can verify your setting by entering the show running-config privileged EXEC command.

Command Default Clustering is enabled on all switches. Usage Guidelines When you enter the no cluster run command on a cluster command switch, the cluster command switch is disabled. Examples This example shows how to disable clustering on the cluster command switch: Switch config no cluster run cluster timer To set the number of seconds between heartbeat messages, use the cluster timer global configuration command on the cluster command switch.

To set the interval to the default value, use the no form of the command cluster timer interval-in-secs no cluster timer Syntax Description interval-in-secs Interval in seconds between heartbeat messages. Command Default The default interval is 8 seconds.

Usage Guidelines Enter this command with the cluster holdtime global configuration command only on the cluster command switch. For example, the number of heartbeat messages that are missed in a row before a switch is declared down is calculated by dividing the number of seconds of holdtime by the number of seconds in the interval.

Examples This example shows how to change the heartbeat interval timer and the duration on the cluster command switch: Switch config cluster timer 3 Switch config cluster holdtime 30 You can verify your settings by entering the show cluster privileged EXEC command. Examples This example shows how to copy a file at the root: Device : copy usbflash0:test1.

Command Default Debugging is disabled. Usage Guidelines This command is available only on the cluster command switch stack or cluster command switch. Usage Guidelines The undebug matm move update command works the same as the no debug matm move update command.

Syntax Description filesystem: Alias for a file system. Examples This example shows how to delete two files: Device : delete usbflash0:test2. Usage Guidelines Directory names are case sensitive.

EX 4 -rwx Mar 01 multiple-fs 6 drwx Mar 01 cx-universalk9-mz. Examples This example shows how to display a list of available boot loader commands: Device : help? Syntax Description module Specifies the module number.

Examples This example shows how to enable OBFL on a switch stack and to specify that all the hardware-related messages on member switch 4 are stored in the flash memory when this command is entered on the active switch: Switch config hw-module module 4 logging onboard This example shows how to enable OBFL on a standalone switch and to specify that only severity 1 hardware-related messages are stored in the flash memory of the switch: Switch config hw-module module 1 logging onboard message level 1 You can verify your settings by entering the show logging onboard privileged EXEC command.

Separate each server address with a space. In the example below, the first two addresses are IPv4 Usage Guidelines You do not have to reboot the switch for the configure add-on license to take effect. Examples The following example shows how to activate the dna-essentials license on the switch: Device config license boot level addon dna-essentials logging To log messages to a UNIX syslog server host, use the logging global configuration command.

Usage Guidelines To build a list of syslog servers that receive logging messages, enter this command more than once. Examples The following example specifies the logging host IP as Command Default The default buffer size is bytes. Usage Guidelines If a standalone switch or the active switch fails, the log file is lost unless you previously saved it to flash memory using the logging file flash global configuration command. Examples The following example sets the logging buffer to bytes: Switch config logging buffered logging console To limit messages logged to the console according to severity, use the logging console command.

Examples The following example sets the level of console messages received to severity 3 errors and above: Switch config logging console 3 logging file flash To store log messages in a file in flash memory, use the logging file flash command. Command Default The default maximum file size is bytes and the default minimum file size is bytes. Command Default By default, warning, error, critical, alert, and emergency messages are sent. Examples The following example sets the level of syslog messages stored in the history file and sent to the SNMP server to 3: Switch config logging history 3 logging history size To specify the number of syslog messages that can be stored in the history table, use the logging history size global configuration command.

Note When the history table contains the maximum number of message entries specified, the oldest message entry is deleted from the table to allow the new message entry to be stored. Command Default The default is to store one message. The range is 0 to messages.

Examples The following example sets the number of syslog messages that can be stored in the history table to Switch config logging history size logging monitor To limit messages logged to the terminal lines according to severity, use the logging monitor command. Examples The following example sets the level of terminal messages received to severity 3 errors and above: Switch config logging monitor 3 logging trap To limit messages logged to the syslog servers according to severity, use the logging trap command.

Examples The following example sets the level of syslog server messages received to severity 3 errors and above: Switch config logging trap 3 mac address-table aging-time To set the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated, use the mac address-table aging-time global configuration command.

The range is 10 to seconds. Command Default The default is seconds. Examples This example shows how to set the aging time to seconds for all VLANs: Device config mac address-table aging-time You can verify your setting by entering the show mac address-table aging-time privileged EXEC command. If the exporter name does not exist, you receive an error message. By default, the device sends data to the collector every 60 seconds.

The range is from 64 to bytes in 4-byte increments. The default size is 64 bytes. Increasing the packet capture size reduces the number of flow records per packet.

Command Default By default, smart logging is not enabled. Command Modes Global configuration. Usage Guidelines You must configure a NetFlow collector before you enable smart logging. Examples This example shows a typical smart logging configuration.

It assumes that you have already used the Flexible NetFlow CLI to configure the NetFlow exporter cisco , and configures smart logging to capture the first bytes of the packets: Device config logging smartlog Device config logging smartlog cisco Device config logging smartlog packet capture size mac address-table notification To enable the MAC address notification feature on the switch stack, use the mac address-table notification global configuration command. The default MAC utilization threshold is 50 percent.

The default time between MAC threshold notifications is seconds. Usage Guidelines You can enable traps whenever a MAC address is moved from one port to another in the same VLAN by entering the mac address-table notification mac-move command and the snmp-server enable traps mac-notification move global configuration command. Examples This example shows how to set the threshold limit to 10 and set the interval time to seconds: Device config mac address-table notification threshold limit 10 interval You can verify your settings by entering the show mac address-table notification privileged EXEC command.

Command Default No static addresses are configured. Examples This example shows how to add the static address c2f3. When a packet is received in VLAN 4 with this MAC address as its destination, the packet is forwarded to the specified interface: Device config mac address-table static c2f3.

Examples This example shows how to set the NMSP notification interval for the active RFID tags to 25 seconds: Device configure terminal Device config nmsp notification-interval rfid 25 Device config end This example shows how to modify NMSP notification intervals for device attachment connecting to the network or disconnecting from the network every 10 seconds: Device configure terminal Device config nmsp notification-interval attachment 10 Device config end This example shows how to configure NMSP notification intervals for location parameters location change every 20 seconds: Device configure terminal Device config nmsp notification-interval location 20 Device config end rcommand To start a Telnet session and to execute commands, use the rcommand user EXEC command.

Cluster command switch privilege levels map to the cluster member switches running standard edition software as follows: If the cluster command switch privilege level is from 1 to 14, the cluster member switch is accessed at privilege level 1.

Examples This example shows how to start a session with member 3. Examples This example shows a file named config. Examples This example shows how to remove a directory: Device : rmdir usbflash0:Test You can verify that the directory was deleted by entering the dir filesystem: boot loader command.

If you want to use only the CLI to manage the switch, this is the only file you need to download. Copy the bin image to the flash of each switch. In this case, two are the switches so the commands are:. Save my name, email, and website in this browser for the next time I comment. This site uses Akismet to reduce spam. Learn how your comment data is processed. Sign in. Privacy Policy WhoisUP 0.

Forgot your password? Privacy Policy. Password recovery. Recover your password. Get help.



0コメント

  • 1000 / 1000