Cisco 220 Series Smart Plus Reference Manual

Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Quick Links

CLI GUIDE
Cisco 220 Series Smart Plus Switches Command
Line Interface Reference Guide Release 1.0.0.x
Table of Contents
loading

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.
  • Page 3: Table Of Contents

    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 7 Chapter 10: EEE Commands eee enable (Interface) Chapter 11: Ethernet Configuration Commands clear counters clear etherlike statistics default interface description duplex errdisable recovery 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 19 (Interface) spanning-tree forward-time spanning-tree hello-time spanning-tree link-type (Interface) spanning-tree mst port-priority spanning-tree max-hops spanning-tree max-age spanning-tree mode spanning-tree mst configuration spanning-tree mst cost spanning-tree mst priority 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...
  • Page 24: Chapter 1: Introduction

    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...
  • Page 25: User (Privilege) Levels

    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...
  • Page 26: Cli Command Modes

    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...
  • Page 27: Privileged Exec Mode

    • • 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...
  • Page 28: Global Configuration Submodes

    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...
  • Page 29: Accessing The Cli

    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...
  • Page 30: Using Hyperterminal Over The Console Interface

    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...
  • Page 32: Using Telnet Over An Ethernet Interface

    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...
  • Page 33: Editing Features

    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...
  • Page 34: Terminal Command Buffer

    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...
  • Page 35: Command Completion

    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...
  • Page 36: Interface Naming Conventions

    {[ ]}|{Port-Channel|po}[ ] 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...
  • Page 37: Interface Range

    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...
  • Page 38: Dot1X Guest-Vlan Enable

    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...
  • Page 39: Dot1X Guest-Vlan Enable (Interface)

    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...
  • Page 40: Dot1X Max-Req

    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...
  • Page 41: Dot1X Port-Control

    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...
  • Page 42: Dot1X Reauthentication

    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...
  • Page 43: Dot1X System-Auth-Control

    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...
  • Page 44: Dot1X Timeout Reauth-Period

    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...
  • Page 45: Dot1X Timeout Supp-Timeout

    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...
  • Page 46: Show Dot1X

    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...
  • Page 47: Show Dot1X Authenticated-Hosts

    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...
  • Page 48: Show Dot1X Guest-Vlan

    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...
  • Page 50: Show Dot1X Interfaces

    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...
  • Page 52: Chapter 3: Aaa Commands

    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...
  • Page 54: Aaa Authentication Login

    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...
  • Page 55: Enable Authentication

    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...
  • Page 56: Enable Password

    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...
  • Page 58: Ip Http Authentication

    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...
  • Page 59: Login Authentication

    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...
  • Page 60: Passwords Aging

    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...
  • Page 61: Passwords Complexity

    Zero specifies that there is no limit on repeated characters. (Range: 0 to 16) • not-username—Specifies that the new password cannot be same as the current username. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 62: Passwords Complexity Enable

    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...
  • Page 64: Show Aaa Authentication Lists

    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...
  • Page 65: Show Passwords Configuration

    | 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...
  • Page 66: Show Username

    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...
  • Page 67: Username

    —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...
  • Page 69: Chapter 4: Acl Commands

    —(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...
  • Page 70: Deny (Ip)

    {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...
  • Page 73: Deny (Ipv6)

    (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...
  • Page 75: Ip Access-Group In

    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...
  • Page 76: Ip Access-List Extended

    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...
  • Page 77: Ipv6 Access-Group In

    —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...
  • Page 78: Ipv6 Access-List

    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...
  • Page 79: Mac Access-Group In

    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...
  • Page 80: No Sequence

    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...
  • Page 81: Permit (Ip)

    ] 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...
  • Page 84: Permit (Ipv6)

    (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...
  • Page 86: Permit (Mac)

    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...
  • Page 87: Show Access-Lists

    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...
  • Page 89: Show Access-Lists Utilization

    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...
  • Page 90: Chapter 5: Address Table Commands

    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...
  • Page 91: Clear Mac Address-Table

    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...
  • Page 92: Mac Address-Table Aging-Time

    [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...
  • Page 95: Show Bridge Multicast Reserved-Address

    01:80:C2:00:00:0C bridge 01:80:C2:00:00:0D bridge 01:80:C2:00:00:0E bridge 01:80:C2:00:00:0F bridge 01:80:C2:00:00:10 bridge 01:80:C2:00:00:11 bridge 01:80:C2:00:00:12 bridge 01:80:C2:00:00:13 bridge 01:80:C2:00:00:14 bridge 01:80:C2:00:00:15 bridge 01:80:C2:00:00:16 bridge 01:80:C2:00:00:17 bridge 01:80:C2:00:00:18 bridge Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 96: Show Mac Address-Table

    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...
  • Page 97: Show Mac Address-Table Aging-Time

    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...
  • Page 98: Show Port-Security

    —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...
  • Page 99: Switchport Port-Security

    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...
  • Page 100: Switchport Port-Security Mode Maximum

    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...
  • Page 103: Chapter 6: Bonjour Commands

    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...
  • Page 104: Show Bonjour

    IP Address: 192.168.1.254 Service Admin Status Oper Status -------- ------------ ----------- csco-sb enabled enabled csco-api enabled enabled https enabled enabled http enabled enabled enabled disabled telnet enabled disabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 105: Chapter 7: Cdp Commands

    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...
  • Page 106: Cdp Appliance-Vlan Enable

    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...
  • Page 107: Cdp Device-Id Format

    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...
  • Page 108: Cdp Holdtime

    —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...
  • Page 109: Cdp Log Mismatch Duplex

    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...
  • Page 110: Cdp Log Mismatch Native

    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...
  • Page 111: Cdp Log Mismatch Voip

    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...
  • Page 112: Cdp Mandatory-Tlvs Validation

    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...
  • Page 113: Cdp Run

    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...
  • Page 114: Cdp Timer

    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...
  • Page 115: Clear Cdp Counter

    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...
  • Page 116: Clear Cdp Table

    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...
  • Page 117: Show Cdp Entry

    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...
  • Page 118: Show Cdp Interfaces

    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...
  • Page 120: Show Cdp Tlv

    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...
  • Page 122: Show Cdp Traffic (Interface)

    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...
  • Page 126: Chapter 8: Clock Commands

    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...
  • Page 127: Clock Source

    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...
  • Page 129: Clock Timezone

    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...
  • Page 130: Show Clock

    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...
  • Page 131: Show Sntp Configuration

    } [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...
  • Page 133: Chapter 9: Configuration And Image File Commands

    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...
  • Page 134: Boot System

    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...
  • Page 135: Copy

    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...
  • Page 137: Delete Backup-Config

    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...
  • Page 138: Delete Startup-Config

    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...
  • Page 139: Ip Dhcp Tftp-Server File

    —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...
  • Page 140: Ip Dhcp Tftp-Server Ip Address

    —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...
  • Page 141: Management Vlan Ipv6 Dhcp Client Information Refresh

    4294967294> no management vlan ipv6 dhcp client information refresh minimum Parameters infinity • —The time never refreshes. <86400-4294967294> • —The refresh time. • <600-4294967294>—The minimum refresh time. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 142: Management Vlan Ipv6 Dhcp Client Stateless

    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...
  • Page 143: Renew Dhcp Force-Autoconfig

    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...
  • Page 144: Show Backup-Config

    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...
  • Page 145 00:09:6E Avaya spanning-tree mst configuration name "00:E0:4C:86:70:01" interface gi1 interface gi2 interface gi3 interface gi4 interface gi5 interface gi6 interface gi7 interface gi8 interface gi9 interface gi10 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 146: Show Boot

    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...
  • Page 147: Show Bootvar

    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...
  • Page 148: Show Ip Dhcp Tftp-Server

    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 149: Show Running-Config

    00:E0:BB 3COM voice vlan oui-table add 00:03:6B Cisco voice vlan oui-table add 00:E0:75 Veritel voice vlan oui-table add 00:D0:1E Pingtel voice vlan oui-table add 00:01:E3 Siemens 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...
  • Page 152: Show Startup-Config

    00:D0:1E Pingtel voice vlan oui-table add 00:01:E3 Siemens voice vlan oui-table add 00:60:B9 NEC/Philips voice vlan oui-table add 00:0F:E2 H3C voice vlan oui-table add 00:09:6E Avaya Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 153 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 154: Write

    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...
  • Page 156: Chapter 10: Eee Commands

    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...
  • Page 157: Chapter 11: Ethernet Configuration Commands

    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...
  • Page 158: Clear Etherlike Statistics

    To restore an interface to its default settings, use the default interface Interface Configuration mode command. Syntax interface-id default interface Parameters interface-id • —The Ethernet interface ID. Default Configuration Command Mode Interface Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 159: Description

    —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...
  • Page 160: Duplex

    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...
  • Page 162: Flowcontrol

    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...
  • Page 163: Interface

    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...
  • Page 164: Interface Range

    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...
  • Page 165: Show Errdisable Recovery

    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...
  • Page 166: Show Interface Status

    —(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...
  • Page 167: Show Storm-Control

    • 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...
  • Page 169: Shutdown

    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...
  • Page 170: Speed

    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...
  • Page 171: Storm-Control Action

    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...
  • Page 172: Storm-Control Broadcast

    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...
  • Page 173: Storm-Control Broadcast Level

    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...
  • Page 174: Storm-Control Enable

    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...
  • Page 175: Storm-Control Ifg

    {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...
  • Page 176: Storm-Control Unknown-Multicast

    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...
  • Page 177: Storm-Control Unknown-Multicast Level

    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...
  • Page 178: Storm-Control Unknown-Unicast

    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...
  • Page 180: Chapter 12: Gvrp Commands

    —(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...
  • Page 181: Gvrp Enable (Global)

    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...
  • Page 182: Gvrp Registration-Mode

    • 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...
  • Page 183: Gvrp Vlan-Creation-Forbid

    Parameters Default Configuration Dynamic VLAN creation is enabled. Command Mode Interface Configuration (Ethernet, port channel) mode Example switchxxxxxx(config)# interface gi3 switchxxxxxx(config-if)# gvrp vlan-creation-forbid Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 184: Show Gvrp

    • 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...
  • Page 186: Show Gvrp Error-Statictics

    INVAVAL : Invalid Attribute Value INVEVENT: Invalid Event Port | INVPROT | INVATYP | INVALEN | INVAVAL | INVEVENT gi10 gi11 gi12 gi13 gi14 gi15 gi16 gi17 gi18 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 187: Show Gvrp Statistics

    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...
  • Page 198: Chapter 13: Igmp Snooping Commands

    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...
  • Page 199: Ip Igmp Filter

    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...
  • Page 200: Ip Igmp Max-Groups

    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...
  • Page 201: Ip Igmp Profile

    Parameters profile-number • —The IGMP profile number. (Range: 1 to 128) Default Configuration No IGMP profiles are defined. Command Mode Global Configuration mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 202: Ip Igmp Snooping

    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...
  • Page 203: Ip Igmp Snooping Version

    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...
  • Page 204: Ip Igmp Snooping Unknown-Multicast Action

    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...
  • Page 205: Ip Igmp Snooping Vlan

    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...
  • Page 206: Ip Igmp Snooping Vlan Immediate-Leave

    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...
  • Page 207: Ip Igmp Snooping Vlan Forbidden Mrouter

    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...
  • Page 208: Ip Igmp Snooping Vlan Forbidden Forward-All

    1 forbidden forward-all interfaces fa11 switchxxxxxx(config)# ip igmp snooping vlan 1 forbidden forward-all interfaces gi1 switchxxxxxx(config)# ip igmp snooping vlan 1 forbidden forward-all interfaces po1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 209: Ip Igmp Snooping Vlan Last-Member-Query-Count

    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...
  • Page 210: Ip Igmp Snooping Vlan Mrouter

    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...
  • Page 211: Ip Igmp Snooping Vlan Querier

    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...
  • Page 212: Ip Igmp Snooping Vlan Querier Version

    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...
  • Page 213: Ip Igmp Snooping Vlan Query-Interval

    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...
  • Page 214: Ip Igmp Snooping Vlan Response-Time

    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...
  • Page 215: Ip Igmp Snooping Vlan Static

    —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...
  • Page 216: Ip Igmp Snooping Vlan Mrouter

    —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...
  • Page 217: Ip Igmp Snooping Vlan Forward-All

    • 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...
  • Page 218: Profile Range

    IPv4 multicast address. • action permit—Permits the matching addresses. • action deny—Denies the matching addresses. Default Configuration Command Mode IGMP-profile Configuration mode Example Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 219: Show Ip Igmp Filter

    : None fa13 : None fa14 : None fa15 : None fa16 : None fa17 : None fa18 : None fa19 : None fa20 : None Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 220: Show Ip Igmp Max-Group

    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...
  • Page 221: Show Ip Igmp Max-Group Action

    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...
  • Page 222: Show Ip Igmp Snooping

    IGMP Snooping Status -------------------- Snooping : Enabled Report Suppression : Enabled Operation Version : v2 Forward Method : mac Unknown Multicast Action : Flood Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 223: Show Ip Igmp Snooping Forward-All

    IGMP Snooping static port : None IGMP Snooping forbidden port : None IGMP Snooping VLAN : 104 IGMP Snooping static port : None IGMP Snooping forbidden port : None Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 224: Show Ip Igmp Snooping Groups

    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...
  • Page 225: Show Ip Igmp Snooping Mrouter

    | 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...
  • Page 226: Show Ip Igmp Snooping Querier

    [ 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...
  • Page 228: Chapter 14: Ip Addressing Commands

    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...
  • Page 229: Ip Domain Lookup

    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...
  • Page 230: Ip Domain Name

    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...
  • Page 231: Ip Host

    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...
  • Page 232: Ip Name-Server

    —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...
  • Page 233: Management Vlan Ip-Address

    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...
  • Page 234: Management Vlan Ip Dhcp Client

    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...
  • Page 235: Show Arp

    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...
  • Page 236: Show Ip

    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...
  • Page 237: Show Ip Dhcp

    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...
  • Page 238: Chapter 15: Ip Arp Inspection Commands

    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...
  • Page 239: Ip Arp Inspection Limit Rate

    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...
  • Page 241: Ip Arp Inspection Trust

    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...
  • Page 242: Ip Arp Inspection Validate

    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...
  • Page 243: Ip Arp Inspection Vlan

    —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...
  • Page 244: Show Ip Arp Inspection

    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...
  • Page 245: Show Ip Arp Inspection Interfaces

    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...
  • Page 246: Show Ip Arp Inspection Statistics

    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...
  • Page 248: Chapter 16: Ip Dhcp Snooping Commands

    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...
  • Page 249: Clear Ip Dhcp Snooping Binding Vlan

    Parameters vlan-id— • The VLAN ID. Command Mode Privileged EXEC mode Example switchxxxxxx# clear ip dhcp snooping binding vlan 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 250: Clear Ip Dhcp Snooping Database Statistics

    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...
  • Page 251: Ip Dhcp Snooping

    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...
  • Page 253: Ip Dhcp Snooping Information Option

    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...
  • Page 254: Ip Dhcp Snooping Information Option Allow-Untrusted

    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...
  • Page 255: Ip Dhcp Snooping Limit Rate

    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...
  • Page 256: Ip Dhcp Snooping Trust

    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...
  • Page 257: Ip Dhcp Snooping Verify Mac-Address

    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...
  • Page 258: Ip Dhcp Snooping Vlan

    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...
  • Page 259: Ip Dhcp Snooping Vlan Information Option Circuit-Id

    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...
  • Page 260: Renew Ip Dhcp Snooping Database

    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...
  • Page 261: Show Ip Dhcp Snooping

    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...
  • Page 262: Show Ip Dhcp Snooping Database

    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...
  • Page 263: Show Ip Dhcp Snooping Information Option Format Remote-Id

    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...
  • Page 264: Show Ip Dhcp Snooping Interfaces Statistics

    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...
  • Page 266: Chapter 17: Ip Source Guard Commands

    —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...
  • Page 267: Ip Source Binding Max-Entry

    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...
  • Page 268: Ip Verify Source

    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...
  • Page 269: Show Ip Source Binding

    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...
  • Page 270: Show Ip Verify Source Interfaces

    | 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...
  • Page 272: Chapter 18: Ipv6 Addressing Commands

    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...
  • Page 273: Management Vlan Ipv6-Address

    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...
  • Page 274: Management Vlan Ipv6-Address-Autoconfig

    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...
  • Page 275: Management Vlan Ipv6-Address-Dhcp

    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...
  • Page 276: Show Ipv6

    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...
  • Page 278: Chapter 19: Ipv6 Mld Snooping Commands

    To clear the IPv6 MLD snooping statistics, use the clear ipv6 mld snooping statistics Privileged EXEC mode command. Syntax clear ipv6 mld snooping statistics Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 279: Ipv6 Mld Filter

    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...
  • Page 280: Ipv6 Mld Max-Groups

    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...
  • Page 281: Ipv6 Mld Profile

    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...
  • Page 282: Ipv6 Mld Snooping

    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...
  • Page 283: Ipv6 Mld Snooping Report-Suppression

    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...
  • Page 284: Ipv6 Mld Snooping Vlan Immediate-Leave

    —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...
  • Page 285: Ipv6 Mld Snooping Vlan Forbidden Mrouter

    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...
  • Page 286: Ipv6 Mld Snooping Vlan Forbidden Forward-All

    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...
  • Page 287: Ipv6 Mld Snooping Vlan Last-Member-Query-Count

    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...
  • Page 288: Ipv6 Mld Snooping Vlan Last-Member-Query-Interval

    —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...
  • Page 289: Ipv6 Mld Snooping Vlan Mrouter Learn Pim-Dvmrp

    —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...
  • Page 290: Ipv6 Mld Snooping Vlan Query-Interval

    • 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...
  • Page 291: Ipv6 Mld Snooping Vlan Response-Time

    —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...
  • Page 292: Ipv6 Mld Snooping Vlan Robustness-Variable

    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...
  • Page 293: Ipv6 Mld Snooping Vlan Static Interface

    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...
  • Page 294: Ipv6 Mld Snooping Vlan Mrouter

    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...
  • Page 295: Ipv6 Mld Snooping Vlan Forward-All

    1 forward-all interfaces fa1 switchxxxxxx(config)# ipv6 mld snooping vlan 1 forward-all interfaces gi1 switchxxxxxx(config)# ipv6 mld snooping vlan 1 forward-all interfaces po1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 296: Profile Range

    • action permit—Permits the matching addresses. Default Configuration Command Mode MLD-profile Configuration mode Example switchxxxxxx(config)# ip igmp profile 1 switchxxxxxx(config-mld-profile)# profile range ipv6 ff07::1:3 ff07::1:ff action permit Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 297: Show Ipv6 Mld Filter

    : None fa21 : None fa22 : None fa23 : None fa24 : None gi1 : None gi2 : None po1 : None po2 : None Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 298: Show Ipv6 Mld Max-Group

    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...
  • Page 299: Show Ipv6 Mld Max-Group Action

    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...
  • Page 300: Show Ipv6 Mld Snooping

    MLD Snooping Status -------------------- Snooping : Disabled Report Suppression : Enabled Operation Version : v1 Forward Method : mac Unknown Multicast Action : Flood Packet Statistics Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 301: Show Ipv6 Mld Snooping Forward-All

    MLD Snooping static port : None MLD Snooping forbidden port : None MLD Snooping VLAN MLD Snooping static port : None MLD Snooping forbidden port : None Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 302: Show Ipv6 Mld Snooping Groups

    [{dynamic | static} | Parameters • dynamic—(Optional) Displays the dynamic groups. • static—(Optional) Displays the static groups. counters • —(Optional) IPv6 MLD snooping group counters. Command Mode Privileged EXEC mode Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 303: Show Ipv6 Mld Snooping Mrouter

    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...
  • Page 304: Show Ipv6 Mld Snooping Vlan

    2 MLD Snooping last member query interval: admin 1000 sec oper 1000 sec MLD Snooping last immediate leave: disabled MLD Snooping automaic learing of mrouter ports: enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 305: Chapter 20: Lacp Commands

    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...
  • Page 306: Lacp System-Priority

    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...
  • Page 307: Show Lacp

    —(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...
  • Page 313: Chapter 21: Line Commands

    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...
  • Page 314: Line

    (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...
  • Page 315: Password-Thresh

    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...
  • Page 316: Show Line

    Silent Time : 0 (seconds) SSH ================================== SSH Server : disabled Session Timeout : 10 (minutes) History Count : 128 Password Retry Silent Time : 0 (seconds) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 317: Silent-Time

    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...
  • Page 319: Chapter 22: Lldp Commands

    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...
  • Page 321: Lldp Lldpdu

    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...
  • Page 322: Lldp Med

    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...
  • Page 323: Lldp Med Location

    —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...
  • Page 324: Lldp Med Network-Policy Voice Auto

    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...
  • Page 325: Lldp Med Network-Policy (Global)

    • —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...
  • Page 327: Lldp Med Network-Policy (Interface)

    1 app voice-signaling vlan 2 vlan-type untag priority 1 dscp 2 switchxxxxxx(config)# interface gi11 switchxxxxxx(config-if)# lldp med network-policy add 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 328: Lldp Med Tlv-Select

    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...
  • Page 329: Lldp Reinit

    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...
  • Page 330: Lldp Run

    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...
  • Page 331: Lldp Tlv-Select 802.1

    (Range: 1 to 4094) Default Configuration 802.1 pvid TLV is transmitted. Command Mode Interface Configuration (Ethernet) mode Example switchxxxxxx(config)# interface gi11 switchxxxxxx(config-if)# lldp tlv-select 802.1 pvid enable Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 332: Lldp Tlv-Select Tlv

    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...
  • Page 333: Lldp Tx-Delay

    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...
  • Page 334: Lldp Timer

    (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...
  • Page 335: Show Lldp

    | RX,TX | SN, SC |192.168.1.254 gi9 | RX,TX | SN, SC |192.168.1.254 gi10 | RX,TX | SN, SC |192.168.1.254 gi11 | RX,TX | SN, SC |192.168.1.254 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 336 Port ID: gi6 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Port ID: gi7 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Port ID: gi8 802.3 optional TLVs: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 337 Port ID: gi17 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Port ID: gi18 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Port ID: gi19 802.3 optional TLVs: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 338 802.1 optional TLVs PVID: Enabled Port ID: gi27 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Port ID: gi28 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 339: Show Lldp Interfaces

    | Address -------- + ------ + -------------- + -------- gi11 | RX,TX | SN, SC |192.168.1.254 Port ID: gi11 802.3 optional TLVs: 802.1 optional TLVs PVID: Enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 340: Show Lldp Interfaces Tlvs-Overloading

    22 | Transmitted LLDP-MED Capabilities | Transmitted LLDP-MED Network Policies | 10 | Transmitted Optional | 20 | Transmitted 802.1 | Transmitted Total: 69 bytes Left: 1419 bytes Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 341: Show Lldp Local-Device

    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...
  • Page 342: Show Lldp Med

    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...
  • Page 343: Show Lldp Neighbor

    —(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...
  • Page 347: Chapter 23: Management Acl Commands

    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...
  • Page 348: Management Access-Class

    • —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...
  • Page 349: Management Access-List

    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...
  • Page 351: No Sequence (Management)

    ! (Note: all other access implicitly denied) mgmtacl1 -------- sequence 1 permit interfaces fa1 service telnet ! (Note: all other access implicitly denied) switchxxxxxx# config switchxxxxxx(config)# management access-list mgmtacl1 switchxxxxxx(config-macl)# no sequence 1 Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 352: Permit (Management)

    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...
  • Page 353: Show Management Access-Class

    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...
  • Page 355: Chapter 24: Phy Diagnostics Commands

    | 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 358: Show Fiber-Ports Optical-Transceiver

    | Copper | Copper | Copper gi10 | Copper gi11 | Copper gi12 | Copper gi13 | Copper gi14 | Copper gi15 | Copper gi16 | Copper 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...
  • Page 360: Chapter 25: Power Over Ethernet (Poe) Commands

    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...
  • Page 361: Power Inline Legacy Enable

    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...
  • Page 362: Power Inline Limit-Mode

    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...
  • Page 363: Power Inline Priority

    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...
  • Page 364: Power Inline Traps Enable

    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...
  • Page 365: Show Env All

    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...
  • Page 366: Show Power Inline

    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...
  • Page 370: Show Power Inline Consumption

    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...
  • Page 371: Chapter 26: Port Channel Commands

    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...
  • Page 372: Port-Channel Load-Balance

    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...
  • Page 373: Show Etherchannel Summary

    Type Ports ----------+--------+---------------------------------------------- | ------ | | ------ | | ------ | | ------ | | ------ | | ------ | | ------ | | ------ | Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 374: Chapter 27: Port Monitor Commands

    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...
  • Page 375: Monitor Session Destination Remote-Span

    —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...
  • Page 376: Monitor Session Source Interfaces

    —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...
  • Page 377: Monitor Session Source Remote-Span

    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...
  • Page 378: No Monitor Session

    —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...
  • Page 379: Remote-Span

    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...
  • Page 380: Show Monitor

    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...
  • Page 381: Show Vlan Remote-Span

    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...
  • Page 382: Chapter 28: Qos Commands

    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...
  • Page 383: Class-Map

    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...
  • Page 384: Match

    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...
  • Page 385: Police

    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...
  • Page 386: Police Aggregate

    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...
  • Page 387: Policy-Map

    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...
  • Page 389: Priority-Queue Out Num-Of-Queues

    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...
  • Page 390: Qos

    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...
  • Page 391: Qos Advanced-Mode Trust

    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...
  • Page 392: Qos Aggregate-Policer

    (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...
  • Page 394: Qos Cos

    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...
  • Page 395: Qos Map Dscp-Queue

    —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...
  • Page 396: Qos Map Precedence-Queue

    (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...
  • Page 397: Qos Map Queue-Cos

    —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...
  • Page 398: Qos Map Queue-Dscp

    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...
  • Page 399: Qos Remark

    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...
  • Page 400: Qos Trust (Global)

    • 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...
  • Page 401: Qos Trust (Interface)

    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...
  • Page 402: Service-Policy

    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...
  • Page 404: Show Class-Map

    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...
  • Page 405: Show Policy-Map Interface

    —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...
  • Page 406: Show Qos

    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...
  • Page 407: Show Qos Aggregate-Policer

    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...
  • Page 408: Show Qos Map

    • 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...
  • Page 410: Show Qos Queueing

    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...
  • Page 411: Traffic-Shape

    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...
  • Page 412: Trust-Shape (Interface)

    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...
  • Page 413: Traffic-Shape Queue

    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...
  • Page 415: Rate-Limit (Interface)

    —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...
  • Page 416: Rate-Limit (Vlan)

    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...
  • Page 417: Wrr-Queue Bandwidth

    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...
  • Page 419: Chapter 29: Radius Commands

    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...
  • Page 420: Radius-Server Host

    —(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...
  • Page 422: Show Radius-Server

    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...
  • Page 423: Show Radius-Server Default-Param

    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...
  • Page 425: Chapter 30: Rmon Commands

    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...
  • Page 428: Rmon Event

    —(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...
  • Page 429: Rmon History

    (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...
  • Page 430: Show Rmon Alarm

    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...
  • Page 432: Show Rmon Event

    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...
  • Page 433: Show Rmon Event Log

    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...
  • Page 434: Show Rmon History

    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...
  • Page 435: Show Rmon Statistics Interfaces

    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...
  • Page 439: Chapter 31: Security Dos Commands

    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...
  • Page 441: Security-Suite Dos (Interface)

    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...
  • Page 442: Security-Suite Dos Ip Gratuitous-Arps

    Parameters Default Configuration Disabled Command Mode Interface Configuration (Ethernet) mode Example switchxxxxxx(config)# interface gi10 switchxxxxxx(config-if)# security-suit dos ip gratuitous-arps Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 443: Show Security-Suite Dos

    Null Scan Attack | enabled X-Mas Scan Attack | enabled TCP SYN-FIN Attack | enabled TCP SYN-RST Attack | enabled TCP Fragment (Offset = 1) | enabled Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 444: Show Security-Suite Dos Interfaces

    —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...
  • Page 445: Chapter 32: Snmp Commands

    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...
  • Page 446: Show Snmp-Server Community

    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...
  • Page 447: Show Snmp-Server Engineid

    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...
  • Page 448: Show Snmp-Server Group

    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...
  • Page 449: Show Snmp-Server Host

    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...
  • Page 450: Show Snmp-Server Trap

    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...
  • Page 451: Show Snmp-Server View

    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...
  • Page 452: Show Snmp-Server User

    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...
  • Page 454: Snmp-Server

    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...
  • Page 456: Snmp-Server Contact

    • —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...
  • Page 457: Snmp-Server Engineid

    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...
  • Page 458: Snmp-Server Group

    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...
  • Page 459: Snmp-Server Host

    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...
  • Page 461: Snmp-Server Location

    • —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...
  • Page 462: Snmp-Server Trap

    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...
  • Page 464: Snmp-Server View

    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...
  • Page 466: Chapter 33: Stp Commands

    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...
  • Page 467: Instance (Mst)

    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...
  • Page 468: Name (Mst)

    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...
  • Page 469: Show Spanning-Tree

    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...
  • Page 470: Show Spanning-Tree Interfaces

    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...
  • Page 471: Show Spanning-Tree Mst

    —The MSTP instance ID. (Range: 0 to 15) Command Mode Privileged EXEC mode Example switchxxxxxx# show spanning-tree mst 1 MST Instance Information ============================================================ Instance Type : MSTI (1) Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 472: Show Spanning-Tree Mst Configuration

    Parameters Command Mode Privileged EXEC mode Example switchxxxxxx# show spanning-tree mst configuration Name [00:03:6D:00:10:A0] Revision Instances configured 2 Instance Vlans mapped -------- ----------------------------------------------------------------- 1,5-4094 --------------------------------------------------------------------------- Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 473: Show Spanning-Tree Mst Interfaces

    Regional Root Bridge : 0/00:00:00:00:00:00 Internal Root Cost : 0 Designated Bridge : 0/00:00:00:00:00:00 Internal Port Path Cost : 200000 Port Role : Disabled Port State : Disabled ------------------------------------------------------------ Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 474: Spanning-Tree

    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...
  • Page 475: Spanning-Tree Bpdu-Filter (Interface)

    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...
  • Page 476: Spanning-Tree Bpdu-Guard (Interface)

    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...
  • Page 477: Spanning-Tree Cost (Interface)

    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...
  • Page 478: Spanning-Tree Forward-Time

    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...
  • Page 479: Spanning-Tree Link-Type (Interface)

    {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...
  • Page 480: Spanning-Tree Mst Port-Priority

    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...
  • Page 481: Spanning-Tree Max-Hops

    —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...
  • Page 482: Spanning-Tree Max-Age

    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...
  • Page 483: Spanning-Tree Mode

    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...
  • Page 484: Spanning-Tree Mst Cost

    —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...
  • Page 485: Spanning-Tree Mst Priority

    (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...
  • Page 486: Spanning-Tree Pathcost Method

    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...
  • Page 487: Spanning-Tree Portfast

    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...
  • Page 488: Spanning-Tree Port-Priority

    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...
  • Page 489: Spanning-Tree Tx-Hold-Count

    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...
  • Page 491: Chapter 34: Syn Protection Commands

    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...
  • Page 492: Security-Suite Syn Protection Recovery

    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...
  • Page 493: Show Security-Suite Syn Protection

    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...
  • Page 495: Chapter 35: Syslog Commands

    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...
  • Page 497: Logging On

    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...
  • Page 498: Logging Severity

    (severity=3) warnings Warning conditions (severity=4) notifications Normal but significant conditions (severity=5) informational Informational messages (severity=6) debugging Debugging messages (severity=7) Default Configuration The default severity level is informational. Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 499: Show Logging

    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...
  • Page 502: Chapter 36: System Management Commands

    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...
  • Page 504: Reload

    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...
  • Page 505: Show Cpu Utilization

    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...
  • Page 506: Show Memory Statistics

    Privileged EXEC mode Example switchxxxxxx# show memory statistics total(KB) used(KB) free(KB) shared(KB) buffer(KB) cache(KB) --------------------+------------+------------+------------+------------+--- --------- Mem: 127392 40992 86400 1376 20344 -/+ buffers/cache: 19272 108120 Swap: Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 507: Show Services Tcp-Udp

    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...
  • Page 508: Show System Languages

    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...
  • Page 509: Show Tech-Support

    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 510: Show Username

    00:E0:75 Veritel voice vlan oui-table add 00:D0:1E Pingtel voice vlan oui-table add 00:01:E3 Siemens voice vlan oui-table add 00:60:B9 NEC/Philips voice vlan oui-table add 00:0F:E2 H3C 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...
  • Page 514: Show Version

    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...
  • Page 515: Traceroute

    —(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...
  • Page 517: Chapter 37: Tacacs+ Commands

    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...
  • Page 518: Show Tacacs

    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...
  • Page 519: Tacacs-Server Default-Param

    —(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...
  • Page 520: Tacacs-Server Host

    —(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...
  • Page 522: Crypto Certificate Generate

    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...
  • Page 523: Chapter 38: Telnet And Ssh Commands

    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...
  • Page 524: Ip Ssh Server

    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...
  • Page 525: Ip Telnet Server

    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...
  • Page 527: Chapter 39: User Interface Commands

    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...
  • Page 528: Banner Login

    —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...
  • Page 530: Configure

    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...
  • Page 531: Disable

    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...
  • Page 532: End

    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...
  • Page 533: Exit (Configuration)

    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...
  • Page 534: Exit (Exec)

    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...
  • Page 535: Show Banner

    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...
  • Page 536: Show History

    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...
  • Page 537: Show Privilege

    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...
  • Page 538: Terminal Length

    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...
  • Page 540: Chapter 40: Voice Vlan Commands

    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...
  • Page 542: Voice Vlan Enable

    —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...
  • Page 543: Voice Vlan Cos

    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...
  • Page 544: Voice Vlan Cos Mode

    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...
  • Page 545: Voice Vlan Dscp

    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...
  • Page 546: Voice Vlan Oui-Table

    —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...
  • Page 548: Voice Vlan State

    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...
  • Page 549: Voice Vlan Id

    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...
  • Page 551: Chapter 41: Vlan Commands

    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...
  • Page 552: Management-Vlan

    • —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...
  • Page 553: Show Interfaces Switchport

    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...
  • Page 555: Show Management-Vlan

    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...
  • Page 556: Show Vlan

    8 | Static VLAN0003 | --- | fa1-24,gi1-2,po1- 8 | Static VLAN0004 | --- | fa1-24,gi1-2,po1- 8 | Static VLAN0005 | --- | fa1-24,gi1-2,po1- 8 | Static Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x...
  • Page 557: Show Vlan Default-Vlan

    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...
  • Page 558: Switchport Default-Vlan Tagged

    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...
  • Page 560: Switchport Dot1Q-Tunnel Vlan

    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...
  • Page 561: Switchport Forbidden Default-Vlan

    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...
  • Page 562: Switchport Forbidden Vlan

    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...
  • Page 563: Switchport General Allowed Vlan

    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...
  • Page 565: Switchport General Ingress-Filtering Disable

    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...
  • Page 566: Switchport Mode

    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...
  • Page 567: Switchport Mode

    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...
  • Page 568: Switchport Mode Trunk Uplink

    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...
  • Page 569: Switchport Protected

    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...
  • Page 570: Switchport Trunk Allowed Vlan

    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...
  • Page 571: Switchport Trunk Native Vlan

    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...
  • Page 572: Switchport Vlan Tpid

    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...
  • Page 573: Vlan Default-Vlan

    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...
  • Page 575: Chapter 42: Web Server Commands

    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...
  • Page 576: Ip Http Server

    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...
  • Page 577: Show Ip Http

    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...
  • Page 578: Show Ip Https

    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...
  • Page 579: Show Services Tcp-Udp

    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...
  • Page 582: Appendix A: Where To Go From Here

    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/...

Table of Contents