NETGEAR GSM7224R - ProSafe Switch Cli Reference Manual

Layer-2 switches with static routing, software version 7.0
Hide thumbs Also See for GSM7224R - ProSafe Switch:
Table of Contents

Advertisement

Quick Links

Command Line Interface
Reference for the ProSafe
7200R Series Layer-2
Switches with Static
Routing, Software
Version 7.0
NETGEAR, Inc.
4500 Great America Parkway
Santa Clara, CA 95054 USA
202-10354-01
November 2007

Advertisement

Table of Contents
loading

Summary of Contents for NETGEAR GSM7224R - ProSafe Switch

  • Page 1 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Routing, Software Version 7.0 NETGEAR, Inc. 4500 Great America Parkway Santa Clara, CA 95054 USA 202-10354-01 November 2007...
  • Page 2: Statement Of Conditions

    In the interest of improving internal design, operational function, and/or reliability, NETGEAR reserves the right to make changes to the products described in this document without notice. NETGEAR does not assume any liability that may occur due to the use or application of the product(s) or circuit layout(s) described herein.
  • Page 3 Product and Publication Details Model Number: GSM72xxR Publication Date: November 2007 Product Family: managed switch Product Name: ProSafe 7200R Series Layer-2 Managed Switch with Static Routing Home or Business Product: Business Language: English Publication Part Number: 202-10354-01 Publication Version Number v1.0, November 2007...
  • Page 4 v1.0, November 2007...
  • Page 5: Table Of Contents

    Contents Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Routing, Software Version 7.0 Chapter 1 About This Manual Audience ......................1-1 Scope ........................1-1 Typographical Conventions ................1-2 Special Message Formats .................1-2 How to Use This Manual ...................1-3 How to Print this Manual ..................1-3 Revision History ....................1-4 Chapter 2...
  • Page 6 3.1.3 network mgmt_vlan ..................3-2 3.1.4 network protocol ..................3-2 3.1.5 show network ....................3-3 Configuring the Switch Management CPU (ezconfig) ........3-5 Console Port Access Commands ..............3-7 3.3.1 configuration .....................3-7 3.3.2 lineconfig ....................3-7 3.3.3 serial baudrate ..................3-8 3.3.4 serial timeout ....................3-8 3.3.5 show serial ....................3-9 Telnet Commands ....................3-10 3.4.1 telnet .......................3-10...
  • Page 7 3.6.9 ip http secure-session hard-timeout ............3-20 3.6.10 ip http secure-session maxsessions ............3-21 3.6.11 ip http secure-session soft-timeout ............3-21 3.6.12 network javamode ..................3-21 3.6.13 show ip http ....................3-22 User Account Commands ................3-24 3.7.1 users name .....................3-24 3.7.2 users passwd ..................3-25 3.7.3 users snmpv3 accessmode ..............3-25 3.7.4 users snmpv3 authentication ..............3-26...
  • Page 8 4.1.19 show port status ..................4-9 Pre-login Banner and System Prompt Commands ..........4-10 4.2.1 copy ......................4-10 4.2.2 set prompt ....................4-10 Simple Network Time Protocol (SNTP) Commands ........4-11 4.3.1 sntp broadcast client poll-interval ............4-11 4.3.2 sntp client mode ..................4-11 4.3.3 sntp client port ..................4-12 4.3.4...
  • Page 9 4.5.5 clear host ....................4-26 4.5.6 show hosts ....................4-26 Chapter 5 Spanning Tree Protocol Commands STP Configuration Commands ................5-1 5.1.1 spanning-tree ....................5-1 5.1.2 spanning-tree bpdumigrationcheck ............5-2 5.1.3 spanning-tree configuration name ............5-2 5.1.4 spanning-tree configuration revision ............5-3 5.1.5 spanning-tree edgeport ................5-3 5.1.6 spanning-tree edgeport all ................5-3 5.1.7 spanning-tree forceversion ...............5-4...
  • Page 10 6.1.2 network mgmt_vlan ..................6-2 6.1.3 vlan ......................6-2 6.1.4 vlan acceptframe ..................6-2 6.1.5 vlan ingressfilter ..................6-3 6.1.6 vlan makestatic ..................6-3 6.1.7 vlan name ....................6-4 6.1.8 vlan participation ..................6-4 6.1.9 vlan participation all ..................6-5 6.1.10 vlan port acceptframe all ................6-5 6.1.11 vlan port pvid all ..................6-6 6.1.12 vlan port tagging all ..................6-6 6.1.13...
  • Page 11 7.1.5 dns-server ....................7-4 7.1.6 hardware-address ..................7-4 7.1.7 host ......................7-5 7.1.8 lease ......................7-5 7.1.9 network .....................7-6 7.1.10 bootfile ......................7-6 7.1.11 domain-name ....................7-6 7.1.12 netbios-name-server .................7-7 7.1.13 netbios-node-type ..................7-7 7.1.14 next-server ....................7-8 7.1.15 option ......................7-8 DHCP Server Commands (Global Config Mode) ..........7-9 7.2.1 ip dhcp excluded-address .................7-9 7.2.2...
  • Page 12 Chapter 8 GARP, GVRP, and GMRP Commands GARP Commands .....................8-2 8.1.1 set garp timer join ..................8-2 8.1.2 set garp timer leave ..................8-3 8.1.3 set garp timer leaveall ................8-4 8.1.4 show garp ....................8-4 GVRP Commands .....................8-5 8.2.1 set gvrp adminmode .................8-5 8.2.2 set gvrp interfacemode ................8-5 8.2.3...
  • Page 13 9.2.6 storm-control unicast ................9-8 9.2.7 storm-control flowcontrol ................9-8 9.2.8 show storm-control ...................9-9 Chapter 10 SNMP Commands 10.1 SNMP Configuration Commands ..............10-1 10.1.1 snmp-server ....................10-1 10.1.2 snmp-server community .................10-2 10.1.3 snmp-server community ipaddr ..............10-2 10.1.4 snmp-server community ipmask .............10-3 10.1.5 snmp-server community mode ...............10-3 10.1.6 snmp-server community ro ..............10-4 10.1.7...
  • Page 14 11.1.4 dot1x defaultlogin ................... 11-3 11.1.5 dot1x initialize ..................11-3 11.1.6 dot1x login ....................11-3 11.1.7 dot1x max-req ..................11-4 11.1.8 dot1x port-control ..................11-4 11.1.9 dot1x port-control all ................11-5 11.1.10 dot1x re-authenticate ................11-5 11.1.11 dot1x re-authentication ................11-6 11.1.12 dot1x system-auth-control ..............
  • Page 15 12.1.3 deleteport (Global Config) ..............12-2 12.1.4 port-channel ....................12-3 12.1.5 clear port-channel ...................12-3 12.1.6 port lacpmode ..................12-3 12.1.7 port lacpmode all ..................12-4 12.1.8 port-channel adminmode ................12-4 12.1.9 port-channel name ..................12-4 12.1.10 port-channel linktrap ................12-5 12.1.11 hashing-mode ..................12-5 12.2 Port-Channel Show Commands ..............12-6 12.2.1 show port-channel ..................12-6 12.2.2...
  • Page 16 13.3.6 match cos .....................13-12 13.3.7 match destination-address mac ............13-13 13.3.8 match dstip ...................13-13 13.3.9 match dstl4port ..................13-13 13.3.10 match ip dscp ..................13-14 13.3.11 match ip precedence ................13-14 13.3.12 match ip tos ..................13-15 13.3.13 match protocol ..................13-16 13.3.14 match source-address mac ..............13-16 13.3.15 match srcip ...................13-16 13.3.16 match srcl4port ..................13-17 13.3.17 match vlan ....................13-17...
  • Page 17 13.7.2 mac access-list extended rename ............13-33 13.7.3 {deny|permit} ..................13-33 13.7.4 mac access-group ................13-34 13.7.5 show mac access-lists ................13-35 13.8 IP Access Control List (ACL) Commands ............13-36 13.8.1 access-list .....................13-37 13.8.2 ip access-group ..................13-38 13.8.3 show ip access-lists ................13-39 13.8.4 show access-lists ..................13-39 Chapter 14 Routing Commands 14.1...
  • Page 18 14.2.12 show ip interface ...................14-14 14.2.13 show ip route ..................14-14 14.2.14 show ip route bestroutes ..............14-15 14.2.15 show ip route entry ................14-15 14.2.16 show ip route preferences ..............14-16 14.2.17 show ip stats ..................14-16 14.3 Virtual LAN Routing Commands ..............14-17 14.3.1 vlan routing ...................14-17 14.3.2 show ip vlan ..................14-17...
  • Page 19 16.1.3 show hardware ..................16-2 16.1.4 show interface ..................16-3 16.1.5 show interface ethernet ................16-5 16.1.6 show logging ..................16-14 16.1.7 show mac-addr-table ................16-15 16.1.8 clear mac-addr-table ................16-16 16.1.9 show running-config ................16-16 16.1.10 show running-config interface ...............16-16 16.1.11 terminal length ..................16-17 16.1.12 show sysinfo ..................16-17 16.2 System Utility Commands ................16-18 16.2.1...
  • Page 20 16.3.11 show logging hosts ................16-27 16.3.12 show logging traplogs ................16-28 16.4 CLI Command Logging Command ..............16-28 16.4.1 logging cli-command ................16-28 16.5 Configuration Scripting Commands ...............16-29 16.5.1 script apply ...................16-29 16.5.2 script delete ..................16-30 16.5.3 script list ....................16-30 16.5.4 show script ....................16-30 16.5.5 script validate ..................16-31 16.6...
  • Page 21: About This Manual

    Chapter 1 About This Manual This chapter introduces the Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Routing, Software Version 7.0. It describes the command-line interface (CLI) commands used to view and configure the 7200R Series Managed Switch software.
  • Page 22: Typographical Conventions

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Note: Product updates are available on the NETGEAR Web site at http://kbserver.netgear.com/products/. 1.3 Typographical Conventions This guide uses the following typographical conventions: Table 1-2. Typographical conventions Italic...
  • Page 23: How To Use This Manual

    Double-click on a link in the table of contents or index to navigate directly to where the topic is described in the manual. • button to access the full NETGEAR, Inc. online knowledge base for the product model. • Links to PDF versions of the full manual and individual chapters.
  • Page 24: Revision History

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static – Click the print icon in the window toolbar. Tip: If your printer supports printing of two or more pages on a single sheet of paper, you can save paper and printer ink by clicking the printer Properties button and increasing the number of pages per sheet.
  • Page 25: Overview

    Chapter 2 Overview The 7200R Series Managed Switch software has two purposes: • Assist attached hardware in switching frames, based on Layer 2, 3, or 4 information contained in the frames. • Provide a complete device management portfolio to the network administrator. 2.1 Scope 7200R Series Managed Switch software encompasses both hardware and software support.
  • Page 26: Command Syntax

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static • Section 2.2.4 “Using the “No” Form of a Command” on page 2-5 • Section 2.2.5 “Command Modes” on page 2-6 • Section 2.2.6 “Entering CLI Commands” on page 2-8 •...
  • Page 27: Command Conventions

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 2.2.2 Command Conventions In this document, the command name is in font. Parameters are in font. You bold italic must replace the parameter name with an appropriate value, which might be a name or number.
  • Page 28: Common Parameter Values

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 2.2.2.1 Common Parameter Values Parameter values might be names (strings) or numbers. To use spaces as part of a name parameter, enclose the name value in double quotes. For example, the expression “System Name with Spaces”...
  • Page 29: Slot-Port Naming Convention

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 2.2.3 Slot-Port Naming Convention 7200R Series Managed Switch software references physical entities such as cards and ports by using a Slot-Port (SP) naming convention. The software also uses this convention to identify certain logical entities, such as port-channel interfaces.
  • Page 30: Command Modes

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 2.2.5 Command Modes The CLI groups commands into modes according to the command function. Each of the command modes supports specific 7200R Series Managed Switch software commands. The commands in one mode are not available until you switch to that particular mode, with the exception of the User EXEC mode commands.
  • Page 31 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Table 2-5. CLI Command Modes (continued) Command Mode Prompt Mode Description Policy Class Config Consists of class creation, Switch (Config policy-class-map)# deletion, and matching commands. The class match commands specify Layer 2, Layer 3, and general match criteria.
  • Page 32: Entering Cli Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Table 2-6. CLI Mode Access and Exit (continued) Command Mode Access Method Exit or Access Previous Mode Class-Map From the Global Config mode, enter To exit to the Global Config mode, Config enter exit.
  • Page 33: Using Cli Help

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 2.2.6.3 CLI Line-Editing Conventions Table 2-8 describes the key combinations you can use to edit commands or increase the speed of command entry. You can access this list from the CLI by entering from the help User or Privileged EXEC modes.
  • Page 34: Accessing The Cli

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static show Display switch options and settings. Enter a question mark (?) after each word you enter to display available command keywords or parameters. (switch) #network ? javamode Enable/Disable.
  • Page 35: Administrative Access Commands

    Chapter 3 Administrative Access Commands This section describes the management access and basic port configuration commands available in the 7200R Series Managed Switch CLI. This section contains the following topics: • Section 3.1 “Network Interface Commands” on page 3-1 • Section 3.3 “Console Port Access Commands”...
  • Page 36: Network Parms (Parameter)

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.1.2 network parms (parameter) This command sets the IP Address, subnet mask and gateway of the device. The IP Address and the gateway must be on the same subnet. Format network (parms | parameter) <ipaddr>...
  • Page 37: Show Network

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.1.5 show network This command displays configuration settings associated with the switch's network interface. The network interface is the logical interface used for in-band connectivity with the switch via any of the switch's front panel ports. The configuration parameters associated with the switch's network interface do not affect the configuration of the front panel ports through which traffic is switched or routed.
  • Page 38 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Network Configuration Protocol Current Indicates which network protocol is being used. The options are bootp | dhcp | none. Java Mode Specifies if the switch should allow access to the Java applet in the header frame.
  • Page 39: Configuring The Switch Management Cpu (Ezconfig)

    To manage the switch via the web GUI or telnet, an IP address needs to be assigned to the switch management CPU. Whereas there are CLI commands that can be used to do this, ezconfig simplifies the task. The tool is applicable to all NETGEAR 7000-series managed switches, and allows you to configure the following parameters: 1.
  • Page 40 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static The following is an example of an ezconfig session. NETGEAR EZ Configuration Utility -------------------------------- Hello and Welcome! This utility will walk you thru assigning the IP address for the switch management CPU.
  • Page 41: Console Port Access Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static There are changes detected, do you wish to save the changes permanently (Y/N)? The configuration changes have been saved succesfully. Please enter 'show running-config' to see the final configuration. Thanks for using EzConfig! 3.3 Console Port Access Commands This section describes the commands you use to configure the console port.
  • Page 42: Serial Baudrate

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.3.3 serial baudrate This command specifies the communication rate of the terminal interface. The supported rates are 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200. Default 9600 Format serial baudrate {1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200}...
  • Page 43: Show Serial

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.3.5 show serial This command displays serial communication settings for the switch. Format show serial Modes Privileged EXEC User EXEC Serial Port Login Timeout (minutes) Specifies the time, in minutes, of inactivity on a Serial port connection, after which the Switch will close the connection.
  • Page 44: Telnet Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.4 Telnet Commands This section describes the commands you use to configure and view telnet settings. You can use telnet to manage the device from a remote management host. 3.4.1 telnet This command establishes a new outbound telnet connection to a remote host.
  • Page 45: Transport Output Telnet

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.4.3 transport output telnet This command regulates new outbound telnet connections. If enabled, new outbound telnet sessions can be established until it reaches the maximum number of simultaneous outbound telnet sessions allowed.
  • Page 46: Session-Timeout

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.4.5 session-timeout This command sets the telnet session timeout value.The timeout value unit of time is minutes. A value of 0 indicates that a session remains active indefinitely. Default Format session-timeout <0-160>...
  • Page 47: Telnetcon Timeout

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.4.7 telnetcon timeout This command sets the telnet connection session timeout value, in minutes. A session is active as long as the session has not been idle for the value you set, which ranges from 1- 160 minutes.
  • Page 48: Show Telnetcon

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Maximum Number of Outbound Telnet Sessions Indicates the number of simultaneous outbound telnet con- nections allowed. Allow New Outbound Telnet Sessions Indicates whether outbound telnet sessions are allowed. 3.4.9 show telnetcon This command displays telnet settings.
  • Page 49: Secure Shell (Ssh) Command

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.5 Secure Shell (SSH) Command This section describes the commands you use to configure SSH access to the switch. Use SSH to access the switch from a remote management host. Note: The system allows a maximum of 5 SSH sessions.
  • Page 50: Sshcon Maxsessions

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.5.3 sshcon maxsessions This command specifies the maximum number of SSH connection sessions that can be established. A value of 0 indicates that no ssh connection can be established. The range is 0 to 5.
  • Page 51: Show Ip Ssh

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.5.5 show ip ssh This command displays the ssh settings. Format show ip ssh Mode Privileged EXEC Administrative Mode This field indicates whether the administrative mode of SSH is enabled or disabled.
  • Page 52: Ip Http Secure-Protocol

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.6.2 ip http secure-protocol This command is used to set protocol levels (versions). The protocol level can be set to TLS1, SSL3 or to both TLS1 and SSL3. Default SSL3 and TLS1 Format...
  • Page 53: Ip Http Java

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.6.5 ip http java This command enables the Web Java mode. The Java mode applies to both secure and unsecure Web connections. Default enabled Format ip http java Mode Privileged EXEC 3.6.5.1 no ip http java...
  • Page 54: Ip Http Session Soft-Timeout

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.6.7.1 no ip http session maxsessions Restores the the number of allowable un-secure HTTP sessions to the default value. Format no ip http session maxsessions Mode Privileged EXEC 3.6.8 ip http session soft-timeout Configures the soft timeout for un-secure HTTP sessions in minutes.
  • Page 55: Ip Http Secure-Session Maxsessions

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.6.10 ip http secure-session maxsessions This command limits the number of secure HTTP sessions. Zero is the configurable minimum. Default Format ip http secure-session maxsessions <0-5> Mode Privileged EXEC 3.6.10.1 no ip http secure-session maxsessions Restores the the number of allowable secure HTTP sessions to the default value.
  • Page 56: Show Ip Http

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Mode Privileged EXEC 3.6.12.1 no network javamode This command disallows access to the Java applet in the header frame of the Web interface. When access is disabled, the user cannot view the Java applet. Format no network javamode Mode...
  • Page 57 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static HTTPS Session Soft Timeout The soft timeout for secure HTTP sessions in minutes. Administrative Access Commands 3-23 v1.0, November 2007...
  • Page 58: User Account Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.7 User Account Commands This section describes the commands you use to add, manage, and delete system users. The 7200R Series Managed Switch has two default users: admin and guest. The admin user can view and configure system settings, and the guest user can view settings.
  • Page 59: Users Passwd

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.7.2 users passwd Use this command to change a password. Passwords are a maximum of eight alphanumeric characters. If a user is authorized for authentication or encryption is enabled, the password length must be at least eight alphanumeric characters.
  • Page 60: Users Snmpv3 Authentication

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.7.4 users snmpv3 authentication This command specifies the authentication protocol to be used for the specified user. The valid authentication If you specify , the login password is also used as protocols are none, md5 or sha.
  • Page 61: Show Loginsession

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 3.7.5.1 no users snmpv3 encryption This command sets the encryption protocol to none. The is the login user <username> name for which the specified encryption protocol will be used. Format no users snmpv3 encryption <username>...
  • Page 62: Disconnect

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static SNMPv3 Access Mode This field displays the SNMPv3 Access Mode. If the value is set to the SNMPv3 user is able to set and ReadWrite, retrieve parameters on the system. If the value is set to Rea- the SNMPv3 user is only able to retrieve parameter dOnly,...
  • Page 63: Port And System Setup Commands

    Chapter 4 Port and System Setup Commands This section describes general port and system setup commands available in the 7200R Series Managed Switch CLI. This section contains the following topics: • Section 4.1 “Port Configuration Commands” on page 4-1 • Section 4.2 “Pre-login Banner and System Prompt Commands”...
  • Page 64: Interface Range

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.2 interface range This command gives you access to a range of port interfaces, allowing the same port configuration to be applied to a set of ports. Format interface range <slot/port>-<slot/port>...
  • Page 65: Auto-Negotiate All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.5.1 no auto-negotiate This command disables automatic negotiation on a port. Note: Automatic sensing is disabled when automatic negotiation is disabled. Format no auto-negotiate Mode Interface Config 4.1.6 auto-negotiate all This command enables automatic negotiation on all ports.
  • Page 66: Mtu

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.8 mtu This command sets the maximum transmission unit (MTU) size, in bytes, for physical and port-channel (LAG) interfaces. For the standard implementation, the MTU size is a valid integer between 1522 - 9216 for tagged packets and a valid integer between 1518 - 9216 for untagged packets.
  • Page 67: Shutdown All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.9.1 no shutdown This command enables a port. Note: You can use the command on physical and port-channel no shutdown (LAG) interfaces, but not on VLAN routing interfaces. Format no shutdown Mode...
  • Page 68: Speed All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Acceptable values are: 100h 100BASE-T half duplex 100f 100BASE-T full duplex 10BASE-T half duplex 10BASE-T full duplex 4.1.12 speed all This command sets the speed and duplex setting for all interfaces. Format speed all {<100 | 10>...
  • Page 69: No Monitor

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.13.1 no monitor session This command removes the monitor session (port monitoring) designation from the source probe port, the destination monitored port and all VLANs. Once the port is removed from the VLAN, the user must manually add the port to any desired VLANs.
  • Page 70: Show Port

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.16 show port This command displays port information. Format show port {<slot/port> | all} Mode Privileged EXEC Interface Valid slot and port number separated by forward slashes. Type If not blank, this field indicates that this port is a special type of port.
  • Page 71: Show Port Protocol

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.1.18 show port protocol This command displays the Protocol-Based VLAN information for either the entire system, or for the indicated group. Format show port protocol {<groupid> | all} Mode Privileged EXEC Group Name...
  • Page 72: Pre-Login Banner And System Prompt Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.2 Pre-login Banner and System Prompt Commands This section describes the commands you use configure the pre-login banner and the system prompt. The pre-login banner is the text that displays before you login at the User: prompt.
  • Page 73: Simple Network Time Protocol (Sntp) Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.3 Simple Network Time Protocol (SNTP) Commands This section describes the commands you use to automatically configure the system time and date by using SNTP. 4.3.1 sntp broadcast client poll-interval This command sets the poll interval for SNTP broadcast clients in seconds as a power of two where <poll-interval>...
  • Page 74: Sntp Client Port

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.3.3 sntp client port This command sets the SNTP client port id to a value from 1-65535. Default Format sntp client port <portid> Mode Global Config 4.3.3.1 no sntp client port This command resets the SNTP client port back to its default value.
  • Page 75: Sntp Unicast Client Poll-Retry

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.3.5.1 no sntp unicast client poll-timeout This command resets the poll timeout for SNTP unicast clients to its default value. Format no sntp unicast client poll-timeout Mode Global Config 4.3.6 sntp unicast client poll-retry This command will set the poll retry for SNTP unicast clients to a value from 0 to 10.
  • Page 76: Sntp Server

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.3.8 sntp server This command configures an SNTP server (a maximum of three). The optional priority can be a value of 1-3, the version a value of 1-4, and the port id a value of 1-65535. Format sntp server <ipaddress>...
  • Page 77: Show Sntp Server

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Client Supported Modes Supported SNTP Modes (Broadcast, Unicast, or Multicast). SNTP Version The highest SNTP version the client supports Port SNTP Client Port Client Mode Configured SNTP Client Mode Poll Interval Poll interval value for SNTP clients in seconds as a power of two.
  • Page 78: Clock Timezone

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Port Server Port Number Last Attempt Time Last server attempt time for the specified server. Last Attempt Status Last server attempt status for the server. Total Unicast Requests Number of requests to the server.
  • Page 79: Mac Address And Mac Database Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.4 MAC Address and MAC Database Commands This section describes the commands you use to configure and view information about the system MAC address and the MAC address table. 4.4.1 network mac-address This command sets locally administered MAC addresses.
  • Page 80: Macfilter

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.4.3 macfilter This command adds a static MAC filter entry for the MAC address <macaddr> on the VLAN <vlanid>. The <macaddr> parameter must be specified as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6.
  • Page 81: Macfilter Adddest All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.4.4.1 no macfilter adddest This command removes a port from the destination filter set for the MAC filter with the given <macaddr> and VLAN of <vlanid>. The <macaddr> parameter must be specified as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6.
  • Page 82: Macfilter Addsrc All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.4.6.1 no macfilter addsrc This command removes a port from the source filter set for the MAC filter with the MAC address of <macaddr> and VLAN of <vlanid>. The <macaddr> parameter must be specified as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6.
  • Page 83: Bridge Aging-Time

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.4.8 bridge aging-time This command configures the forwarding database address aging timeout in seconds. In an IVL system, the parameter is required. [fdbid | all] Default Format bridge aging-time <10-1,000,000>...
  • Page 84: Show Forwardingdb Agetime

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.4.9 show forwardingdb agetime This command displays the timeout for address aging. In an IVL system, the [fdbid | parameter is required. all] Default Format show forwardingdb agetime [fdbid | all] Mode Privileged EXEC Forwarding DB...
  • Page 85: Show Mac-Address-Table Static

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Interfaces The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). Forwarding Interfaces The resultant forwarding list is derived from combining all the component’s forwarding interfaces and removing the interfaces that are listed as the static filtering interfaces.
  • Page 86: Dns Client Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.5 DNS Client Commands The Domain Name System (DNS) is an Internet directory service. DNS is used to translate domain names to IP addresses. A DNS Client (often referred to as a resolver) uses a defined protocol to obtain resource data from name servers on its network.
  • Page 87: Ip Domain-Lookup

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.5.1 ip domain-lookup To enable the IP Domain Naming System (DNS)-based host name-to-address translation, use the ip domain-lookup global configuration command. To disable the DNS, use the no form of this command Format [no] ip domain-lookup...
  • Page 88: Ip Host

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 4.5.4 ip host To define static host name <name> to IP address <address> mapping in the host cache, use the ip host global configuration command. The <name> string is from 1 to 255 characters.
  • Page 89: Spanning Tree Protocol Commands

    Chapter 5 Spanning Tree Protocol Commands This section describes the spanning tree protocol (STP) commands available in the 7200R Series Managed Switch CLI. STP helps prevent network loops, duplicate messages, and network instability. The STP Commands section includes the following topics: •...
  • Page 90: Spanning-Tree Bpdumigrationcheck

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.1.1 no spanning-tree This command sets the spanning-tree operational mode to disabled. While disabled, the spanning-tree configuration is retained and can be changed, but is not activated. Format no spanning-tree Mode...
  • Page 91: Spanning-Tree Configuration Revision

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.4 spanning-tree configuration revision This command sets the Configuration Identifier Revision Level for use in identifying the configuration that this switch is currently using. The Configuration Identifier Revision Level is a number in the range of 0 to 65535.
  • Page 92: Spanning-Tree Forceversion

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.6.1 no spanning-tree edgeport all This command disables Edge Port mode for all ports within the common and internal spanning tree. Format spanning-tree edgeport all Mode Global Config 5.1.7 spanning-tree forceversion This command sets the Force Protocol Version parameter to a new value.
  • Page 93: Spanning-Tree Hello-Time

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.8.1 no spanning-tree forward-time This command sets the Bridge Forward Delay parameter for the common and internal spanning tree to the default value of 15. Format no spanning-tree forward-time Mode Global Config 5.1.9 spanning-tree hello-time...
  • Page 94: Spanning-Tree Max-Hops

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.11 spanning-tree max-hops This command sets the MSTP Max Hops parameter to a new value for the common and internal spanning tree. The max-hops value is a range from 1 to 127. Default Format spanning-tree max-hops <1-127>...
  • Page 95: Spanning-Tree Mst Instance

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static {external-cost <1-200000000> | auto}| port-prior- ity <0-240>} Mode Interface Config 5.1.12.1 no spanning-tree mst This command sets the Path Cost or Port Priority for this port within the multiple spanning tree instance, or in the common and internal spanning tree to the respective default values.
  • Page 96: Spanning-Tree Mst Priority

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.13.1 no spanning-tree mst instance This command removes a multiple spanning tree instance from the switch and reallocates all VLANs allocated to the deleted instance to the common and internal spanning tree. The parameter is a number that corresponds to the desired existing multiple spanning <mstid>...
  • Page 97: Spanning-Tree Mst Vlan

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.15 spanning-tree mst vlan This command adds an association between a multiple spanning tree instance and a VLAN so that the VLAN is no longer associated with the common and internal spanning tree. The parameter is a number that corresponds to the desired existing multiple <mstid>...
  • Page 98: Spanning-Tree Bpduforwarding

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5.1.17.1 no spanning-tree port mode all This command sets the Administrative Switch Port State for all ports to disabled. Format no spanning-tree port mode all Mode Global Config 5.1.18 spanning-tree bpduforwarding Normally a switch will not forward Spanning Tree Protocol (STP) BPDU packets if STP is disabled.
  • Page 99 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Bridge Priority Specifies the bridge priority for the Common and Internal Spanning tree (CST). The value lies between 0 and 61440. It is displayed in multiples of 4096. Bridge Identifier The bridge identifier for the CST.
  • Page 100: Show Spanning-Tree Summary

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Associated FIDs List of forwarding database identifiers currently associated with this instance. Associated VLANs List of VLAN IDs currently associated with this instance. When you include the keyword, this command displays spanning tree settings for brief the bridge and the following information appears.
  • Page 101: Show Spanning-Tree Interface

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Configuration Revision Level Identifier used to identify the configuration currently being used. Configuration Digest Key Identifier used to identify the configuration currently being used. MST Instances List of all multiple spanning tree instances configured on the switch 5.2.3 show spanning-tree interface This command displays the settings and parameters for a specific switch port within the...
  • Page 102: Show Spanning-Tree Mst Port Detailed

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static MSTP BPDUs Received Multiple Spanning Tree Protocol Bridge Protocol Data Units received. 5.2.4 show spanning-tree mst port detailed This command displays the detailed settings and parameters for a specific switch port within a particular multiple spanning tree instance.
  • Page 103 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Designated Port Cost Path Cost offered to the LAN by the Designated Port Designated Bridge ridge Identifier of the bridge with the Designated Port. Designated Port Identifier Port on the Designated Bridge that offers the lowest cost to the LAN.
  • Page 104: Show Spanning-Tree Mst Port Summary

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Point To Point MAC Status Derived value indicating if this port is part of a point to point link CST Regional Root The regional root identifier in use for this port. CST Port Cost The configured path cost for this port.
  • Page 105: Show Spanning-Tree Vlan

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static MST Instance ID List List of multiple spanning trees IDs currently configured. For each MSTID: Associated FIDs List of forwarding database identifiers associated with this instance. Associated VLANs List of VLAN IDs associated with this instance.
  • Page 106 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 5-18 Spanning Tree Protocol Commands v1.0, November 2007...
  • Page 107: Vlan Commands

    Chapter 6 VLAN Commands This section describes the VLAN commands available in the 7200R Series Managed Switch CLI. VLANs allow users located on different physical networks to be on the same logical network. The VLAN Commands section includes the following topics: •...
  • Page 108: Network Mgmt_Vlan

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.2 network mgmt_vlan This command configures the Management VLAN ID. Default Format network mgmt_vlan <1-4069> Mode Privileged EXEC 6.1.2.1 no network mgmt_vlan This command sets the Management VLAN ID to the default. Format no network mgmt_vlan Mode...
  • Page 109: Vlan Ingressfilter

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.4.1 no vlan acceptframe This command sets the frame acceptance mode per interface to Admit All. For Admit All mode, untagged frames or priority frames received on this interface are accepted and assigned the value of the interface VLAN ID for this port.
  • Page 110: Vlan Name

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.7 vlan name This command changes the name of a VLAN. The name is an alphanumeric string of up to 32 characters, and the ID is a valid VLAN identification number. ID range is 1-4094. Default VLAN ID 1 - default;...
  • Page 111: Vlan Participation All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.9 vlan participation all This command configures the degree of participation for all interfaces in a VLAN. The ID is a valid VLAN identification number Format vlan participation all {exclude | include | auto} <1-4094>...
  • Page 112: Vlan Port Pvid All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format no vlan port acceptframe all Mode Global Config 6.1.11 vlan port pvid all This command changes the VLAN ID for all interface. Default Format vlan port pvid all <1-4094> Mode Global Config 6.1.11.1 no vlan port pvid all...
  • Page 113: Vlan Port Ingressfilter All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.13 vlan port ingressfilter all This command enables ingress filtering for all ports. If ingress filtering is disabled, frames received with VLAN IDs that do not match the VLAN membership of the receiving interface are admitted and forwarded to ports that are members of that VLAN.
  • Page 114: Vlan Protocol Group Remove

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.16.1 no vlan protocol group add protocol This command removes the < from this protocol-based VLAN group that is protocol> identified by this < . The possible values for protocol are groupid>...
  • Page 115: Protocol Vlan Group

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.19 protocol vlan group This command adds the physical interface to the protocol-based VLAN identified by . You can associate multiple interfaces with a group, but you can only associate <groupid>...
  • Page 116: Vlan Pvid

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.1.21 vlan pvid This command changes the VLAN ID per interface. When an untagged packet comes to the switch, it will be tagged with the PVID value as the VLAN ID for further processing. By default, every port belongs to VLAN 1 and the PVID value is set to 1.
  • Page 117: Vlan Show Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.2 VLAN Show Commands This section describes the commands you use to view VLAN settings. 6.2.1 show vlan This command displays a list of all configured VLANs. Format show vlan Modes...
  • Page 118 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Interface Valid slot and port number separated by forward slashes. It is possible to set the parameters for all ports by using the selec- tors on the top line. Current Determines the degree of participation of this port in this VLAN.
  • Page 119: Show Vlan Port

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.2.3 show vlan port This command displays VLAN port information. Format show vlan port {<slot/port> | all} Modes Privileged EXEC User EXEC Interface Valid slot and port number separated by forward slashes. It is possible to set the parameters for all ports by using the selec- tors on the top line.
  • Page 120: Provisioning (Ieee 802.1P) Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 6.3 Provisioning (IEEE 802.1p) Commands This section describes the commands you use to configure provisioning, which allows you to prioritize ports. 6.3.1 vlan port priority all This command configures the port priority assigned for untagged packets for all ports presently plugged into the device.
  • Page 121: Dhcp Commands

    Chapter 7 DHCP Commands This section describes the DHCP commands available in the 7200R Series Managed Switch CLI. DHCP automatically allocates and manages client TCP/ IP configurations. DHCP uses UDP as its transport protocol and supports a number of features that facilitate in administration address allocations.
  • Page 122: Dhcp Server Commands (Dhcp Config Pool Mode)

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1 DHCP Server Commands (DHCP Config Pool Mode) This section describes the commands you to configure the DHCP server settings for the switch. 7.1.1 ip dhcp pool This command configures a DHCP address pool name on a DHCP server and enters DHCP pool configuration mode.
  • Page 123: Client-Name

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.2.1 no client-identifier This command deletes the client identifier. Format no client-identifier Mode DHCP Pool Config 7.1.3 client-name This command specifies the name for a DHCP client. Name is a string consisting of standard ASCII characters.
  • Page 124: Dns-Server

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.5 dns-server This command specifies the IP servers available to a DHCP client. Address parameters are valid IP addresses; each made up of four decimal bytes ranging from 0 to 255. IP address 0.0.0.0 is invalid.
  • Page 125: Host

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.7 host This command specifies the IP address and network mask for a manual binding to a DHCP client. Address and Mask are valid IP addresses; each made up of four decimal bytes ranging from 0 to 255.
  • Page 126: Network

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.9 network Use this command to configure the subnet number and mask for a DHCP address pool on the server. Network-number is a valid IP address, made up of four decimal bytes ranging from 0 to 255.
  • Page 127: Netbios-Name-Server

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.11.1 no domain-name This command removes the domain name. Format no domain-name Mode DHCP Pool Config 7.1.12 netbios-name-server This command configures NetBIOS Windows Internet Naming Service (WINS) name servers that are available to DHCP clients.
  • Page 128: Next-Server

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.13.1 no netbios-node-type This command removes the NetBIOS node Type. Format no netbios-node-type Mode DHCP Pool Config 7.1.14 next-server This command configures the next server in the boot process of a DHCP client. Address is the IP address of the next server in the boot process, which is typically a TFTP server.
  • Page 129: Dhcp Server Commands (Global Config Mode)

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.1.15.1 no option This command removes the options. Format no option <code> Mode DHCP Pool Config 7.2 DHCP Server Commands (Global Config Mode) This section describes the commands you to configure the DHCP server settings for the switch.
  • Page 130: Ip Dhcp Ping Packets

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.2.2 ip dhcp ping packets This command is used to specify the number, in a range from 2-10, of packets a DHCP server sends to a pool address as part of a ping operation. By default the number of packets sent to a pool address is 2 (the smallest allowed number when sending packets).
  • Page 131: Ip Dhcp Bootp Automatic

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.2.4 ip dhcp bootp automatic This command enables the allocation of the addresses to the bootp client. The addresses are from the automatic address pool. Default disabled Format ip dhcp bootp automatic Mode...
  • Page 132: Dhcp Server Clear And Show Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.3 DHCP Server Clear and Show Commands This section describes the commands you to delete various DHCP information and the commands you use to view DHCP configuration information and statistics. 7.3.1 clear ip dhcp binding This command deletes an automatic address binding from the DHCP server database.
  • Page 133: Show Ip Dhcp Global Configuration

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static IP address The IP address of the client. Hardware Address The MAC Address or the client identifier. Lease expiration The lease expiration time of the IP Address assigned to the client.
  • Page 134: Show Ip Dhcp Server Statistics

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static The following additional field is displayed for Dynamic pool type: Network The network number and the mask for the DHCP address pool. The following additional fields are displayed for Manual pool type: Client Name The name of a DHCP client.
  • Page 135: Show Ip Dhcp Conflict

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static DHCP RELEASE The number of DHCPRELEASE messages the server has received. DHCP INFORM The number of DHCPINFORM messages the server has received. Message Sent: DHCP OFFER The number of DHCPOFFER messages the server sent. DHCP ACK The number of DHCPACK messages the server sent.
  • Page 136: Ip Dhcp Relay Information Option

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.4.1 ip dhcp relay information option This command enables option 82 (RFC 3046) for BootP/DHCP Relay on the system. Once enabled, the DHCP request forwarded to the DHCP server will contain two optional fields: Circuit ID and Remote ID.
  • Page 137: Bootpdhcprelay Maxhopcount

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.4.3 bootpdhcprelay maxhopcount This command configures the maximum allowable relay agent hops for BootP/DHCP Relay on the system. The parameter has a range of 1 to 16. <hops>...
  • Page 138: Bootpdhcprelay Serverip

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7.4.5 bootpdhcprelay serverip This command configures the server IP Address for BootP/DHCP Relay on the system. The < > parameter is an IP address in a 4-digit dotted decimal format. ipaddr Default 0.0.0.0...
  • Page 139: Bootpdhcprelay Backup-Serverip

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Packets Discarded Is the number of packets discarded. 7.4.7 bootpdhcprelay backup-serverip To configure the IP address of the backup DHCP server <ipaddr>, use the bootpdhcprelay backup-serverip command. When the DHCP client request is received, the switch forwards the request to both the master DHCP server and the backup DHCP server.
  • Page 140 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 7-20 DHCP Commands v1.0, November 2007...
  • Page 141: Garp, Gvrp, And Gmrp Commands

    Chapter 8 GARP, GVRP, and GMRP Commands This section describes the Generic Attribute Registration Protocol (GARP), GARP VLAN Registration Protocol (GVRP), and Garp Multicast Registration Protocol (GVMP) commands available in the 7200R Series Managed Switch CLI. GARP is a protocol that allows client stations to register with the switch for membership in VLANS (by using GVMP) or multicast groups (by using GMRP).
  • Page 142: Garp Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 8.1 GARP Commands This section describes the commands you use to configure GARP and view GARP status. The commands in this section affect both GVMP and GMRP. 8.1.1 set garp timer join This command sets the GVRP join time for one or all ports and per GARP.
  • Page 143: Set Garp Timer Leave

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 8.1.2 set garp timer leave This command sets the GVRP leave time. Leave time is the time to wait after receiving an unregister request for a VLAN or a multicast group before deleting the VLAN entry. This can be considered a buffer time for another station to assert registration for the same attribute in order to maintain uninterrupted service.time is 20 to 600 (centiseconds).
  • Page 144: Set Garp Timer Leaveall

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 8.1.3 set garp timer leaveall This command sets how frequently are generated. A Leave All PDUs Leave All PDU indicates that all registrations will be unregistered. Participants would need to rejoin in order to maintain registration.
  • Page 145: Gvrp Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static GVRP Admin Mode This displays the administrative mode of GVRP for the sys- 8.2 GVRP Commands This section describes the commands you use to configure and view GARP VLAN Registration Protocol (GVRP) information.
  • Page 146: Show Gvrp Configuration

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 8.2.2.1 no set gvrp interfacemode This command disables GVRP. If GVRP is disabled, Join Time, Leave Time and Leave All Time have no effect. Format no set gvrp interfacemode Modes Interface Config Global Config...
  • Page 147: Gmrp Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Leave All Period Timer is set to a random value in the range of LeaveAllTime to 1.5*LeaveAllTime. Permissible values are 200 to 6000 centiseconds (2 to 60 seconds). The factory default is 1000 centiseconds (10 seconds).
  • Page 148: Set Gmrp Interfacemode

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 8.3.2 set gmrp interfacemode This command enables GARP Multicast Registration Protocol. If an interface which has GARP enabled is enabled for routing or is enlisted as a member of a port-channel (LAG), GARP functionality is disabled on that interface.
  • Page 149 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static onds (0.2 seconds). The finest granularity of specification is 1 centisecond (0.01 seconds). Leave Timer Specifies the period of time to wait after receiving an unreg- ister request for an attribute before deleting the attribute. Cur- rent attributes are a VLAN or multicast group.
  • Page 150: Show Mac-Address-Table Gmrp

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 8.3.4 show mac-address-table gmrp This command displays the GMRP entries in the Multicast Forwarding Database (MFDB) table. Format show mac-address-table gmrp Mode Privileged EXEC Mac Address A unicast MAC address for which the switch has forwarding and or filtering information.
  • Page 151: Port-Based Traffic Control Commands

    Chapter 9 Port-Based Traffic Control Commands This section describes the port-based traffic control commands available in the 7200R Series Managed Switch CLI. This section includes the following topics: • Section 9.1, “Port Security Commands” • Section 9.2 “Storm Control Commands” on page 9-5 This section provides a detailed explanation of the security commands.
  • Page 152: Port-Security

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.1.1 port-security This command enables port locking at the system level (Global Config) or port level (Interface Config) Default disabled Format port-security Modes Global Config Interface Config 9.1.1.1 no port-security This command disables port locking at the system level (Global Config) or port level (Interface Config).
  • Page 153: Port-Security Max-Static

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.1.3 port-security max-static This command sets the maximum number of statically locked MAC addresses allowed on a specific port. Default Format port-security max-static <maxvalue> Mode Interface Config 9.1.3.1 no port-security max-static This command resets the maximum of statically locked MAC addresses allowed on a specific port to its default value.
  • Page 154: Show Port-Security

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.1.6 show port-security This command displays the port-security settings for the entire system. Format show port-security Mode Privileged EXEC Admin Mode Port Locking mode for the entire system 9.1.7 show port-security This command displays the port-security settings for a particular interface or all interfaces.
  • Page 155: Show Port-Security Violation

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.1.10 show port-security violation This command displays the source MAC address of the last packet that was discarded on a locked port. Format show port-security violation <interface> Mode Privileged EXEC MAC Address...
  • Page 156: Storm-Control Multicast All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.2.1.1 no storm-control broadcast This command disables broadcast storm recovery mode. The threshold implementation follows a percentage pattern. If the broadcast traffic on any Ethernet port exceeds the high threshold percentage (as represented in Table 9-1) of the link speed, the switch discards the broadcasts traffic until the broadcast traffic returns to...
  • Page 157: Storm-Control Broadcast

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.2.3.1 no storm-control unicast all This command disables multicast storm recovery mode. Format no storm-control unicast all Mode Global Config 9.2.4 storm-control broadcast This command enables broadcast storm recovery mode in per-port level. If the mode is enabled, broadcast storm recovery with high and low thresholds is implemented.
  • Page 158: Storm-Control Unicast

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.2.5.1 no storm-control multicast This command disables multicast storm recovery mode. Format no storm-control multicast [<level>] Mode Interface Config 9.2.6 storm-control unicast This command enables unknown unicast packet storm recovery mode in per-port level. If the mode is enabled, storm recovery with high and low thresholds is implemented.
  • Page 159: Show Storm-Control

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9.2.7.1 no storm-control flowcontrol This command disables 802.3x flow control for the switch. Note: This command only applies to full-duplex mode ports. Format no storm-control flowcontrol Mode Global Config 9.2.8 show storm-control This command displays switch configuration information.
  • Page 160 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 9-10 Port-Based Traffic Control Commands v1.0, November 2007...
  • Page 161: Snmp Commands

    Chapter 10 SNMP Commands This section describes the SNMP commands available in the 7200R Series Managed Switch CLI. You can configure the switch to act as a Simple Network Management Protocol (SNMP) agent so that it can communicate with SNMP managers on your network.
  • Page 162: Snmp-Server Community

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.2 snmp-server community This command adds (and names) a new SNMP community. A community is a <name> name associated with the switch and with a set of SNMP managers that manage it with a specified privileged level.
  • Page 163: Snmp-Server Community Ipmask

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.3.1 no snmp-server community ipaddr This command sets a client IP address for an SNMP community to 0.0.0.0. The name is the applicable community name. Format no snmp-server community ipaddr <name> Mode Global Config 10.1.4 snmp-server community ipmask...
  • Page 164: Snmp-Server Community Ro

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.5.1 no snmp-server community mode This command deactivates an SNMP community. If the community is disabled, no SNMP requests using this community are accepted. In this case the SNMP manager associated with this community cannot manage the switch until the Status is changed back to Enable.
  • Page 165: Snmp-Server Traps

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.8.1 no snmp-server traps violation This command disables the sending of new violation traps. Format no snmp-server traps violation Mode Interface Config 10.1.9 snmp-server traps This command enables the Authentication Flag. Default enabled Format...
  • Page 166: Snmp-Server Traps Linkmode

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.11 snmp-server traps linkmode This command enables Link Up/Down traps for the entire switch. When enabled, link traps are sent only if the Link Trap flag setting associated with the port is enabled. Section 10.1.18 “snmp trap link-status”...
  • Page 167: Snmptrap

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.13.1 no snmp-server traps stpmode This command disables the sending of new root traps and topology change notification traps. Format no snmp-server traps stpmode Mode Global Config 10.1.14 snmptrap This command adds an SNMP trap receiver.
  • Page 168: Snmptrap Snmpversion

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.15 snmptrap snmpversion This command modifies the SNMP version of a trap. The maximum length of <name> 16 case-sensitive alphanumeric characters. The can be snmpv1 or <snmpversion> snmpv2.
  • Page 169: Snmp Trap Link-Status

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.18 snmp trap link-status This command enables link status traps by interface. Note: This command is valid only when the Link Up/Down Flag is enabled. See ‘snmp-server enable traps linkmode’ command. Format snmp trap link-status Mode...
  • Page 170: Snmp Show Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 10.1.19.1 no snmp trap link-status all This command disables link status traps for all interfaces. Note: This command is valid only when the Link Up/Down Flag is enabled. See Section 10.1.11 “snmp-server traps linkmode”...
  • Page 171: Show Snmptrap

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Subnet Mask is set to 0.0.0.0, an IP Address of 0.0.0.0 matches all IP addresses. The default value is 0.0.0.0 Client IP Mask A mask to be ANDed with the requesting entity's IP address before comparison with IP Address.
  • Page 172 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Authentication Flag Can be enabled or disabled. The factory default is enabled. Indicates whether authentication failure traps will be sent. Link Up/Down Flag Can be enabled or disabled. The factory default is enabled. Indicates whether link status traps will be sent.
  • Page 173: Port-Based Access And Authentication Commands

    Chapter 11 Port-Based Access and Authentication Commands This section describes the port-based access and authentication commands available in the 7200R Series Managed Switch CLI. The Port-Based Access and Authentication Commands section includes the following topics: • Section 11.1 “Port-Based Network Access Control Commands” on page 11-1 •...
  • Page 174 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static When the optional parameters “Option1”, “Option2” and/or “Option3” are used, an ordered list of methods are set in the authentication login list. If the authentication login list does not exist, a new authentication login list is first created and then the authentication methods are set in the authentication login list.
  • Page 175: Clear Dot1X Statistics

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.1.2 clear dot1x statistics This command resets the 802.1x statistics for the specified port or for all ports. Format clear dot1x statistics {<slot/port> | all} Mode Privileged EXEC 11.1.3 clear radius statistics This command is used to clear all RADIUS statistics.
  • Page 176: Dot1X Max-Req

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.1.7 dot1x max-req This command sets the maximum number of times the authenticator state machine on this port will transmit an EAPOL EAP Request/Identity frame before timing out the supplicant.
  • Page 177: Dot1X Port-Control All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.1.8.1 no dot1x port-control This command sets the authentication mode to be used on the specified port to 'auto'. Format no dot1x port-control Mode Interface Config 11.1.9 dot1x port-control all This command sets the authentication mode to be used on all ports.
  • Page 178: Dot1X Re-Authentication

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.1.11 dot1x re-authentication This command enables re-authentication of the supplicant for the specified port. Default disabled Format dot1x re-authentication Mode Interface Config 11.1.11.1 no dot1x re-authentication This command disables re-authentication of the supplicant for the specified port. Format no dot1x re-authentication Mode...
  • Page 179: Dot1X Port-Method

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static quiet-period: Sets the value, in seconds, of the timer used by the authenticator state machine on this port to define periods of time in which it will not attempt to acquire a supplicant.
  • Page 180: Dot1X User

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format dot1x port-method {macbased | portbased} Mode Interface Config Default portbased 11.1.15 dot1x user This command adds the specified user to the list of users with access to the specified port or all ports.
  • Page 181: Show Authentication

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Mode Global Config 11.1.18 show authentication This command displays the ordered authentication methods for all authentication login lists. Format show authentication Mode Privileged EXEC Authentication Login List This displays the authentication login listname.
  • Page 182 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Mode Privileged EXEC If none of the optional parameters are used, the global dot1x configuration summary is displayed. Administrative mode Indicates whether authentication control on the switch is enabled or disabled.
  • Page 183 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Backend Authentication State Current state of the backend authentication state machine. Possible values are Request, Response, Success, Fail, Time- out, Idle, and Initialize. Quiet Period The timer used by the authenticator state machine on this port to define periods of time in which it will not attempt to acquire a supplicant.
  • Page 184 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static If you use the optional parameter , the following dot1x [statistics <slot/port>] statistics for the specified port appear. Port The interface whose statistics are displayed. EAPOL Frames Received The number of valid EAPOL frames of any type that have been received by this authenticator.
  • Page 185 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Invalid EAPOL Frames Received The number of EAPOL frames that have been received by this authenticator in which the frame type is not recognized. EAP Length Error Frames Received The number of EAPOL frames that have been received by this authenticator in which the frame type is not recognized.
  • Page 186: Show Dot1X Users

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.1.21 show dot1x users This command displays 802.1x port security user information for locally configured users. Format show dot1x users <slot/port> Mode Privileged EXEC User Users configured locally to have access to the specified port. 11.1.22 show users authentication This command displays all user and all authentication login information.
  • Page 187: Radius Server Host

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.2.1.1 no radius accounting mode Use this command to disable the RADIUS accounting function. Format no radius accounting mode Mode Global Config 11.2.2 radius server host Use this command to configure the RADIUS authentication and accounting server. If you use the parameter, the command configures the IP address to use to connect to a <auth>...
  • Page 188: Radius Server Key

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.2.2.1 no radius server host This command is used to remove the configured RADIUS authentication server or the RADIUS accounting server. If the 'auth' token is used, the previously configured RADIUS authentication server is removed from the configuration.
  • Page 189: Radius Server Primary

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.2.5 radius server primary This command is used to configure the primary RADIUS authentication server for this RADIUS client. The primary server is the one that is used by default for handling RADIUS requests.
  • Page 190: Show Radius

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.2.7.1 no radius server timeout This command sets the timeout value to the default value. Format no radius server timeout Mode Global Config 11.2.8 show radius This command is used to display the various RADIUS configuration items for the switch as well as the configured RADIUS servers.
  • Page 191: Show Radius Accounting

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11.2.9 show radius accounting This command is used to display the configured RADIUS accounting mode, accounting server and the statistics for the configured accounting server. Format show radius accounting [statistics <ipaddr>] Mode Privileged EXEC If the optional token 'statistics...
  • Page 192: Show Radius Statistics

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Authenticators The number of RADIUS Accounting-Response packets con- taining invalid authenticators received from this accounting server. Pending Requests The number of RADIUS Accounting-Request packets sent to this server that have not yet timed out or received a response. Timeouts The number of accounting timeouts to this server.
  • Page 193 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Access Accepts The number of RADIUS Access-Accept packets, including both valid and invalid packets, which were received from this server. Access Rejects The number of RADIUS Access-Reject packets, including both valid and invalid packets, which were received from this server.
  • Page 194 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 11-22 Port-Based Access and Authentication Commands v1.0, November 2007...
  • Page 195: Port-Channel/Lag (802.3Ad) Commands

    Chapter 12 Port-Channel/LAG (802.3ad) Commands This section describes the Link Aggregation/Port-Channel (802.3ad) commands available in the 7200R Series Managed Switch CLI. Port channels are also known as link aggregation groups (LAGs). Link aggregation allows you to combine multiple full-duplex Ethernet links into a single logical link. Network devices treat the aggregation as if it were a single link, which increases fault tolerance and provides load sharing.
  • Page 196: Addport

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 12.1.1 addport This command adds one port to the port-channel (LAG). The first interface is a logical slot and port number of a configured port-channel. Note: Before adding a port to a port-channel, set the physical mode of the port. For more information, see Section 4.1.11 “speed”...
  • Page 197: Port-Channel

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 12.1.4 port-channel This command configures a new port-channel and generates a logical slot/port number for the port-channel. The field is a character string which allows the dash “-” <name>...
  • Page 198: Port Lacpmode All

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 12.1.7 port lacpmode all This command enables Link Aggregation Control Protocol (LACP) on all ports. Format port lacpmode all Mode Global Config 12.1.7.1 no port lacpmode all This command disables Link Aggregation Control Protocol (LACP) on all ports.
  • Page 199: Port-Channel Linktrap

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 12.1.10 port-channel linktrap This command enables link trap notifications for the port-channel (LAG). The interface is a logical slot/port for a configured port-channel. The option sets every configured port-channel with the same administrative mode setting.
  • Page 200: Port-Channel Show Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format no hashing-mode 12.2 Port-Channel Show Commands This section describes the commands you use to view port-channel status and configuration information. 12.2.1 show port-channel This command displays the static capability of all port-channels (LAGs) on the device as well as a summary of individual port-channels.
  • Page 201 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Admin Mode May be enabled or disabled. The factory default is enabled. Hash Mode Displays the hashing algorithm for the port-channel (LAG). Link Trap Mode This object determines whether or not to send a trap when link status changes.
  • Page 202 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 12-8 Port-Channel/LAG (802.3ad) Commands v1.0, November 2007...
  • Page 203: Class Of Service (Cos) Commands

    Chapter 13 Quality of Service (QoS) Commands This section describes the Quality of Service (QoS) commands available in the 7200R Series Managed Switch CLI. This section contains the following topics: • Section 13.1 “Class of Service (CoS) Commands” on page 13-1 •...
  • Page 204: Classofservice Dot1P-Mapping

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.1.1 classofservice dot1p-mapping This command maps an 802.1p priority to an internal traffic class. The <userpriority> values can both range from 0-7, although the actual number of <trafficclass>...
  • Page 205: Classofservice Ip-Dscp-Mapping

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.1.3 classofservice ip-dscp-mapping This command maps an IP DSCP value to an internal traffic class. The value is <ipdscp> specified as either an integer from 0 to 63, or symbolically through one of the following keywords: af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, ef...
  • Page 206: Cos-Queue Min-Bandwidth

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.1.5 cos-queue min-bandwidth This command specifies the minimum transmission bandwidth guarantee for each interface queue. The total number of queues supported per interface is platform specific. A value from 0-100 (percentage of link rate) must be specified for each supported queue, with 0 indicating no guaranteed minimum bandwidth.
  • Page 207: Show Classofservice Dot1P-Mapping

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format traffic-shape <bw> Modes Global Config Interface Config 13.1.7.1 no traffic-shape This command restores the interface shaping rate to the default value. Format no traffic-shape Modes Global Config Interface Config 13.1.8 show classofservice dot1p-mapping This command displays the current Dot1p (802.1p) priority mapping to internal traffic...
  • Page 208: Show Classofservice Ip-Dscp-Mapping

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static IP Precedence The IP Precedence value. Traffic Class The traffic class internal queue identifier to which the IP Pre- cedence value is mapped. 13.1.10 show classofservice ip-dscp-mapping This command displays the current IP DSCP mapping to internal traffic classes for the global configuration settings.
  • Page 209: Differentiated Services (Diffserv) Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format show interfaces cos-queue [slot/port] Mode Privileged EXEC Queue Id An interface supports n queues numbered 0 to (n-1). The spe- cific n value is platform dependent. Minimum Bandwidth The minimum transmission bandwidth guarantee for the...
  • Page 210: Diffserv

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 2. Policy • Creating and deleting policies • Associating classes with a policy • Defining policy statements for a policy/class combination 3. Service • Adding and removing a policy to/from an inbound interface The DiffServ class defines the packet filtering criteria.
  • Page 211: Diffserv Class Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format diffserv Mode Global Config 13.2.1.1 no diffserv This command sets the DiffServ operational mode to inactive. While disabled, the DiffServ configuration is retained and can be changed, but it is not activated. When enabled, Diffserv services are activated.
  • Page 212: Class-Map Rename

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static The class type of indicates all of the individual match conditions must be true match-all for a packet to be considered a member of the class. Note: The CLI mode is changed to Class-Map Config when this command is successfully executed.
  • Page 213: Match Any

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.4 match any This command adds to the specified class definition a match condition whereby all packets are considered to belong to the class. Format match any Mode Class-Map Config 13.3.5 match class-map...
  • Page 214: Match Cos

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.6 match cos This command adds to the specified class definition a match condition for the Class of Service value (the only tag in a single tagged packet or the first or outer 802.1Q tag of a double VLAN tagged packet).
  • Page 215: Match Destination-Address Mac

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.7 match destination-address mac This command adds to the specified class definition a match condition based on the destination MAC address of a packet. The <macaddr> parameter is any layer 2 MAC address formatted as six, two-digit hexadecimal numbers separated by colons (e.g., 00:11:22:dd:ee:ff).
  • Page 216: Match Ip Dscp

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.10 match ip dscp This command adds to the specified class definition a match condition based on the value of the IP DiffServ Code Point (DSCP) field in a packet, which is defined as the high-order six bits of the Service Type octet in the IP header (the low-order two bits are not checked).
  • Page 217: Match Ip Tos

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.12 match ip tos This command adds to the specified class definition a match condition based on the value of the IP TOS field in a packet, which is defined as all eight bits of the Service Type octet in the IP header.
  • Page 218: Match Protocol

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.13 match protocol This command adds to the specified class definition a match condition based on the value of the IP Protocol field in a packet using a single keyword notation or a numeric value notation.
  • Page 219: Match Srcl4Port

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.3.16 match srcl4port This command adds to the specified class definition a match condition based on the source layer 4 port of a packet using a single keyword or numeric notation. To specify the match condition as a single keyword notation, the value for <portkey>...
  • Page 220: Policy-Map

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static This set of commands consists of policy creation/deletion, class addition/removal, and individual policy attributes. Note: The only way to remove an individual policy attribute from a class instance within a policy is to remove the class instance and re-add it to the policy.
  • Page 221: Assign-Queue

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.4.1.1 no policy-map This command eliminates an existing DiffServ policy. The parameter is the <policyname> name of an existing DiffServ policy. This command may be issued at any time. If the policy is currently referenced by one or more interface service attachments, this delete attempt fails.
  • Page 222: Conform-Color

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.4.4 conform-color This command is used to enable color-aware traffic policing and define the conform-color class map. Used in conjunction with the police command where the fields for the conform level are specified.
  • Page 223: Mark Cos

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.4.5.1 no class This command deletes the instance of a particular class and its defined treatment from the specified policy. is the names of an existing DiffServ class. <classname>...
  • Page 224: Mark Ip-Precedence

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.4.8 mark ip-precedence This command marks all packets for the associated traffic stream with the specified IP Precedence value. The IP Precedence value is an integer from 0 to 7. Format mark ip-precedence <0-7>...
  • Page 225: Policy-Map Rename

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.4.10 policy-map rename This command changes the name of a DiffServ policy. The s the name of <policyname> i an existing DiffServ class. The parameter is a case-sensitive <newpolicyname>...
  • Page 226: Diffserv Service Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.5 DiffServ Service Commands Use the DiffServ service commands to assign a DiffServ traffic conditioning policy, which you specified by using the policy commands, to an interface in the incoming direction The service commands attach a defined policy to a directional interface.
  • Page 227: Diffserv Show Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.5.1.1 no service-policy This command detaches a policy from an interface in the inbound direction. The parameter is the name of an existing DiffServ policy; it is defined by the <policyname>...
  • Page 228: Show Diffserv

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static the user. The fields are evaluated in accordance with the class type. The possible Match Criteria fields are: Destination IP Address, Destination Layer 4 Port, Every, IP DSCP, IP Prece- dence, IP TOS, Protocol Keyword, Reference Class,Source IP Address, and Source Layer 4 Port.
  • Page 229: Show Policy-Map

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Policy Instance Table Size Current number of entries (rows) in the Policy Instance Table. Policy Instance Table Max Maximum allowed entries (rows) for the Policy Instance Table. Policy Attribute Table Size Current number of entries (rows) in the Policy Attribute...
  • Page 230 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Committed Burst Size (KB) This field displays the committed burst size, used in simple policing. Committed Rate (Kbps) This field displays the committed rate, used in simple polic- ing.
  • Page 231: Show Diffserv Service

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Non-Conform This field displays the CoS mark value if the non-conform action is set-cos-transmit. Non-Conform DSCP Value This field displays the DSCP mark value if the non-conform action is set-dscp-transmit.
  • Page 232: Show Diffserv Service Brief

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Operational Status The current operational status of this DiffServ service inter- face. Policy Name The name of the policy attached to the interface in the indi- cated direction. Policy Details Attached policy details, whose content is identical to that described for the show policy-map...
  • Page 233: Show Service-Policy

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Mode Privileged EXEC Interface Valid slot and port number separated by forward slashes. Direction The traffic direction of this interface service. Operational Status The current operational status of this DiffServ service inter- face.
  • Page 234: Mac Access-List Extended

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static • The maximum number of ACLs you create is 100, regardless of type. • The system supports only Ethernet II frame types. • The maximum number of rules per IP ACL is hardware dependent. •...
  • Page 235: Mac Access-List Extended Rename

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.7.2 mac access-list extended rename This command changes the name of a MAC Access Control List (ACL). The <name> parameter is the name of an existing MAC ACL. The parameter is a case- <newname>...
  • Page 236 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static You can specify the Ethertype value as either a keyword or a four-digit hexadecimal value from 0x0600-0xFFFF. The currently supported values are: appletalk, <ethertypekey> arp, ibmsna, ipv4, ipv6, ipx, mplsmcast, mplsucast, netbios, novell, pppoe, rarp. Each of these translates into its equivalent Ethertype value(s), as shown in Table 13-1.
  • Page 237: Mac Access-Group

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.7.4 mac access-group This command attaches a specific MAC Access Control List (ACL) identified by <name> to an interface in a given direction. The parameter must be the name of an existing <name>...
  • Page 238: Ip Access Control List (Acl) Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Action Displays the action associated with each rule. The possible values are Permit or Deny. Source MAC Address Displays the source MAC address for this rule. Destination MAC Address Displays the destination MAC address for this rule.
  • Page 239: Access-List

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.8.1 access-list This command creates an IP Access Control List (ACL) that is identified by the ACL number The IP ACL number is an integer from 1 to 99 for an IP standard ACL and from 100 to 199 for an IP extended ACL.
  • Page 240: Ip Access-Group

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static IP Extended ACL: Format access-list <100-199> {deny | permit} {every | {{icmp | igmp | ip | tcp | udp | <number>} <srcip> <srcmask>[{eq {<portkey> | <portvalue>} <dstip> <dstmask>...
  • Page 241: Show Ip Access-Lists

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 13.8.3 show ip access-lists This command displays an IP ACL is the number used to identify <accesslistnumber> the IP ACL. Format show ip access-lists <accesslistnumber> Mode Privileged EXEC Rule Number This displays the number identifier for each rule that is defined for the IP ACL.
  • Page 242 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static ACL ID Access List name for a MAC access list or the numeric iden- tifier for an IP access list. Sequence Number An optional sequence number may be specified to indicate the order of this access list relative to other access lists already assigned to this interface and direction.
  • Page 243: Routing Commands

    Chapter 14 Routing Commands This section describes the routing commands available in the 7200R Series Managed Switch CLI. This section contains the following topics: • Section 14.1 “Address Resolution Protocol (ARP) Commands” on page 14-1 • Section 14.2 “IP Routing Commands” on page 14-7 •...
  • Page 244: Ip Proxy-Arp

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.1.1.1 no arp This command deletes an ARP entry. The value for is the IP address of the <arpentry> interface. The value for is the IP address of a device on a subnet attached to <ipaddress>...
  • Page 245: Arp Dynamicrenew

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.1.4 arp dynamicrenew This command enables the ARP component to automatically renew dynamic ARP entries when they age out. Format arp dynamicrenew Mode Privileged EXEC 14.1.4.1 no arp dynamicrenew This command prevents dynamic ARP entries from renewing when they age out.
  • Page 246: Arp Resptime

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.1.6 arp resptime This command configures the ARP request response timeout. The value for <seconds> a valid positive integer, which represents the IP ARP entry response timeout time in seconds.
  • Page 247: Clear Arp-Cache

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.1.8.1 no arp timeout This command configures the default ARP entry ageout time. Format no arp timeout Mode Global Config 14.1.9 clear arp-cache This command causes all ARP entries of type dynamic to be removed from the ARP cache.
  • Page 248: Show Arp Brief

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Total Entry Count Current / Peak Field listing the total entries in the ARP table and the peak entry count in the ARP table. Static Entry Count Current / Max Field listing the static entry count in the ARP table and maxi- mum static entry count in the ARP table.
  • Page 249: Ip Routing Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Total Entry Count Current / Peak Field listing the total entries in the ARP table and the peak entry count in the ARP table. Static Entry Count Current / Max Field listing the static entry count in the ARP table and maxi- mum static entry count in the ARP table.
  • Page 250: Ip Routing

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.2.2 ip routing This command enables the IP Router Admin Mode for the master switch. Format ip routing Mode Global Config 14.2.2.1 no ip routing This command disables the IP Router Admin Mode for the master switch. Format no ip routing Mode...
  • Page 251: Ip Route Default

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static is an integer value from 1 to 255. The user can specify the preference <preference> value (sometimes called “administrative distance”) of an individual static route. Among routes to the same destination, the route with the lowest preference value is the route entered into the forwarding database.
  • Page 252: Ip Route Distance

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.2.5.1 no ip route default This command deletes all configured default routes. If the optional <nextHopRtr> parameter is designated, the specific next hop is deleted from the configured default route and if the optional preference value is designated, the preference of the configured default route is reset to its default.
  • Page 253: Ip Mtu

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.2.7.1 no ip forwarding This command disables forwarding of IP frames. Format no ip forwarding Mode Global Config 14.2.8 ip mtu This command sets the IP Maximum Transmission Unit (MTU) on a routing interface. The IP MTU is the size of the largest IP packet that can be transmitted on the interface without fragmentation.
  • Page 254: Show Ip

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Format encapsulation {ethernet | snap} Mode Interface Config Note: Routed frames are always ethernet encapsulated when a frame is routed to a VLAN. 14.2.10 show ip This command displays all the summary information of the IP. This command takes no options.
  • Page 255: Show Ip Interface

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.2.11 show ip interface This command displays all pertinent information about the IP interface. Format show ip interface <slot/port> Modes Privileged EXEC User EXEC Primary IP Address Displays the primary IP address and subnet masks for the interface.
  • Page 256: Show Ip Interface

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Encapsulation Type Is the encapsulation type for the specified interface. The types are: Ethernet or SNAP. IP MTU Displays the maximum transmission unit (MTU) size of a frame, in bytes.
  • Page 257: Show Ip Route Bestroutes

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static For each Next Hop Next Hop Intf The outgoing router interface to use when forwarding traffic to the next destination. Next Hop IP Address The outgoing router IP address to use when forwarding traffic to the next router (if any) in the path toward the destination.
  • Page 258: Show Ip Route Preferences

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Network Address Is a valid network address identifying the network on the specified interface. Subnet Mask Is a mask of the network and host portion of the IP address for the attached network.
  • Page 259: Virtual Lan Routing Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14.3 Virtual LAN Routing Commands This section describes the commands you use to view and configure VLAN routing and to view VLAN routing status information. 14.3.1 vlan routing This command creates routing on a VLAN.
  • Page 260 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 14-18 Routing Commands v1.0, November 2007...
  • Page 261: Igmp Snooping Commands

    Chapter 15 IGMP Snooping Commands This section describes the Internet Group Management Protocol (IGMP) snooping commands available in the 7200R Series Managed Switch CLI. The 7200R Series Managed Switch supports IGMP Versions 1, 2, and 3. The IGMP snooping feature can help conserve bandwidth because it allows the switch to forward IP multicast traffic only to connected hosts that request multicast traffic.
  • Page 262: Ip Igmpsnooping Interfacemode

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static If an interface has IGMP Snooping enabled and you enable this interface for routing or enlist it as a member of a port-channel (LAG), IGMP Snooping functionality is disabled on that interface.
  • Page 263: Ip Igmpsnooping Groupmembership-Interval

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 15.1.2.1 no ip igmpsnooping interfacemode This command disables IGMP Snooping on all interfaces. Format no ip igmpsnooping interfacemode Mode Global Config 15.1.3 ip igmpsnooping groupmembership-interval This command sets the IGMP Group Membership Interval time on a VLAN, one interface or all interfaces.
  • Page 264: Ip Igmpsnooping Maxresponse

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 15.1.4 ip igmpsnooping maxresponse This command sets the IGMP Maximum Response time for the system, on a particular interface or VLAN. The Maximum Response time is the amount of time in seconds that a switch will wait after sending a query on an interface because it did not receive a report for a particular group in that interface.
  • Page 265: Ip Igmp Mrouter

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 15.1.5.1 no ip igmpsnooping mcrtexpiretime This command sets the Multicast Router Present Expiration time to 0. The time is set for the system, on a particular interface or a VLAN. Format no ip igmpsnooping mcrtexpiretime <vlanId>...
  • Page 266: Ip Igmpsnooping Unknown-Multicast

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 15.1.7.1 no ip igmp mrouter interface This command disables the forwarding of IGMP packets to a multicast router via this interface. Format no ip igmp mrouter interface Mode Interface Config 15.1.8 ip igmpsnooping unknown-multicast...
  • Page 267 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Admin Mode This indicates whether or not IGMP Snooping is active on the switch. Interfaces Enabled for IGMP Snooping This is the list of interfaces on which IGMP Snooping is enabled.
  • Page 268: Show Ip Igmp Mrouter Interface

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static When you specify a value for , the following additional information appears: vlanid < > VLAN Admin Mode Indicates whether IGMP Snooping is active on the VLAN. 15.2.2 show ip igmp mrouter interface This command displays information about statically configured ports.
  • Page 269: Igmp Querier Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static displayed as a MAC address and VLAN ID combination of 8 bytes. Type Displays the type of the entry, which is either static (added by the user) or dynamic (added to the table as a result of a learn- ing process or protocol).
  • Page 270: Ip Igmpsnooping Querier

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static • IGMP Snooping Querier Address (a configurable globally) 'or' • Switch Management Interface Address 'or' • First configured interface address (for L3 switches only) The switch will check for each of these IP addresses not being 0.0.0.0 in the specified order and choose the first such address.
  • Page 271: Ip Igmpsnooping Querier Query-Interval

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 15.3.3 ip igmpsnooping querier query-interval To configure the IGMP querier query interval <interval> for a VLAN <vlan-id>, use the ip igmpsnooping querier query-interval command. Valid range for <interval> is 1 to 18000 seconds.
  • Page 272 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 15-12 IGMP Snooping Commands v1.0, November 2007...
  • Page 273: System Information And Statistics Commands

    Chapter 16 System Maintenance Commands This section describes the system maintenance commands available in the 7200R Series Managed Switch CLI. The System Maintenance Commands section includes the following subsections: • Section 16.1 “System Information and Statistics Commands” on page 16-1 •...
  • Page 274: Show Eventlog

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Mode Privileged EXEC MAC Address A unicast MAC address for which the switch has forwarding and/or filtering information. The format is 6 two-digit hexa- decimal numbers that are separated by colons, for example 01:23:45:67:89:AB IP Address The IP address assigned to each interface.
  • Page 275: Show Interface

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Maintenance Level Indicates hardware changes that are significant to software. Manufacturer Manufacturer descriptor field. Burned in MAC Address Universally assigned network address. Software Version The release.version.revision number of the code currently running on the switch.
  • Page 276 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Broadcast Packets Received The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets. Packets Transmitted Without Error Total number of packets transmitted out the interface.
  • Page 277: Show Interface Ethernet

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Broadcast Packets Transmitted The total number of packets that higher-level protocols requested to be transmitted to the Broadcast address, includ- ing those that were discarded or not sent. Transmit Packet Errors The number of outbound packets that could not be transmit-...
  • Page 278 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Packets Received < 64 Octets - The total number of packets (including bad packets) received that were < 64 octets in length (excluding framing bits but including FCS octets). Packets Received 64 Octets - The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).
  • Page 279 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Unicast Packets Received - The number of subnetwork-uni- cast packets delivered to a higher-layer protocol. Multicast Packets Received - The total number of good packets received that were directed to a multicast address. Note that this number does not include packets directed to the broadcast address.
  • Page 280 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Overruns - The total number of frames discarded as this port was overloaded with incoming packets, and could not keep up with the inflow. Received Packets Not Forwarded Total - A count of valid frames received which were dis- carded (in other words, filtered) by the forwarding process.
  • Page 281 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Packets Transmitted Octets Total Bytes - The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). This object can be used as a reasonable estimate of Ethernet utilization.
  • Page 282 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Packets Transmitted Successfully Total - The number of frames that have been transmitted by this port to its segment. Unicast Packets Transmitted - The total number of packets that higher-level protocols requested be transmitted to a sub- network-unicast address, including those that were discarded or not sent.
  • Page 283 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Multiple Collision Frames - A count of the number of suc- cessfully transmitted frames on a particular interface for which transmission is inhibited by more than one collision. Excessive Collisions - A count of frames for which transmis- sion on a particular interface fails due to excessive collisions.
  • Page 284 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static RSTP BPDUs Received - Rapid Spanning Tree Protocol Bridge Protocol Data Units received MSTP BPDUs Transmitted - Multiple Spanning Tree Proto- col Bridge Protocol Data Units sent MSTP BPDUs Received - Multiple Spanning Tree Protocol Bridge Protocol Data Units received Dot1x Statistics...
  • Page 285 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Octets Transmitted - The total number of octets transmitted out of the interface, including framing characters. Packets Transmitted without Errors - The total number of packets transmitted out of the interface. Unicast Packets Transmitted - The total number of packets that higher-level protocols requested be transmitted to a sub- network-unicast address, including those that were discarded...
  • Page 286: Show Logging

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static VLAN Deletes - The number of VLANs on this switch that have been created and then deleted since the last reboot. Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds, since the statistics for this switch were last cleared.
  • Page 287: Show Mac-Addr-Table

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.1.7 show mac-addr-table This command displays the forwarding database entries. If the command is entered with no parameter, the entire table is displayed. This is the same as entering the optional parameter.
  • Page 288: Clear Mac-Addr-Table

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Self The value of the corresponding instance is the address of one of the switch’s physical interfaces (the system’s own MAC address). GMRP Learned The value was learned via GMRP and applies to Multicast. Other The value of the instance does not fall into one of the other categories.
  • Page 289: Terminal Length

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.1.11 terminal length This command controls the number of lines to be displayed when running the show command. running-config Format <1-24> terminal length Mode Privileged EXEC 16.1.11.1 terminal no length This command resets the number of lines displayed when running the show running- command to the default value (18).
  • Page 290: System Utility Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.2 System Utility Commands This section describes the commands you use to help troubleshoot connectivity issues and to restore various configurations to their factory defaults. 16.2.1 traceroute Use the command to discover the routes that packets actually take when traceroute...
  • Page 291: Clear Pass

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.2.5 clear pass This command resets all user passwords to the factory defaults without powering off the switch. You are prompted to confirm that the password reset should proceed. Format clear pass Mode...
  • Page 292: Clear Port-Channel

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.2.7 clear port-channel This command clears all port-channels (LAGs). Format clear port-channel Mode Privileged EXEC 16.2.8 clear traplog This command clears the trap log. Format clear traplog Mode Privileged EXEC 16.2.9 clear vlan...
  • Page 293 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Table 16-1. Copy Parameters (continued) Source Destination Description Copies the startup configuration to a nvram:startup-config <url> server. Copies the trap log file to a server. nvram:traplog <url> Saves the running configuration to system:running-config nvram:startup-config...
  • Page 294: Logout

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.2.11 logout This command closes the current telnet connection or resets the current serial connection. Note: Save configuration changes before logging out. Format logout Mode Privileged EXEC 16.2.12 ping This command checks if another computer is on the network and listens for connections.
  • Page 295: Logging Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.3 Logging Commands This section describes the commands you use to configure system logging, and to view logs and the logging settings. 16.3.1 logging buffered This command enables logging to an in-memory log that keeps up to 128 logs. Default disabled;...
  • Page 296: Logging Console

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.3.3 logging console This command enables logging to the console. You can specify the <severitylevel> value as either an integer from 0 to 7 or symbolically through one of the following keywords: (0), (1),...
  • Page 297: Logging Port

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.3.6 logging port This command sets the local port number of the LOG client for logging messages. The can be in the range from 1 to 65535. <portid>...
  • Page 298 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static Console Logging Severity Filter The minimum severity to log to the console log. Messages with an equal or lower numerical severity are logged. Buffered Logging Administrative Mode The mode for buffered logging.
  • Page 299: Show Logging Buffered

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.3.9 show logging buffered This command displays buffered logging (system startup and system operation logs). Format show logging buffered Mode Privileged EXEC Admin Status The current state of the in-memory log. Component Filter The component(s) from which received messages are to be logged to the in memory log.
  • Page 300: Show Logging Traplogs

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.3.12 show logging traplogs This command displays SNMP trap events and statistics. Format show logging traplogs Mode Privileged EXEC Number of Traps Since Last Reset Shows the number of traps since the last boot. Trap Log Capacity Shows the number of traps the system can retain.
  • Page 301: Configuration Scripting Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.5 Configuration Scripting Commands Configuration Scripting allows you to generate text-formatted script files representing the current configuration of a system. You can upload these configuration script files to a PC or UNIX system and edit them.
  • Page 302: Script Delete

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.5.2 script delete This command deletes a specified script where the parameter is the name <scriptname> of the script to delete. The option deletes all the scripts present on the switch. <all>...
  • Page 303: Script Validate

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.5.5 script validate This command validates a script file by parsing each line in the script file where is the name of the script to validate.The validate option is intended to be <scriptname>...
  • Page 304: Capture All Packets

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.6.2.1 no capture transmit packet This command disables the capturing of transmit packets. Format no capture receive packet Mode Global Config 16.6.3 capture all packets This command enables the capturing of both transmit and receive packets. Format capture all packets Mode...
  • Page 305: Show Capture Packets

    The show tech-support command dumps all major system information into a file that can be sent to NETGEAR product support for debugging purposes. The command output is not displayed on the console. Use the copy command to transfer the dumped file to the host PC.
  • Page 306: Terminal No Length

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 16.8.2 terminal no length This command resets the number of lines displayed by the show running-config command before pausing to the default value of 18. Format terminal no length Mode Global Config 16.9 Save...
  • Page 307: Udp Relay Commands

    Chapter 17 UDP Relay Commands This section describes the UDP relay feature in the following subsections: • Section 17.1 “UDP Relay Configuration Commands” on page 17-2 • Section 17.2 “UDP Relay Show Commands” on page 17-3 The UDP relay (also referred to as IP helper) feature provides a mechanism that allows the switch to forward certain configured UDP broadcast packets to a particular IP address.
  • Page 308: Udp Relay Configuration Commands

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 17.1 UDP Relay Configuration Commands This section describes configuration commands for setting up UDP relay service. 17.1.1 ip helper-address (global config mode) Use the Global Configuration ip helper-address command to have the switch forward User Datagram Protocol (UDP) broadcasts received on an interface.
  • Page 309: Ip Helper-Address (Interface Config Mode)

    Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 17.1.2 ip helper-address (interface config mode) The ip helper-address interface configuration command enables forwarding User Datagram Protocol (UDP) Broadcast packets received on an interface. Many helper addresses can be defined. The maximum number of address-port pairs is up to 128 for the whole device.
  • Page 310 Command Line Interface Reference for the ProSafe 7200R Series Layer-2 Switches with Static 17-4 UDP Relay Commands v1.0, November 2007...

This manual is also suitable for:

Gsm7248r - prosafe switchProsafe 7200r series

Table of Contents