Dell PowerConnect 3500 Series CLI Reference Guide FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\CLItp.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\CLItp.fm Notes, Cautions, and Warnings NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed. WARNING: A WARNING indicates a potential for property damage, personal injury, or death. ____________________ Information in this publication is subject to change without notice.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm Contents 1 Using the CLI CLI Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Starting the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Editing Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Setup Wizard 2 Command Groups Introduction . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm Management ACL Commands PHY Diagnostics Commands . . . . . . . . . . . . . . . . . . . . . . . . 53 . . . . . . . . . . . . . . . . . . . . . . . . . 53 . . . . . . . . . . . . . . . . . . . . . . . 53 Port Channel Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Port Monitor Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm MC (MST Configuration) Mode . . . . . . . . . . . . . . . . . . . . . . . 81 . . . . . . . . . . . . . . . . . . . . . . . . 81 PE (Privileged EXEC) Mode . . . . . . . . . . . . . . . . . . . . . . . . . 81 SP (SSH Public Key) Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 84 . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 ML (MAC Access-List) Mode UE (User EXEC) Mode .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm permit (MAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 deny (MAC) service-acl show access-lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show interfaces access-lists . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm show ports security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show ports security addresses . 7 133 . . . . . . . . . . . . . . . . . . . . . . . 134 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Clock clock set. clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . clock timezone . . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . more . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . rename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . boot system . 160 162 163 show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 show startup-config . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 flowcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 mdix back-pressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm 12 IGMP Snooping Commands ip igmp snooping (Global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 . . . . . . . . . . . . . . . . . . . . . . . . . 208 ip igmp snooping (Interface) ip igmp snooping mrouter . 207 ip igmp snooping host-time-out . . . . . . . . . . . . . . . . . . . . . . . 209 . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm clear host dhcp show hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 14 IPv6 Addressing ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 ipv6 address autoconfig . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 ipv6 icmp error-interval . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm show lacp ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show lacp port-channel 249 . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 16 Line Commands line speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . autobaud . . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm lldp reinit-delay . lldp tx-delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 lldp optional-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lldp management-address lldp med enable . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm 21 Power over Ethernet Commands power inline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 power inline powered-device power inline priority power inline usage-threshold . . . . . . . . . . . . . . . . . . . . . . . . 297 . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm qos trust (Global) qos cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 show qos map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 25 RADIUS Commands radius-server host . radius-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm 27 SNMP Commands snmp-server community. . . . . . . . . . . . . . . . . . . . . . . . . . . 349 snmp-server view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350 snmp-server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353 snmp-server user . . . . . . . . . . . . . . . . . . . . . . . . 355 . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm spanning-tree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 spanning-tree disable spanning-tree cost . spanning-tree port-priority . . . . . . . . . . . . . . . . . . . . . . . . . 376 spanning-tree portfast . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm crypto key generate rsa ip ssh pubkey-auth . . . . . . . . . . . . . . . . . . . . . . . . . . . 409 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409 . . . . . . . . . . . . . . . . . . . . . . . . 410 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 crypto key pubkey-chain ssh user-key . key-string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm traceroute telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436 resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 reload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440 hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm passwords aging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . passwords history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 aaa login-history file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm exit (Configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479 exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480 help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . terminal datadump show history 481 . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm ip internal-usage-vlan . show vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499 . . . . . . . . . . . . . . . . . . . . . . . . 499 . . . . . . . . . . . . . . . . . . . . . . . . . . 500 show vlan protocols-groups . show vlan internal usage show interfaces switchport . . . . . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm show ip http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 show ip https . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526 39 802.1x Commands aaa authentication dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . dot1x system-auth-control. dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . 530 . . . . . . . . . . . . . . . . . . . . .
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\RyanCLITOC.fm dot1x radius-attributes vlan show dot1x advanced . . . . . . . . . . . . . . . . . . . . . . . . . 549 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Using the CLI This chapter describes how to start using the CLI and describes the command editing features to assist in using the CLI. CLI Command Modes Introduction To assist in configuring the device, the Command Line Interface (CLI) is divided into different command modes. Each command mode has its own set of specific commands. Entering a question mark "?" at the system prompt (console prompt) displays a list of commands available for that particular command mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m When starting a session, the initial mode is the User EXEC mode. Only a limited subset of commands are available in the User EXEC mode. This level is reserved for tasks that do not change the configuration. To enter the next level, the Privileged EXEC mode, a password is required. The Privileged EXEC mode gives access to commands that are restricted on User EXEC mode and provides access to the device Configuration mode.
The default host name is Console unless it was changed using the hostname command in the Global Configuration mode. Privileged EXEC Mode Privileged access is password protected to prevent unauthorized use because, many of the privileged commands set operating system parameters. The password is not displayed on the screen and is case sensitive. Privileged users enter directly into the Privileged EXEC mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m To enter the Global Configuration mode, at the Privileged EXEC mode prompt enter the command configure and press . The Global Configuration mode prompt is displayed. The Global Configuration mode prompt consists of the device host name followed by (config) and #.
• Port Channel — Contains commands to configure port-channels, for example, assigning ports to a port-channel. Most of these commands are the same as the commands in the Ethernet interface mode, and are used to manage the member ports as a single entity. The interface portchannel Global Configuration mode command is used to enter the Port Channel Interface Configuration mode. • SSH Public Key-chain — Contains commands to manually specify other device SSH public keys.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m 2 Enter the following commands to begin the configuration procedure: Console> enable Console# configure Console(config)# 3 Configure the device and enter the necessary commands to complete the required tasks. 4 When finished, exit the session with the exit command. When a different user is required to log onto the system, use the login Privileged EXEC mode command. This effectively logs off the current user and logs on the new user.
To assist in using the CLI, there is an assortment of editing features. The following features are described: • Terminal Command Buffer • Command Completion • Keyboard Shortcuts Copying and Pasting Text Up to 100 lines of text (i.e., commands) can be copied and pasted into the device. NOTE: This editing features are for Telnet only. NOTE: It is the user’s responsibility to ensure that the text copied into the device consists of legal commands only.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m There is a standard default number of commands that are stored in the buffer. The standard number of 10 commands can be increased to 216. By configuring 0, the effect is the same as disabling the history buffer system. For information about the command syntax for configuring the command history buffer, see history size. To display the history buffer, see show history.
CLI Command Conventions When entering commands there are certain command entry standards that apply to all commands. The following table describes the command conventions. Convention Description [] In a command line, square brackets indicate an optional entry. {} In a command line, curly brackets indicate a selection of compulsory parameters separated by the | character. One option must be selected.
w w w. d e l l . c o m | s u p p o r t . d e l l .
2 Command Groups Introduction The Command Language Interface (CLI) is a network management application operated through an ASCII terminal without the use of a Graphical User Interface (GUI) driven software application. By directly entering commands, you achieve greater configuration flexibility. The CLI is a basic command-line interpreter similar to the UNIX C shell.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Groups The system commands can be broken down into functional groups as shown below. Command Group Description AAA Commands Configures connection security including authorization and passwords. ACL Commands Configures ACL on the device. Address Table Commands Configures bridging Address Tables. Clock Commands Configures clock commands on the device. Configuration and Image Files Commands Manages the device configuration files.
SSH Commands Configures SSH authentication. Syslog Commands Manages and displays syslog messages. System Management Commands Configures the device clock, name and authorized users. TACACS Commands Configures TACACS+ commands. TIC Commands Configures and displays TIC information. Tunnel Commands Configures tunnel routing configurations. User Interface Commands Describes user commands used for entering CLI commands. VLAN Commands Configures VLANs and displays VLAN information.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m ACL Commands Command Group Description Access Mode ip access-list Creates Layer 2 ACLs. Global Configuration permit (IP) Permits traffic if the conditions defined in the permit statement match. IP Access-List Configuration deny (IP) Denies traffic if the conditions defined in the deny statement match. IP Access-List Configuration mac access-list Creates Layer 2 ACLs.
bridge multicast forbidden forward-all Forbids a port from becoming a forward-all Multicast port. Interface (VLAN) Configuration bridge aging-time Sets the Address Table aging time. Global Configuration clear bridge Removes any learned entries from the forwarding database. Privileged EXEC port security Disables new address learning/forwarding on an interface. Interface Configuration port security mode Configures the port security learning mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Clock Commands Command Group Description Access Mode clock set Manually sets the system clock. Privileged EXEC clock source Configures an external time source for the system clock. Global Configuration clock timezone Sets the time zone for display purposes. Global Configuration clock summer-time Configures the system to automatically switch to summer time (daylight saving time).
show sntp configuration Shows the configuration of the Simple Network Time Protocol (SNTP). Privileged EXEC show sntp status Shows the status of the Simple Network Time Protocol (SNTP).
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Configuration and Image Files Commands Command Group Description Access Mode copy Copies files from a source to a destination. Privileged EXEC delete Deletes a file from a Flash memory device. Privileged EXEC delete startup-config Deletes the startup-config file. Privileged EXEC dir Displays a list of files on a flash file system. Privileged EXEC more Displays a file. Privileged EXEC rename Renames a file.
ip dhcp snooping binding Configures the update frequency of the DHCP snooping binding file. Privileged EXEC clear ip dhcp snooping database Clears the DHCP snooping binding database. Privileged EXEC show ip dhcp snooping Displays the DHCP snooping configuration. EXEC show ip dhcp snooping binding Displays the DHCP snooping binding database and configuration information for all interfaces on a switch.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show interfaces status Displays the status for all interfaces. Privileged EXEC show interfaces description Displays the description for all interfaces. Privileged EXEC show interfaces counters Displays traffic seen by the physical interface. Privileged EXEC port storm-control include-multicast Enables the device to count Multicast packets with Broadcast packets.
GVRP Commands Command Group Description Mode gvrp enable (Global) Enables GVRP globally. Global Configuration gvrp enable (Interface) Enables GVRP on an interface. Interface Configuration garp timer Adjusts the GARP application join, leave, and leaveall GARP timer values. Interface Configuration gvrp vlan-creation-forbid Enables or disables dynamic VLAN creation. Interface Configuration gvrp registration-forbid De-registers all VLANs, and prevents dynamic VLAN registration on the port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m IGMP Snooping Commands Command Group Description Access Mode ip igmp snooping (Global) Enables Internet Group Management Protocol (IGMP) snooping. Global Configuration ip igmp snooping (Interface) Enables Internet Group Management Protocol (IGMP) snooping on a specific VLAN. Interface (VLAN) ip igmp snooping mrouter Enables automatic learning of Multicast router ports.
arp Adds a permanent entry in the ARP cache. Global Configuration arp timeout Configures how long an entry remains in the ARP cache. Global Configuration clear arp-cache Deletes all dynamic entries from the ARP cache. Privileged EXEC show arp Displays entries in the ARP table. Privileged EXEC ip domain-lookup Enables the IP Domain Naming System (DNS)-based host name-to-address translation.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m IPv6 Addressing Commands Command Group Description Access Mode ipv6 enable Enables IPv6 processing on an interface. Interface Configuration ipv6 address autoconfig Enables automatic configuration of IPv6 addresses using stateless autoconfiguration on an interface. Interface Configuration ipv6 icmp error-interval Configures the rate limit interval and bucket size parameters for IPv6 ICMP error messages.
clear ipv6 neighbors Deletes all entries in the IPv6 neighbor discovery cache, except static entries. Privileged EXEC Command Group Description Access Mode lacp system-priority Configures the system LACP priority. Global Configuration lacp port-priority Configures the priority value for physical ports. Interface Configuration lacp timeout Assigns an administrative LACP timeout. Interface Configuration show lacp ethernet Displays LACP information for Ethernet ports.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m line Identifies a specific line for configuration and enters the Line Configuration command mode. Global Configuration speed Sets the line baud rate. Line Configuration autobaud Sets the line for automatic baud rate detection Line Configuration exec-timeout Configures the interval that the system waits until user input is detected. Line Configuration show line Displays line parameters.
LLDP Commands Command Group Description Access Mode lldp enable (global) Enables Link Layer Discovery Protocol (LLDP). Global configuration lldp enable (interface) Enables LLDP on an interface. Interface configuration (Ethernet) lldp timer Specifies how often the software sends LLDP updates. Global configuration lldp hold-multiplier Specifies the amount of time the receiving device should hold a LLDP packet before discarding it.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show lldp med configuration Displays the Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery (MED) configuration. Privileged EXEC show lldp local Displays the Link Layer Discovery Protocol (LLDP) information that is advertised from a specific port.
Management ACL Commands Command Group Description Access Mode management access-list Defines a management access-list, and enters the access-list for configuration. Global Configuration permit (Management) Defines a permit rule. Management Access-level deny (Management) Defines a deny rule. Management Access-level management access-class Defines which management access-list is used. Global Configuration show management accesslist Displays management access-lists.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m power inline usagethreshold Configures the administrative mode of the inline power on an interface. Global Configuration power inline traps enable Adds a description of the powered device type attached to the interface. Global Configuration show power inline Displays port monitoring status.
rate-limit (Ethernet) Limits the rate of the incoming traffic. Interface Configuration wrr-queue cos-map Maps assigned CoS values to select one of the egress Global Configuration show qos interface Displays interface QoS information. User EXEC qos map dscp-queue Modifies the DSCP to CoS map. Global Configuration qos trust (Global) Configures the system to basic mode and the "trust" state. Global Configuration qos cos Configures the default port CoS value.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m RADIUS Commands Command Group Description Access Mode radius-server host Specifies a RADIUS server host. Global Configuration radius-server key Sets the authentication and encryption key for all RADIUS communications between the device and the RADIUS daemon. Global Configuration radius-server retransmit Specifies the number of times the software searches the list of RADIUS server hosts.
SNMP Commands Command Group Description Access Mode snmp-server community Sets up the community access string to permit access to SNMP protocol. Global Configuration snmp-server view Creates and modifies view entries. Global Configuration snmp-server group Configures a new SNMP group or a table that maps SNMP users to SNMP views. Global Configuration snmp-server user Configures a new SNMP v3 user. Global Configuration snmp-server engineID local Specifies an SNMP EngineID on the local device.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Spanning Tree Commands Command Group Description Access Mode spanning-tree Enables Spanning Tree functionality. Global Configuration spanning-tree mode Configures the Spanning Tree protocol. Global Configuration spanning-tree forwardtime Configures the Spanning Tree bridge forward time. Global Configuration spanning-tree hellotime Configures the Spanning Tree bridge Hello Time.
spanning-tree mst portpriority Configures the priority of a port. Interface Configuration spanning-tree mst cost Configures the path cost for multiple Spanning Tree (MST) calculations. Interface Configuration spanning-tree mst configuration Enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode. Global Configuration instance (mst) Maps VLANs to the MST instance. MST Configuration name (mst) Defines the configuration name.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show crypto key mypubkey Displays the SSH public keys stored on the device. Privileged EXEC show crypto key pubkey-chain ssh Displays SSH public keys stored on the device. Privileged EXEC Syslog Commands Command Group Description Access Mode logging on Controls error messages logging. Global Configuration logging Logs messages to a syslog server.
System Management Commands Command Group Description Access Mode ping Sends ICMP echo request packets to another node on the network. User EXEC traceroute Discovers the routes that packets will actually take when traveling to their destination. User EXEC telnet Logs in to a host that supports Telnet. User EXEC resume Switches to another open Telnet session. User EXEC reload Reloads the operating system. Privileged EXEC hostname Specifies or modifies the device host name.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m TACACS Commands Command Group Description Mode tacacs-server host Specifies a TACACS+ host. Global Configuration tacacs-server key Sets the authentication encryption key used for all TACACS+ communications between the device and the TACACS+ daemon. Global Configuration tacacs-server source-ip Specifies the source IP address that will be used for the communication with TACACS+ servers.
TIC Commands Command Group Description Access Mode passwords min-length Sets the minimum length required for passwords in the local database. Global Configuration password-aging Sets the expiration time of username and enables passwords. Global Configuration passwords aging Configures the expiration time of line passwords in the local database. Line Configuration passwords history Sets the number of required password changes before a password in the local database can be reused.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Tunnel Commands Command Group Description Access Mode interface tunnel enters tunnel interface configuration mode. Global Configuration tunnel mode ipv6ip configures an IPv6 transition mechanism global support mode. Interface Tunnel Configuration tunnel isatap router configures a global string that represents a specific automatic tunnel router domain name.
show history Lists the commands entered in the current session. Privileged EXEC show privilege Displays the current privilege level. User EXEC VLAN Commands Command Group Description Access Mode vlan database Enters the VLAN database configuration mode. Global Configuration vlan Creates a VLAN. VLAN Database interface vlan Enters the interface configuration (VLAN) mode. Global Configuration interface range vlan Enters the interface configuration mode to configure multiple VLANs.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m switchport protected Overrides the FDB (Forwarding Database) decision, and sends all the Unicast, Multicast and Broadcast traffic to an uplink port. Interface Configuration map protocol protocolsgroup Maps a protocol to a protocol group. Protocol groups are used for protocol-based VLAN assignment. VLAN Configuration switchport general map protocols-group vlan Sets a protocol-based classification rule.
voice vlan secure Configures the secure mode for the voice VLAN. Interface configuration (Ethernet, portchannel show voice vlan Displays the voice VLAN status. EXEC mode Web Server Commands Command Group Description Access Mode ip http server Enables the device to be configured from a browser. Global Configuration ip http port Specifies the TCP port for use by a web browser to configure the device.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m 802.1x Commands Command Description Access Mode aaa authentication dot1x Specifies one or more authentication, authorization, and accounting (AAA) methods for use on interfaces running IEEE 802.1x. Global Configuration dot1x system-authcontrol Enables 802.1x globally.
dot1x multiple-hosts Allows multiple hosts (clients) on an 802.1x-authorized port that has the dot1x port-control Interface Configuration mode command set to auto. Interface Configuration dot1x single-hostviolation Configures the action to be taken, when a station whose MAC address is not the supplicant MAC address, attempts to access the interface. Interface Configuration dot1x guest-vlan Defines a guest VLAN.
w w w. d e l l . c o m | s u p p o r t . d e l l .
3 Command Modes GC (Global Configuration) Mode Command Group Description aaa authentication dot1x Specifies one or more authentication, authorization, and accounting (AAA) methods for use on interfaces running IEEE 802.1x. aaa authentication enable Defines authentication method lists for accessing higher privilege levels. aaa authentication login Defines login authentication. aaa logging Enables logging AAA login events. aaa login-history file Enables writing to the login history file.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m enable password Sets a local password to control access to normal and privilege levels. end Ends the current configuration session and returns to the previous command mode. file-system logging Enables logging file system events. gvrp enable (Global) Enables GVRP globally. hostname Specifies or modifies the device host name. interface ethernet Enters the interface configuration mode to configure an Ethernet type interface.
ip http exec-timeout Enables the device to be configured from a secured browser. ip http port Specifies the TCP port for use by a web browser to configure the device. ip http server Enables the device to be configured from a browser. ip https authentication Specifies authentication methods for HTTPS server users. ip https certificate Configures the active certificate for HTTPS. ip https exec-timeout Sets the interval the system waits for user input before automatically logging off.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m passwords history Sets the number of required password changes before a password in the local database can be reused. passwords history hold-time Sets the number of days a password is relevant for tracking its password history. passwords lockout Sets the number of failed login attempts before a user account is locked. power inline traps enable Adds a description of the powered device type attached to the interface.
snmp-server filter Creates and modifies filter entries. snmp-server group Configures a new SNMP group or a table that maps SNMP users to SNMP views. snmp-server host Specifies the recipient of Simple Network Management Protocol notification operation. snmp-server location Sets up the information on where the device is located. snmp-server set Sets SNMP MIB value by the CLI.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m spanning-tree max-age Configures the Spanning Tree bridge maximum age. spanning-tree mode Configures the Spanning Tree protocol. spanning-tree mst configuration Enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode. spanning-tree mst max-hops Configures the number of hops in an MST region before the BDPU is discarded and the port information is aged out.
IC (Interface Configuration) Mode Command Group Description back-pressure Enables Back Pressure on a given interface. bridge multicast forbidden forward-all Forbids a port from becoming a forward-all Multicast port. bridge multicast forward-all Enables forwarding all Multicast frames on a port. bridge multicast unregistered Configures the forwarding state of unregistered multicast addresses. channel-group Associates a port with a Port-channel. description Adds a description to an interface.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m garp timer Adjusts the GARP application join, leave, and leaveall GARP timer values. gvrp enable (Interface) Enables GVRP on an interface. gvrp registration-forbid De-registers all VLANs, and prevents dynamic VLAN registration on the port. gvrp vlan-creation-forbid Enables or disables dynamic VLAN creation. ip address Sets an IP address. ip address dhcp Acquires an IP address on an interface from the DHCP server.
qos cos Configures the default port CoS value. qos cos Configures the default port CoS value. qos cos Enables each port trust state. qos cos Enables each port trust state while the system is in basic mode. rate-limit (Ethernet) Limits the rate of the incoming traffic. rmon collection history Enables a Remote Monitoring (RMON) MIB history statistics group on an interface. rmon collection history Enables a Remote Monitoring (RMON) MIB history statistics group on an interface.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m switchport general ingressfiltering disable Disables port ingress filtering. switchport general map protocols-group vlan Sets a protocol-based classification rule. switchport general pvid Configures the PVID when the interface is in general mode.
MC (MST Configuration) Mode Command Group Description abort (mst) Exits the MST region configuration mode without applying configuration changes. exit (mst) Exits the MST region configuration mode and applies all configuration changes. instance (mst) Maps VLANs to the MST instance. name (mst) Defines the configuration name. revision (mst) Defines the configuration revision number. show (mst) Displays the current or pending MST region configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m copy Copies files from a source to a destination. crypto certificate request Generates and displays certificate requests for HTTPS. delete Deletes a file from a Flash memory device. delete startup-config Deletes the startup-config file. dir Displays a list of files on a flash file system. disable Returns to User EXEC mode. dot1x re-authentication Manually initiates a re-authentication of all 802.1x-enabled ports or the specified 802.
show crypto certificate mycertificate Displays the SSH certificates of the device. show crypto key mypubkey Displays the SSH public keys stored on the device. show crypto key pubkey-chain ssh Displays SSH public keys stored on the device. show dot1x Displays 802.1x status for the device or for the specified interface. show dot1x advanced Displays 802.1x enhanced features for the device or for the specified interface. show dot1x statistics Displays 802.1x statistics for the specified interface.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show ports security addresses Displays current dynamic addresses in locked ports. show ports storm-control Displays the storm control configuration. show radius-servers Displays the RADIUS server settings. show running-config Displays the contents of the currently running configuration file. show snmp Displays the SNMP status. show snmp engineid Displays the local SNMP EngineID.
UE (User EXEC) Mode Command Group Description enable Enters the Privileged EXEC mode. exit Closes an active terminal session by logging off the device. login Changes a login username. ping Sends ICMP echo request packets to another node on the network. resume Switches to another open Telnet session. show clock Displays the time and date from the system clock. show copper-ports cablelength Displays the estimated copper cable length attached to a port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show qos interface Displays interface QoS information. show qos map Displays all the maps for QoS. show rmon alarm Displays alarm configurations. show rmon alarm-table Displays the alarms table. show rmon collection history Displays the requested history group configuration. show rmon events Displays the RMON event table. show rmon history Displays RMON Ethernet Statistics history. show rmon log Displays the RMON logging table.
VC (VLAN Configuration) Mode Command Group Description bridge address Adds a static MAC-layer station source address to the bridge table. bridge multicast address Registers MAC-layer Multicast addresses to the bridge table, and adds static ports to the group. bridge multicast forbidden address Forbids adding a specific Multicast address to specific ports. bridge multicast forbidden forward-all Forbids a port from becoming a forward-all Multicast port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m IPAL (IP-Access List Configuration) Mode Command Group Description deny (IP) Denies traffic if the conditions defined in the deny statement match. permit (IP) Permits traffic if the conditions defined in the permit statement match.
MAL (MAC-Access List Configuration) Mode Command Group Description deny (MAC) Denies traffic if the conditions defined in the deny statement match. permit (MAC) Set permit conditions for a MAC access list.
w w w. d e l l . c o m | s u p p o r t . d e l l .
4 AAA Commands aaa authentication login The aaa authentication login Global Configuration mode command defines login authentication. Use the no form of this command to return to the default configuration. Syntax • aaa authentication login {default | list-name} method1 [method2...] • no aaa authentication login {default | list-name} • default — Uses the listed authentication methods that follow this argument as the default list of methods when a user logs in.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • The default and optional list names created with the aaa authentication login command are used with the login authentication command. • Create a list by entering the aaa authentication login list-name method command for a particular protocol, where list-name is any character string used to name this list. The method argument identifies the list of methods that the authentication algorithm tries, in the given sequence.
radius Uses the list of all RADIUS servers for authentication. Uses username $enabx$., where x is the privilege level. tacacs Uses the list of all TACACS+ servers for authentication. Uses username "$enabx$." where x is the privilege level. Default Configuration If the default list is not set, only the enable password is checked. This has the same effect as the command aaa authentication enable default enable. On the console, the enable password is used if it exists.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • login authentication {default | list-name} • no login authentication • default — Uses the default list created with the aaa authentication login command. • list-name — Uses the indicated list created with the aaa authentication login command. Default Configuration Uses the default set with the command aaa authentication login. Command Mode Line Configuration mode.
User Guidelines There are no user guidelines for this command. Example The following example specifies the default authentication method when accessing a higher privilege level from a console. Console(config)# line console Console(config-line)# enable authentication default ip http authentication The ip http authentication Global Configuration mode command specifies authentication methods for HTTP server users. Use the no form of this command to return to the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example configures the HTTP authentication. Console(config)# ip http authentication radius local ip https authentication The ip https authentication Global Configuration mode command specifies authentication methods for HTTPS server users. Use the no form of this command to return to the default configuration. Syntax • ip https authentication method1 [method2...] • no ip https authentication • method1 [method2...
show authentication methods The show authentication methods Privileged EXEC mode command displays information about the authentication methods. Syntax • show authentication methods Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the authentication configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Line Login Method List Enable Method List -------------- ----------------- ------------------ Console Default Default Telnet Default Default SSH Default Default http : Local https : Local dot1x : console# password The password Line Configuration mode command specifies a password on a line. Use the no form of this command to remove the password.
enable password The enable password Global Configuration mode command sets a local password to control access to user and privilege levels. Use the no form of this command to remove the password requirement. Syntax • enable password [level level] password [encrypted] • no enable password [level level] • password — Password for this level. (Range: 8 - 64 characters) • level — Level for which the password applies. If not specified the level is 15.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m username The username Global Configuration mode command creates a user account in the local database. Use the no form of this command to remove a user name. Syntax • username name [password password] [level level] [encrypted] • no username name • name — The name of the user. (Range: 1 - 20 characters) • password — The authentication password for the user. (Range: 8 - 64 characters) • level — The user level.
Parameters • N/A Default Configuration • The service password recovery is enabled by default. Command Mode • Global Configuration mode User Guidelines • If password recovery is enabled, the user can access the boot menu and trigger the password recovery in the boot menu. All configuration files and user files are kept. • If password recovery is disabled, the user can access the boot menu and trigger the password recovery in the boot menu. The configuration files and user files are removed.
w w w. d e l l . c o m | s u p p o r t . d e l l .
5 ACL Commands ip access-list The ip access-list global configuration mode command defines an IPv4 access list and places the device in IPv4 access list configuration mode. Use the no form of this command to remove the access list. Syntax • ip access-list access-list-name • no ip access-list access-list-name • access-list-name — Specifies the name of the IPv4 access list. Default Configuration No IPv4 access list is defined. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m permit (IP) The permit IP-Access List Configuration mode command permits traffic if the conditions defined in the permit statement match.
• igmp-type — Specifies IGMP packets filtered by IGMP message type. Enter a number or one of the following values: host-query, host-report, dvmrp, pim, cisco-trace, hostreport-v2, host-leave-v2, host-report-v3. (Range: 0 - 255) • destination-port — Specifies the UDP/TCP destination port. (Range: 1 - 65535) • destination-port-wildcard — Specifies wildcard bits to be applied to the destination port by placing 1s in bit positions to be ignored. • source-port — Specifies the UDP/TCP source port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m deny (IP) The deny IP-Access List Configuration mode command denies traffic if the conditions defined in the deny statement match.
• icmp-code — Specifies an ICMP message code for filtering ICMP packets. (Range: 0 - 255) • igmp-type — Specifies IGMP packets filtered by IGMP message type. Enter a number or one of the following values: host-query, host-report, dvmrp, pim, cisco-trace, hostreport-v2, host-leave-v2, host-report-v3. (Range: 0 - 255) • destination-port — Specifies the UDP/TCP destination port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • mac access-list name • no mac access-list name • name — Specifies the name of the ACL. Default Configuration No MAC access list is defined. Command Mode Global Configuration mode. User Guidelines MAC ACLs are defined by a unique name. IP-based ACLs and MAC-based ACLs cannot share the same name. Example The following example shows how to create a MAC ACL.
• cos-wildcard — Specifies wildcard bits to be applied to the CoS. • eth-type — Specifies the etherType of the packet in hexadecimal format. (Range: 0 - 05ddffff {hex}) Default Configuration No MAC ACL is defined. Command Mode MAC-Access List Configuration mode. User Guidelines • Before an Access Control Element (ACE) is added to an ACL, all packets are permitted.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • cos — Specifies the packets’s Class of Service (CoS). (Range: 0 - 7) • cos-wildcard — Specifies wildcard bits to be applied to the CoS. • eth-type — Specifies the packet’s Ethernet type in hexadecimal format. (0 - 05dd-ffff {hex}) Default Configuration No MAC access list is defined. Command Mode MAC-Access List Configuration mode. User Guidelines • MAC BPDU packets cannot be denied.
User Guidelines There are no user guidelines for this command. Example The following example, binds (services) an ACL to VLAN 2.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Console# show access-lists MAC access list macl-1 deny host 66:66:66:66:66:66 show interfaces access-lists The show interfaces access-lists Privileged EXEC mode command displays access lists applied on interfaces. Syntax • show interfaces access-lists [ ethernet interface | port-channel port-channel-number ] • Interface — Specifies the Valid Ethernet port. (Full syntax: unit/port) • port-channel-number — Specifies the port-channel index.
6 Address Table Commands bridge address The bridge address Interface Configuration (VLAN) mode command adds a MAC-layer station source address to the bridge table. Use the no form of this command to delete the MAC address. Syntax • bridge address mac-address {ethernet interface | port-channel port-channel-number} [permanent | delete-on-reset | delete-on-timeout | secure] • no bridge address [mac-address] • mac-address — A valid MAC address. • interface — A valid Ethernet port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example adds a permanent static MAC-layer station source address 3aa2.64b3.a245 on port 1/e16 to the bridge table. Console(config)# interface vlan 2 Console(config-if)# bridge address 3aa2.64b3.a245 ethernet 1/e16 permanent bridge multicast filtering The bridge multicast filtering Global Configuration mode command enables filtering Multicast addresses. Use the no form of this command to disable filtering Multicast addresses.
bridge multicast address The bridge multicast address Interface Configuration (VLAN) mode command registers a MAClayer Multicast address in the bridge table and statically adds ports to the group. Use the no form of this command to unregister the MAC address.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m The following example registers the MAC address and adds ports statically. Console(config)# interface vlan 8 Console(config-if)# bridge multicast address 01:00:5e:02:02:03 add ethernet 1/e1-e9, 2/e2 bridge multicast forbidden address The bridge multicast forbidden address Interface Configuration (VLAN) mode command forbids adding a specific Multicast address to specific ports. Use the no form of this command to return to the default configuration.
Examples The following example forbids MAC address 0100.5e02.0203 on port 2/e9 within VLAN 8. Console(config)# interface vlan 8 Console(config-if)# bridge multicast address 0100.5e.02.0203 Console(config-if)# bridge multicast forbidden address 0100.5e02.0203 add ethernet 2/e9 bridge multicast unregistered The bridge multicast unregistered Interface Configuration mode command configures the forwarding state of unregistered multicast addresses. Use the no form of this command to return to default.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m bridge multicast forward-all The bridge multicast forward-all Interface Configuration (VLAN) mode command enables forwarding all Multicast packets on a port. Use the no form of this command to restore the default configuration. Syntax • bridge multicast forward-all {add | remove} {ethernet interface-list | port-channel portchannel-number-list} • no bridge multicast forward-all • add — Force forwarding all Multicast packets.
bridge multicast forbidden forward-all The bridge multicast forbidden forward-all Interface Configuration (VLAN) mode command forbids a port to be a forward-all-Multicast port. Use the no form of this command to restore the default configuration. Syntax • bridge multicast forbidden forward-all {add | remove} {ethernet interface-list | portchannel port-channel-number-list} • no bridge multicast forbidden forward-all • add — Forbids forwarding all Multicast packets.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m bridge aging-time The bridge aging-time Global Configuration mode command sets the Address Table aging time. Use the no form of this command to restore the default configuration. Syntax • bridge aging-time seconds • no bridge aging-time • seconds — Time in seconds. (Range: 10 - 630 seconds) Default Configuration The default setting is 300 seconds. Command Mode Global Configuration mode.
Example The following example clears the bridge tables. Console# clear bridge port security The port security Interface Configuration mode command locks the port, thereby, blocking unknown traffic and preventing the port from learning new addresses. Use the no form of this command to return to the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m port security mode The port security mode Interface Configuration mode command configures the port security mode. Use the no form of this command to return to the default configuration. Syntax • port security mode {lock | max-addresses} • no port security mode • lock — Saves the current dynamic MAC addresses associated with the port and disables learning, relearning and aging.
Default Configuration The default setting is 1 address. Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines This command is only relevant in dynamic learning modes. Example The following example sets the maximum number of addresses that are learned on port 1/e7 before it is locked to 20.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example adds the MAC-layer address 66:66:66:66:66:66 to port 1/e1. Console(config)# interface ethernet 1/e1 Console(config-if)# port security routed secure-address 66:66:66:66:66:66 show bridge address-table The show bridge address-table Privileged EXEC mode command displays all entries in the bridge-forwarding database.
User Guidelines • Internal usage VLANs (VLANs that are automatically allocated on ports with a defined Layer 3 interface) are presented in the VLAN column by a port number and not by a VLAN ID. • "Special" MAC addresses that were not statically defined or dynamically learned are displayed in the MAC Address Table. This includes, for example, MAC addresses defined in ACLs. Example The following example displays all classes of entries in the bridge-forwarding database.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines There are no user guidelines for this command. Example The following example displays all static entries in the bridge-forwarding database.
Example The following example displays the number of addresses present in all VLANs. Console# show bridge address-table count Capacity: 8192 Free: 8083 Used: 109 Secure addresses: 2 Static addresses: 1 Dynamic addresses: 97 Internal addresses: 9 show bridge multicast address-table The show bridge multicast address-table Privileged EXEC mode command displays Multicast MAC address or IP Address Table information.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays Multicast MAC address and IP Address Table information.
show bridge multicast filtering The show bridge multicast filtering Privileged EXEC mode command displays the Multicast filtering configuration. Syntax • show bridge multicast filtering vlan-id • vlan_id — A valid VLAN ID value. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example displays the Multicast configuration for VLAN 1.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • show bridge multicast address-table static [vlan vlan-id] [address mac-multicast-address | ipmulticast-address] [source ip-address] • vlan-id — Indicates the VLAN ID. This has to be a valid VLAN ID value. • mac-multicast-address — A valid MAC multicast address. • ip-multicast-address — A valid IP multicast address. • ip-address — Source IP address. Default Configuration This command has no default configuration.
Example Console# show bridge multicast address-table static MAC-GROUP table Vlan ---1 MAC Address -------------0100.9923.8787 Type ------static Ports ---------1/e1, 2/e2 Forbidden ports for multicast addresses: Vlan ---- MAC Address -------------- Ports ----- IPv4-GROUP Table Vlan ---1 19 19 IP/MAC Address ----------------231.2.2.3 231.2.2.8 231.2.2.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show bridge multicast filtering The show bridge multicast filtering Privileged EXEC mode command displays the Multicast filtering configuration. Syntax • show bridge multicast filtering vlan-id • vlan-id — VLAN ID value. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command.
show ports security The show ports security Privileged EXEC mode command displays the port-lock status. Syntax • show ports security [ethernet interface | port-channel port-channel-number] • interface — A valid Ethernet port. • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l .
Example The following example displays dynamic addresses in currently locked ports.
w w w. d e l l . c o m | s u p p o r t . d e l l .
7 Clock clock set The clock set Privileged EXEC mode command manually sets the system clock. Syntax • clock set hh:mm:ss day month year or • clock set hh:mm:ss month day year • hh:mm:ss — Current time in hours (military format), minutes, and seconds (hh: 0 - 23, mm: 0 - 59, ss: 0 - 59). • day — Current day (by date) in the month (1 - 31). • month — Current month using the first three letters by name (Jan, …, Dec). • year — Current year (2000 - 2097).
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • clock source {sntp} • no clock source • sntp — SNTP servers Default Configuration No external clock source. Command Mode Global Configuration mode User Guidelines There are no user guidelines for this command. Examples The following example configures an external time source for the system clock.
User Guidelines • The system internally keeps time in UTC, so this command is used only for display purposes and when the time is manually set. Examples The following example sets the timezone to 6 hours difference from UTC. Console(config)# clock timezone -6 zone CST clock summer-time The clock summer-time Global Configuration mode command configures the system to automatically switch to summer time (daylight saving time).
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration Summer time is disabled. offset — Default is 60 minutes. acronym — If unspecified default to the timezone acronym. If the timezone has not been defined, the default is UTC. Command Mode Global Configuration mode. User Guidelines • In both the date and recurring forms of the command, the first part of the command specifies when summer time begins, and the second part specifies when it ends.
sntp authentication-key The sntp authentication-key Global Configuration mode command defines an authentication key for Simple Network Time Protocol (SNTP). Use the no form of this command to remove the authentication key for SNTP. Syntax • sntp authentication-key number md5 value • no sntp authentication-key number • number — Key number (Range: 1 - 4294967295) • value — Key value (Range: up to 8 characters) Default Configuration No authentication key is defined.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • The command is relevant for both Unicast and Broadcast. Examples The following example defines the authentication key for SNTP and allows authentication.
sntp client poll timer The sntp client poll timer Global Configuration mode command sets the polling time for the Simple Network Time Protocol (SNTP) client. Use the no form of this command to return to default configuration. Syntax • sntp client poll timer seconds • no sntp client poll timer • seconds — Polling interval in seconds (Range: 60 - 86400) Default Configuration Polling interval is 1024 seconds. Command Mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • Use the sntp client enable Interface Configuration mode command to enable the SNTP client on a specific interface. Examples The following example enables the SNTP Broadcast clients. Console(config)# sntp broadcast client enable sntp anycast client enable The sntp anycast client enable Global Configuration mode command enables SNTP Anycast client. Use the no form of this command to disable the SNTP Anycast client.
sntp client enable The sntp client enable Global Configuration mode command enables the Simple Network Time Protocol (SNTP) Broadcast and Anycast client on an interface. Use the no form of this command to disable the SNTP client. Syntax • sntp client enable {ethernet interface-number | vlan vlan-id | port-channel number} • no sntp client enable {ethernet interface-number | vlan vlan-id | port-channel number} • ethernet interface-number — Ethernet port number. • vlan vlan-id — VLAN number.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The SNTP client is disabled on an interface. Command Mode Interface configuration (Ethernet, port-channel, VLAN) mode. User Guidelines • Use the sntp broadcast client enable Global Configuration mode command to enable Broadcast clients globally. • Use the sntp anycast client enable Global Configuration mode command to enable Anycast clients globally.
User Guidelines • Use the sntp server Global Configuration mode command to define SNTP servers. Examples The following example enables the device to use the Simple Network Time Protocol (SNTP) to request and accept SNTP traffic from servers. Console(config)# sntp unicast client enable sntp unicast client poll The sntp unicast client poll Global Configuration mode command enables polling for the Simple Network Time Protocol (SNTP) predefined Unicast servers.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m sntp server The sntp server Global Configuration mode command configures the device to use the Simple Network Time Protocol (SNTP) to request and accept SNTP traffic from a specified server. Use the no form of this command to remove a server from the list of SNTP servers. Syntax • sntp server {ip4-address | ip6-address | hostname}[poll] [key keyid] • no sntp server {ip4-address | ip6-address | hostname} • ip4-address — IPv4 server address.
• If the egress interface is not specified, the default interface is selected. Specifying interface zone=0 is the same as not defining an egress interface. Examples The following example configures the device to accept SNTP traffic from the server on 192.1.1.1. Console(config)# sntp server 192.1.1.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show clock The show clock User EXEC mode command displays the time and date from the system clock. Syntax • show clock [detail] • detail — Shows timezone and summertime configuration. Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines • The symbol that precedes the show clock display indicates the following: Symbol Description * Time is not authoritative.
Example The following example displays the time and date from the system clock. Console> show clock 15:29:03 PDT(UTC-7) Jun 17 2002 Time source is SNTP Console> show clock detail 15:29:03 PDT(UTC-7) Jun 17 2002 Time source is SNTP Time zone: Acronym is PST Offset is UTC-8 Summertime: Acronym is PDT Recurring every year. Begins at first Sunday of April at 2:00. Ends at last Sunday of October at 2:00. Offset is 60 minutes.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Examples The following example displays the current SNTP configuration of the device. Console# show sntp configuration Polling interval: 7200 seconds MD5 Authentication keys: 8, 9 Authentication is required for synchronization.
Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Examples The following example shows the status of the SNTP. Console# show sntp status Clock is synchronized, stratum 4, reference is 176.1.1.8, unicast Reference time is AFE2525E.70597B34 (00:10:22.
w w w. d e l l . c o m | s u p p o r t . d e l l .
8 Configuration and Image Files copy The copy Privileged EXEC mode command copies any file from a source to a destination. Syntax • copy source-url destination-url [snmp] • source-url — The location URL or reserved keyword of the source file to be copied. • destination-url — The destination file URL or reserved keyword of the destination file. • snmp — Used only when copying from/to startup-config.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m backup-config Represents the backup configuration file. unit://member/ backup-config Backup configuration file on one of the units. logging Copy from a syslog file. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • The location of a file system dictates the format of the source or destination URL.
Use the copy source-url running-config command to load a ’configuration file’ from a network server to the device ’running configuration’. The configuration is added to the ’running configuration’ as if the commands were typed in the command-line interface (CLI). The resulting configuration file is a combination of the previous ’running configuration’ and the loaded ’configuration file", with the loaded "configuration file’ having precedence.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m delete The delete Privileged EXEC mode command deletes a file from a flash memory device. Syntax • delete url • url — The location URL or reserved keyword of the file to be deleted. (Range: 1 - 160 characters) The following table displays keywords and URL prefixes: Keyword Source or Destination flash: Source or destination URL for flash memory. It is the default in case a URL is specified without a prefix.
delete startup-config The delete startup-config Privileged EXEC mode command deletes the startup-config file. Syntax • delete startup-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Examples The following example deletes the startup-config file. Console# delete startup-config dir The dir Privileged EXEC mode command displays a list of files on a flash file system.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example displays files in the flash directory. Console# dir Directory of flash: File Name Permission Size Modification Date Modification Time --------- ---------- ---- ----------------- ----------------- Image-1 rw 4325376 01-Jun-2003 01:04:21 Image-2 rw 4325376 01-Jun-2003 21:28:10 aaafile.prv -- 131072 01-Jun-2003 01:01:19 sshkeys.prv -- 262144 01-Jun-2003 01:01:05 syslog1.
The following table displays keywords and URL prefixes: Keyword Source or Destination flash: Source or destination URL for flash memory. It is the default in case a URL is specified without a prefix. running-config Represents the current running configuration file. startup-config Represents the startup configuration file. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the contents of file configuration.bak. Console# more configuration.bak interface range ethernet 1/e(1-4) duplex half exit interface range ethernet 2/g(1-4) switchport mode general exit vlan database vlan 2 exit interface range ethernet 2/g(1-4) switchport general allowed vlan add 2 exit interface range ethernet 1/e(1-4) no negotiation exit rename The rename Privileged EXEC mode command renames a file.
Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • *.sys and *.prv files cannot be renamed. Examples The following example renames the configuration backup file. Console# rename configuration.bak m-config.bak boot system The boot system Privileged EXEC mode command specifies the system image that the device loads at startup. Syntax • boot system [unit unit] {image-1 | image-2} • unit — Specifies the unit number.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show running-config The show running-config Privileged EXEC mode command displays the contents of the currently running configuration file. Syntax • show running-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • This command displays the factory default settings at the end of the running configuration file contents.
Default settings: Service tag: service tag 0 SW version 1.0.0.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show startup-config The show startup-config Privileged EXEC mode command displays the contents of the startup configuration file. Syntax • show startup-config Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Examples The following example displays the contents of the running configuration file.
show bootvar The show bootvar Privileged EXEC mode command displays the active system image file that is loaded by the device at startup. Syntax • show bootvar [unit unit] • unit — Specifies the unit number. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Examples The following example displays the active system image file that is loaded by the device at startup.
w w w. d e l l . c o m | s u p p o r t . d e l l .
9 DHCP Snooping ip dhcp snooping The ip dhcp snooping Global Configuration mode command globally enables DHCP snooping. Use the no form of this command to return to the default settings. Syntax • ip dhcp snooping • no ip dhcp snooping Default Configuration The default configuration is disabled. Command Mode Global Configuration mode. User Guidelines • For any DHCP snooping configuration to take effect, you must globally enable DHCP snooping.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default configuration is disabled. Command Mode Global Configuration mode. User Guidelines • You must first globally enable DHCP snooping before enabling DHCP snooping on a VLAN.
ip dhcp snooping information option allowed-untrusted The ip dhcp snooping information option allowed-untrusted Global Configuration mode command configures a switch to accept DHCP packets with option-82 information from an untrusted port. Use the no form of this command to configure the switch to drop these packets from an untrusted port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example configures a switch to verify on an untrusted port that the source MAC address in a DHCP packet matches the client hardware address. console(config)#ip dhcp snooping verify ip dhcp snooping database The ip dhcp snooping database Global Configuration mode command configures the DHCP snooping binding file.
ip dhcp snooping database update-freq The ip dhcp snooping database update-freq Global Configuration mode command configures the update frequency of the DHCP snooping binding file. Use the no form of this command to return to default. Syntax • ip dhcp snooping database update-freq seconds • no ip dhcp snooping database update-freq • seconds — Specifies the update frequency in seconds. (Range 600 – 86400) Default Configuration The default configuration is 1200. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • port-channel-number — Specifies a Port-channel number. • expiry seconds — Specifies the interval, in seconds, after which the binding entry is no longer valid. (Range 10 – 4294967295 seconds) Default Configuration The default configuration is that no static binding exists. Command Mode Privileged EXEC mode. User Guidelines • After entering this command an entry is added to the DHCP snooping database.
Example The following example clears the DHCP binding database: Console# clear ip dhcp snooping database show ip dhcp snooping The show ip dhcp snooping User EXEC mode command displays the DHCP snooping configuration. Syntax • show ip dhcp snooping [ethernet interface | port-channel port-channel-number] • interface — Specifies an Ethernet port. • port-channel-number — Specifies a Port-channel number. Default Configuration This command has no default configuration. Command Mode User EXEC mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the DHCP snooping configuration.
User Guidelines There are no user guidelines for this command. Example The following example displays the DHCP snooping configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l .
10 Ethernet Configuration Commands interface ethernet The interface ethernet Global Configuration mode command enters the interface configuration mode to configure an Ethernet type interface. Syntax • interface ethernet interface • interface — Valid Ethernet port. (Full syntax: unit/port) Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • Commands under the interface range context are executed independently on each active interface in the range. If the command returns an error on one of the active interfaces, it does not stop executing commands on other active interfaces.
The following example restarts the disabled Ethernet port. Console(config)# interface ethernet 1/e5 Console(config-if)# no shutdown description The description Interface Configuration (Ethernet, port-channel) mode command adds a description to an interface. Use the no form of this command to remove the description. Syntax • description string • no description • string — Comment or a description of the port to enable the user to remember what is attached to the port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • speed {10 | 100 | 1000} • 10 — Forces 10 Mbps operation. • 100 — Forces 100 Mbps operation. • 1000 — Forces 1000 Mbps operation. Default Configuration Maximum port capability. Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines • There are no user guidelines for this command. Example The following example configures the speed operation of Ethernet port 1/e5 to 100 Mbps operation.
User Guidelines • When configuring a particular duplex mode on the port operating at 10/100 Mbps, disable the auto-negotiation on that port. • Half duplex mode can be set only for ports operating at 10 Mbps or 100 Mbps. Example The following example configures the duplex operation of Ethernet port 1/e5 to full duplex operation.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m flowcontrol The flowcontrol Interface Configuration (Ethernet, port-channel) mode command configures flow control on a given interface. Use the no form of this command to disable flow control. Syntax • flowcontrol {auto | on | off} • no flowcontrol • auto — Indicates auto-negotiation • on — Enables flow control. • off — Disables flow control. Default Configuration Flow control is off.
Default Configuration The default setting is on. Command Mode Interface Configuration (Ethernet) mode. User Guidelines • Auto: All possibilities to connect a PC with cross or normal cables are supported and are automatically detected. • On: It is possible to connect to a PC only with a normal cable and to connect to another device only with a cross cable. • No: It is possible to connect to a PC only with a cross cable and to connect to another device only with a normal cable.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example enables back pressure on port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# back-pressure clear counters The clear counters User EXEC mode command clears statistics on an interface. Syntax • clear counters [ethernet interface | port-channel port-channel-number] • interface — Valid Ethernet port. (Full syntax: unit/port) • port-channel-number — Valid port-channel number.
Command Mode Privileged EXEC mode. User Guidelines • This command is used to activate interfaces that were configured to be active, but were shutdown by the system for some reason (for example port security. Example The following example reactivates interface 1/e5. Console# set interface active ethernet 1/e5 show interfaces advertise The show interfaces advertise Privileged EXEC mode command displays autonegotiation data.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following examples display autonegotiation information.
Syntax • show interfaces configuration [ethernet interface | port-channel port-channel-number ] • interface — Valid Ethernet port. (Full syntax: unit/port) • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration. Command Modes Privileged EXEC mode. User Guidelines • To view information on autonegotiation capabilities, use the show interfaces advertise Privileged EXEC mode command.
w w w. d e l l . c o m | s u p p o r t . d e l l .
Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the status of all configured interface.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show interfaces description The show interfaces description Privileged EXEC mode command displays the description for all configured interfaces. Syntax • show interfaces description [ethernet interface | port-channel port-channel-number] • interface — Valid Ethernet port. (Full syntax: unit/port) • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration.
show interfaces counters The show interfaces counters User EXEC mode command displays traffic seen by the physical interface. Syntax • show interfaces counters [ethernet interface | port-channel port-channel-number] • interface — A valid Ethernet port. (Full syntax: unit/port) • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration. Command Modes Privileged EXEC mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Ch InOctets InUcastPkts InMcastPkts InBcastPkts --- -------- ---------- ----------- ----------- 1 27889 0 0 0 Ch OutOctets OutUcastPkts OutMcastPkts OutBcastPkts --- --------- ------------ ------------ ------------ 1 23739 0 0 0 The following example displays counters for Ethernet port 1/e1.
The following table describes the fields shown in the display. Field Description InOctets Counted received octets. InUcastPkts Counted received Unicast packets. InMcastPkts Counted received Multicast packets. InBcastPkts Counted received Broadcast packets. OutOctets Counted transmitted octets. OutUcastPkts Counted transmitted Unicast packets. OutMcastPkts Counted transmitted Multicast packets. OutBcastPkts Counted transmitted Broadcast packets.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Modes Interface Configuration (Ethernet) mode. User Guidelines • To control Multicasts storms, use the port storm-control broadcast enable and port stormcontrol broadcast rate commands. Example The following example enables counting Broadcast and Multicast packets on Ethernet port 2/e3.
Example The following example enables storm control on Ethernet port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# port storm-control broadcast enable port storm-control broadcast rate The port storm-control broadcast rate Interface Configuration (Ethernet) mode command configures the maximum Broadcast rate. Use the no form of this command to return to the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • show ports storm-control [interface] • interface — A valid Ethernet port. (Full syntax: unit/port) Default Configuration This command has no default configuration. Command Modes Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the storm control configuration.
11 GVRP Commands gvrp enable (Global) GARP VLAN Registration Protocol (GVRP) is an industry-standard protocol designed to propagate VLAN information from device to device. With GVRP, a single device is manually configured with all desired VLANs for the network, and all other devices on the network learn these VLANs dynamically. The gvrp enable Global Configuration mode command enables GVRP globally. Use the no form of this command to disable GVRP on the device.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • gvrp enable • no gvrp enable Default Configuration GVRP is disabled on all interfaces. Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines • An access port does not dynamically join a VLAN because it is always a member in only one VLAN. • Membership in an untagged VLAN is propagated in the same way as in a tagged VLAN. That is, the PVID is manually defined as the untagged VLAN VID.
Command Mode Interface configuration (Ethernet, port-channel) mode. User Guidelines • • The following relationship must be maintained between the timers: – Leave time must be greater than or equal to three times the join time. – Leave-all time must be greater than the leave time. Set the same GARP timer values on all Layer 2-connected devices. If the GARP timers are set differently on Layer 2-connected devices, the GARP application will not operate successfully.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example disables dynamic VLAN creation on Ethernet port 1/e6. console(config)# interface ethernet 1/e6 console(config-if)# gvrp vlan-creation-forbid gvrp registration-forbid The gvrp registration-forbid Interface Configuration (Ethernet, port-channel) mode command deregisters all dynamic VLANs on a port and prevents VLAN creation or registration on the port.
Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example clears all GVRP statistical information on Ethernet port 1/e6.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays GVRP configuration information: Console> show gvrp configuration GVRP Feature is currently enabled on the device.
Example The following example shows GVRP statistical information.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays GVRP statistical information.
12 IGMP Snooping Commands ip igmp snooping (Global) The ip igmp snooping Global Configuration mode command enables Internet Group Management Protocol (IGMP) snooping. Use the no form of this command to disable IGMP snooping. Syntax • ip igmp snooping • no ip igmp snooping Default Configuration IGMP snooping is disabled. Command Mode Global Configuration mode. User Guidelines • IGMP snooping can only be enabled on static VLANs. It must not be enabled on Private VLANs or their community VLANs.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration IGMP snooping is disabled. Command Mode Interface Configuration (VLAN) mode. User Guidelines • IGMP snooping can only be enabled on static VLANs. It must not be enabled on Private VLANs or their community VLANs. Example The following example enables IGMP snooping on VLAN 2.
ip igmp snooping host-time-out The ip igmp snooping host-time-out Interface Configuration (VLAN) mode command configures the host-time-out. If an IGMP report for a Multicast group was not received for a host-time-out period from a specific port, this port is deleted from the member list of that Multicast group. Use the no form of this command to return to the default configuration. Syntax • ip igmp snooping host-time-out time-out • no ip igmp snooping host-time-out • time-out — Host timeout in seconds.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default value is 300 seconds. Command Mode Interface Configuration (VLAN) mode. User Guidelines There are no user guidelines for this command. Example The following example configures the Multicast router timeout to 200 seconds.
Example The following example configures the host leave-time-out to 60 seconds. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping leave-time-out 60 ip igmp snooping querier enable The ip igmp snooping querier enable Interface Configuration mode command enables Internet Group Management Protocol (IGMP) querier on a specific VLAN. Use the no form of this command to disable IGMP querier on a VLAN interface.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example enables IGMP querier on VLAN 2. console# config console(config)# interface vlan 2 VLAN 2 does not exist. All settings will be applied to VLAN 2 when it is created.
Example The following example enables IGMP querier on a specific VLAN. console(config)# interface vlan 2 VLAN 2 does not exist. All settings will be applied to VLAN 2 when it is created. console(config-if-ghost-vlan)# ip igmp snooping querier enable console(config-if-ghost-vlan)# ip igmp snooping querier address % missing mandatory parameter console(config-if-ghost-vlan)# ip igmp snooping querier address 1.1.1.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays Multicast router interfaces in VLAN 1000. Console> Stack# show ip igmp snooping mrouter interface 1 VLAN Ports Static Forbidden ------ ------- ---------- ------------ 1 3/e41 show ip igmp snooping interface The show ip igmp snooping interface User EXEC mode command displays IGMP snooping configuration. Syntax • show ip igmp snooping interface vlan-id • vlan-id — VLAN number.
Example The example displays IGMP snooping information. Console # show ip igmp snooping interface 1000 IGMP Snooping is globally enabled IGMP Snooping admin: Enabled Hosts and routers IGMP version: 2 IGMP snooping oper mode: Enabled IGMP snooping querier admin: Enabled IGMP snooping querier oper: Enabled IGMP snooping querier address admin: IGMP snooping querier address oper: 172.16.1.1 IGMP host timeout is 300 sec IGMP Immediate leave is disabled.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode User EXEC mode. User Guidelines • To see the full Multicast Address Table (including static addresses) use the show bridge multicast address-table Privileged EXEC command. Example The following example shows IGMP snooping information on Multicast groups. Console> show ip igmp snooping groups Vlan IP Address Querier Ports ---- ------------------ -------- ------------ 1 224-239.130|2.2.3 Yes 1/e1, 2/e2 19 224-239.130|2.2.
13 IP Addressing Commands ip address The ip address Interface Configuration (Ethernet, VLAN, port-channel) mode command sets an IP address. Use the no form of this command to remove an IP address. Syntax ip address ip-address {mask | prefix-length} no ip address [ip-address] • ip-address — Valid IP address • mask — Valid network mask of the IP address. • prefix-length — Specifies the number of bits that comprise the IP address prefix. The prefix length must be preceded by a forward slash (/).
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m ip address dhcp The ip address dhcp Interface Configuration (Ethernet, VLAN, port-channel) mode command acquires an IP address for an Ethernet interface from the Dynamic Host Configuration Protocol (DHCP) server. Use the no form of this command to deconfigure an acquired IP address. Syntax • ip address dhcp [hostname host-name] • no ip address dhcp • host-name — Specifies the name of the host to be placed in the DHCP option 12 field.
Example The following example acquires an IP address for Ethernet port 1/e16 from DHCP. Console(config)# interface ethernet 1/e16 Console(config-if)# ip address dhcp ip default-gateway The ip default-gateway Global Configuration mode command defines a default gateway (router). Use the no form of this command to return to the default configuration. Syntax • ip default-gateway ip-address • no ip default-gateway • ip-address — Valid IP address of the default gateway.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example the displays the configured IP interfaces and their types. Console# show ip interface Gateway IP Address Type Activity status ------------------ ------ --------------- 10.7.1.
Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • The software uses ARP cache entries to translate 32-bit IP addresses into 48-bit hardware addresses. Because most hosts support dynamic resolution, static ARP cache entries do not generally have to be specified. Example The following example adds IP address 198.133.219.232 and MAC address 00:00:0c:40:0f:bc to the ARP table. Console(config)# arp 198.133.219.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example configures the ARP timeout to 12000 seconds. Console(config)# arp timeout 12000 clear arp-cache The clear arp-cache Privileged EXEC mode command deletes all dynamic entries from the ARP cache. Syntax • clear arp-cache Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command.
Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays entries in the ARP table. Console# show arp ARP timeout: 80000 Seconds Interface IP address HW address Status --------- ---------- ----------------- ------- 1/e1 10.7.1.102 00:10:B5:04:DB:4B Dynamic 2/e2 10.7.1.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example enables IP Domain Naming System (DNS)-based host name-to-address translation. Console(config)# ip domain-lookup ip domain-name The ip domain-name Global Configuration mode command defines a default domain name used by the software to complete unqualified host names (names without a dotted-decimal domain name). Use the no form of this command to remove the default domain name.
Syntax • ip name-server server-address [server-address2 … server-address8] • no ip name-server [server-address1 … server-address8] • server-address — Specifies IP addresses of the name server. Default Configuration No name server addresses are specified. Command Mode Global Configuration mode. User Guidelines • The preference of the servers is determined by the order in which they were entered. • Up to 8 servers can be defined using one command or using multiple commands.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example defines a static host name-to-address mapping in the host cache. Console(config)# ip host accounting.dell.com 176.10.23.1 clear host The clear host Privileged EXEC mode command deletes entries from the host name-to-address cache. Syntax • clear host {name | *} • name — Specifies the host entry to be removed. (Range: 1 - 158 characters) • * — Removes all entries.
Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • This command deletes the host name-to-address mapping temporarily until the next renewal of the IP address. Examples The following example deletes all entries from the host name-to-address mapping.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example displays host information. Console# show hosts Host name: Device Default domain is gm.com, sales.gm.com, usa.sales.gm.com(DHCP) Name/address lookup is enabled Name servers (Preference order): 176.16.1.18 176.16.1.19 Configured host name-to-address mapping: Host Addresses ---- --------- accounting.gm.com 176.16.8.8 176.16.8.
14 FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm IPv6 Addressing ipv6 enable The ipv6 enable Interface Configuration mode command enables IPv6 processing on an interface. Use the no form of this command to disable IPv6 processing on an interface. Syntax • ipv6 enable [no-autoconfig] • no ipv6 enable – no-autoconfig — Enables IPv6 processing on an interface without a stateless address autoconfiguration procedure.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Syntax • ipv6 address autoconfig • no ipv6 address autoconfig Default Configuration Address autoconfiguration is enabled on the interface, no addresses are assigned by default. Command Mode Interface Configuration (Ethernet, VLAN, Port-channel) mode.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Command Mode Global Configuration mode. User Guidelines • To set the average icmp error rate limit, calculate the interval by the following formula: Average Packets Per Second = (1/ interval) * bucket size Example The following example configures the rate limit interval to 200ms and bucket size to 20 tokens for IPv6 Internet Control Message Protocol (ICMP) error messages.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Syntax • ipv6 address ipv6-address/prefix-length [eui-64] [anycast] • no ipv6 address [ipv6-address/prefix-length] [eui-64] • ipv6-address — The IPv6 network assigned to the interface. The address is specified in hexadecimal using 16-bit values between colons. • prefix-length — The length of the IPv6 prefix.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm • ipv6-address — The IPv6 network address assigned to the interface. The address is specified in hexadecimal using 16-bit values between colons. Default Configuration IPv6 is enabled on the interface. Link local address of the interface is FE80::EUI64 (interface MAC address). Command Mode Interface configuration (Ethernet, VLAN, Port-channel).
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Command Mode Interface configuration mode (Ethernet, VLAN, Port-channel). User Guidelines • If a packet addressed to one of the interface's IP address with TCP/UDP port not assigned is received, and ICMP unreachable messages is enabled, the device sends an ICMP unreachable message.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm • Configuring a new default GW without deleting the previous configured information overwrites the previous configuration. • A configured default GW has a higher precedence over automatically advertised (via router advertisement message). • If the egress interface is not specified, the default interface will be selected. Specifying interface zone=0 is equal to not defining an egress interface.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Syntax • ipv6 mld version {1 | 2} • no ipv6 mld version – 1 — Specifies MLD version 1. – 2 — Specifies MLD version 2. Default Configuration MLD version 2. Command Mode Interface configuration (Ethernet, VLAN, Port-channel). User Guidelines • There are no user guidelines for this command. Example The following example defines an IPv6 default gateway.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Examples The following examples displays the usability status of interfaces configured for IPv6.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Default Configuration This command has no default setting. Command Mode Privileged EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example displays the current state of the IPv6 routing table. Console> show ipv6 route Codes: L - Local, S - Static, I - ICMP, ND - Router Advertisment The number in the brackets is the metric.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm • attempts-number — The number of neighbor solicitation messages. Configuring a value of 0 disables duplicate address detection processing on the specified interface; a value of 1 configures a single transmission without follow-up transmissions. (Range: 0 - 600) Default Configuration Duplicate address detection on unicast IPv6 addresses with the sending of one (1) neighbor solicitation message is enabled.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm ipv6 host The ipv6 host Global Configuration mode command defines a static host name-to-address mapping in the host name cache. Use the no form of this command to remove the host name-to-address mapping. Syntax • ipv6 host name ipv6-address1 [ipv6-address2...ipv6-address4] • no ipv6 host name • name — Name of the host. (Range: 1 - 158 characters) • ipv6-address1 — Associated IPv6 address.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm • no ipv6 neighbor ipv6_addr {ethernet interface-number | vlan vlan-id | port-channel number} – ipv6_addr — IPv6 address to map to the specified MAC address. – hw_addr — MAC address to map to the specified IPv6 address. – ethernet interface-number — Valid port number. – vlan vlan-id — VLAN number. – port-channel number — Port channel number.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm Default Configuration 1500 bytes. Command Mode Privileged EXEC mode. User Guidelines This command is intended for debugging and testing purposes and should be used only by technical support personnel. Example The following example sets the Maximum Transmission Unit (MTU) size of IPv6 packets sent on an interface to 1700.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm REACH (Reachable) — Positive confirmation was received within the last ReachableTime milliseconds that the forward path to the neighbor was functioning properly. While REACHABLE, no special action takes place as packets are sent. STALE — More than ReachableTime milliseconds have elapsed since the last positive confirmation was received that the forward path was functioning properly.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.fm User Guidelines • There are no user guidelines for this command. Example The following example deletes all entries in the IPv6 neighbor discovery cache, except static entries.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\IPv6Addressing.
15 LACP Commands lacp system-priority The lacp system-priority Global Configuration mode command configures the system priority. Use the no form of this command to return to the default configuration. Syntax • lacp system-priority value • no lacp system-priority • value — Specifies system priority value. (Range: 1 - 65535) Default Configuration The default system priority is 1. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default port priority is 1. Command Mode Interface Configuration (Ethernet) mode. User Guidelines There are no user guidelines for this command. Example The following example defines the priority of Ethernet port 1/e6 as 247.
show lacp ethernet The show lacp ethernet Privileged EXEC mode command displays LACP information for Ethernet ports. Syntax • show lacp ethernet interface [parameters | statistics | protocol-state] • interface — Valid Ethernet port. (Full syntax: unit/port) • parameters — Link aggregation parameter information. • statistics — Link aggregation statistics information. • protocol-state — Link aggregation protocol-state information. Default Configuration This command has no default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l .
Port 1/e1 LACP Protocol State: LACP State Machines: Receive FSM: Port Disabled State Mux FSM: Detached State Periodic Tx FSM: No Periodic State Control Variables: BEGIN: FALSE LACP_Enabled: TRUE Ready_N: FALSE Selected: UNSELECTED Port_moved: FALSE NNT: FALSE Port_enabled: FALSE Timer counters: periodic tx timer: 0 current while timer: 0 wait while timer: 0 show lacp port-channel The show lacp port-channel Privileged EXEC mode command displays LACP information for a port-channel.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays LACP information about port-channel 1.
16 Line Commands line The line Global Configuration mode command identifies a specific line for configuration and enters the Line Configuration command mode. Syntax • line {console | telnet | ssh} • console — Console terminal line. • telnet — Virtual terminal for remote console access (Telnet). • ssh — Virtual terminal for secured remote console access (SSH). Default Configuration This command has no default configuration. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • speed bps • bps — Baud rate in bits per second (bps). Possible values are 2400, 4800, 9600, 19200, 38400, 57600 and 115200. Default Configuration The default speed is 9600 bps. Command Mode Line Configuration (console) mode. User Guidelines • This command is available only on the line console. • The configured speed is applied when Autobaud is disabled. This configuration applies only to the current session.
User Guidelines • This command is available only on the line console. • To start communication using Autobaud, press twice. This configuration applies only to the current session. Examples The following example enables autobaud. Console(config)# line console Console(config-line)# autobaud exec-timeout The exec-timeout Line Configuration mode command sets the interval that the system waits until user input is detected. Use the no form of this command to return to the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m history The history Line Configuration mode command enables the command history function. Use the no form of this command to disable the command history function. Syntax • history • no history Default Configuration The command history function is enabled. Command Mode Line Configuration mode. User Guidelines • This command enables the command history function for a specified line.
Command Mode Line Configuration mode. User Guidelines This command configures the command history buffer size for a particular line. To configure the command history buffer size for the current terminal session, use the terminal history size User EXEC mode command. Example The following example changes the command history buffer size to 100 entries for a particular line.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • terminal history size number-of-commands • no terminal history size • number-of-commands — Specifies the number of commands the system may record in its command history buffer. (Range: 10 - 256) Default Configuration The default command history buffer size is 10. Command Mode User EXEC mode.
User Guidelines There are no user guidelines for this command. Examples The following example displays the line configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l .
17 Management ACL management access-list The management access-list Global Configuration mode command configures a management access list and enters the Management Access-list Configuration command mode. Use the no form of this command to delete an access list. Syntax • management access-list name • no management access-list name • name — Access list name. (Range: 1-32 characters) Default Configuration This command has no default configuration. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example creates a management access list called mlist, configures management Ethernet interfaces 1/e1 and 2/e9 and makes the new access list the active list.
• mask mask — A valid network mask of the source IP address. • mask prefix-length — Number of bits that comprise the source IP address prefix. The prefix length must be preceded by a forward slash (/). (Range: 0 - 32) • service service — Service type. Possible values: telnet, ssh, http, https and snmp. Default Configuration If no permit rule is defined, the default is set to deny. Command Mode Management Access-list Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • mask prefix-length — Specifies the number of bits that comprise the source IP address prefix. The prefix length must be preceded by a forward slash (/). (Range: 0-32) • service service — Service type. Possible values: telnet, ssh, http, https and snmp. Default Configuration This command has no default configuration. Command Mode Management Access-list Configuration mode.
User Guidelines There are no user guidelines for this command. Example The following example configures an access list called mlist as the management access list. Console(config)# management access-class mlist show management access-list The show management access-list Privileged EXEC mode command displays management access-lists. Syntax • show management access-list [name] • name — Specifies the name of a management access list.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show management access-class The show management access-class Privileged EXEC mode command displays the active management access list. Syntax • show management access-class Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays information about the active management access list.
18 LLDP Commands lldp enable (global) The lldp enable Global Configuration mode command in enables Link Layer Discovery Protocol (LLDP). Use the no form of this command to disable LLDP. Syntax • lldp enable • no lldp enable Default Configuration The command is enabled. Command Mode Global Configuration mode. User Guidelines • There are no guidelines for this command. Example The following example enables Link Layer Discovery Protocol (LLDP) .
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration Enabled in both modes. Command Modes Interface Configuration (Ethernet)mode. User Guidelines • LLDP manages LAG ports individually. LLDP sends separate advertisements on each port in a LAG. LLDP data received through LAG ports is stored individually per port. • LLDP operation on a port is not dependent on STP state of a port. I.e. LLDP frames are sent and received on blocked ports. If a port is controlled by 802.
Examples The following example specifies how often the software sends Link Layer Discovery Protocol (LLDP) updates. Console (config) # lldp timer lldp hold-multiplier The lldp hold-multiplier Global Configuration mode command specifies the amount of time the receiving device holds a Link Layer Discovery Protocol (LLDP) packet before discarding it. Use the no form of this command to revert to the default setting.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • lldp reinit-delay seconds • no lldp reinit-delay • seconds — Specifies the minimum time in seconds an LLDP port waits before reinitializing LLDP transmission. (Range 1-10 seconds) Default Configuration 2 seconds Command Modes Global Configuration mode. User Guidelines • There are no user guidelines for this command.
Usage Guidelines • It is recommended that the TxDelay be less than 0.25 of the LLDP timer interval. Examples The following example specifies the delay between successive LLDP frame transmissions initiated by value/status changes in the LLDP local systems MIB. Console (config) # lldp tx-delay 7 lldp optional-tlv To specify which optional TLVs from the basic set should be transmitted, use the lldp optional-tlv command in interface configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • lldp management-address ip ip-address • no management-address ip • ip-address — Specifies the management address to advertise. Default Configuration No IP address is advertised. Command Modes Interface configuration (Ethernet) mode. User Guidelines • Each port can advertise one IP address. • Only static IP addresses can be advertised.
User Guidelines There are no user guidelines for this command. Example The following example enables Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery (MED) on an interface as network-policy. Console(config)# interface ethernet g1 Console(config-if)# lldp med enable network-policy lldp med network-policy (global) The lldp med network-policy Global Configuration mode command defines LLDP MED network policy. Use the no form of this command to remove LLDP MED network policy.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example defines the LLDP MED network policy. To remove LLDP MED network policy. Console(config)# lldp tx-delay lldp med network-policy (interface) The lldp med network-policy Interface Configuration (Ethernet) mode command attaches a LLDP MED network policy to a port. Use the no form of this command to remove an LLDP MED network policy from a port.
Syntax • lldp med location coordinate data • no lldp med location coordinate • lldp med location civic-address data • no lldp med location civic-address • lldp med location ecs-elin data • no lldp med location ecs-elin • coordinate — The location is specified as coordinates • civic-address — The location is specified as civic address • ecs-elin — The location is specified as ECS ELIN • data — The data format is as defined in ANSI/TIA 1057.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • clear lldp rx [ethernet interface] • Interface — Ethernet port Command Modes Privileged EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example restarts the LLDP RX state machine and clearing the neighbors table.
Example The following example displays the Link Layer Discovery Protocol (LLDP) configuration. console# show lldp configuration Timer: 30 Seconds Hold multiplier: 4 Reinit delay: 2 Seconds Tx delay: 2 Seconds Port State Optional TLVs Address 1/e1 RX, TX PD, SN, SD, SC 172.16.1.1 1/e2 TX PD, SN 172.16.1.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery (MED) configuration.
User Guidelines • There are no user guidelines for this command. Example The following example displays the Link Layer Discovery Protocol (LLDP) information that is advertised from a specific port. console# show lldp local ethernet 1/e1 Device ID: 0060.704C.73FF Port ID: 1 Capabilities: Bridge System Name: ts-7800-1 System description: Port description: Management address: 172.16.1.8 802.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show lldp neighbors Syntax • show lldp neighbors [ethernet interface] • Interface — Ethernet port Command Modes Privileged EXEC mode. User Guidelines There are no user guidelines for this command. User Guidelines • There are no user guidelines for this command. Example The following example displays information about neighboring devices discovered using Link Layer Discovery Protocol (LLDP).
---- ------ ---- ------ ------- -------- e1 0060.704C.73FE 1 117 B ts-7800-2 e1 0060.704C.73FD 1 93 B ts-7800-2 e2 0060.704C.73F C 9 1 B, R ts-7900-1 e3 0060.704C.73FB 92 W ts-7900-2 1 console# show lldp neighbors ethernet g1 Device ID: 0060.704C.73FE Port ID: 1 Hold Time: 117 Capabilities: B System Name: ts-7800-2 System description: Port description: Management address: 172.16.1.
w w w. d e l l . c o m | s u p p o r t . d e l l .
19 FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm Login Banner banner exec The banner exec Global Configuration mode command specifies and enables a message to be displayed when an EXEC process is created (The user has successfully logged in). Use the no form of this command to delete the existing EXEC banner. Syntax • banner exec d message d • no banner exec • d — Delimiting character, for example a pound sign (#).
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm $(inverse) Indicates that the next text is an inverse text. Using this token again indicates the end of the inverse text. $(contact) Displays the system contact string. $(location) Displays the system location string. $(mac-address) Displays the base MAC address of the device. • To disable the EXEC banner on a particular line or lines, use the no exec-banner line configuration command.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm • message — Message text. The message must start in a new line and can be a multi-line message. Tokens in the form $(token) in the message text can be included. Tokens are replaced with the corresponding configuration variable. Tokens are described in the usage guidelines. Default Configuration Disabled (no Login banner is displayed). Command Mode Global Configuration mode.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm Example The following example sets a Login banner that uses tokens. The percent sign (%) is used as a delimiting character. Notice that the $(token) syntax is replaced by the corresponding configuration variable. Console (config)# banner login % Enter TEXT message. End with the character '%'. You have entered $(hostname).
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm • When a user connects to a device, the message-of-the-day (MOTD) banner appears first, followed by the login banner and prompts. After the user logs in to the device, the EXEC banner is displayed. • To customize the banner, use tokens in the form $(token) in the message text. The following table displays the tokens. Token Information displayed in the banner $(hostname) Displays the host name for the device.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm exec-banner The exec-banner Line Configuration mode command enables the display of exec banners. Use the no form of this command to disable the display of exec banners. Syntax • exec-banner • no exec-banner Default Configuration Enabled Command Mode Line Configuration mode User Guidelines • There are no user guidelines for this command. Example The following example enables the display of exec banners.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm Example The following example enables the display of login banners. Console# Console (config)# line console Console(config-line)# login-banner motd-banner The motd-banner Line Configuration mode command enables the display of message-of-the-day banners. Use the no form of this command to disable the display of motd banners.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Banner.fm Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example displays the banners configuration.
20 PHY Diagnostics Commands test copper-port tdr The test copper-port tdr Privileged EXEC mode command uses Time Domain Reflectometry (TDR) technology to diagnose the quality and characteristics of a copper cable attached to a port. Syntax • test copper-port tdr interface • interface — A valid Ethernet port. (Full syntax: unit/port) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show copper-ports tdr The show copper-ports tdr User EXEC mode command displays information on the last Time Domain Reflectometry (TDR) test performed on copper ports. • show copper-ports tdr [interface] • interface — A valid Ethernet port. (Full syntax: unit/port) Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines • The maximum length of the cable for the TDR test is 120 meter.
Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines • The port must be active and working in 100M or 1000M mode. Example The following example displays the estimated copper cable length attached to all ports.
w w w. d e l l . c o m | s u p p o r t . d e l l .
21 Power over Ethernet Commands power inline The port inline Interface Configuration (Ethernet) mode command configures the administrative mode of inline power on an interface. Syntax • power inline {auto | never} • auto — Enables the device discovery protocol and, if found, supplies power to the device. • never — Disables the device discovery protocol and stops supplying power to the device. Default Configuration The device discovery protocol is enabled.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • power inline powered-device pd-type • no power inline powered-device • pd-type — Specifies the type of powered device attached to the interface. (Range: 1 - 24 characters) Default Configuration This command has no default configuration. Command Mode Interface Configuration (Ethernet) mode. User Guidelines There are no user guidelines for this command.
User Guidelines • An unlimited number of ports can be configured as critical, high or low. • As power becomes unavailable, critical and high ports continue to receive power at the expense of low ports. Example The following example configures the device connected to Ethernet interface 1/e1 as a highpriority powered device.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m power inline traps enable The power inline traps enable Global Configuration mode command enables inline power traps. Use the no form of this command to disable inline power traps. Syntax • power inline traps enable • no power inline traps Default Configuration Inline power traps are disabled. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command.
Example The following example displays information about inline power.
w w w. d e l l . c o m | s u p p o r t . d e l l .
2/e23 Auto Searching low class0 2/e24 Auto Searching low class0 2/e25 Auto Searching low class0 2/e26 Auto Searching low class0 2/e27 Auto Searching low class0 2/e28 Auto Searching low class0 2/e29 Auto Searching low class0 2/e30 Auto Searching low class0 2/e31 Auto Searching low class0 2/e32 Auto Searching low class0 2/e33 Auto Searching low class0 2/e34 Auto Searching low class0 2/e35 Auto Searching low class0 2/e36 Auto Searching low cl
w w w. d e l l . c o m | s u p p o r t . d e l l .
6/e5 Auto Off low class0 6/e6 Auto Off low class0 6/e7 Auto Off low class0 6/e8 Auto Off low class0 6/e9 Auto Off low class0 6/e10 Auto Off low class0 6/e11 Auto Off low class0 6/e12 Auto Off low class0 6/e13 Auto Off low class0 6/e14 Auto Off low class0 6/e15 Auto Off low class0 6/e16 Auto Off low class0 6/e17 Auto Off low class0 6/e18 Auto Off low class0 The following table describes the significant fields shown in the example: Field D
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Status Describes the inline power operational status of the port. Can be: On, Off, Test-Fail, Testing, Searching or Fault. Class The power consumption range of the powered device. Can be:Class 0 (0.44 – 12.95), Class 1 (0.44 – 3.84), Class 2 (3.84 – 6.49) or Class 3 (6.49 – 12.95). Overload Counter Counts the number of overload conditions that has been detected. Short Counter Counts the number of short conditions that has been detected.
22 Port Channel Commands interface port-channel The interface port-channel Global Configuration mode command enters the interface configuration mode to configure a specific port-channel. Syntax • interface port-channel port-channel-number • port-channel-number — A valid port-channel number. Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • Eight aggregated links can be defined with up to eight member ports per port-channel.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m interface range port-channel The interface range port-channel Global Configuration mode command enters the interface configuration mode to configure multiple port-channels. Syntax • interface range port-channel {port-channel-range | all} • port-channel-range — List of valid port-channels to add. Separate non-consecutive port-channels with a comma and no spaces. A hyphen designates a range of port-channels. • all — All valid port-channels.
channel-group The channel-group Interface Configuration (Ethernet) mode command associates a port with a port-channel. Use the no form of this command to remove a port from a port-channel. Syntax • channel-group port-channel-number mode {on | auto} • no channel-group • port-channel_number — Specifies the number of the valid port-channel for the current port to join. • on — Forces the port to join a channel without an LACP operation.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show interfaces port-channel The show interfaces port-channel Privileged EXEC mode command displays port-channel information. Syntax • show interfaces port-channel [port-channel-number] • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command.
23 Port Monitor Commands port monitor The port monitor Interface Configuration Ethernet mode command starts a port monitoring session. Use the no form of this command to stop a port monitoring session. Syntax • port monitor src-interface [rx | tx] • no port monitor src-interface • src-interface — Valid Ethernet port. (Full syntax: unit/port) • rx — Monitors received packets only. • tx — Monitors transmitted packets only. Default Configuration Monitors both received and transmitted packets.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • The following restrictions apply to ports configured to be source ports: • Port monitoring Source Ports must be simple ports, and not port-channels. • The port cannot be already configured as a destination port. • All the frames are transmitted as either always tagged or always untagged. General Restrictions: • Ports cannot be configured as a group using the interface range ethernet command.
Example The following example shows how the port monitoring status is displayed. console# config console(config)# int ether 1/e2 console(config-if)# port monitor 1/e3 console(config-if)# port monitor 1/e4 console(config-if)# port monitor 1/e5 console(config-if)# port monitor 1/e6 console(config-if)# port monitor 1/e7 Too many monitoring sessions.
w w w. d e l l . c o m | s u p p o r t . d e l l .
24 QoS Commands qos The qos Global Configuration mode command enables quality of service (QoS) on the device. Use the no form of this command to disable QoS on the device. Syntax • qos [basic ] • no qos • basic — QoS basic mode. Default Configuration QoS is disabled on the device. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example enables QoS on the device.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays QoS attributes when QoS is disabled on the device. console# show qos Qos: basic Basic trust: vpt console# priority-queue out num-of-queues The priority-queue out num-of-queues Global Configuration mode command configures the number of expedite queues.
Example The following example configures the number of expedite queues as 0. Console(config)# priority-queue out num-of-queues 0 traffic-shape The traffic-shape Interface Configuration (Ethernet, Port-Channel) mode command sets the shaper on an egress port. Use the no form of this command to disable the shaper. Syntax • traffic-shape committed-rate • no traffic-shape • committed-rate — Specifies the average traffic rate (CIR) in kbps.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default configuration is disabled. Command Mode Interface Configuration (Ethernet) mode. User Guidelines • The command can be enabled on a specific port only if port storm-control broadcast enable interface configuration command is not enabled on that port. Example The following example limits the rate of the incoming traffic on Ethernet port 1/e15 to 1000kpbs.
Command Mode Global Configuration mode. User Guidelines • There are no user guidelines for this command. Example The following example maps CoS 7 to queue 2. Console(config)# wrr-queue cos-map 2 7 show qos interface The show qos interface User EXEC mode command displays interface QoS information.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example displays QoS information about Ethernet port 1/e11.
Ethernet e2 wrr bandwidth weights and EF priority: qid weights Ef Priority 1 N/A ena 1 2 N/A ena 2 3 N/A ena 3 4 N/A ena 4 Cos-queue map: 0 2 1 1 2 1 3 2 4 3 5 3 6 4 7 4 qos map dscp-queue The qos map dscp-queue Global Configuration mode command modifies the DSCP to queue map. Use the no form of this command to return to the default map.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines There are no user guidelines for this command. Example The following example maps DSCP values 33, 40 and 41 to queue 1. Console(config)# qos map dscp-queue 33 40 41 to 1 qos trust (Global) The qos trust Global Configuration mode command configures the system to the basic mode and trust state. Use the no form of this command to return to the untrusted state.
qos cos The qos cos Interface Configuration (Ethernet, Port-channel) mode command defines the default CoS value of a port. Use the no form of this command to return to the default configuration. Syntax • qos cos default-cos • no qos cos • default-cos — Specifies the default CoS value of the port. (Range: 0 - 7) Default Configuration Default CoS value of a port is 0. Command Mode Interface Configuration (Ethernet, Port-channel) mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines There are no user guidelines for this command.
Example The following example displays the DSCP port-queue map. Console> show qos map Dscp-queue map: d1 : d2 0 1 2 3 4 5 6 7 8 9 -----------------------------------0 : 01 01 01 01 01 01 01 01 01 01 1 : 01 01 01 01 01 01 02 02 02 02 2 : 02 02 02 02 02 02 02 02 02 02 3 : 02 02 03 03 03 03 03 03 03 03 4 : 03 03 03 03 03 03 03 03 04 04 5 : 04 04 04 04 04 04 04 04 04 04 6 : 04 04 04 04 The following table describes the significant fields shown above.
w w w. d e l l . c o m | s u p p o r t . d e l l .
25 RADIUS Commands radius-server host The radius-server host Global Configuration mode command specifies a RADIUS server host. Use the no form of this command to delete the specified RADIUS host. Syntax • radius-server host {ip-address | hostname} [auth-port auth-port-number] [timeout timeout] [retransmit retries] [deadtime deadtime] [key key-string] [source source] [priority priority] [usage type] • no radius-server host {ip-address | hostname} • ip-address — IP address of the RADIUS server host.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration No RADIUS server host is specified. The port number for authentication requests is 1812. The usage type is all. Command Mode Global Configuration mode. User Guidelines • To specify multiple hosts, multiple radius-server host commands can be used. • If no host-specific timeout, retries, deadtime or key-string values are specified, global values apply to each RADIUS server host.
User Guidelines There are no user guidelines for this command. Example The following example defines the authentication and encryption key for all RADIUS communications between the device and the RADIUS daemon. Console(config)# radius-server key dell-server radius-server retransmit The radius-server retransmit Global Configuration mode command specifies the number of times the software searches the list of RADIUS server hosts. Use the no form of this command to reset the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • radius-server source-ip source • no radius-source-ip source • source — Specifies a valid source IP address. Default Configuration The source IP address is the IP address of the outgoing IP interface. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example configures the source IP address used for communication with RADIUS servers to 10.1.1.1.
Example The following example configures the source IPv6 address used for communication with RADIUS servers. Console (config)# radius-server source-ipv6 3156::98 radius-server timeout The radius-server timeout Global Configuration mode command sets the interval during which the device waits for a server host to reply. Use the no form of this command to return to the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • deadtime — Length of time in minutes during which a RADIUS server is skipped over by transaction requests. (Range: 0 - 2000) Default Configuration The deadtime setting is 0. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example sets the deadtime to 10 minutes.
Examples The following example displays RADIUS server settings. Console# show radius-servers IP address Port Auth TimeOut Retransmit DeadTime Source IP Priority Usage --------- ---- ------- ---------- ------ -------- -------- ----- 172.16.1.1 1645 Global Global Global - 1 All 172.16.1.2 1645 11 8 Global Global 2 All Global values ------------TimeOut: 3 Retransmit: 3 Deadtime: 0 Source IP: 172.16.8.
w w w. d e l l . c o m | s u p p o r t . d e l l .
26 RMON Commands show rmon statistics The show rmon statistics User EXEC mode command displays RMON Ethernet statistics. Syntax • show rmon statistics {ethernet interface number | port-channel port-channel-number} • interface number — Valid Ethernet port. • port-channel-number — Valid port-channel number. Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m The following table describes significant fields shown above: Field Description Octets The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). Packets The total number of packets (including bad packets, Broadcast packets, and Multicast packets) received. Broadcast The total number of good packets received and directed to the Broadcast address.
512 to 1023 Octets The total number of packets (including bad packets) received that are between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets). 1024 to 1632 Octets The total number of packets (including bad packets) received that are between 1024 and 1632 octets in length inclusive (excluding framing bits but including FCS octets).
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example enables a Remote Monitoring (RMON) MIB history statistics group on Ethernet port 1/e1 with index number 1 and a polling interval period of 2400 seconds. Console(config)# interface ethernet 1/e1 Console(config-if)# rmon collection history 1 interval 2400 show rmon collection history The show rmon collection history User EXEC mode command displays the requested RMON history group statistics.
The following table describes significant fields shown above: Field Description Index An index that uniquely identifies the entry. Interface The sampled Ethernet interface Interval The interval in seconds between samples. Requested Samples The requested number of samples to be saved. Granted Samples The granted number of samples to be saved. Owner The entity that configured this entry. show rmon history The show rmon history User EXEC mode command displays RMON Ethernet history statistics.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following examples displays RMON Ethernet history statistics for index 1.
Console> show rmon history 1 other Sample Set: 1 Owner: Me Interface: 1/e1 Interval: 1800 Requested samples: 50 Granted samples: 50 Maximum table size: 500 Time Dropped Collisions -------------------- -------- ---------- Jan 18 2002 21:57:00 3 0 Jan 18 2002 21:57:30 3 0 The following table describes significant fields shown above: Field Description Time Date and Time the entry is recorded.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Fragments The total number of packets received during this sampling interval that were less than 64 octets in length (excluding framing bits but including FCS octets) had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error), or a bad FCS with a non-integral number of octets (AlignmentError).
• type — Specifies the method used for sampling the selected variable and calculating the value to be compared against the thresholds. Possible values are absolute and delta. If the method is absolute, the value of the selected variable is compared directly with the thresholds at the end of the sampling interval. If the method is delta, the selected variable value of the last sample is subtracted from the current value, and the difference is compared with the thresholds.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show rmon alarm-table The show rmon alarm-table User EXEC mode command displays the alarms table. Syntax • show rmon alarm-table Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the alarms table. Console> show rmon alarm-table Index OID Owner ----- ---------------------- -------------- 1 1.3.
• number — Specifies the alarm index. (Range: 1 - 65535) Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays RMON 1 alarms. Console> show rmon alarm 1 Alarm 1 ------OID: 1.3.6.1.2.1.2.2.1.10.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. Sample Type The method of sampling the variable and calculating the value compared against the thresholds. If the value is absolute, the value of the variable is compared directly with the thresholds at the end of the sampling interval.
Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • If log is specified as the notification type, an entry is made in the log table for each event. If trap is specified, an SNMP trap is sent to one or more management stations. Example The following example configures an event identified as index 10 and for which the device generates a notification in the log table.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the RMON event table.
Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the RMON log table.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m rmon table-size The rmon table-size Global Configuration mode command configures the maximum size of RMON tables. Use the no form of this command to return to the default configuration. Syntax • rmon table-size {history entries | log entries} • no rmon table-size {history | log} • history entries — Maximum number of history table entries. (Range: 20 - 270) • log entries — Maximum number of log table entries.
27 SNMP Commands snmp-server community The snmp-server community Global Configuration mode command configures the community access string to permit access to the SNMP protocol. Use the no form of this command to remove the specified community string.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • The view-name parameter cannot be specified for su, which has access to the whole MIB. • The view-name parameter can be used to restrict the access rights of a community string. When it is specified: • • – An internal security name is generated. – The internal security name for SNMPv1 and SNMPv2 security models is mapped to an internal group name.
• included — Indicates that the view type is included. • excluded — Indicates that the view type is excluded. Default Configuration No view entry exists. Command Mode Global Configuration mode. User Guidelines • This command can be entered multiple times for the same view record. • The number of views is limited to 64 including pre-configured views. • No check is made to determine that a MIB node corresponds to the "starting portion" of the OID until the first wildcard.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example creates a view that includes all objects in the MIB-II system group except for sysServices (System 7) and all objects for interface 1 in the MIB-II interface group. Console(config)# snmp-server view user-view system included Console(config)# snmp-server view user-view system.7 excluded Console(config)# snmp-server view user-view ifEntry.*.
Default Configuration No group entry exists. Command Mode Global Configuration mode. User Guidelines The index of the group name table is comprised of Group Name, Security Model, and Security Level. Different views for the same group can be defined with different security levels. For example, after having created the appropriate views, a group can be created for which "no authentication" is required, while allowing only notification view for "interfaces".
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • auth-md5 password — Indicates the HMAC-MD5-96 authentication level. The user should enter a password for authentication and generation of a DES key for privacy. (Range: 1 - 32 characters) • auth-sha password — Indicates the HMAC-SHA-96 authentication level. The user should enter a password for authentication and generation of a DES key for privacy.
snmp-server engineID local The snmp-server engineID local Global Configuration mode command specifies the Simple Network Management Protocol (SNMP) engineID on the local device. Use the no form of this command to remove the configured engine ID. Syntax • snmp-server engineID local {engineid-string | default} • no snmp-server engineID local • engineid-string — Specifies a character string that identifies the engine ID.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • Changing the value of the engine ID has the following important side-effect. A user's password (entered on the command line) is converted to an MD5 or SHA security digest. This digest is based on both the password and the local engine ID. The user’s command line password is then destroyed, as required by RFC 2274.
snmp-server filter The snmp-server filter Global Configuration mode command creates or updates a Simple Network Management Protocol (SNMP) server filter entry. Use the no form of this command to remove the specified SNMP server filter entry. Syntax • snmp-server filter filter-name oid-tree {included | excluded} • no snmp-server filter filter-name [oid-tree] • filter-name — Specifies the label for the filter record that is being updated or created. The name is used to reference the record.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m snmp-server host The snmp-server host Global Configuration mode command specifies the recipient of Simple Network Management Protocol Version 1 or Version 2 notifications. Use the no form of this command to remove the specified host.
User Guidelines • When configuring an SNMPv1 or SNMPv2 notification recipient, a notification view for that recipient is automatically generated for all the MIB. • When configuring an SNMPv1 notification recipient, the Inform option cannot be selected. • If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • traps — Indicates that SNMP traps are sent to this host. • informs — Indicates that SNMP informs are sent to this host. • noauth — Indicates no authentication of a packet. • auth — Indicates authentication of a packet without encrypting it. • priv — Indicates authentication of a packet with encryption. • port — Specifies the UDP port of the host to use. If unspecified, the default UDP port number is 162.
Example The following example configures an SNMPv3 host. console(config)# snmp-server v3-host 192.168.0.20 john noauth snmp-server trap authentication The snmp-server trap authentication Global Configuration mode command enables the device to send SNMP traps when authentication fails. Use the no form of this command to disable SNMP failed authentication traps.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • Do not include spaces in the text string or place text that includes spaces inside quotation marks. Example The following example configures the system contact point called Dell_Technical_Support.
Syntax • snmp-server set variable-name name1 value1 [ name2 value2 …] • variable-name — MIB variable name. • name value — List of name and value pairs. In the case of scalar MIBs, only a single pair of name values. In the case of an entry in a table, at least one pair of name and value followed by one or more fields. Default Configuration This command has no default configuration. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the SNMP communications status. Console# show snmp CommunityAccess View name IP address ---------- ---------- --------- ------- public read only user-view All private read write Default 172.16.1.1 private su DefaultSuper 172.17.1.
Community-string Group name IP address ---------------- ---------- ---------- public user-group all Traps are enabled. Authentication trap is enabled. Version 1,2 notifications Target Address Type Community Version UDP Port Filter Name TO Sec Retries -------------- ----- --------- ------- ---- ------ --- ------- 192.122.173.42 Trap public 2 162 15 3 192.122.173.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show snmp engineid The show snmp engineID Privileged EXEC mode command displays the ID of the local Simple Network Management Protocol (SNMP) engine. Syntax • show snmp engineID Default Configuration This command has no default configuration. Command Mode • Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the SNMP engine ID.
Example The following example displays the configuration of views. Console# show snmp views Name OID Tree Type ----------- ----------------------- --------user-view 1.3.6.1.2.1.1 Included user-view 1.3.6.1.2.1.1.7 Excluded user-view 1.3.6.1.2.1.2.2.1.*.1 Included show snmp groups The show snmp groups Privileged EXEC mode command displays the configuration of groups. Syntax • show snmp groups [groupname] • groupname — Specifies the name of the group.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the configuration of views. Console# show snmp groups Name Security -------------- Views Model Level Read Write Notify ----- ----- ------- ------- ------- user-group V3 priv Default "" "" managers-group V3 priv Default Default "" managers-group V3 priv Default "" "" The following table describes significant fields shown above. Field Description Name Name of the group.
Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the configuration of filters. Console# show snmp filters Name OID Tree Type ----------- ----------------------- --------- user-filter 1.3.6.1.2.1.1 Included user-filter 1.3.6.1.2.1.1.7 Excluded user-filter 1.3.6.1.2.1.2.2.1.*.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the configuration of users.
28 Spanning-Tree Commands spanning-tree The spanning-tree Global Configuration mode command enables spanning-tree functionality. Use the no form of this command to disable spanning-tree functionality. Syntax • spanning-tree • no spanning-tree Default Configuration Spanning-tree is enabled. Command Mode Global Configuration mode. User Guidelines • There are no user guidelines for this command. Example The following example enables spanning-tree functionality.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration STP is enabled. Command Mode Global Configuration mode. User Guidelines • In RSTP mode, the device uses STP when the neighbor device uses STP. • In MSTP mode, the device uses RSTP when the neighbor device uses RSTP and uses STP when the neighbor device uses STP. Example The following example configures the spanning-tree protocol to RSTP.
Example The following example configures the Spanning Tree bridge forwarding time to 25 seconds. Console(config)# spanning-tree forward-time 25 spanning-tree hello-time The spanning-tree hello-time Global Configuration mode command configures the Spanning Tree bridge hello time, which is how often the device Broadcasts Spanning Tree BPDUs to other devices. Use the no form of this command to return to the default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default maximum age for IEEE Spanning Tree Protocol (STP) is 20 seconds. Command Mode Global Configuration mode. User Guidelines • When configuring the maximum age, the following relationships should be kept: – 2*(Forward-Time - 1) >= Max-Age – Max-Age >= 2*(Hello-Time + 1) Example The following example configures the Spanning Tree bridge maximum-age to 10 seconds.
spanning-tree disable The spanning-tree disable Interface Configuration mode command disables Spanning Tree on a specific port. Use the no form of this command to enable Spanning Tree on a port. Syntax • spanning-tree disable • no spanning-tree disable Default Configuration Spanning tree is enabled on all ports. Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration Default path cost is determined by port speed and path cost method (long or short) as shown below: Interface Long Short Port-channel 20,000 4 Gigabit Ethernet (1000 Mbps) 20,000 4 Fast Ethernet (100 Mbps) 200,000 19 Ethernet (10 Mbps) 2,000,000 100 Command Mode Interface Configuration (Ethernet, port-channel) mode.
User Guidelines There are no user guidelines for this command. Example The following example configures the spanning priority on Ethernet port 1/e15 to 96. Console(config)# interface ethernet 1/e15 Console(config-if)# spanning-tree port-priority 96 spanning-tree portfast The spanning-tree portfast Interface Configuration mode command enables PortFast mode. In PortFast mode, the interface is immediately put into the forwarding state upon linkup without waiting for the standard forward time delay.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m spanning-tree link-type The spanning-tree link-type Interface Configuration mode command overrides the default linktype setting determined by the duplex mode of the port and enables Rapid Spanning Tree Protocol (RSTP) transitions to the forwarding state. Use the no form of this command to return to the default configuration.
Default Configuration Short path cost method. Command Mode Global Configuration mode. User Guidelines • This command applies to all Spanning Tree instances on the device. • The cost is set using the spanning-tree cost command. Example The following example sets the default path cost method to long.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m clear spanning-tree detected-protocols The clear spanning-tree detected-protocols Privileged EXEC mode command enables the user to set the switches back to RSTP mode without rebooting the device. Syntax • clear spanning-tree detected-protocols [ethernet interface | port-channel port-channelnumber] • interface — A valid Ethernet port. • port-channel-number — A valid port-channel number.
Command Mode Global Configuration mode. User Guidelines • The device with the lowest priority is selected as the root of the Spanning Tree. Example The following example configures the Spanning Tree priority of instance 1 to 4096. Console(config)# spanning-tree mst 1 priority 4096 spanning-tree mst max-hops The spanning-tree mst max-hops Global Configuration mode command configures the number of hops in an MST region before the BDPU is discarded and the port information is aged out.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m spanning-tree mst port-priority The spanning-tree mst port-priority Interface Configuration mode command configures port priority for the specified MST instance. Use the no form of this command to return to the default configuration. Syntax • spanning-tree mst instance-id port-priority priority • no spanning-tree mst instance-id port-priority • instance-ID — ID of the Spanning Tree instance. (Range: 1 - 15) • priority — The port priority.
Default Configuration Default path cost is determined by port speed and path cost method (long or short) as shown below: Interface Long Short Port-channel 20,000 4 Gigabit Ethernet (1000 Mbps) 20,000 4 Fast Ethernet (100 Mbps) 200,000 19 Ethernet (10 Mbps) 2,000,000 100 Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example configures an MST region.
instance (mst) The instance MST Configuration mode command maps VLANS to an MST instance. Syntax • instance instance-id {add | remove} vlan vlan-range • instance-ID — ID of the MST instance. (Range: 1 - 15) • vlan-range — VLANs to be added to or removed from the specified MST instance. To specify a range of VLANs, use a hyphen. To specify a series of VLANs, use a comma. (Range: 1 - 4094) Default Configuration VLANs are mapped to the common and internal Spanning Tree (CIST) instance (instance 0).
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m name (mst) The name MST Configuration mode command defines the MST region name. Use the no form of this command to return to the default setting. Syntax • name string • no name • string — MST configuration name. Case-sensitive. (Range: 1 - 32 characters) Default Configuration The default name is a bridge ID. Command Mode MST Configuration mode. User Guidelines There are no user guidelines for this command.
User Guidelines There are no user guidelines for this command. Example The following example sets the configuration revision to 1. Console(config)# spanning-tree mst configuration Console(config-mst)# revision 1 show (mst) The show MST Configuration mode command displays the current or pending MST region configuration. Syntax • show {current | pending} • current — Indicates the current region configuration. • pending — Indicates the pending region configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays a pending MST region configuration. Console(config-mst)# show pending Pending MST configuration Name: Region1 Revision: 1 Instance Vlans Mapped State -------- ------------ ----- 0 1-9,21-4094 Enabled 1 10-20 Enabled exit (mst) The exit MST Configuration mode command exits the MST configuration mode and applies all configuration changes.
abort (mst) The abort MST Configuration mode command exits the MST configuration mode without applying the configuration changes. Syntax • abort Default Configuration This command has no default configuration. Command Mode MST Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example exits the MST configuration mode without saving changes.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Examples The following example displays spanning-tree information.
1/e2 Enabled 128.2 20000 FWD Desg No Shared (STP) 1/e3 Disabled 128.3 20000 - - - - 1/e4 Enabled 128.4 20000 BLK ALTN No Shared (STP) 1/e5 Enabled 128.5 20000 DIS - - - Console# show spanning-tree Spanning tree enabled mode RSTP Default port cost method: long Root ID Priority 36864 Address 00:02:4b:29:7a:00 This switch is the root. Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interfaces Name State Prio.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Console# show spanning-tree Spanning tree disabled (BPDU filtering) mode RSTP Default port cost method: long Root ID Bridge ID Priority N/A Address N/A Path Cost N/A Root Port N/A Hello Time N/A Max Age N/A Priority 36864 Address 00:02:4b:29:7a:00 Hello Time 2 sec Max Age 20 sec Forward Delay N/A Forward Delay 15 sec Interfaces Name State Prio.
Console# show spanning-tree active Spanning tree enabled mode RSTP Default port cost method: long Root ID Bridge ID Priority 32768 Address 00:01:42:97:e0:00 Path Cost 20000 Root Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Priority 36864 Address 00:02:4b:29:7a:00 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Forward Delay 15 sec Interfaces Name State Prio.Nbr Cost Sts Role PortFast Type ---- ------- -------- ----- --- ---- -------- ---------- 1/e1 Enabled 128.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Console# show spanning-tree blockedports Spanning tree enabled mode RSTP Default port cost method: long Root ID Bridge ID Priority 32768 Address 00:01:42:97:e0:00 Path Cost 20000 Root Port 1 (1/1) Hello Time 2 sec Max Age 20 sec Priority 36864 Address 00:02:4b:29:7a:00 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Forward Delay 15 sec Interfaces Name State Prio.
Console# show spanning-tree detail Spanning tree enabled mode RSTP Default port cost method: long Root ID Bridge ID Priority 32768 Address 00:01:42:97:e0:00 Path Cost 20000 Root Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Priority 36864 Address 00:02:4b:29:7a:00 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Number of topology changes 2 last change occurred 2d18h ago Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 Por
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Port 2 (1/e2) enabled State: Forwarding Role: Designated Port id: 128.2 Port cost: 20000 Type: Shared (configured: auto) STP Port Fast: No (configured:no) Designated bridge Priority: 32768 Address: 00:02:4b:29:7a:00 Designated port id: 128.2 Designated path cost: 20000 Number of transitions to forwarding state: 1 BPDU: sent 2, received 170638 Port 3 (1/e3) disabled State: N/A Role: N/A Port id: 128.
State: Disabled Role: N/A Port id: 128.5 Port cost: 20000 Type: N/A (configured: auto) Port Fast: N/A (configured:no) Designated bridge Priority: N/A Address: N/A Designated port id: N/A Designated path cost: N/A Number of transitions to forwarding state: N/A BPDU: sent N/A, received N/A Console# show spanning-tree ethernet 1/e1 Port 1 (1/e1) enabled State: Forwarding Role: Root Port id: 128.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Console# show spanning-tree Spanning tree enabled mode MSTP Default port cost method: long ###### MST 0 Vlans Mapped: 1-9, 21-4094 CST Root ID Priority 32768 Address 00:01:42:97:e0:00 Path Cost 20000 Root Port 1 (1/e1) Hello Time 2 sec IST Master ID Max Age 20 sec Forward Delay 15 sec Priority 32768 Address 00:02:4b:29:7a:0 0 This switch is the IST master.
###### MST 1 Vlans Mapped: 10-20 CST Root ID Priority 24576 Address 00:02:4b:29:89:76 Path Cost 20000 Root Port 4 (1/e4) Rem hops 19 Bridge ID Priority 32768 Address 00:02:4b:29:7a:0 0 Interfaces Name State Prio.Nbr Cost Sts Role PortFast Type ---- ------- -------- ----- --- ---- -------- ---------- 1/e1 Enabled 128.1 20000 FWD Boun No P2p Bound (RSTP) 1/e2 Enabled 128.2 20000 FWD Boun No Shared Bound (STP) 1/e3 Enabled 128.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m CST Root ID Priority 32768 Address 00:01:42:97:e0:00 Path Cost 20000 Root Port 1 (1/e1) Hello Time 2 sec IST Master ID Max Age 20 sec Forward Delay 15 sec Priority 32768 Address 00:02:4b:29:7a:0 0 This switch is the IST master.
Port 2 (1/e2) enabled State: Forwarding Role: Designated Port id: 128.2 Port cost: 20000 Type: Shared (configured: auto) Boundary STP Port Fast: No (configured:no) Designated bridge Priority: 32768 Address: 00:02:4b:29:7a:00 Designated port id: 128.2 Designated path cost: 20000 Number of transitions to forwarding state: 1 BPDU: sent 2, received 170638 Port 3 (1/e3) enabled State: Forwarding Role: Designated Port id: 128.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m ###### MST 1 Vlans Mapped: 10-20 Root ID Priority 24576 Address 00:02:4b:29:89:76 Path Cost 20000 Port Cost 4 (1/e4) Rem hops 19 Bridge ID Priority 32768 Address 00:02:4b:29:7a:00 Number of topology changes 2 last change occurred 1d9h ago Times: hold 1, topology change 2, notification 2 hello 2, max age 20, forward delay 15 Port 1 (1/e1) enabled State: Forwarding Role: Boundary Port id: 128.
Designated bridge Priority: 32768 Address: 00:02:4b:29:7a:00 Designated port id: 128.2 Designated path cost: 20000 Number of transitions to forwarding state: 1 BPDU: sent 2, received 170638 Port 3 (1/e3) disabled State: Blocking Role: Alternate Port id: 128.3 Port cost: 20000 Type: Shared (configured: auto) Internal Port Fast: No (configured:no) Designated bridge Priority: 32768 Address: 00:02:4b:29:1a:19 Designated port id: 128.
w w w. d e l l . c o m | s u p p o r t . d e l l .
Address 00:01:42:97:e0:00 This switch is root for CST and IST master. Root Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Max hops 20 spanning-tree guard root Use the spanning-tree guard root interface configuration command to enable root guard on all the Spanning Tree instances on that interface. Root guard restricts the interface to be the root port for the switch. Use the no form of this command to disable root guard on the interface.
w w w. d e l l . c o m | s u p p o r t . d e l l .
29 SSH Commands ip ssh port The ip ssh port Global Configuration mode command specifies the port to be used by the SSH server. Use the no form of this command to return to the default configuration. Syntax • ip ssh port port-number • no ip ssh port • port-number — Port number for use by the SSH server. (Range: 1 - 65535) Default Configuration The default port number is 22. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration Device configuration from a SSH server is enabled. Command Mode Global Configuration mode. User Guidelines • If encryption keys are not generated, the SSH server is in standby until the keys are generated. To generate SSH server keys, use the crypto key generate dsa, and crypto key generate rsa Global Configuration mode commands. Example The following example enables configuring the device from a SSH server.
Example The following example generates DSA key pairs. Console(config)# crypto key generate dsa crypto key generate rsa The crypto key generate rsa Global Configuration mode command generates RSA key pairs. Syntax • crypto key generate rsa Default Configuration RSA key pairs do not exist. Command Mode Global Configuration mode. User Guidelines • RSA keys are generated in pairs: one public RSA key and one private RSA key.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • ip ssh pubkey-auth • no ip ssh pubkey-auth Default Configuration Public Key authentication for incoming SSH sessions is disabled. Command Mode Global Configuration mode. User Guidelines AAA authentication is independent Example The following example enables public key authentication for incoming SSH sessions.
Example The following example enters the SSH Public Key-chain Configuration mode and manually configures the RSA key pair for SSH public key-chain bob.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration No SSH public keys exist. Command Mode SSH Public Key-string Configuration mode. User Guidelines Follow this command with the key-string SSH Public Key-String Configuration mode command to specify the key. Example The following example enables manually configuring an SSH public key for SSH public key-chain bob.
User Guidelines • Use the key-string SSH Public Key-string Configuration mode command to specify which SSH public key is to be interactively configured next. To complete the command, you must enter a row with no characters. • Use the key-string row SSH Public Key-string Configuration mode command to specify the SSH public key row by row. Each row must begin with a key-string row command. This command is useful for configuration files.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show ip ssh The show ip ssh Privileged EXEC mode command displays the SSH server configuration. Syntax • show ip ssh Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the SSH server configuration. Console# show ip ssh SSH server enabled. Port: 22 RSA key was generated.
show crypto key mypubkey The show crypto key mypubkey Privileged EXEC mode command displays the SSH public keys on the device. Syntax • show crypto key mypubkey [rsa | dsa] • rsa — Indicates the RSA key. • dsa — Indicates the DSA key. Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the SSH public RSA keys on the device.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show crypto key pubkey-chain ssh The show crypto key pubkey-chain ssh Privileged EXEC mode command displays SSH public keys stored on the device. Syntax • show crypto key pubkey-chain ssh [username username] [fingerprint {bubble-babble | hex}] • username — Specifies the remote SSH client username. • bubble-babble — Fingerprint in Bubble Babble format. • hex — Fingerprint in Hex format.
30 Syslog Commands logging on The logging on Global Configuration mode command controls error message logging. This command sends debug or error messages to a logging process, which logs messages to designated locations asynchronously to the process that generated the messages. Use the no form of this command to disable the logging process. Syntax • logging on • no logging on Default Configuration Logging is enabled. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • logging {ip4-address | ip6-address |hostname} [port port] [severity level] [facility facility] [description text] • no logging {ip4-address | ip6-address | hostname} • ip4-address — Host IPv4 address to be used as a syslog server. • ip6-address — Host IPv6 address to be used as a syslog server. When the IPv6 address is a Link Local address (IPv6Z address), the outgoing interface name must be specified.
Example The following example limits logged messages sent to the syslog server with IP address 10.1.1.1 to severity level critical. Console(config)# logging 10.1.1.1 severity critical logging console The logging console Global Configuration mode command limits messages logged to the console based on severity. Use the no form of this command to disable logging to the console.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • logging console level • no logging console • level — Specifies the severity level of logged messages displayed on the console. Possible values: emergencies, alerts, critical, errors, warnings, notifications, informational, debugging. Default Configuration The default severity level is informational. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command.
User Guidelines • All the syslog messages are logged to the internal buffer. This command limits the messages displayed to the user. Example The following example limits syslog messages displayed from an internal buffer based on severity level debugging. Console(config)# logging buffered debugging logging buffered size The logging buffered size Global Configuration mode command changes the number of syslog messages stored in the internal buffer.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m clear logging The clear logging Privileged EXEC mode command clears messages from the internal logging buffer. Syntax • clear logging Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example clears messages from the internal logging buffer.
User Guidelines There are no user guidelines for this command. Example The following example limits syslog messages sent to the logging file based on severity level alerts. Console(config)# logging file alerts clear logging file The clear logging file Privileged EXEC mode command clears messages from the logging file. Syntax • clear logging file Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration Logging AAA login events is enabled. Command Mode Global Configuration mode. User Guidelines Other types of AAA events are not subject to this command. Example The following example enables logging messages related to AAA login events. Console(config)# aaa logging login file-system logging The file-system logging Global Configuration mode command enables logging file system events in the syslog.
management logging The management logging global configuration command enables logging management access list (ACL) events in the syslog. Use the no form of this command to disable logging management access list events. Syntax • management logging deny • no management logging deny • deny — Indicates logging messages related to deny actions of management ACLs. Default Configuration Logging management ACL events is enabled. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the state of logging and the syslog messages stored in the internal buffer. Console# show logging Logging is enabled. Console logging: level debugging. Console Messages: 0 Dropped (severity). Buffer logging: level debugging. Buffer Messages: 11 Logged, 200 Max. File logging: level notifications. File Messages: 0 Dropped (severity). Syslog server 192.180.2.27 logging: errors. Messages: 6 Dropped (severity).
Buffer log: 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/2, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/3, changed state to up 11-Aug-2002 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2002 15:41:
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines There are no user guidelines for this command. Example The following example displays the logging state and the syslog messages stored in the logging file. Console# show logging file Logging is enabled. Console logging: level debugging. Console Messages: 0 Dropped (severity). Buffer logging: level debugging. Buffer Messages: 11 Logged, 200 Max. File logging: level notifications. File Messages: 0 Dropped (severity).
File log: 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/2, changed state to up 11-Aug-2002 15:41:43: %LINK-3-UPDOWN: Interface Ethernet1/3, changed state to up 11-Aug-2002 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2002 15:41:39
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the settings of the syslog servers. Console# show syslog-servers Device Configuration IP address Port Severity Facility Description ------------ ---- ------------- -------- ----------- 192.180.2.275 14 Informational local7 7 192.180.2.
31 System Management ping The ping User EXEC mode command sends ICMP echo request packets to another node on the network. Syntax • ping ip-address | hostname [size packet_size] [count packet_count] [timeout time_out] • ping ipv6 {ipv6-address | hostname} [size packet_size] [count packet_count] [timeout time_out]ip-address — IP address to ping. • ipv6 — IPv6 checks the network connectivity. • ip4-address — Destination host IPv4 address. • ipv6-address — Unicast or multicast IPv6 address to ping.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • Destination (host/network) unreachable — The gateway for this destination indicates an unreachable destination. • Destination does not respond — If the host does not respond, a “no answer from host” appears in ten seconds.
Console> ping yahoo.com Pinging yahoo.com (66.218.71.198) with 64 bytes of data: 64 bytes from 10.1.1.1: icmp_seq=0. time=11 ms 64 bytes from 10.1.1.1: icmp_seq=1. time=8 ms 64 bytes from 10.1.1.1: icmp_seq=2. time=8 ms 64 bytes from 10.1.1.1: icmp_seq=3. time=7 ms ----10.1.1.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • ip-address — One of the device’s interface addresses to use as a source address for the probes. The device normally selects what it feels is the best source address to use. • tos — The Type-Of-Service byte in the IP Header of the packet. (Range: 0 - 255) Default Configuration The default number of bytes in a packet is 40. The default maximum TTL value is 30. The default number of probes to be sent at each TTL level is 3.
Examples The following example discovers the routes that packets will actually take when traveling to their destination. Console> traceroute umaxp1.physics.lsa.umich.edu Type Esc to abort. Tracing the route to umaxp1.physics.lsa.umich.edu (141.211.101.64) 1 i2-gateway.stanford.edu (192.68.191.83) 0 msec 0 msec 0 msec 2 STAN.POS.calren2.NET (171.64.1.213) 0 msec 0 msec 0 msec 3 SUNV--STAN.POS.calren2.net (198.32.249.73) 1 msec 1 msec 1 msec 4 Abilene--QSV.POS.calren2.net (198.32.249.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m The following table describes characters that may appear in the traceroute command output. Field Description * The probe timed out. ? Unknown packet type. A Administratively unreachable. Usually, this output indicates that an access list is blocking traffic. F Fragmentation is required and DF is set. H Host unreachable. N Network unreachable. P Protocol unreachable. Q Source quench. R Fragment reassembly time exceeded.
Special Telnet Sequences Telnet Sequence Purpose Ctrl-shift-6-b Break Ctrl-shift-6-c Interrupt Process (IP) Ctrl-shift-6-h Erase Character (EC) Ctrl-shift-6-o Abort Output (AO) Ctrl-shift-6-t Are You There? (AYT) Ctrl-shift-6-u Erase Line (EL) At any time during an active Telnet session, Telnet commands can be listed by pressing the Ctrlshift-6-? keys at the system prompt. A sample of this list follows. Note that the Ctrl-shift-6 sequence appears as ^^ on the screen.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m /stream Turns on stream processing, which enables a raw TCP stream with no Telnet control sequences. A stream connection does not process Telnet options and can be appropriate for connections to ports running UNIX-to-UNIX Copy Program (UUCP) and other non-Telnet protocols.
tacacs TAC Access Control System 49 talk Talk 517 telnet Telnet 23 time Time 37 uucp Unix-to-Unix Copy Program 540 whois Nickname 43 www World Wide Web 80 • This command lists concurrent telnet connections to remote hosts that were opened by the current telnet session to the local device. It does not list telnet connections to remote hosts that were opened by other telnet sessions. Example The following example displays connecting to 176.213.10.50 via Telnet. Console> telnet 176.213.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m reload The reload Privileged EXEC mode command reloads the operating system. Syntax • reload Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example reloads the operating system. Console# reload This command will reset the whole system and disconnect your current session. You haven't saved your changes.
User Guidelines There are no user guidelines for this command. Example The following example specifies the device host name. Console(config)# hostname Dell Dell(config)# service cpu-utilization The service cpu-utilization global configuration mode command allows the software to measure CPU utilization. Use the no form of this command to disable measuring. Syntax • service cpu-utilization • no service cpu-utilization Default Configuration The service cpu-utilization function is enabled.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m stack master The stack master Global Configuration mode command enables forcing the selection of a stack master. Use the no form of this command to return to the default configuration. Syntax • stack master unit unit • no stack master • unit — Unit number of the new master (Range: 1 - 2) Default Configuration Disables forcing the selection of a stack master. Command Mode Global Configuration mode.
Default Configuration All units are reloaded. Command Mode Privileged EXEC mode. User Guidelines If no unit is specified, all units are reloaded. Example The following example reloads Unit 2 of the stack. Console(config)# stack reload unit 2 show stack The show stack User EXEC mode command displays information about the status of a stack. Syntax • show stack [unit unit] • unit — Specifies the number of the unit. (Range: 1 - 6) Default Configuration This command has no default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m 4 00:33:97:02:18:00 1.0.0.6 Disabled 3 5 Slave 5 00:33:97:02:14:00 1.0.0.7 Disabled 4 6 Slave 6 00:33:97:02:22:00 1.0.0.7 Disabled 5 7 Slave 7 00:33:97:02:11:00 1.0.0.7 Disabled 8 6 Slave 8 00:33:97:02:19:00 1.0.0.
Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays information about the active users. Console> show users Username Protocol Location ---------- ----------- ------------ Bob Serial John SSH 172.16.0.1 Robert HTTP 172.16.0.8 Betty Telnet 172.16.1.7 show sessions The show sessions User EXEC mode command lists open Telnet sessions.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example lists open Telnet sessions. Console> show sessions Connection Host Address Port Byte ---------- ------------- ---------- ----- ---- 1 Remote device 172.16.1.1 23 89 2 172.16.1.2 172.16.1.2 23 8 The following table describes significant fields shown above. Field Description Connection Connection number. Host Remote host to which the device is connected through a Telnet session.
Example The following example displays the system information. Console> show system Unit Type ---- --------- 1 PowerConnect 3524 2 PowerConnect 3524 3 PowerConnect 3524 4 PowerConnect 3524 5 PowerConnect 3524 6 PowerConnect 3524 7 PowerConnect 3524 8 PowerConnect 3524 Unit Main Power Supply 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok Redundant Power Supply show version The show version User EXEC mode command displays system version information.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays system version information (only for demonstration purposes). Console> show version SW version 1.0.0.0 (date 23-Jul-2004 time 17:34:19) Boot version 1.0.0.0 (date 11-Jan-2004 time 11:48:21) HW version 1.0.0 Unit SW version Boot version HW version ---- ---------- ------------ ---------- 1 1.0.0.0 2.
User Guidelines There are no user guidelines for this command. Example The following example specifies the asset tag of the master unit as "1qwepot".
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show system id The show system id User EXEC mode command displays system ID information. Syntax • show system id [unit unit] • unit — Specifies the number of the unit. (Range: 1 - 6) Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays system service and asset tag information.
show cpu utilization The show cpu utilization Privileged EXEC mode command displays display information about CPU utilization. Syntax • show cpu utilization Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • Use the service cpu-utilization Global Configuration mode command to enable measuring CPU utilization. Example The following example displays CPU utilization.. Console# show cpu utilization CPU utilization service is on.
w w w. d e l l . c o m | s u p p o r t . d e l l .
32 TACACS+ Commands tacacs-server host The tacacs-server host Global Configuration mode command specifies a TACACS+ host. Use the no form of this command to delete the specified name or address. Syntax • tacacs-server host {ip-address | hostname} [single-connection] [port port-number] [timeout timeout] [key key-string] [source source] [priority priority] • no tacacs-server host {ip-address | hostname} • ip-address — IP address of the TACACS+ server. • hostname — Host name of the TACACS+ server.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Global Configuration mode. User Guidelines • Multiple tacacs-server host commands can be used to specify multiple hosts. Example The following example specifies a TACACS+ host. Console(config)# tacacs-server host 172.16.1.1 tacacs-server key The tacacs-server key Global Configuration mode command sets the authentication encryption key used for all TACACS+ communications between the device and the TACACS+ daemon.
tacacs-server timeout The tacacs-server timeout Global Configuration mode command sets the interval during which the device waits for a TACACS+ server to reply. Use the no form of this command to return to the default configuration. Syntax • tacacs-server timeout timeout • no tacacs-server timeout • timeout — Specifies the timeout value in seconds. (Range: 1 - 30) Default Configuration 5 seconds. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines There are no user guidelines for this command. Examples The following example specifies the source IP address. Console(config)# tacacs-server source-ip 172.16.8.1 show tacacs The show tacacs Privileged EXEC mode command displays configuration and statistical information about a TACACS+ server. Syntax • show tacacs [ip-address] • ip-address—Host name or IP address of the host.
Examples The following example displays configuration and statistical information about a TACACS+ server. Console# show tacacs Device Configuration -------------------IP address Status Port Single TimeOut Connection Source IP Priority ---------- -------- ---- --------- ------- ------ -------- 172.16.1.1 Connected 49 No Global Global 1 Global values ------------TimeOut: 3 Device Configuration --------------------Source IP: 172.16.8.
w w w. d e l l . c o m | s u p p o r t . d e l l .
33 TIC Commands passwords min-length The passwords min-length Global Configuration mode command sets the minimum length required for passwords in the local database. Use the no form of this command to remove the minimum password length requirement. Syntax • passwords min-length length • no passwords min-length • length — The minimum length required for passwords. (Range: 8 - 64 characters) Default Configuration No minimum password length. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m password-aging The password-aging Line Configuration mode command configures the aging time of line passwords. Use the no form of this command to disable password expiration time. Syntax • password-aging days • no password-aging • days — The number of days before a password change is forced. (Range: 1 - 365) Default Configuration Password aging is disabled. Command Mode Line Configuration mode.
• passwords aging enable-password level days • no passwords aging enable-password level • name — The name of the user. (Range: 1 - 20 characteres) • level — The level for which the password applies. (Range: 1 - 15) • days — The number of days before a password change is forced. (Range: 1 - 365) Default Configuration Password aging is disabled. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Global Configuration mode. User Guidelines • Relevant to local user passwords, line passwords, and enable passwords. • Password history is not checked during the configuration download. • Password history is saved even if the feature is disabled. • A user’s password history is saved as long as the user is defined.
Example The following example configures the number of days that a password is relevant for tracking its password history to 120. Console(config)# passwords history hold-time 120 passwords lockout The passwords lockout Global Configuration mode command sets the number of failed login attempts before a user account is locked. Use the no form of this command to remove this condition.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m aaa login-history file The aaa login-history file Global Configuration mode command enables writing to the login history file. Use the no form of this command to disable writing to the file. Syntax • aaa login-history file • no aaa login-history file Default Configuration Writing to the login history file is enabled. Command Mode Global Configuration mode. User Guidelines The login history is also saved in the internal buffer of the device.
Example The following example reactivates a suspended user with username bob. Console# set username bob active set line active The set line active Privileged EXEC mode command reactivates a locked line. Syntax • set line {console | telnet | ssh} active • console — Console terminal line. • telnet — Virtual terminal for remote console access (Telnet). • ssh — Virtual terminal for secured remote console access (SSH). Default Configuration This command has no default configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example reactivates a locked level 15 enable password. Console# set enable-password 15 active show passwords configuration The show passwords configuration Privileged EXEC mode command displays information about password management.
Enable Passwords Level Aging Expiry date Lockout ----- ----- ----------- ------- 1 90 Jan 18 2005 1 15 90 Jan 18 2005 0 Level Aging Expiry date Lockout ----- ----- ----------- ------- Console - - - Telnet 90 Jan 18 2005 LOCKOUT SSH 90 Jan 21 2005 0 Line Passwords The following table describes significant fields shown above. Field Description Minimal length Minimum length required for passwords in the local database.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show users login-history The show users login-history Privileged EXEC mode command displays information about the login history of users. Syntax • show users login-history [username name] • name — Name of the user. (Range: 1 - 20 characters) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command.
show users accounts The show users accounts Privileged EXEC mode command displays information about the local user database. Syntax • show users accounts Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays the local users configured with access to the system.
w w w. d e l l . c o m | s u p p o r t . d e l l .
34 FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Tunnel.fm Tunnel interface tunnel The interface tunnel Global Configuration mode command enters tunnel interface configuration mode. Syntax • interface tunnel number • number — Tunnel index. (Range: 1) Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • There are no user guidelines for this command.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Tunnel.fm Command Mode Interface Tunnel Configuration mode. User Guidelines • The system can be enabled to an ISATAP tunnel. When enabled, an automatic tunnel interface is created on each interface that is assigned with IPv4 address. NOTE: Note: on a specific interface (that is port/ VLAN), both native IPV6 and transition mechanisms can coexist.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Tunnel.fm Example The following example configures a global string "Dell_Tunnel_Router" to represent a specific automatic tunnel router domain name.. Console (config)# interface tunnel 1 Console (config-tunnel)# tunnel isatap router Dell_Tunnel_Router tunnel source The tunnel source Interface Tunnel Configuration mode command sets the local (source) tunnel interface IPv4 address.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Tunnel.fm tunnel isatap query-interval The tunnel isatap query-interval Global Configuration mode command configures the interval between DNS Queries (before the IP address of the ISATAP router is known) for the automatic tunnel router domain name. Use the no form of this command to return to default.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Tunnel.fm Default Configuration 10 seconds. Command Mode Global Configuration mode. User Guidelines • This command determines the interval of Router Solicitation messages when there is no active ISATAP router. When there is an active ISATAP router, the robustness level that is set by the tunnel isatap robustness global configuration command determines the refresh rate.
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Ryan - old template\Tunnel.fm Example The following example configures the number of DNS Query/Router Solicitation refresh messages that the device sends to 6 times. Console (config)# tunnel isatap robustness 6 show ipv6 tunnel The show ipv6 tunnel Privileged EXEC mode command displays information on the ISATAP tunnel. Syntax • show ipv6 tunnel Default Configuration This command has no default setting. Command Mode Privileged EXEC mode.
35 User Interface enable The enable User EXEC mode command enters the Privileged EXEC mode. Syntax • enable [privilege-level] • privilege-level — Privilege level to enter the system. (Range: 1 - 15) Default Configuration The default privilege level is 15. Command Mode User EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example enters Privileged EXEC mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default privilege level is 1. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example returns to Users EXEC mode. Console# disable Console> login The login User EXEC mode command changes a login username. Syntax • login Default Configuration This command has no default configuration. Command Mode User EXEC mode.
configure The configure Privileged EXEC mode command enters the Global Configuration mode. Syntax • configure Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example enters Global Configuration mode. Console# configure Console(config)# exit (Configuration) The exit command exits any configuration mode to the next highest mode in the CLI mode hierarchy.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example changes the configuration mode from Interface Configuration mode to Privileged EXEC mode. Console(config-if)# exit Console(config)# exit Console# exit The exit Privileged/User EXEC mode command closes an active terminal session by logging off the device. Syntax • exit Default Configuration This command has no default configuration. Command Mode Privileged and User EXEC modes.
Default Configuration This command has no default configuration. Command Mode All configuration modes. User Guidelines There are no user guidelines for this command. Example The following example changes from Global Configuration mode to Privileged EXEC mode. Console(config)# end Console# help The help command displays a brief description of the help system. Syntax • help Default Configuration This command has no default configuration. Command Mode All command modes.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example describes the help system. Console# help Help may be requested at any point in a command by entering a question mark '?'. If nothing matches the currently entered incomplete command, the help list is empty. This indicates that for a query at this point, there is no command matching the current input.
Example This example dumps all output immediately after entering a show command. Console> terminal datadump show history The show history User EXEC mode command lists the commands entered in the current session. Syntax • show history Default Configuration This command has no default configuration. Command Mode User EXEC mode. User Guidelines • The buffer includes executed and unexecuted commands. • Commands are listed from the first to the most recent command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m show privilege The show privilege Privileged/User EXEC mode command displays the current privilege level. Syntax • show privilege Default Configuration This command has no default configuration. Command Mode Privileged and User EXEC modes. User Guidelines There are no user guidelines for this command. Example The following example displays the current privilege level for the Privileged EXEC mode.
36 VLAN Commands vlan database The vlan database Global Configuration mode command enters the VLAN Configuration mode. Syntax • vlan database Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example enters the VLAN database mode. Console(config)# vlan database Console(config-vlan)# vlan The vlan VLAN Configuration mode command creates a VLAN.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration This command has no default configuration. Command Mode VLAN Configuration mode. User Guidelines There are no user guidelines for this command. Example The following example VLAN number 1972 is created. Console(config)# vlan database Console(config-vlan)# vlan 1972 interface vlan The interface vlan Global Configuration mode command enters the Interface Configuration (VLAN) mode.
interface range vlan The interface range vlan Global Configuration mode command enables simultaneously configuring multiple VLANs. Syntax • interface range vlan {vlan-range | all} • vlan-range — Specifies a list of VLAN IDs to be added. Separate non-consecutive VLAN IDs with a comma and no spaces; a hyphen designates a range of IDs. • all — All existing static VLANs. Default Configuration This command has no default configuration. Command Mode Global Configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration No name is defined. Command Mode Interface Configuration (VLAN) mode. Cannot be configured for a range of interfaces (range context). User Guidelines There are no user guidelines for this command. Example The following example gives VLAN number 19 the name Marketing.
Example The following example configures a VLAN ID of 23 to the untagged layer 2 VLAN Ethernet port 1/e16. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport access vlan 23 switchport trunk allowed vlan The switchport trunk allowed vlan Interface Configuration mode command adds or removes VLANs to or from a trunk port. Syntax • switchport trunk allowed vlan {add vlan-list | remove vlan-list } • add vlan-list — List of VLAN IDs to be added.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m switchport trunk native vlan The switchport trunk native vlan Interface Configuration mode command defines the native VLAN when the interface is in trunk mode. Use the no form of this command to return to the default configuration. Syntax • switchport trunk native vlan vlan-id • no switchport trunk native vlan • vlan-id — Specifies the ID of the native VLAN. Default Configuration VID=1.
• tagged — Indicates that the port transmits tagged packets for the VLANs. • untagged — Indicates that the port transmits untagged packets for the VLANs. Default Configuration If the port is added to a VLAN without specifying tagged or untagged, the default setting is tagged. Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines • This command enables changing the egress rule (e.g., from tagged to untagged) without first removing the VLAN from the list.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example configures the PVID for Ethernet port 1/e16, when the interface is in general mode. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport general pvid 234 switchport general ingress-filtering disable The switchport general ingress-filtering disable Interface Configuration mode command disables port ingress filtering. Use the no form of this command to return to the default configuration.
Default Configuration All frame types are accepted at ingress. Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines There are no user guidelines for this command. Example The following example configures Ethernet port 1/e16 to discard untagged frames at ingress.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example forbids adding VLAN IDs 234 to 256 to Ethernet port 1/e16. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport forbidden vlan add 234-256 switchport mode The switchport mode Interface Configuration mode command configures the VLAN membership mode of a port. Use the no form of this command to reset the mode to the appropriate default for the device.
switchport customer vlan Use the switchport customer vlan interface configuration command set the port’s VLAN when the interface is in customer mode. Use the no form of this command to revert to default. Syntax • switchport customer vlan vlan-id • no switchport customer vlan vlan-id — VLAN ID of the customer Default Configuration No VLAN is configured. Command Mode Interface configuration (Ethernet, port-channel) mode. User Guidelines There are no user Guidelines for this command.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Mode Interface Configuration (Ethernet, port-channel) mode. User Guidelines Use this command to override the FDB decision, and forward the packet to the uplink. Please note that the packet is still subject to all filtering decisions. The following example overrides the FDB decision, and sends all the Unicast, Multicast and Broadcast traffic to specified ethernet port.
Example The following example maps protocol ip-arp to the group named "213". Console (config)# vlan database Console (config-vlan)# map protocol ip-arp protocols-group 213 switchport general map protocols-group vlan The switchport general map protocols-group vlan Interface Configuration mode command sets a protocol-based classification rule. Use the no form of this command to delete a classification.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m ip internal-usage-vlan The ip internal-usage-vlan Interface Configuration mode command reserves a VLAN as the internal usage VLAN of an interface. Use the no form of this command to return to the default configuration. Syntax • ip internal-usage-vlan vlan-id • no ip internal-usage-vlan • vlan-id — Specifies the ID of the internal usage VLAN. Default Configuration The software reserves an unused VLAN as the internal usage VLAN of an interface.
show vlan The show vlan Privileged EXEC mode command displays VLAN information. Syntax • show vlan [id vlan-id | name vlan-name ] • vlan-id — specifies a VLAN ID • vlan-name — Specifies a VLAN name string. (Range: 1 - 32 characters) Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Example The following example displays all VLAN information.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • show vlan protocols-groups Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example displays protocols-groups information.
User Guidelines There are no user guidelines for this command. Example The following example displays VLANs used internally by the device. Console# show vlan internal usage VLAN Usage IP address Reserved ---- --------- ---------- -------- 1007 Eth 1/e21 Active No 1008 Eth 1/e22 Inactive Yes 1009 Eth 1/e23 Active Yes show interfaces switchport The show interfaces switchport Privileged EXEC mode command displays the switchport configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the switchport configuration for Ethernet port 1/e1. Console# show interface switchport ethernet 1/e1 Port 1/e1: VLAN Membership mode: General Operating parameters: PVID: 1 (default) Ingress Filtering: Enabled Acceptable Frame Type: All GVRP status: Enabled Protected: Enabled, Uplink is 1/e9.
Port is statically configured to: Vlan Name Egress rule ---- ------- ----------- 1 default untagged 11 VLAN011 tagged 19 IPv6 VLAN untagged 72 VLAN0072 untagged Forbidden VLANS: VLAN Name ---- ---- 73 out Console# show interface switchport ethernet 1/e2 Port 1/e2: VLAN Membership mode: General Operating parameters: PVID: 4095 (discard vlan) Ingress Filtering: Enabled Acceptable Frame Type: All Port is member in: Vlan Name Egress rule Type ---- ------------ ----------- ------
w w w. d e l l . c o m | s u p p o r t . d e l l .
Port is member in: Vlan Name Egress rule Type ---- ------------ ----------- ------ 2921 Primary A untagged Static 2922 Community A1 untagged Static Static configuration: PVID: 2922 Ingress Filtering: Enabled Acceptable Frame Type: Untagged GVRP status: Disabled D E L L C O N F I D E N T I A L – P R E L I M I N A RY 5 / 1 5 / 1 2 – F O R P R O O F O N LY VLAN Commands 505
w w w. d e l l . c o m | s u p p o r t . d e l l .
37 Voice VLAN voice vlan id The voice vlan id Global Configuration mode command enables the voice VLAN, and configures the voice VALN id. To disable the voice VALN, enter the no form of this command. Syntax • voice vlan id vlan-id • no voice vlan id • vlan-id — Specify the voice VLAN ID. Default Configuration Voice VLAN is not defined. Command Mode Global Configuration mode. User Guidelines • The Voice VLAN feature is only active if the specified VLAN is already created.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m voice vlan oui-table The voice vlan oui-table Global Configuration mode command configures the voice OUI table. Use the no form of this command to return to default. Syntax • voice vlan oui-table {add mac-address-prefix [description text] | remove mac-address-prefix} • no voice vlan oui-table • mac-address-prefix — Specify the MAC address prefix to be entered to the list. • description text — An optional text that describes the OUI.
Example The following example configures the voice OUI table.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m voice vlan cos The voice vlan cos Global Configuration mode command sets the voice VLAN Class Of Service. Use the no form of this command to return to default. Syntax • voice vlan cos cos • no voice vlan cos • cos — Specify the voice VLAN Class Of Service. Default Configuration CoS: 6 Command Mode Global Configuration mode. User Guidelines • There are no user guidelines for this command.
User Guidelines • Aging starts after bridging aging is expired. Example The following example configures vlan aging-timeout. Console (config)# voice vlan aging-timeout 2000 voice vlan enable The voice vlan enable Interface Configuration mode command enables automatic voice VLAN configuration for a port. Use the no form of this command to disable automatic voice VLAN configuration. Syntax • voice vlan enable • no voice vlan enable Default Configuration Disabled.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m voice vlan secure The voice vlan secure Interface Configuration mode command configures the secure mode for the voice VLAN. Use the no form of this command to disable the secure mode. Syntax • voice vlan secure • no voice vlan secure Default Configuration Not secured. Command Mode Interface Configuration (Ethernet, port-channel) mode.
Default Configuration OUI Description 0001e3 Siemens_AG_phone 00036b Cisco_phone 000fe2 H3C_Aolynk 0060b9 Philips_and_NEC_AG_ phone 00d01e Pingtel_phone 00e075 Polycom/Veritel_phone 00e0bb 3Com_phone Command Mode EXEC mode. User Guidelines • There are no user guidelines for this command. Example The following example displays the voice VLAN configuration.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m .
38 Web Server ip http server The ip http server Global Configuration mode command enables configuring the device from a browser. Use the no form of this command to disable this function. Syntax • ip http server • no ip http server Default Configuration HTTP server is enabled. Command Mode Global Configuration mode. User Guidelines • Only a user with access level 15 can use the Web server. Example The following example enables configuring the device from a browser.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Default Configuration The default port number is 80. Command Mode Global Configuration mode. User Guidelines • Specifying 0 as the port number effectively disables HTTP access to the device. Example The following example configures the http port number to 100.
ip https server The ip https server Global Configuration mode command enables configuring the device from a secured browser. Use the no form of this command to return to the default configuration. Syntax • ip https server • no ip https server Default Configuration HTTPS server is disabled. Command Mode Global Configuration mode. User Guidelines • Use the ip https exec-timeout Global Configuration mode command to generate an HTTPS certificate.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • Specifying 0 as the port number effectively disables HTTPS access to the device. Example The following example configures the https port number to 100. Console(config)# ip https port 100 ip https exec-timeout The ip https exec-timeout Global Configuration command sets the interval the system waits for user input before automatically logging off. Use the no form of this command to return to default.
crypto certificate generate The crypto certificate generate Global Configuration mode command generates a self-signed HTTPS certificate. Syntax • crypto certificate [number] generate key-generate [length] [passphrase string] [cn commonname][ou organization-unit][or organization] [loc location] [st state] [cu country] [duration days] • number — Specifies the certificate number. (Range: 1 - 2) • key-generate — Regenerate the SSL RSA key. • length — Specifies the SSL RSA key length.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • The command is not saved in the device configuration; however, the certificate and keys generated by this command are saved in the private configuration (which is never displayed to the user or backed up to another device). • Use this command to generate a self-signed certificate for the device. • If the RSA keys do not exist, parameter key-generate must be used.
User Guidelines • Use this command to export a certificate request to a Certification Authority. The certificate request is generated in Base64-encoded X.509 format. • Before generating a certificate request you must first generate a self-signed certificate using the ip https exec-timeout Global Configuration mode command. Be aware that you have to reenter the certificate fields.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • crypto certificate number import • number — Specifies the certificate number. (Range: 1 - 2) Default Configuration This command has no default configuration. Command Mode Global Configuration mode. User Guidelines • Use this command to enter an external certificate (signed by Certification Authority) to the device. To end the session, enter an empty line.
Examples The following example imports a certificate signed by Certification Authority for HTTPS.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m ip https certificate The ip https certificate Global Configuration mode command configures the active certificate for HTTPS. Use the no form of this command to return to the default configuration. Syntax • ip https certificate number • no ip https certificate • number — Specifies the certificate number. (Range: 1 - 2) Default Configuration Certificate number 1. Command Mode Global Configuration mode.
Example The following example displays the certificate.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example displays the HTTP server configuration. Console# show ip http HTTP server enabled. Port: 80 show ip https The show ip https Privileged EXEC mode command displays the HTTPS server configuration. Syntax • show ip https Default Configuration This command has no default configuration. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command.
Example The following example displays the HTTP server configuration. Console# show ip https HTTPS server enabled. Port: 443 Certificate 1 is active Issued by: www.verisign.com Valid from: Jan 1 02:44:50 2004 GMT Valid to: Dec 31 02:44:50 2005 GMT Subject: CN= router.gm.com, 0= General Motors, C= US Finger print: DC789788 DC88A988 127897BC BB789788 Certificate 2 is inactive Valid From: Jan 1 02:44:50 2004 GMT Valid to: Dec 31 02:44:50 2005 GMT Subject: CN= router.gm.
w w w. d e l l . c o m | s u p p o r t . d e l l .
39 802.1x Commands aaa authentication dot1x The aaa authentication dot1x Global Configuration mode command specifies one or more authentication, authorization, and accounting (AAA) methods for use on interfaces running IEEE 802.1X. Use the no form of this command to return to the default configuration. Syntax • aaa authentication dot1x default method1 [method2...] • no aaa authentication dot1x default • method1 [method2...
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example uses the aaa authentication dot1x default command with no authentication. Console(config)# aaa authentication dot1x default none dot1x system-auth-control The dot1x system-auth-control Global Configuration mode command enables 802.1x globally. Use the no form of this command to return to the default configuration. Syntax • dot1x system-auth-control • no dot1x system-auth-control Default Configuration 802.
Syntax • dot1x port-control {auto | force-authorized | force-unauthorized} • no dot1x port-control • auto — Enables 802.1X authentication on the interface and causes the port to transition to the authorized or unauthorized state based on the 802.1X authentication exchange between the port and the client. • force-authorized — Disables 802.1X authentication on the interface and causes the port to transition to the authorized state without any authentication exchange required.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • dot1x re-authentication • no dot1x re-authentication Default Configuration Periodic re-authentication is disabled. Command Mode Interface Configuration (Ethernet) mode. User Guidelines There are no user guidelines for this command. Examples The following example enables periodic re-authentication of the client.
Examples The following example sets the number of seconds between re-authentication attempts, to 300. Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x timeout re-authperiod 300 dot1x re-authenticate The dot1x re-authenticate Privileged EXEC mode command manually initiates a reauthentication of all 802.1X-enabled ports or the specified 802.1X-enabled port. Syntax • dot1x re-authenticate [ethernet interface] • interface — Valid Ethernet port.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Syntax • dot1x timeout quiet-period seconds no dot1x timeout quiet-period • seconds — Specifies the time in seconds that the device remains in the quiet state following a failed authentication exchange with the client. (Range: 0 - 65535 seconds) Default Configuration Quiet period is 60 seconds. Command Mode Interface Configuration (Ethernet) mode.
Default Configuration Timeout period is 30 seconds. Command Mode Interface Configuration (Ethernet) mode. User Guidelines • The default value of this command should be changed only to adjust for unusual circumstances, such as unreliable links or specific behavioral problems with certain clients. and authentication servers Examples The following command sets the number of seconds that the device waits for a response to an EAPrequest/identity frame, to 3600 seconds.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Examples The following example sets the number of times that the device sends an EAP-request/identity frame to 6 . Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x max-req 6 dot1x timeout supp-timeout The dot1x timeout supp-timeout Interface Configuration mode command sets the time for the retransmission of an Extensible Authentication Protocol (EAP)-request frame to the client.
Syntax • dot1x timeout server-timeout seconds • no dot1x timeout server-timeout • seconds — Time in seconds that the device waits for a response from the authentication server. (Range: 1 - 65535 seconds) Default Configuration The timeout period is 30 seconds. Command Mode Interface configuration (Ethernet) mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Command Modes Interface configuration (Ethernet) Usage Guidelines The command causes 802.1x switch to send Extensible Authentication Protocol (EAP)request/identity frame from the authenticator (switch) each tx-period automatically. It is recommended to activate this command only in case there is at least one device with not full 802.1x functionality connected to port (for example Windows EX with Service Pack 2).
Example The following example displays the status of 802.1X-enabled Ethernet ports. Console# show dot1x 802.1x is enabled Port Admin Mode Oper Mode Reauth Control Reauth Period Username ---- ---------- --------- ------- ------ -------- 1/e1 Auto Authorized Ena 3600 Bob 1/e2 Auto Authorized Ena 3600 John 1/e3 Auto Unauthorized Ena 3600 Clark 1/e4 Force-auth Authorized Dis 3600 n/a 1/e5 Force-auth Unauthorized* Dis 3600 n/a * Port is down or not present.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Authentication Method: Remote Termination Cause: Supplicant logoff Authenticator State Machine State: HELD Backend State Machine State: IDLE Authentication success: 9 Authentication fails: 1 The following table describes significant fields shown above: Field Description Port The port number. Admin mode The port admin mode. Possible values: Force-auth, Force-unauth, Auto. Oper mode The port oper mode.
Authentication Method The authentication method used to establish the session. Termination Cause The reason for the session termination. State The current value of the Authenticator PAE state machine and of the Backend state machine. Authentication success The number of times the state machine received a Success message from the Authentication Server. Authentication fails The number of times the state machine received a Failure message from the Authentication Server.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Console# show dot1x users username Bob Username: Bob Port Username Session Time Auth Method ----- -------- ------------ ----------- -------------- 1/e1 1d:03:08.58 Remote 0008:3b79:8787 Bob MAC Address The following table describes significant fields shown above: Field Description Port The port number. Username The username representing the identity of the Supplicant.
Examples The following example displays 802.1X statistics for the specified interface.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m EapolReqFramesTx The number of EAP Request frames (other than Rq/Id frames) that have been transmitted by this Authenticator. InvalidEapolFramesRx The number of EAPOL frames that have been received by this Authenticator in which the frame type is not recognized. EapLengthErrorFramesRx The number of EAPOL frames that have been received by this Authenticator in which the Packet Body Length field is invalid.
dot1x multiple-hosts The dot1x multiple-hosts Interface Configuration mode command enables multiple hosts (clients) on an 802.1X-authorized port, where the authorization state of the port is set to auto. Use the no form of this command to return to the default configuration. Syntax • dot1x multiple-hosts • no dot1x multiple-hosts Default Configuration Multiple hosts are disabled. Command Mode Interface Configuration (Ethernet) mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m • discard-shutdown — Discards frames with source addresses that are not the supplicant address. The port is also shut down. • trap — Indicates that SNMP traps are sent. • seconds — Specifies the minimum amount of time in seconds between consecutive traps. (Range: 1 - 1000000) Default Configuration Frames with source addresses that are not the supplicant address are discarded. No traps are sent.
User Guidelines • Use the dot1x guest-vlan enable Interface Configuration mode command to enable unauthorized users on an interface to access the guest VLAN. • If the guest VLAN is defined and enabled, the port automatically joins the guest VLAN when the port is unauthorized and leaves it when the port becomes authorized. Example The following example defines VLAN 2 as a guest VLAN.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m Example The following example enables unauthorized users on Ethernet port 1/e1 to access the guest VLAN. Console# configure Console(config)# interface ethernet 1/e1 Console(config-if)# dot1x guest-vlan enable dot1x mac-authentication The dot1x mac-authentication Interface Configuration mode command enables authentication based on the station’s MAC address. Use the no form of this command to disable MAC authentication.
dot1x traps mac-authentication failure The dot1x traps mac-authentication failure Global Configuration mode command enables sending traps when a MAC address was failed in authentication of the 802.1X MAC authentication access control. Use the no form of this command to disable the traps. Syntax • dot1x traps mac-authentication failure • no dot1x traps mac-authentication failure Default Configuration This command has no default configuration. Command Mode Global configuration mode.
w w w. d e l l . c o m | s u p p o r t . d e l l . c o m User Guidelines • The dot1x radius-attributes vlan command configuration is allowed only when the port is Forced Authorized. • RADIUS attributes are supported only in the multiple sessions mode (multiple hosts with authentication). • When RADIUS attributes are enabled and the RADIUS Accept message does not contain as an attribute the supplicant’s VLAN, then the supplicant is rejected. • Packets to the supplicant are sent untagged.
Examples The following example displays 802.1X advanced features for the switch.