Summary of Contents for Cisco 220 Series Smart Plus
Page 1
CLI GUIDE Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 2
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
Interface Naming Conventions Interface ID Interface Range Interface List Chapter 2: 802.1X Commands dot1x guest-vlan enable dot1x guest-vlan enable (Interface) dot1x max-req dot1x port-control dot1x reauthentication dot1x system-auth-control Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 4
Chapter 4: ACL Commands deny (MAC) deny (IP) deny (IPv6) ip access-group in ip access-list extended Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 5
Chapter 6: Bonjour Commands bonjour enable show bonjour Chapter 7: CDP Commands cdp advertise-v2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 6
(Interface) Chapter 8: Clock Commands clock set clock source clock summer-time clock timezone show clock show sntp configuration sntp server Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 8
Chapter 12: GVRP Commands clear gvrp statistics gvrp enable (Global) gvrp enable (Interface) gvrp registration-mode gvrp vlan-creation-forbid show gvrp show gvrp configuration show gvrp error-statictics Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 9
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 10
Chapter 15: IP ARP Inspection Commands clear ip arp inspection statistics vlan ip arp inspection ip arp inspection limit rate ip arp inspection trust ip arp inspection validate Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 11
Chapter 17: IP Source Guard Commands ip source binding Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 12
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 13
Chapter 20: LACP Commands lacp port-priority lacp system-priority lacp timeout show lacp Chapter 21: Line Commands clear line exec-timeout line password-thresh show line silent-time speed Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 14
Chapter 23: Management ACL Commands deny (Management) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 15
Chapter 26: Port Channel Commands channel-group port-channel load-balance show etherchannel summary Chapter 27: Port Monitor Commands monitor session destination interface Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 16
(Global) qos trust (Interface) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 17
Chapter 29: RADIUS Commands radius-server default-param radius-server host show radius-server show radius-server default-param Chapter 30: RMON Commands clear rmon statistics rmon alarm rmon event rmon history Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 18
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 20
Chapter 36: System Management Commands hostname ping reload show cpu input rate show cpu utilization show memory statistics show services tcp-udp show system languages show tech-support show username Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 21
Chapter 39: User Interface Commands banner exec banner login configure disable enable exit (Configuration) exit (EXEC) history show banner show history show privilege Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 22
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 23
Chapter 42: Web Server Commands ip http secure-server ip http server ip http timeout-policy show ip http show ip https show services tcp-udp Appendix A: Where to Go From Here Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Users are assigned privilege levels. Each privilege level can access the CLI modes permitted to that level. User privilege levels are described in the User (Privilege) Levels section. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example 3—The following example switches between level 1 to level 15. The user must know the password for level 15. switchxxxxxx# exit switchxxxxxx> enable 15 Password: ****** (this is the password for level 15) switchxxxxxx# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
MAC address, as shown here: switchxxxxxx> The default hostname can be changed by using the hostname Global Configuration mode command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• • Ctrl+Z The following example shows how to access the Global Configuration mode and return to the Privileged EXEC mode: switchxxxxxx# switchxxxxxx# configure switchxxxxxx(config)# exit switchxxxxxx# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IPv6 Access-List Configuration mode. • Line Interface—Contains commands used to configure the management connections for the console, Telnet, and SSH. These commands configure Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If the access is through a Telnet connection, ensure that the following conditions are met before using CLI commands: • The switch has a defined IP address. • Corresponding management access is granted. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
When the command-line interface appears, enter cisco at the Username prompt STEP 6 and press Enter. Enter cisco at the Password prompt and press Enter. STEP 7 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 31
The switchxxxxxx# prompt is displayed. You can now enter the commands to manage the switch. For detailed information about the commands, refer to the appropriate chapters of this reference guide. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
There are certain command entry standards that apply to all commands. The following table describes the command conventions: In a command line, square brackets indicate an optional entry. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
There are two instances where help information can be displayed: • Keyword lookup—The character ? is entered in place of a command. A list of all valid commands and corresponding help messages are displayed. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
This reference guide provides a description of the negation effect for each CLI command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Up to 1000 lines of text (or commands) can be copied and pasted into the device. It is the user’s responsibility to ensure that the text copied into the device consists NOTE of legal commands only. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
{<port-type>[ ]<port-number>}|{Port-Channel|po}[ ]<port-channel-number> Sample of these various options are shown in the example below: switchxxxxxx# configure switchxxxxxx(config)# interface gi1 switchxxxxxx(config)# interface fa1 switchxxxxxx(config)# interface Port-Channel 1 switchxxxxxx(config-if)# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
When a range list is defined, a space after the first entry and before the comma (,) must be entered. A sample of this command is shown in this example: switchxxxxxx# configure switchxxxxxx(config)# interface range gi1,gi4-5 switchxxxxxx(config-if-range)# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To be able to join or leave the guest VLAN, the interface should not be a static member of the guest VLAN. Example The following example sets VLAN 2 as the guest VLAN: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode command. Example The following example enables unauthorized users on gi 1 5 to access the guest VLAN: switchxxxxxx(config)# interface gi15 switchxxxxxx(config-if)# dot1x guest-vlan enable Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example The following example sets the maximum number of EAP requests to 6: switchxxxxxx(config)# interface gi15 switchxxxxxx(config-if)# dot1x max-req 6 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
STP or enable the STP PortFast mode on 802.1X edge ports (ports in auto state that are connected to end stations). Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable periodic reauthentication of the client, use the no form of this command. Syntax dot1x reauthentication no dot1x reauthentication Parameters Default Configuration Periodic reauthentication is disabled. Command Mode Interface Configuration (Ethernet) mode Example switchxxxxxx(config)# interface gi15 switchxxxxxx(config-if)# dot1x reauthentication Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet) mode command. To revert to its default setting, use the no form of this command. Syntax seconds dot1x timeout quiet-period no dot1x timeout quiet-period Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet) mode command. To revert to its default setting, use the no form of this command. Syntax dot1x timeout reauth-period seconds no dot1x timeout reauth-period Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
EAP request frame from the client before resending the request. (Range: 1 to 65535 seconds) Default Configuration The default timeout period is 30 seconds. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the 802.1X status, use the show dot1x Privileged EXEC mode command. Syntax show dot1x Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show dot1x 802.1x protocol is: Enabled 802.1x protocol version: 2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Authentication Method | MAC Address ------------+-------+-------------------+-----------------------+----------- The following table describes the significant fields shown in the example: Field Description User Name Supplicant name that was authenticated on the port. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Guest VLAN ID: none (disabled) Port | Guest VLAN | In Guest VLAN --------+------------+--------------- Enabled Disabled | Disabled | Disabled | Disabled | Disabled | Disabled | Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 49
The following table describes the significant fields shown in the example: Field Description Guest VLAN ID Identifier of the VLAN as the guest VLAN. Port Port number. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Reauth Control | Reauth P eriod --------+--------------------+----------------------+-----------------+----- --------- gi11 Authentication | Initialize Enabled 5000 Quiet Period: 60 Second Supplicant timeout: 30 Second Max req: Session Time (HH:MM:SS): 0: 0: 0: 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 51
Max req Maximum number of EAP requests that can be sent. Session Time Amount of time that the supplicant was logged on the (HH:MM:SS) port. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
On a console, the enable password is used if a password exists. If no password is set, the authentication still succeeds. This command functions the same as entering the aaa authentication enable default enable none command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 53
The following example sets the enable password for authentication for accessing higher privilege levels: switchxxxxxx(config)# aaa authentication enable enable-list radius none switchxxxxxx(config)# line console switchxxxxxx(config-line)# enable authentication enable-list Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Create a list of authentication methods by entering this command with the LISTNAME LISTNAME parameter where is any character string. The method argument identifies the list of methods that the authentication algorithm tries in the given sequence. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Telnet or console, use the enable authentication Line Configuration mode command. To restore the default authentication method, use the no form of this command. Syntax LISTNAME enable authentication Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To restore the default password, use the no form of this command. Syntax privilege-level unencrypted-password enable password [level enable secret [level privilege-level ] encrypted encrypted-password privilege-level no enable [password | secret] [level Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 57
The following command sets an unencrypted password for level 15 (it will be encrypted in the configuration file): switchxxxxxx(config)# enable password level 15 let-me-in switchxxxxxx(config)# enable secret level l 4b529f21c93d4706090285b0c10172eb073ffebc4 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following example creates two login authentication method lists and binds them to HTTP and HTTPS separately: switchxxxxxx(config)# ip http authentication aaa login-authentication http test1 switchxxxxxx(config)# ip http authentication aaa login-authentication https test2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example 2—The following example sets an authentication login method list for the console: switchxxxxxx (config)# aaa authentication login authen-list radius local none switchxxxxxx (config)# line console switchxxxxxx (config-line)# login authentication authen-list Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable the password aging, use passwords aging 0. Using no passwords aging restores the aging time to its default setting. Example The following example configures the aging time to 24 days: switchxxxxxx(config)# passwords aging 24 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable enforcing the password complexity, use the no form of this command. Syntax passwords complexity enable no passwords complexity enable Parameters Default Configuration Password complexity is enabled on the switch. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 63
Minimal classes: 3 New password must be different than the current: Enabled Maximum consecutive same characters: 3 New password must be different than the user name: Enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show all AAA method lists for different line types, use the show line lists Privileged EXEC mode command. Syntax show line lists Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
| default show passwords configuration To show the password management configuration, use the show passwords configuration Privileged EXEC mode command. Syntax show passwords configuration Parameters Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Command Mode Privileged EXEC mode Example The following example shows information for all user accounts defined on the switch: switchxxxxxx# show username Priv Type User Name Password -------+--------+--------------------------------+-------------------------- Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies a password that will be automatically encrypted. (Range: 0 to 80 characters) Default Configuration The privilege level of the default user cisco is 15. The default password of this user is cisco. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 68
It will be copied to the configuration file just as it is entered. To use it, the user must know its unencrypted form. switchxxxxxx(config)# username jerry privilege 15 secret encrypted 4b529f21c93d4706090285b0c10172eb073ffebc4 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies the CoS value of the packet. (Range: 0 to 7) cos-wildcard • —(Optional) Wildcard bits to be applied to the CoS value. value • ethtype —(Optional) Specifies the Ethernet type in hexadecimal format of the packet. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
{any | { } {any | range destination destination-wildcard destination-port port-range } }{any | } {any | number number list-of-flags [dscp | precedence ] [match-all ] [disable-port] Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 71
(514), tacacs-ds (49), talk (517), tftp (69), time (35), who (513), or xdmcp (177). (Range: 0 to 65535) number • dscp —(Optional) Specifies the DSCP value. number • precedence —(Optional) Specifies the IP precedence value. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 72
ACE. If a range of ports is used for a source port, it is counted again if it is also used for a destination port. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Range: 0 to 255) source-prefix/length • —The source IPv6 network or class of networks about which to set permit conditions. This argument must be in the format Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 74
If a flag should be set, it is prefixed by “+”. If a flag should be unset, it is prefixed by “-”. Available options are +urg, +ack, +psh, +rst, +syn, +fin, - Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To bind an IPv4-based ACL to an interface, use the ip access-group in Interface Configuration mode command. To remove all IPv4-based ACLs from an interface, use the no form of this command. Syntax acl-name ip access-group no ip access-group in Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
No IPv4-based ACL is configured. Command Mode Global Configuration mode User Guidelines The IPv4-based ACEs for this IPv4-based ACL are defined in the permit (IP) and deny (IP) commands. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Name of the IPv6-based ACL. (Range: 1 to 32 characters) Default Configuration No IPv6-based ACL is applied to the interface. Command Mode Interface Configuration (Ethernet) mode Example switchxxxxxx(config)# interface gi11 switchxxxxxx(config-if)# ipv6 access-group v6acl1 in Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IPv4-based ACLs implicitly allow ARP packets to be sent and received on an interface. Example switchxxxxxx(config)# ipv6 access-list test Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To define a Layer 2 ACL based on source MAC address filtering and to enter the MAC Access-List Configuration mode, use the mac access-list extended Global Configuration mode command. To remove a MAC-based ACL, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
MAC-based ACL, use the no sequence command in the IP Access-List Configuration mode, in the IPv6 Access-List Configuration mode, or in the MAC Access-List Configuration mode. Syntax value no sequence Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
] permit {any | } {any | port-range destination destination-wildcard destination-port port- } {any | } {any | range number number } [dscp | precedence value no sequence Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 82
—(Optional) The ICMP message type for filtering ICMP packets. Enter a number or one of these values: echo-reply, destination-unreachable, source-quench, redirect, alternate-host-address, echo-request, router- advertisement, router-solicitation, time-exceeded, parameter-problem, timestamp, timestamp-reply, information-request, information-reply, Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 83
If a range of ports is used for a source port, it is counted again if it is also used for a destination port. Example switchxxxxxx(config)# ip access-list extended server switchxxxxxx(config-ip-acl)# permit ip 176.212.0.0 0.0.255.255 any Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Range: 0 to 65535) destination-prefix/length • —The destination IPv6 network or class of networks about which to set permit conditions. This argument must be in Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 85
-ack, -psh, -rst, -syn, and -fin. The flags are concatenated to one string, such as +fin-ack. Default Configuration No IPv6-based ACE is defined. Command Mode Ipv6 Access-List Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
ACL. The acceptable range is from 1 to 2147483547. If not specified, the switch provides a number starting from 1 in ascending order. source • —Source MAC address of the packet. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the ACLs for a specific class defined on the switch, use the show access-lists Privileged EXEC mode command. Syntax acl-name show {ip | ipv6 | mac} access-lists [ Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 88
Privileged EXEC mode Example switchxxxxxx# show access-lists MAC access list macacl1 sequence 1 permit any any cos 7 5 IPv6 access list v6acl1 sequence 1 permit ipv6 abcd::/64 aacc::/64 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC mode command. Syntax show access-lists utilization Parameters Command Mode Privileged EXEC mode Example switchxxxxxx# show access-lists utilization Max TCAM entries: 1408 In used: 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The action defined by this command has precedence over the forwarding rules defined by the applications or protocols (such as STP and LLDP) supported on the switch. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If no interface or VLAN is specified, all entries in the dynamic MAC address table will be cleared. Command Mode Privileged EXEC mode Example switchxxxxxx# clear mac address-table dynamic interfaces gi11 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
[delete- on-reboot | delete-on-timeout | permanent | secure] mac-address vlan-id mac address-table static vlan drop no mac address-table static mac-address vlan vlan-id Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 93
MAC address is saved until the next reboot. • delete-on-timeout—A MAC address that may be removed by the aging timer. • permanent—A MAC address is saved until it is removed manually. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 94
00:3f:bd:45:5a:b2 vlan 1 interfaces gi1 delete-on-reboot Example 3—The following example adds a deleted-on-timeout static MAC address: switchxxxxxx(config)# mac address-table static 00:3f:bd:45:5a:b2 vlan 1 interfaces gi1 delete-on-timeout Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The interface can be one of these types: Ethernet port or port channel. vlan • vlan —(Optional) Displays the entries for a specific VLAN. mac-address • —(Optional) Entries for a specific MAC address. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the MAC address aging time, use the show mac address-table aging- time Privileged EXEC mode command. Syntax show mac address-table aging-time Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies an Ethernet interface ID or a list of Ethernet interface IDs. Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show port-security interfaces fa1-10 Port Mode Security | CurrentAddr | Action Trap Freq Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable the port security on an interface, use the switchport port-security Interface Configuration mode command. To disable the port security on an interface, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Classic lock. All learned MAC addresses on the port are locked and the switch learns up to the maximum number of addresses allowed on the port. The learned addresses are not subject to aging or re-learning. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 101
(type and time-to-live). When the switchport port-security command enables the lock mode on a port, all dynamic addresses learned on the port are changed to permanent secure addresses. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 102
SNMP traps every 100 seconds if a packet with an unknown source address is received. switchxxxxxx(config)interface gi11 switchxxxxxx(config-if)# switchport port-security mode classic maximum 50 action discard-snmp-log trap-freq 100 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable Bonjour, use the no form of this command. Syntax bonjour enable no bonjour enable Parameters Default Configuration Bonjour is enabled by default. Command Mode Global Configuration mode Example switchxxxxxx(config)# bonjour enable Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration CDP version 2 is used by default. Command Mode Global Configuration mode Example switchxxxxxx(config)# cdp run switchxxxxxx(config)# cdp advertise-v2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
4096—CDP packets transmitting through this interface will not include Appliance VLAN-ID TLV. If the VVID is not supported on the interface, this MIB object will not be configurable and will return 4096. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable CDP on an interface, use the cdp enable Interface Configuration mode command. To disable CDP on an interface, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Number of seconds that a receiver must keep the advertised CDP information. The holdtime should be bigger than the value of the transmission timer. (Range: 10 to 255 seconds) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Syntax cdp log mismatch duplex no cdp log mismatch duplex Parameters Default Configuration The switch reports the duplex mismatches from all interfaces. Command Mode Interface Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
When a native VLAN mismatch is detected, which means that the native VLAN information in the incoming frame does not match what the local device is advertising, a SYSLOG message is generated by CDP. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
SYSLOG message is generated by CDP. Example switchxxxxxx(config)# interface fa11 switchxxxxxx(config-if)# cdp log mismatch voip Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To specify how to deal with CDP packets when CDP is disabled globally, use the cdp pdu Global Configuration mode command. Syntax cdp pdu {bridging | filtering | flooding} Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable CDP globally on the switch, use the cdp run Global Configuration mode command. To disable CDP globally on the switch, use the no form of this command. Syntax cdp run Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example switchxxxxxx(config)# cdp run cdp timer To specify how often CDP packets are transmitted, use the cdp timer Global Configuration mode command. Syntax seconds cdp timer Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To reset the CDP traffic counters to 0, use the clear cdp counter Privileged EXEC Mode command. Syntax clear cdp counter Parameters Command Mode Privileged EXEC Mode Example switchxxxxxx# clear cdp counter Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the CDP global settings, use the show cdp Privileged EXEC mode command. Syntax show cdp Parameters Command Mode Privileged EXEC Mode Example switchxxxxxx# show cdp CDP Global Configuration: CDP is globally enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
CDP neighbors. • version—(Optional) Displays information about the software version running on the CDP neighbors. Command Mode Privileged EXEC Mode Example switchxxxxxx# show cdp entry * protocol Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Holdtime is 180 seconds show cdp neighbor To show the CDP neighbor information, use the show cdp neighbor Privileged EXEC mode command. Syntax show cdp neighbor [detail] Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 119
Capability Capabilities advertised by neighbor. Platform Information from Platform TLV of neighbor. Port ID Interface number of the neighbor through which the frame arrived. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
COS for Untrusted Ports TLV: 0 show cdp traffic global To show global CDP traffic statistics, use the show cdp traffic global Privileged EXEC mode command. Syntax show cdp traffic global Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 121
Number of CDP version 1 packets received and advertisements transmitted on all interfaces. output, input CDP version 2 Number of CDP version 2 packets received and advertisements transmitted on all interfaces. output, input Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Hdr syntax: 0, Chksum error: 0, Invalid packet: 0 No memory in main cache: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 0, Input: 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 123
Hdr syntax: 0, Chksum error: 0, Invalid packet: 0 No memory in main cache: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 0, Input: 0 fa14 : Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 124
No memory in main cache: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 0, Input: 0 fa23 : Total packets output: 0, Input: 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 125
Hdr syntax: 0, Chksum error: 0, Invalid packet: 0 No memory in main cache: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 0, Input: 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC mode Example The following example sets the system time to 13:32:00 on August 7, 2014: switchxxxxxx# clock set 13:32:00 aug 7 2014 13:32:00 DFL(UTC+8) Aug 07 2014 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
HH:MM week clock summer-time recurring {usa | eu | { month date HH:MM }} [offset] zone month day year HH:MM month day year HH:MM clock summer-time date [offset] Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 128
The end time is relative to the summer time. If the starting month is chronologically after the ending month, the system assumes that you are in the southern hemisphere. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The system internally keeps time in UTC, so this command is used only for display purposes and when the time is manually set. Example switchxxxxxx(config)# clock timezone abc +2 minutes 32 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
08:11:44 abc(UTC+2:32) Mar 07 2012 Time source is sntp Time zone: Acronym is abc Offset is UTC+2:32 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
} [port no sntp Parameters ip-address • —IPv4 address of the SNTP server. hostname • —Hostname of the SNTP server. Only translation to IPv4 addresses is supported. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 132
Global Configuration mode Example The following example configures the switch to accept SNTP traffic from the server on 192.1.1.1 with port 123: switchxxxxxx(config)# sntp server 192.1.1.1 port 123 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IP address from the DHCP server, it will first automatically download the specific configuration file from the remote TFTP server, copy the downloaded configuration to the startup configuration, and then reboot. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration Command Mode Global Configuration mode Example The following example specifies image1 as the active system image file: switchxxxxxx(config)# boot system image-1 Select "image1" Success Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IP address or a hostname. Command Mode Privileged EXEC mode User Guidelines The entire copying process may take several minutes and differs from protocol to protocol and from network to network. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 136
Running Configuration file. Examples Example 1—The following example copies a system image file (file1) from the TFTP server 172.16.101.101 to the nonactive image file (image1): Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration Command Mode Privileged EXEC mode Example The following example deletes the Backup Configuration file from the flash memory: switchxxxxxx# delete backup-config Delete backup-config [y/n] Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following example deletes the Startup Configuration file from the flash memory: switchxxxxxx# delete startup-config Delete startup-config [y/n] To show information for the files in the flash memory, use the dir Privileged EXEC command. Syntax Parameters Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Full name of the configuration file located on the TFTP server defined in the ip dhcp tftp-server ip address command. Default Configuration No configuration file is specified. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—IPv4 address of the TFTP server. hostname • —Hostname of the TFTP server. ipv6-address • —IPv6 address of the TFTP server. Default Configuration No TFTP server is specified. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable the DHCPv6 stateless client, use the no form of this command. Syntax management vlan ipv6 dhcp client stateless no management vlan ipv6 dhcp client stateless Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
User Guidelines After executing this command, the DHCP Auto Configuration procedure will start on the next DHCP renew for DHCPv4 and on the next information-request refresh for DHCPv6. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The Backup Configuration file does not contain all information that can be displayed in the output. Only nondefault settings are displayed. Example switchxxxxxx# show backup-config config-file-header Switch867001 v1.0.0.16 CLI v1.0 username "cisco" secret encrypted ZmZmNzVhZTAzYjAyODkzZjlkM2JjZGIyMGYyMzY0NDM= Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show information of the DHCP Auto Configuration feature, use the show boot Privileged EXEC mode command. Syntax show boot Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privilege EXEC mode command. Syntax show bootvar Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show bootvar Image File Name Version Date Status ----- ---------- --------- --------------------- ----------- Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following example shows information of the TFTP servers used for auto configuration through DHCP: switchxxxxxx# show ip dhcp tftp-server server address active manual file path on server active manual auto-install status: Current server Current file Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 150
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 151
Example 2—The following example shows the Running Configuration file for fa2 and fa3: switchxxxxxx# show running-config interfaces gi1-2 interface gi1 interface gi2 switchxxxxxx# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To save the current Running Configuration to the Startup Configuration file, use the write Privileged EXEC mode command. Syntax write Parameters Default Configuration Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 155
Configuration and Image File Commands write Examples switchxxxxxx# write Building configuration... [OK] switchxxxxxx# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example switchxxxxxx(config)# interface gi1 switchxxxxxx(config-if)# eee enable Enabling or disabling EEE will cause the port first link down and then up. Are you sure to proceed? [yes/no]: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IDs. The interface ID can be one of these types: Ethernet port or port channel. Default Configuration Command Mode Privileged EXEC Mode Example The following example clears the statistics counters for gi5: switchxxxxxx# clear counters interfaces gi5 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The description of an interface. (Length: 0 to 32 characters) Default Configuration The interface does not have a description. Command Mode Interface Configuration (Ethernet, port channel) mode Example switchxxxxxx(config)# interface gi5 switchxxxxxx(config-if)# description SW#3 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable errdisable recovery from specific causes and set the recovery interval, use the errdisable recovery Global Configuration command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 161
—Specifies the time to recover from a specific error-disable state. The same interval is applied to all causes. (Range: 30 to 86400 seconds, default: 300 seconds) Default Configuration Errdisable recovery is disabled for all causes. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration Flow control is disabled. Command Mode Interface Configuration (Ethernet, port channel) mode Example switchxxxxxx(config)# interface gi1 switchxxxxxx(config-if)# flowcontrol on Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example 3 - The following example enters the Interface Configuration mode in order to configure a port channel (LAG): switchxxxxxx(config)# interface po1 switchxxxxxx(config-if)# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode command. To disable jumbo frames on the switch, use the no form of this command. Syntax frame-size jumbo-frame Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the error-disable recovery status and the interfaces in the error-disabled state, use the show errdisable recovery Privileged EXEC Mode command. Syntax show errdisable recovery Parameters Default Configuration Command Mode Privileged EXEC Mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) The interface ID or a list of interface IDs. The interface ID can be one of these types: Ethernet port or port channel. Command Mode Privileged EXEC Mode Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• interfaces —(Optional) Specifies an interface ID or a list of interface IDs. The interface ID can be one of these types: Ethernet port or port channel. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 168
Off( 10000) Off( 10000) Off( 10000) Drop gi16 disable Off( 10000) Off( 10000) Off( 10000) Drop gi17 disable Off( 10000) Off( 10000) Off( 10000) Drop Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To restart a disabled interface, use the no form of this command. Syntax shutdown no shutdown Parameters Default Configuration All interfaces are enabled. Command Mode Interface Configuration (Ethernet, port channel) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If you use the 10, 100, or 1000 keywords with the auto keyword, the port only auto-negotiates at the specified speed. Default Configuration The port operates at its maximum speed capability. Command Mode Interface Configuration (Ethernet, port channel) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. To disable the storm control action, use the no form of this command. Syntax storm-control action {drop | shutdown} Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. To disable storm control of broadcast traffic, use the no form of this command. Syntax storm-control broadcast no storm-control broadcast Parameters Default Configuration Disabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Use the storm-control broadcast level command to enable storm control of broadcast traffic on an interface. The calculated rate includes the 20 bytes of Ethernet framing overhead (preamble+SFD+IPG). Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable storm control, use the no form of this command. Syntax storm-control enable no storm-control enable Parameters Default Configuration Disabled Command Mode Interface Configuration mode Example switchxxxxxx(config)# interface gi11 switchxxxxxx(config-if)# storm-control enable Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
{bps | pps} Parameters • bps—Specifies the unit as bits per second. • pps—Specifies the unit as packets per second. Default Configuration The default is bps. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable storm control for unknown multicast traffic, use the no form of this command. Syntax storm-control unknown-multicast no storm-control unknown-multicast Parameters Default Configuration Disabled Command Mode Interface Configuration (Ethernet) mode Example switchxxxxxx(config)# interface gi5 switchxxxxxx(config-if)# storm-control unknown-multicast Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The calculated rate includes the 20 bytes of Ethernet framing overhead (preamble+SFD+IPG). Example switchxxxxxx(config)# interface gi1 switchxxxxxx(config-if)# storm-control unknown-multicast level 12345 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. To revert to its default setting, use the no form of this command. Syntax kbps storm-control unknown-unicast level { no storm-control unknown-unicast level Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 179
The calculated rate includes the 20 bytes of Ethernet framing overhead (preamble+SFD+IPG). Example switchxxxxxx(config)# interface fa1 switchxxxxxx(config-if)# storm-control unknown-unicast level 12345 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies an interface ID or a list of interface IDs. The interface must be an Ethernet port. Default Configuration Command Mode Privileged EXEC Mode Example switchxxxxxx# clear gvrp statistics interfaces gi11 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable GVRP on an interface, use the no form of this command. Syntax gvrp enable no gvrp enable Default Configuration GVRP is disabled on all interfaces. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• fixed—Specifies the fixed mode. • forbidden—Specifies the forbidden mode. • normal—Specifies the normal mode. Default Configuration Normal mode Command Mode Interface Configuration (Ethernet, Port Channel) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• interfaces —(Optional) Specifies an interface ID or a list of interface IDs. The interfaces can be one of these types: Ethernet port or port channel. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 185
Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Disabled Normal Enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If no interface ID is specified, GVRP statistics for all interfaces are displayed. Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show gvrp statistics Port id : fa1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 188
JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Port id Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 189
Port id Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 190
LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Port id : fa11 Total RX JoinEmpty RX JoinIn RX Empty RX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 191
LeaveAll TX Port id : fa14 Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 192
LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Port id : fa18 Total RX JoinEmpty RX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 193
LeaveIn TX LeaveEmpty TX LeaveAll TX Port id : fa21 Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 194
JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Port id Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 195
JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Port id Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 196
Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 197
Total RX JoinEmpty RX JoinIn RX Empty RX LeaveIn RX LeaveEmpty RX LeaveAll RX Total TX JoinEmpty TX JoinIn TX Empty TX LeaveIn TX LeaveEmpty TX LeaveAll TX Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To clear the IGMP Snooping statistics, use the clear ip igmp snooping statistics Privileged EXEC mode command. Syntax clear ip igmp snooping statistics Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode User Guidelines An IGMP profile can be applied to one or more interfaces, but one interface can have only one profile applied to it. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
User Guidelines You can use this command only on Layer 2 physical interfaces and on logical EtherChannel interfaces. Follow these guidelines when configuring the IGMP throttling action: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Syntax ip igmp snooping no ip igmp snooping Parameters Default Configuration IGMP Snooping is enabled by default. Command Mode Global Configuration mode Example switchxxxxxx(config)# ip igmp snooping Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable IGMP Snooping report suppression and forward all IGMP reports to multicast routers, use the no form of this command. Syntax ip igmp snooping report-suppression no ip igmp snooping report-suppression Parameters Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to its default setting, use the no form of this command. Syntax ip igmp snooping unknown-multicast action {drop | flood | router-port} no ip igmp snooping unknown-multicast action Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters • VLAN-LIST —A VLAN ID or a list of VLAN IDs. (Range: 1 to 4094) Default Configuration IGMP Snooping is disabled. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IGMP Snooping immediate leave is disabled by default. Command Mode Global Configuration mode User Guidelines You can execute the command before the VLAN is created. Example switchxxxxxx(config)# ip igmp snooping vlan 1 immediate-leave Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
You can execute the command before the VLAN is created. Example switchxxxxxx(config)# ip igmp snooping vlan 1 forbidden mrouter interfaces Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the last member query interval on a VLAN, use the ip igmp snooping vlan last-member-query-interval Global Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN-LIST no ip igmp snooping vlan mrouter learn pim-dvmrp Parameters VLAN-LIST • —A VLAN ID or a list of VLAN IDs. (Range: 1 to 4094) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN-LIST no ip igmp snooping vlan querier Parameters • VLAN-LIST —A VLAN ID or a list of VLAN IDs. (Range: 1 to 4094) Default Configuration Disabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
2—The IGMP version is IGMPv2. • querier version 3—The IGMP version is IGMPv3. Default Configuration The default IGMP version is IGMPv2. Command Mode Global Configuration mode Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default IGMP query interval is 125 seconds. Command Mode Global Configuration mode User Guidelines You can execute the command before the VLAN is created. Example switchxxxxxx(config)# ip igmp snooping vlan 3 query-interval 50 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To set the IGMP robustness variable on a VLAN, use the ip igmp snooping vlan robustness-variable Global Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—A VLAN ID or a list of VLAN IDs. (Range: 1 to 4094) • IPv4-Addr —IPv4 multicast address. interface-id— • interface The interface ID. The interfaces can be one of these types: Ethernet port or port channel. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—A VLAN ID or a list of VLAN IDs. (Range: 1 to 4094) interface-id— • interfaces An interface ID or a list of interface IDs. The interfaces can be one of these types: Ethernet port or port channel. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• interfaces Specifies an interface ID or a list of interface IDs. The interfaces can be one of these types: Ethernet port or port channel. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If no interface is specified, the information for all interfaces is displayed. Example switchxxxxxx# show ip igmp max-group interfaces fa5 Port ID Max Group ---------+-------------- fa5 : 512 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display information for all IGMP profiles or for a specific IGMP profile, use the show ip igmp profile Privileged EXEC mode command. Syntax profile-index show ip igmp profile [ Parameters profile-index • —(Optional) IGMP profile index. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN | Gourp IP Address | Type | Life(Sec) | Port -----+------------------+-------+-----------+------------------ 238.0.0.0 Static| | fa1-24,gi1-2,po1-8 Total Number of Entry = 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
| Expiry Time(Sec) ------+---------+------------------ Total Entry 0 Static Mrouter Table | Port Mask ------+------------------------ Total Entry 0 Forbidden Mrouter Table | Port Mask ------+------------------------ Total Entry 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
[ Parameters VLAN-LIST • —(Optional) A VLAN ID or a range of VLAN IDs. (Range: 1 to 4094) Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 227
2 IGMP Snooping last member query interval: admin 1 sec oper 1 sec IGMP Snooping immediate leave: disabled IGMP Snooping automatic learning of mrouter ports: enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To define a default gateway, use the ip default-gateway Global Configuration mode command. To revert to its default setting, use the no form of this command. Syntax IPv4-ADDR ip default-gateway no ip default-gateway Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration Enabled Command Mode Global Configuration mode User Guidelines This command enables the switch to query domain name for DNS server. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Domain names and hostnames are restricted to the ASCII letters A through Z (case-insensitive), the digits 0 through 9, the underscore and the hyphen. A period (.) is used to separate labels. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Hostnames are restricted to ASCII letters A through Z (case-insensitive), the digit 0 through 9, the underscore and the hyphen symbols. A period (.) is used to separate labels. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—IPv4 or IPv6 addresses of a single name server. server-address2 server-address8 • —(Optional) IPv4 or IPv6 addresses of additional name servers. Default Configuration No DNS server is configured. Command Mode Global Configuration mode Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example The following example configures the management VLAN with IP address 131.108.1.27 and subnet mask 255.255.255.0: switchxxxxxx(config)# management vlan ip address 131.108.1.27 mask 255.255.255.0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The no management vlan ip dhcp client command releases any IP address that was acquired, and sends a DHCPRELEASE message. Example switchxxxxxx(config)# management vlan ip dhcp client Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the DNS servers defined on the switch, use the show hosts Privileged EXEC mode command. Syntax show hosts Parameters Command Mode Privileged EXEC mode Example switchxxxxxx# show hosts Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the IP address of the management VLAN, use the show ip Privileged EXEC mode command. Syntax show ip Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show ip Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the IP DHCP status, use the show ip dhcp Privileged EXEC mode command. Syntax show ip dhcp Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show ip dhcp DHCP Status : disabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable dynamic ARP inspection on the switch, use the ip arp inspection Global Configuration mode command. To disable dynamic ARP inspection on the switch, use the no form of this command. Syntax ip arp inspection Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
15 new hosts per second. The rate is unlimited on all trusted interfaces. The burst interval is 1 second. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 240
EtherChannel ports only after examining the rate of incoming ARP packets on all channel members. Example switchxxxxxx(config)# interface gi5 switchxxxxxx(config-if)# ip arp inspection limit rate 150 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IP-to-MAC address bindings before updating the local cache and before forwarding the packet to the appropriate destination. Example switchxxxxxx(config)# interface gi9 switchxxxxxx(config-if)# ip arp inspection trust Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IP validation only, the src- mac and dst-mac validations are disabled as a result of the second command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies a VLAN ID or a range of VLAN IDs. (Range: 1 to 4094) Default Configuration ARP inspection is disabled on all VLANs. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following table describes the significant fields shown in the example: Field Description Dynamic ARP Shows whether dynamic ARP Inspection is enabled or Inspection disabled on the switch. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Ethernet port or port channel. Command Mode Privileged EXEC mode Example switchxxxxxx# show ip arp inspection interfaces gi1 Interfaces | Trust State | Rate (pps) ------------+-------------+------------- | Untrusted Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Command Mode Privileged EXEC mode Example switchxxxxxx# show ip arp inspection statistics vlan 1 Vlan| Forward |Source MAC Failures|Dest MAC Failures|SIP Validation Failures|DIP Validation Failures|IP-MAC Mismatch Failures Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 247
Total number of ARP packets that the destination IP address validation fails. IP-MAC Mismatch Total number of ARP packets that the IP address does Failures not match the MAC address. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To clear the DHCP snooping binding entries for specific interfaces, use the clear ip dhcp snooping binding interface Privileged EXEC mode command. Syntax interface-id clear ip dhcp snooping binding interface Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
An interface ID or a list of interfaces. The interfaces can be one of these types: Ethernet port or port channel. Command Mode Privileged EXEC mode Example switchxxxxxx# clear ip dhcp snooping interfaces fa5 statistics Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the DHCP snooping binding database agent, use the ip dhcp snooping database Global Configuration mode command. To disable the agent, reset the timeout value, or reset the write-delay value, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 252
To save the DHCP snooping binding database in the switch NVRAM, use the ip dhcp snooping database flash command. To disable the agent, use the no ip dhcp snooping database command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode User Guidelines You must enable DHCP snooping globally by using the ip dhcp snooping Global Configuration mode command to apply any DHCP snooping configuration. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Syntax ip dhcp snooping information option allow-untrusted [replace] no ip dhcp snooping information option allow-untrusted Parameters • replace—(Optional) Replaces DHCP packets with option-82 information. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the number of DHCP messages that an interface can receive per second, use the ip dhcp snooping limit rate Interface Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure a port as trusted for DHCP snooping purposes, use the ip dhcp snooping trust Interface Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the switch to not verify the MAC addresses, use the no form of this command. Syntax ip dhcp snooping verify mac-address no ip dhcp snooping verify mac-address Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN-LIST no ip dhcp snooping vlan Parameters VLAN-LIST • —A VLAN ID or a range of VLAN IDs. Default Configuration DHCP snooping is disabled on all VLANs. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
User Guidelines You must globally enable DHCP snoopingDHCP snooping on the switch by using the ip dhcp snooping Global Configuration mode command to apply any DHCP snooping configuration. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To renew the DHCP snooping binding database, use the renew ip dhcp snooping database Privileged EXEC command. Syntax renew ip dhcp snooping database Parameters Command Mode Privileged EXEC mode Example switchxxxxxx# renew ip dhcp snooping database Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the DHCP snooping binding configuration for all interfaces, use the show ip dhcp snooping binding Privileged EXEC mode command. Syntax show ip dhcp snooping binding Parameters Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Delay Timer Expiry : Not Running Abort Timer Expiry :Not Running Last Succeded Time : None Last Failed Time : None Last Failed Reason : No failure recorded. Total Attempts Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters interface-id— • An interface ID or a list of interfaces. The interfaces can be one of these types: Ethernet port or port channel. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interfaces | Forwarded | Chaddr Check Dropped | Untrust Port Dropped | Untrust Port With Option82 Dropped | Invalid Drop -----------+-----------+----------------------+----------------------+------ ------------------------------+-------------- Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 265
IP DHCP Snooping Commands show ip dhcp snooping interfaces statistics Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies an interface ID or a list of interfaces. The interfaces can be one of these types: Ethernet port or port channel. Default Configuration No IP source binding rule is configured. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration The default is no limit. Command Mode Interface Configuration mode Example switchxxxxxx(config)# interface gi13 switchxxxxxx(config-if)# ip source binding max-entry 20 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable IP source guard with source IP and MAC address filtering, use the ip verify source mac-and-ip Interface Configuration mode command. Example switchxxxxxx(config)# interface gi13 switchxxxxxx(config-if)# ip verify source mac-and-ip Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Total Entry: 1 The following table describes the significant fields shown in the example: Field Description Port Interface number. Identifier of the VLAN with which the address is associated. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
| No Limit fa2 | disabled | No Limit fa3 | disabled | No Limit fa4 | disabled | No Limit fa5 | disabled | No Limit Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 271
Max Entry Maximum number of binding entries allowed in the IP source binding database. Current Entry Current number of binding entries in the IP source binding database. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
MAC address. Another option to force the reachability confirmation is to ping the router link-local address (this will initiate the neighbor discovery process). Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode User Guidelines If the value specified for the prefix-length argument is greater than 64 bits, the prefix bits have precedence over the interface ID. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
When disabling IPv6 address autoconfiguration, automatically generated addresses that were assigned to the switch are removed. The default state of IPv6 address autoconfiguration is enabled. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode User Guidelines The management vlan ipv6-address-dhcp Global Configuration command allows the switch to dynamically learn its IPv6 address by using DHCP. Example switchxxxxxx(config)# management vlan ipv6-address-dhcp Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the IPv6 DHCP parameters configured on the switch, use the show ipv6 dhcp Privileged EXEC mode command. Syntax show ipv6 dhcp Parameters Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 277
IPv6 Addressing Commands show ipv6 dhcp Command Mode Privileged EXEC mode Example switchxxxxxx(config)# show ipv6 dhcp DHCPv6 Status : enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
You can apply the MLD profiles only to Layer 2 physical or EtherChannel interfaces. A MLD profile can be applied to one or more switch interfaces, but one interface can have only one profile applied to it. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
MLD report was received. Command Mode Interface Configuration mode User Guidelines You can use this command only on Layer 2 physical interfaces and on logical EtherChannel interfaces. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Syntax profile-number ipv6 mld profile profile-number no ip igmp profile Parameters profile-number • —The MLD profile number. (Range:1 to 128) Default Configuration No IGMP profiles are defined. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
2—(Optional) Specifies the MLD operation version as v2. Default Configuration The default MLD version is v1. Command Mode Global Configuration mode Example switchxxxxxx(config)# ipv6 mld snooping Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the IPv6 MLD snooping parameters on the VLANs, use the ipv6 mld snooping vlan Global Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—A VLAN ID or a range of VLAN IDs on which both MLD snooping and immediate leave are enabled. Default Configuration MLD immediate leave processing is disabled. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Specifies an interface or a list of interface IDs. The interfaces can be one of these types: Ethernet port or port channel. Default Configuration No ports are defined. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
No port is configured as a member of a multicast group. Command Mode Global Configuration mode User Guidelines You can execute the command before the VLAN is created. You can register an entry without specifying an interface. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VALUE • —The number of last member queries. (Range: 1 to 7) Default Configuration The default last member query count is 2. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The MLD query interval in seconds. (Range: 1 to 25) Default Configuration The default VLAN last member query interval is 1 second. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—A VLAN ID or a list of VLAN IDs. Default Configuration MLD snooping learning pim-dvmrp is enabled. Command Mode Global Configuration mode User Guidelines multicast router ports are learned according to: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• VALUE —The IPv6 MLD snooping query interval. (Range: 30 to 18000) Default Configuration The default VLAN query interval is 125 seconds. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Maximum response time, in seconds, advertised in IGMP queries. (Range: 5 to 20) Default Configuration Command Mode Global Configuration mode User Guidelines You can execute the command before the VLAN is created. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The global value determines the number of queries that the switch waits before deleting a listener that does not respond and applies to all VLANs that do not have a VLAN value set. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Using the no command without a port list removes the entry. Example switchxxxxxx(config)# ipv6 mld snooping vlan 1 static abcd::1234 interface switchxxxxxx(config)# ipv6 mld snooping vlan 1 static abcd::1234 interface Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Using the no command without a port list removes the entry. Example switchxxxxxx(config)# ipv6 mld snooping vlan 1 mrouter interfaces fa1 switchxxxxxx(config)# ipv6 mld snooping vlan 1 mrouter interfaces gi1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If no interface is specified, the information for all interfaces is displayed. Example switchxxxxxx# show ipv6 mld max-group interfaces fa5 Port ID Max Group ---------+-------------- fa5 : 512 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To display the IPv6 MLD profile information, use the show ipv6 mld profile Privileged EXEC mode command. Syntax profile-index show ipv6 mld profile [ Parameters profile-index • —(Optional) The MLD profile index. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Displays the static groups. Command Mode Privileged EXEC mode Example switchxxxxxx# show ipv6 mld snooping mrouter Dynamic Mrouter Table Port | Expiry Time(Sec) ------+---------+------------------ Total Entry 0 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The LACP priority value for an interface. (Range: 1 to 65535) Default Configuration The default LACP port priority is 1. Command Mode Interface Configuration (Ethernet) mode Example switchxxxxxx(config)# interface gi6 switchxxxxxx(config-if)# lacp port-priority 247 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. Syntax lacp timeout {long | short} Parameters — • long Specifies that the periodic transmissions of LACP PDUs occur at a slow transmission rate. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Number of the channel group. The range is 1 to 8. — • counters Displays traffic information. — • internal Displays internal information. • neighbor — Displays neighbor information. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 308
LACPDUs Pkts and Err Number of unknown and illegal packets received by LACP for a port. — Example 2 The following example shows the LACP internal information: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 309
Port priority setting. LACP uses the port priority to put ports in standby mode when there is a hardware limitation that prevents all compatible ports from aggregating. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 310
S - Device is requesting Slow LACPDUs F - Device is requesting Fast LACPDUs A - Device is in Active mode P - Device is in Passive mode Channel group 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 311
Port State Flags Decode: Activity: Timeout: Aggregation: Synchronization: Active Long Collecting: Distributing: Defaulted: Expired: — Example 4 The following example shows the LACP system identifier information: switchxxxxxx# show lacp sys-id Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 312
The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address associated to the system. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To set the session idle time, during which the switch waits for user input before automatic logoff, use the exec-timeout Line Configuration mode command. To revert to the default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Telnet). • ssh—Specifies the switch as a virtual terminal for secured remote access (SSH). Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration The default threshold value is 0, which indicates no threshold. Command Mode Line Configuration mode Example switchxxxxxx(config)# line console switchxxxxxx (config-line)# password-thresh 10 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to the default setting, use the no form of this command. Syntax speed no speed Parameters • —The baud rate in bits per second (bps). Possible values are 2400, 4800, 9600, 19200, 38400, 57600, and 115200 bps. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 318
The configured speed is applied when autobaud is disabled. This configuration applies to the current session only. Example The following example sets the console baud rate to 115200 bps: switchxxxxxx(config)# line console switchxxxxxx(config-line)# speed 115200 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To specify how long the receiving device holds a LLDP packet before discarding it, use the lldp holdtime-multiplier Global Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 320
LLDP holdtime multiplier is 4, then the value 120 is encoded in the TTL field of the LLDP header. Example The following example sets the LLDP holdtime interval to 90 seconds: switchxxxxxx(config)# lldp timer 30 switchxxxxxx(config)# lldp holdtime-multiplier 3 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN egress rules are not applied to the packets. LLDP packets are flooded to all ports for which the STP state is Forwarding. • LLDP packets are sent as untagged. Example switchxxxxxx(config)# lldp lldpdu flooding Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode command. To revert to its default setting, use the no form of this command. Syntax number lldp med fast-start-repeat-count Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies the location data as coordinates in hexadecimal format. data • ecs-elin —Specifies the location data as an Emergency Call Service Emergency Location Identification Number (ECS ELIN) in hexadecimal format. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable this feature, use the no form of this command. Syntax lldp med network-policy voice auto no lldp med network-policy voice auto Parameters Default Configuration Enabled Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• —Network policy index number. (Range: 1 to 32) • app—Specifies the type of the application defined for this network policy. Available application types are: voice Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 326
This example creates a network policy for the voice-signaling application and attaches it to gi 1 . LLDP packets sent on gi 1 will contain information defined in the network policy. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable receiving LLDP frames on an interface, use the lldp receive Interface Configuration mode command. To stop receiving LLDP frames on an interface, use the no form of this command. Syntax lldp receive Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters seconds • —The minimum time in seconds that a LLDP port waits before reinitializing the LLDP transmission. (Range: 1 to 10) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable LLDP globally on the switch, use the no form of this command. Syntax lldp run no lldp run Parameters Default Configuration LLDP is enabled by default. Command Mode Global Configuration mode Example switchxxxxxx(config)# lldp run Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable transmitting LLDP frames on an interface, use the lldp transmit Interface Configuration mode command. To stop transmitting LLDP frames on an interface, use the no form of this command. Syntax lldp transmit no lldp transmit Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to its default setting, use the no form of this command. Syntax seconds lldp tx-delay no lldp tx-delay Parameters seconds • —The delay time in seconds. (Range: 1 to 8191 seconds) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Range: 5 to 32767) Default Configuration 30 seconds Command Mode Global Configuration mode User Guidelines LLDP transmission interval multiplies the holdtime multiplier should be smaller than 65535. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
LLDP Local Device Information: Chassis Type : Mac Address Chassis ID : DE:AD:BE:EF:01:02 System Name : SwitchEF0102 System Description System Capabilities Support : Bridge Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Yes | Yes | No | No | gi12 | Yes | Yes | No | No | gi13 | Yes | Yes | No | No | Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies an interface ID or a list of interface IDs. If not specified, the command displays information for all interfaces. Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 344
D - DOCSIS cable device • H - Host • r - Repeater • O - Other Time interval in seconds after which the information for this neighbor is deleted. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 345
RX Frames Total Total number of received frames. RX Frames Discarded Total number of received frames that were discarded. RX Frames Errors Total number of received frames with errors. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 346
Total number of received TLVs that were discarded. RX TLVs Total number of received TLVs that were Unrecognized unrecognized. RX Ageouts Total Number of neighbor age outs on the interface. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
IPv6 address prefix length. The prefix length must be preceded by a forward slash (/). The parameter is optional. Default Configuration No rules are configured. Command Mode Management Access-List Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• —The ACL name to be used. Default Configuration The default is no management connection restrictions. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Management Access-List Configuration command mode, where the denied or permitted access conditions are defined with the deny and permit commands. If no match criteria is defined, the default value is deny. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 350
ACL to the active ACL: switchxxxxxx(config)# management access-list mlist switchxxxxxx(config-macl)# deny ip 192.168.1.111/0.0.255.255 interfaces gi9 service all switchxxxxxx(config-macl)# deny ip 192.168.1.111/0.0.255.255 interfaces gi11 service all switchxxxxxx(config-macl)# exit switchxxxxxx(config)# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Management Access-List Configuration mode User Guidelines The rules with Ethernet, VLAN, and port channel parameters are valid only if an IP address is defined on the appropriate interface. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC mode command. Syntax name show management access-list [ Parameters name • —(Optional) The name of a management ACL to be displayed. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 354
1 deny interfaces fa1-24,gi1-2,po1-8 service all ! (Note: all other access implicitly denied) mlist ----- sequence 1 permit interfaces fa11 service all ! (Note: all other access implicitly denied) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
| Open Pair C 0.90 | Open Pair D 0.83 | Open auto Pair A 0.95 | Open Pair B 0.90 | Open Pair C 0.85 | Open Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 356
Pair C 0.82 | Open Pair D 0.86 | Open gi13 auto Pair A 0.90 | Open Pair B 0.92 | Open Pair C 0.88 | Open Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 357
Pair C 0.87 | Open Pair D 0.83 | Open gi24 auto Pair A 0.90 | Open Pair B 0.90 | Open Pair C 0.88 | Open Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 359
Input Power - Measured RX received power in milliWatts - Loss of signal N/A - Not Available, N/S - Not Supported, W - Warning, E - Error Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default is auto. Command Mode Interface Configuration (Ethernet) mode Example The following example turns on the device discovery protocol on port 4: switchxxxxxx(config)# interface gi4 switchxxxxxx(config-if)# power inline auto Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To limit the power consumption on an interface, use the power inline limit Interface Configuration mode command. To revert to its default setting, use the no form of the command. Syntax power power inline limit no power inline limit Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Power Device (PD) as detected during the classification process. • port—Specifies that the power limit of a port is fixed regardless of the class of the discovered PD. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet) mode Example The following example sets the inline power management priority for port 4 to high: switchxxxxxx(config)# interface gi4 switchxxxxxx(config-if)# power inline priority high Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters percent • —The usage threshold in percentage of the power limit. An alarm is initiated if the power exceeds this value. (Range: 1 to 99) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Status Speed (RPM) ---- -------- ---------------- Normal 4850 Normal 4950 Normal 4500 Normal 4400 Thermal State Temperature Yellow Threshold Red Threshold (Degree Celsius) (Degree Celsius) (Degree Celsius) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Max.Power (Admin) Device (mW) ---- ----- ---------- -------- ------- ----------------- ---------------- gi1 Auto searching low 30000 (30000) gi2 Auto searching low 30000 (30000) gi3 Auto searching low 30000 (30000) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 367
Operational status (Normal or Fault) of the PoE switch. Nominal Power Total amount of power that the switch can supply to all connected PDs. Allocated Power Amount of power allocated by the PoE ports. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 368
---- ----- ---------- -------- ------- ----------------- ---------------- gi1 Auto searching low 30000 (30000) Port Overload Short Current Power Denied MPS Absent Invalid Sig. ---- ------------- ------------- ------------- ------------- ------------- Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 369
Number of times that the power was removed because the powered device dropout was detected. Invalid Sig. Number of times that an invalid signature of a powered device was detected. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Amount of power in milliwatts assigned to the powered device connected to the selected interface. Voltage Voltage of the power. Current Current in milliampere of the power. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration The port is not assigned to a port channel. Command Mode Interface Configuration (Ethernet) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default option is src-dst-mac. Command Mode Global Configuration mode User Guidelines In the src-dst-mac-ip port channel load-balancing policy, fragmented packets may be reordered. Example switchxxxxxx(config)# port-channel load-balance src-dst-mac Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode User Guidelines This command specifies the destination port for a monitor session. The following restrictions apply to the ports that are configured to be monitored ports: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies the remote VLAN for a RSPAN destination session. (Range: 2 to 4094) • reflector-interface interface-id —Specifies the reflector interface ID. The interface ID must be an Ethernet port. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The source interface ID. The interface ID must be an Ethernet port. • both—Monitors both transmitted and received packets. • rx—Monitors received packets only. • tx—Monitors transmitted packets only. vlan-id • vlan —Specifies a VLAN. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To stop a source interface for remote SPAN, use the no form of this command. Syntax session-number vlan-id monitor session source remote-span vlan session-number no monitor session source remote-span Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—A specific monitor session to be disabled. (Range: 1 to 4) • all—Disables all monitor sessions. • local—Disables a local monitor session. • remote—Disables a RSPAN session. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable remote SPAN, use the no form of this command. Syntax remote-span no remote-span Parameters Command Mode VLAN Configuration mode Example The following example defines VLAN 2 as a RSPAN VLAN: switchxxxxxx(config)# vlan 2 switchxxxxxx(config-vlan)# remote-span Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Mirrored source : Not Config Destination port : Not Config Session 4 Configuration Session Type : Unknown Mirrored source : Not Config Destination port : Not Config Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the remote SPAN VLAN, use the show vlan remote-span Privileged EXEC Mode command. Syntax show vlan remote-span Parameters Default Configuration Command Mode Privileged EXEC Mode Example switchxxxxxx# show vlan remote-span Remote SPAN VLAN ID: 3 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
This command is the same as creating a class map and then binding it to the policy map. After the policy map is defined, use the service-policy command to attach it to a port or port channel. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
A class map consists of one or more ACLs. It defines a traffic flow by determining which packets match some or all of the criteria specified in the ACLs. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Configuration mode command. To delete the match criteria, use the no form of this command. This command is available only when the switch is in QoS advanced mode. NOTE Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
This command is used after the policy-map and class commands. This command is available only when the switch is in QoS advanced mode. NOTE Syntax committed-rate-kbps police [exceed-action {drop | forward}] no police Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To remove an existing aggregate policer from a policy map, use the no form of this command. This command is available only when the switch is in QoS advanced mode. NOTE Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode command. To delete a policy map, use the no form of this command. This command is only available when the switch is in QoS advanced mode. NOTE Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 388
The service-policy command binds a policy map to a port or a port channel. Example The following example creates a policy map called Policy1 and enters the Policy- map Configuration mode: switchxxxxxx(config)# policy-map policy1 switchxxxxxx(config-pmap)# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Configuration mode command is ignored (not used in the ratio calculation). Example The following example configures the number of expedite queues as 2: switchxxxxxx(config)# priority-queue out num-of-queues 2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If qos advanced is entered without a keyword, the default is ports-not-trusted. Command Mode Global Configuration mode Examples Example 1—The following example enables QoS basic mode on the switch: switchxxxxxx(config)# qos basic Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration The default trust mode is cos. Command Mode Global Configuration mode User Guidelines The configuration is relevant for QoS advanced mode in the following cases: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(kbps). (Range: 16 to 1000000) • exceed-action {drop | forward}—(Optional) Specifies the action to be taken when the rate is exceeded. The possible values are: drop—Drops the packet. forward—Forwards the packet. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 393
When the average traffic rate exceeds 124,000 kbps, the packet is dropped. switchxxxxxx(config)# qos aggregate-policer test1 124000 exceed-action drop Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To map assigned CoS values to an egress queue, use the qos map cos-queue Global Configuration mode command. Syntax cos0...cos7 queue-id qos map cos-queue Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Up to eight DSCP values, separated by spaces to map to the specified queue number. (Range: 0 to 63) queue-id • —Specifies the queue number to which the DSCP values are mapped. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Range: 0 to 7) • queue-id —Specifies the queue number to which the IP precedence values are mapped. Default Configuration IP precedence-to-queue mapping matrix IP Precedence Queue Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Specifies the CoS value to which the queue values are mapped. Default Configuration Queue-to-CoS mapping matrix Queue Command Mode Global Configuration mode Example switchxxxxxx(config)# qos map queue-cos 7 to 2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
7 to 50 qos map queue-precedence To configure the queue-to-precedence map, use the qos map queue-precedence Global Configuration mode command. Syntax queue-list ip-precedence-id qos map queue-precedence Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
CoS value. • dscp—Remarks the ingress packets with the DSCP value. • ip-precedence—Remarks the ingress packets with the IP precedence value. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• dscp—Classifies the ingress packets with packet DSCP value. • ip-precedence—Classifies the ingress packets with packet IP precedence value. Default Configuration The default trust mode is dscp. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable the trust state on an interface, use the no form of this command. Syntax qos trust no qos trust Parameters Default Configuration Trust state is enabled on each interface when the switch is in QoS basic mode. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Only one policy map per interface per direction is supported. Example The following example attaches a policy map called Policy1 to the input interface: switchxxxxxx(config-if)# interface gi11 switchxxxxxx(config-if)# service-policy input policy1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 403
2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
This command is available only when the switch is in QoS advanced mode. NOTE Syntax policy-map-name show policy-map [ Parameters policy-map-name • —(Optional) The policy map name. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—An interface ID or a list of interface IDs. The interface can be one of these types: Ethernet port or port channel. Command Mode Privileged EXEC mode Example switchxxxxxx# show policy-map interface fa5 Interface Input Policy --------- ------------- pmap1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example 2—The following example displays QoS attributes when the switch is in QoS advanced mode: switchxxxxxx# show qos QoS Mode: advanced Advanced mode trust type: cos Advanced mode ports state: Not trusted Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters interface-id • —An interface ID or a list of interface IDs. The interface can be one of these types: Ethernet port or port channel. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• ip-precedence-queue—(Optional) Displays the IP precedence-to-queue mapping. • queue-cos—(Optional) Displays the queue-to-CoS mapping. • queue-dscp—(Optional) Displays the queue-to-DSCP mapping. • queue-precedence—(Optional) Displays the queue-to-precedence mapping. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 409
Queue to CoS mappings Queue -------------------------------- Queue to DSCP mappings Queue -------------------------------- DSCP 8 16 24 32 40 48 56 Queue to IP Precedence mappings Queue -------------------------------- ipprec Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the port rate limit for a specific VLAN or for all VLANs, use the show rate- limit vlan Prvileged EXEC mode command. Syntax vlan-id show rate-limit vlan Parameters vlan-id • —The VLAN ID. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default shaper burst is 768 bytes. Command Mode Interface Configuration (Ethernet, port channel) mode Example The following example sets a traffic shaper burst size 9600 bytes: switchxxxxxx(config)# traffic-shape burst 9600 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet, port channel) mode Example The following example sets a traffic shaper on fa5 when the average traffic rate exceeds 124000 kbps: switchxxxxxx(config)# interface gi5 switchxxxxxx(config-if)# traffic-shape 124000 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the trust state, use the trust Policy-map Class Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 414
Interface Configuration mode command. If specifying trust CoS, QoS maps a packet to a queue, the received or default port CoS value, and the CoS-to-queue map. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The maximum ingress traffic on an Ethernet interface in kilobits per second (kbps). (Range: 16 to 1000000) Default Configuration Rate limiting is disabled. Command Mode Interface Configuration (Ethernet) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN that is rate limited, the packet is counted only in the traffic policing of the policy map. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
We do not recommend that you set the weight of a queue to 0 as it might stop transmission of control- protocols packets generated by the device. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 418
The expedite queues are designated by the priority-queue out num-of-queues command. Example switchxxxxxx(config)# priority-queue out num-of-queues 4 switchxxxxxx(config)# wrr-queue bandwidth 6 6 6 6 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
RADIUS server before retrying the query, or switching to the next server. (Range: 1 to 30, default: 3) Default Configuration Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies the number of requests that are sent to the RADIUS server before a failure is considered to have occurred. (Range: 1 to 10, default: 3) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 421
To specify multiple hosts, this command is used for each host. Example The following example specifies a RADIUS server with IP address 192.168.10.1, authentication request port number 20, and a 20-second timeout period: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Timeout Number of seconds that the switch waits for an answer from the RADIUS server before retrying the query, or switching to the next server. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the default RADIUS server parameters, use the show radius-server default-param Privileged EXEC mode command. Syntax show radius-server default-param Command Mode Privileged EXEC mode Example switchxxxxxx# show radius-server default-param Retries| Timeout| --------+--------+--------- Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 424
RADIUS server before retrying the query, or switching to the next server. Default key for authenticating and encrypting the RADIUS communications between the switch and the RADIUS server. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure a RMON alarm, use the rmon alarm Global Configuration mode command. To delete a RMON alarm, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 426
256 to 511 octets. pkts128to255octets—Number of packets size 128 to 255 octets. pkts65to127octets—Number of packets size 65 to 127 octets. pkts64octets—Number of packets size 64 octets. undersize-pkts—Number of undersized packets. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 427
Default Configuration The default method type is absolute. The default startup direction is rising-falling. If the owner name is not specified, the default is an empty string. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies the comment describing this event. (Length: 0 to 127 characters) NAME • owner —(Optional) Specifies the name of the person who configured this event. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Range: 1 to 3600) NAME • owner —(Optional) Specifies the name of the person who configured this history. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following example displays information of the RMON alarm 1: switchxxxxxx# show rmon alarm 1 Alarm 1 ------- OID: 1.3.6.1.2.1.2.2.1.10.1 Last sample Value: 878128 Interval: 30 Sample Type: delta Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 431
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Rmon Event Index : 10 Rmon Event Type : Log Rmon Event Community Rmon Event Description : Rmon Event Last Sent (0) 0:00:00.00 Rmon Event Owner Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following example shows information for the event 1 in the RMON log table: switchxxxxxx# show rmon event 1 log Maximum table size: 500 (800 after reset) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Rmon History Bucket : 60 Rmon history Interval : 300 Rmon History Owner : john The following table describes the significant fields shown in the example: Field Description Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following example displays the RMON statistics for fa1: switchxxxxxx# show rmon statistics interfaces gi1 ==== Port gi1 ============================= etherStatsDropEvents etherStatsOctets : 178566 etherStatsPkts : 2261 etherStatsBroadcastPkts : 299 etherStatsMulticastPkts : 147 etherStatsCRCAlignErrors etherStatsUnderSizePkts etherStatsOverSizePkts Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 436
(Alignment Error). Undersize Packets Total number of packets received, less than 64 octets long (excluding framing bits, but including FCS octets) and otherwise well formed. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 437
512 to 1023 Octets Total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 438
1024 to 1518 Octets Total number of packets (including bad packets) received that were between 1024 octets and 1518 octets in length inclusive (excluding framing bits but including FCS octets). Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
MAC address. • icmp-frag-pkts-deny—Drops the fragmented ICMP packets. • icmpv4-ping-max-check—Checks the maximum size of ICMPv4 ping packets and drops the packets larger than the maximum packet size. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 440
• tcphdr-min-length —Specifies the minimum TCP header length. (Range: 0 to 31 bytes) Default Configuration All types of DoS protection are enabled in security suit by default. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable DoS protections on an interface, use the no form of this command. Syntax security-suite dos no security-suite dos Parameters Default Configuration Disabled Command Mode Interface Configuration (Ethernet) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—An interface ID or a list of interface IDs. Command Mode Privileged EXEC Mode Example switchxxxxxx# show security-suite interface gi1-3 Port | DoS Protection | Gratuitous-ARP ----------+----------------+---------------- enabled enabled disabled disabled disabled disabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC mode command. Syntax show snmp-server Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show snmp-server SNMP is enabled System Contact : test System Location : test_location Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
SNMP group associated with the SNMP community to determine the access rights. View SNMP view that can access the SNMP community. all indicates that any IP device can access the SNMP community. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Command Mode Privileged EXEC mode Example switchxxxxxx# show snmp engineid Local SNMPV3 Engine id: 00036D001000 IP address Remote SNMP engineID ---------------------------------------------------------------------------- 192.168.1.55 00036D10000A Total Entries: 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC mode Example switchxxxxxx# show snmp-server group Group Name Model Level ReadView WriteView NotifyView ------------------------------ ------ ------------ -------------------------- ---- ------------------------------ ------------------------------ testgroup noauth Total Entries: 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show all SNMP notification recipients defined on the switch, use the show snmp-server host Privileged EXEC mode command. Syntax show snmp-server host Parameters Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show whether SNMP traps are enabled or disabled on the switch, use the show snmp-server trap Privileged EXEC mode command. Syntax show snmp-server trap Parameters Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show snmp-server view View Name Subtree OID OID Mask View Type ------------ ---------------------- ---------------------- --------- included agon .1.3.6.1 included Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show snmp-server user Username: snmpuser Password: ******** Access GroupName: snmpgroup Authentication Protocol: md5 Encryption Protocol: none Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 453
• priv—(Authentication and Privacy) Authenticates SNMP messages, and encrypts SNMP messages if the SNMP message origins are authenticated. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To delete an SNMP community, use the no form of this command. Syntax community-string view-name snmp-server community [view ] {ro | rw} community-string group-name snmp-server community group community-string no snmp-server community Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 455
When a group name is specified, the software: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• —The system contact name. (Length: 0 to 256 characters) Default Configuration No contact name is defined. Command Mode Global Configuration mode Example switchxxxxxx(config)# snmp-server contact Robert Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default is all IP addresses. ENGINEID • —The remote SNMP engine ID. The engine ID is a 10 to 64 hexadecimal characters. The hexadecimal number must be divided by 2. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Applicable only to the SNMP version 3 security model. Note that creation of SNMPv3 users with both authentication and privacy must be done in the GUI. All other users may be created in the CLI. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the hosts to receive SNMP notifications (traps or informs), use the snmp-server host Global Configuration mode command. To delete an SNMP notification recipient, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 460
—(Optional) Specifies the UDP port number. timeout-value • timeout —(Optional) Specifies the SNMP inform timeout. retry-time • retries —(Optional) Specifies the number of SNMP inform retries. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• —The system location. (Length: 0 to 256 characters) Default Configuration No location name is defined. Command Mode Global Configuration mode Example switchxxxxxx(config)# snmp-server location NewYork Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To define an SNMP user, use the snmp-server user Global Configuration mode command. To delete an SNMP user, use the no form of the command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 463
—Specifies the private password for the privacy key. (Length: 8 to 64 characters) Default Configuration Command Mode Global Configuration mode Example switchxxxxxx(config)# snmp-server user tom acbd Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The command’s logical key is the pair ( ). Two commands cannot have the same view-name oid-tree The number of SNMP views is limited to 16. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 465
SNMP Commands snmp-server view Example switchxxxxxx(config)# ssnmp-server view agon subtree 1.3.6.1 oid-mask all viewtype included switchxxxxxx(config)# snmp-server view userview subtree 1.3.6.1.2 oid-mask 1111110 viewtype excluded Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet, port channel) mode User Guidelines This feature can only be used when the switch is in RSTP or MSTP mode. Example switchxxxxxx# clear spanning-tree detected-protocols Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN mapping, the same configuration revision number, and the same name. Example The following example maps a range of VLANs to the MSTP instance 1: switchxxxxxx(config)# spanning-tree mst configuration switchxxxxxx(config-mst)# instance 1 vlan 10-20 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To define the revision number for current MSTP configuration, use the revision MST Configuration mode command. To revert to its default setting, use the no form of this command. Syntax value revision no revision Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the STP configuration, use the show spanning-tree Privileged EXEC mode command. Syntax show spanning-tree Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show spanning-tree Spanning tree enabled mode STP Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example 1—The following example shows the STP information of gi 1 : switchxxxxxx# show spanning-tree interfaces gi1 Port gi1 enabled State: disabled Role: disabled Port id: 128.1 Port cost: 200000 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to its default setting, use the no form of this command. Syntax spanning-tree bpdu {filtering | flooding} no spanning-tree bpdu Parameters • filtering—Filters BPDU packets when STP is disabled globally. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
BPDU packets normally. • enable—Specifies that the interface does not send BPDU packets and filters the received BPDU packets. Default Configuration BPDU filter is disabled. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The command can be enabled when STP is enabled globally and on the interface. Example The following example shuts down fa5 when it receives an BPDU: switchxxxxxx(config)# interface gi5 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Command Mode Interface Configuration (Ethernet, port channel) mode Example The following example configures the STP path cost on fa15 to 35000: switchxxxxxx(config)# interface gi15 switchxxxxxx(config-if)# spanning-tree cost 35000 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure how often the switch broadcasts the hello messages to other devices, use the spanning-tree hello-time Global Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
{point-to-point | shared} no spanning-tree link-type Parameters • point-to-point—Specifies that the port link type is point-to-point. • shared—Specifies that the port link type is shared. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration The default port priority is 128. Command Mode Interface Configuration (Ethernet, port channel) mode User Guidelines The priority value must be a multiple of 16. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The number of hops in an MSTP region before BDPU is discarded. (Range: 1 to 40) Default Configuration The default number of hops is 20. Command Mode Global Configuration mode Example switchxxxxxx(config)# spanning-tree mst max-hops 10 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
User Guidelines When configuring the maximum age, the following relationships should be maintained: 2*(Forward-Time - 1) >= Max-Age Max-Age >= 2*(Hello-Time + 1) Example switchxxxxxx(config)# spanning-tree max-age 10 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enter the MST Configuration mode and enable configuring an MSTP region, use the spanning-tree mst configuration Global Configuration mode command. Syntax spanning-tree mst configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The port path cost. (Range: 1 to 200000000, 0 means Auto) Default Configuration The default path cost is determined by the port speed and the path cost method (long or short): Interface Long Short port channel 20,000 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
(Range: 0 to 61440) Default Configuration The default priority is 32768. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If the short method is selected, the switch calculates cost in the range 1 through 65,535. • If the long method is selected, the switch calculates cost in the range 1 through 200,000,000. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example The following example enables the PortFast mode on gi 1 5: switchxxxxxx(config)# interface gi15 switchxxxxxx(config-if)# spanning-tree portfast Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Global Configuration mode command. To revert to its default setting, use the no form of this command. Syntax priority spanning-tree priority Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to its default setting, use the no form of this command. Syntax value spanning-tree tx-hold-count no spanning-tree tx-hold-count Parameters value • —The Tx-Hold-Count number. (Range: 1 to 10) Default Configuration The default value is 6. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 490
STP Commands spanning-tree tx-hold-count Command Mode Global Configuration mode Example switchxxxxxx(config) # spanning-tree tx-hold-count 5 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default mode is block. Command Mode Global Configuration mode Example The following example enables SYN protection in block mode on the switch: switchxxxxxx(config)# security-suite syn protection mode block Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
100 security-suite syn protection threshold To set the SYN protection threshold, use the security-suite syn protection threshold Global Configuration mode command. Syntax security-suite syn protection threshold Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC Mode command. Syntax show security-suite syn protection Parameters Command Mode Privileged EXEC Mode Example switchxxxxxx# show security-suite syn protection Protection Mode: Block Threshold: 80 Recovery : 60 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 494
Interface identifier. Operational Status Shows that SYN protection is enabled or disabled on the interface. Last Attack Time of the last SYN flood attack detected on the interface. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To define a remote SYSLOG server where log messages are sent (using the SYSLOG protocol), use the logging host Global Configuration mode command. To delete a SYSLOG server, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 496
Informational messages (severity=6) debugging Debugging messages (severity=7) Default Configuration No messages are logged to a SYSLOG server. The default severity level is Informational. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
SYSLOG server. Logging on and off at these destinations can be individually configured using the logging console, logging buffered, logging file, and logging host Global Configuration mode commands. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Displays the log messages stored in flash memory. Default Configuration Command Mode Privileged EXEC mode Example Example 1—The following example displays the logging status: switchxxxxxx# show logging Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 500
6| Jan 01 14:20:38| AAA| info| User 'cisco' login from telnet success 7| Jan 01 00:30:43| AAA| info| User 'cisco' enter privileged mode from telnet with level '15' success Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 501
Time when the log message was generated. Category Log facility to which the event belongs. Severity Severity level of the event. Message Description of the log message, indicating what event is logged. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To send ICMP echo request packets to another node on the network, use the ping Privileged EXEC mode command. Syntax ipv4-address hostname packet_count ping ip { } [count Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 503
----10.1.1.1 PING Statistics---- 4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 7/8/11 Example 3—The following example pings an IPv6 address: switchxxxxxx# ping ipv6 3003::11 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the current rate of input frames to CPU, use the show cpu input rate Privileged EXEC mode command. Syntax show cpu input rate Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Privileged EXEC mode command. Syntax show cpu utilization Parameters Default Usage Command Mode Privileged EXEC mode Example switchxxxxxx# show cpu utilization CPU utilization service is on. CPU utilization ------------------ Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following table describes the significant fields shown in the example: Field Description Type Protocol type of the service. Local IP IP address and port number of the local end of the socket. Address Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show system languages language Name Unicode Name Code Version ------------------- -------------- ------- --------- ------------------------ English English en_US Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Base MAC Address : 00:E0:4C:86:70:01 IP Address : 192.168.1.52 Subnet Mask : 255.255.255.0 Model Number : SF220-48P Serial Number : SF220-48P-K9-CN : V00 ------------------ show flash ------------------ Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 511
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 512
------------------ show interfaces ------------------ show username To show information about all administrative users, use the show username Privileged EXEC mode command. Syntax show username Parameters Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 513
Current password of the user. show users To show information about all active users, use the show users Privileged EXEC mode command. Syntax show users Parameters Default Usage Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the system version, use the show version Privileged EXEC mode command. Syntax show version Parameters Default Usage Command Mode Privileged EXEC mode Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies the number of maximum hops in a region before the BPDU is discarded. (Range: 2 to 255, default : 30) Default Usage The default value of hop-count is 30. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 516
Administratively unreachable. Usually, this is output. Fragmentation required and DF is set. Host unreachable. Network unreachable. Protocol unreachable. Source quench. Fragment reassembly time exceeded. Source route failed. U Port unreachable. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following table describes the significant fields shown in the example: Field Description Timeout Default number of seconds that passes before the connection between the switch and the TACACS+ server times out. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Priority of the TACACS+ server, where 0 has the highest priority. Timeout Number of seconds that passes before the connection between the switch and the TACACS+ server times out. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies the number of seconds that passes before the connection between the switch and the TACACS+ server times out. (Range: 1 to 30 seconds) Default Configuration Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—(Optional) Specifies the TCP port number through which the TACACS+ session occurs. If the port number is set to 0, the host is not used for authentication. (Range: 0 to 65535, default: 49) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 521
Command Mode Global Configuration mode User Guidelines Multiple tacacs-server host commands can be used to specify multiple hosts. Example switchxxxxxx(config)# tacacs-server host tacassrv1 priority 20 timeout 20 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
This command is not saved in the Running Configuration file. However, the keys generated by this command are saved in a private configuration (which is never displayed to the user or saved to another device). Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable the SSH service on the switch, use the no form of this command. Syntax ip ssh server no ip ssh server Parameters Default Configuration SSH is disabled by default. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The switch can be configured from a SSH server or Telnet (or both). To control the switch configuration by SSH, use the ip ssh server Global Configuration mode command. Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 526
Telnet and SSH Commands ip telnet server switchxxxxxx(config)# ip telnet server Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example The following example sets the EXEC banner, including the hostname, system contact, system location, and MAC address of the switch: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The text message that is preceded and followed by the same single-character delimiter. The message is maximum 2000 characters long and should be typed in from a new line. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 529
$(contact) Displays the system contact string. $(location) Displays the system location string. $(mac-address) Displays the base MAC address of the switch. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To execute an EXEC-level command from the Global Configuration mode or any configuration submode, use the do command. Syntax do command Parameters • command—The EXEC-level command to execute. Command Mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Default Configuration The default privilege level is 1. Command Mode Privileged EXEC mode Example The following example returns the user to level 7: switchxxxxxx# disable 7 switchxxxxxx> Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enter the Privileged EXEC mode, use the enable Privileged EXEC mode command. Syntax privilege-level enable [ Parameters privilege-level • —(Optional) The privilege level (1 or 15) to enter. Default Configuration The default privilege level is 15. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration Command Mode Example The following example changes the configuration mode from the Interface Configuration mode to the Global Configuration mode: switchxxxxxx(config-if)# exit switchxxxxxx(config)# Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To disable the history buffer and restore the history buffer size to its default setting, use the no form of this command. Syntax history [size number-of-commands] no history Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show information for the login and exec banners, use the show banner Privileged EXEC mode command. Syntax show banner {login | exec} Parameters • login—Displays the login banner. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the commands entered in the current session, use the show history Privileged EXEC mode command. Syntax show history Parameters Default Configuration Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the privilege level of the current user, use the show privilege Privileged EXEC mode command. Syntax show privilege Parameters Default Configuration Command Mode Privileged EXEC mode Example switchxxxxxx# show privilege Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
1 days, 1 hours, 34 mins, 31 secs system image is image-2 Processor 500MHz , with 128M bytes of memory. 28 Gigabit Ethernet interfaces 0 Fast Ethernet interfaces Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 539
32M bytes of flash memory Base MAC Address : 00:E0:4C:86:70:01 IP Address : 192.168.1.254 Subnet Mask : 255.255.255.0 Model Number : SG220-28MP Serial Number : V01 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN type. Using this command with the type parameter displays the voice VLAN parameters relevant to the type selected. interface-id parameter is relevant only for the OUI voice VLAN type. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 541
: oui-enabled Voice VLAN ID Voice VLAN VPT Voice VLAN DSCP : 46 Voice VLAN Aging : 1440 minutes Voice VLAN CoS Voice VLAN 1p Remark: disabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—The time delay in minutes to remove an interface from the voice VLAN after all MAC addresses of the phones detected on the interfaces have aged out. (Range: 30 to 65536 minutes) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The Layer 2 user priority is remarked with the CoS value. Default Configuration The default CoS value is 6. The Layer 2 user priority is not remarked by default. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The default mode is src. Command Mode Global Configuration mode Example The following example applies QoS attributes to all voice packets: switchxxxxxx(config)# interface gi1 switchxxxxxx(config-if)# voice vlan cos mode all Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. To revert to its default setting, use the no form of this command. Syntax voice vlan mode {auto | manual} no voice vlan mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
—Adds the specified MAC address prefix to the voice VLAN OUI table. • remove mac-address-prefix —Removes the specified MAC prefix address from the voice VLAN OUI table. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 547
OUI values are configured by default and OUIs can be added or removed by the user when required. Example The following example adds an entry to the voice VLAN OUI table: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN (VLAN 1), which is also the default voice VLAN. Example switchxxxxxx(config)# voice vlan state auto-enabled switchxxxxxx(config)# voice vlan state disabled switchxxxxxx(config)# voice vlan state oui-enabled The Voice VLAN for OUI cannot be the default VLAN Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
TLV, use the voice vlan vpt Global Configuration mode command. To revert to its default setting, use the no form of this command. Syntax vpt-value voice vlan vpt no voice vlan vpt Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 550
—The VPT value to be advertised. (Range: 0 to 7) Default Configuration Command Mode Global Configuration mode Example The following example sets 7 as the voice VLAN VPT: switchxxxxxx(config)# voice vlan vpt 7 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN Configuration mode. It cannot be configured for a range of VLANs. User Guidelines The VLAN name must be unique. Example switchxxxxxx(config)# vlan 19 switchxxxxxx(config-if)# name Marketing Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
• —Specifies an interface ID or a list of interface IDs. The interface can be one of these types: Ethernet port or port channel. Default Configuration Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Port Mode : Trunk Gvrp Status : disabled Ingress Filtering : enabled Acceptable Frame Type : all Ingress UnTagged VLAN ( NATIVE ) : 1 Trunking VLANs Enabled: 1,3-4,6-7,10 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 554
Example 3—The following example displays the command output for a access port: switchxxxxxx# show interface switchport gi1 Port : gi1 Port Mode : Access Gvrp Status : disabled Ingress Filtering : enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the management VLAN status, use the show management-vlan Privileged EXEC command. Syntax show management-vlan Parameters Command Mode Privileged EXEC mode Example switchxxxxxx# show management-vlan Management VLAN-ID : default(2) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to its default setting, use the no form of this command. Syntax vlan-id switchport access vlan no switchport access vlan Parameters vlan-id • —The VLAN ID to which the port is configured. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration If the port is a member of the default VLAN, by default, it is a member as an untagged port. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 559
If the native VLAN of a trunk port is 4095 when the port is removed from the default VLAN (as a tagged), the native VLAN is set by the system to the default VLAN. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet, port channel) mode Example The following example defines gi5 as a member of the customer VLAN 2: switchxxxxxx(config)# interface gi5 switchxxxxxx(config-if)# switchport mode dot1q-tunnel Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example The following example forbids gi 1 from being added to the default VLAN: switchxxxxxx(config)# interface gi1 switchxxxxxx(config-if)# switchport forbidden default-vlan Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To configure the types of packets (tagged or untagged) that are filtered (discarded) on the interface, use the switchport general acceptable-frame-type Interface Configuration mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. Syntax vlan-list vlan- switchport general allowed vlan {add [tagged | untagged] | remove list Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 564
The following example sets gi 1 1 to the general mode and adds VLAN 2 to it. Packets are tagged on the egress. switchxxxxxx(config)# interface gi11 switchxxxxxx(config-if)# switchport mode general switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration (Ethernet, port channel) mode command. To revert to its default setting, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Example 3—The following example configures VLAN on gi 1 4 as untagged on input and untagged on output: switchxxxxxx(config)# interface gi14 switchxxxxxx(config-if)# switchport mode general switchxxxxxx(config-if)# switchport general pvid 2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. To revert to its default setting, use the no form of this command. Syntax switchport mode {access | trunk | general | dot1q-tunnel} no switchport mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To enable a trunk mode port as an uplink port, use the switchport mode trunk uplink Interface Configuration (Ethernet, port channel) mode command. Syntax switchport mode trunk uplink Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Interface Configuration mode command. To disable protection on the port, use the no form of this command. Syntax switchport protected no switchport protected Parameters Default Configuration Unprotected Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Trunk port is an untagged member in the default VLAN and is not tagged member in any other VLANs. Command Mode Interface Configuration (Ethernet, port channel) mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
VLAN (not a native), it must first be removed from that VLAN. Example The following example defines VLAN 2 as the native VLAN for gi 1 1. switchxxxxxx(config)# interface gi11 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To create a VLAN or a list of VLANs, use the vlan Global Configuration mode command. To delete the VLANs, use the no form of this command. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To set the VLAN 1 as the default VLAN, use the no form of this command. Syntax vlan-id vlan default-vlan no vlan default-vlan Parameters vlan-id • —Specifies the default VLAN ID. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 574
VLAN Configuration mode User Guidelines This command becomes effective after the switch reboots. Example The following example defines the default VLAN as VLAN 2: switchxxxxxx(config)# vlan default-vlan 2 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Parameters Default Configuration The HTTPS service is enabled by default. Command Mode Global Configuration mode Example switchxxxxxx(config)# ip http secure-server Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To revert to its default setting, use the no form of this command. Syntax minutes ip http timeout-policy [http-only | https-only] no ip http timeout-policy [http-only | https-only] Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
To show the HTTP service information, use the show ip http Privileged EXEC mode command. Syntax show ip http Command Mode Privileged EXEC mode Example switchxxxxxx# show ip http Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
The following table describes the significant fields shown in the example: Field Description HTTPS daemon Shows that the HTTPS daemon is enabled or disabled on the switch. Session Timeout Timeout in minutes for HTTPS sessions. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
LISTE 192.168.1.254:23 192.168.1.107:57739 telnet ESTAB LISHED 192.168.1.254:80 192.168.1.107:52333 http TIME_ WAIT 192.168.1.254:80 192.168.1.107:52335 http TIME_ WAIT 192.168.1.254:80 192.168.1.107:52334 http TIME_ WAIT 192.168.1.254:80 192.168.1.107:52336 http TIME_ WAIT Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 580
IP address and port number of the local end of the socket. Remote IP Address IP address and port number of the remote end of the socket. Service Name of the service. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Page 581
--all (-a) option. • CLOSING—Both sockets are shut down but we still do not have all our data sent. • UNKNOWN—The state of the socket is unknown. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
Where to Go From Here Cisco provides a wide range of resources to help you and your customer obtain the full benefits of the Cisco 220 Series Smart Plus Switches. Support Cisco Support Community www.cisco.com/go/smallbizsupport Cisco Support and www.cisco.com/go/smallbizhelp Resources Phone Support Contacts www.cisco.com/en/US/support/...