NETGEAR ProSafe FSM7326P Cli Reference Manual
NETGEAR ProSafe FSM7326P Cli Reference Manual

NETGEAR ProSafe FSM7326P Cli Reference Manual

Layer-3 stackable switches, software version 4.0
Hide thumbs Also See for ProSafe FSM7326P:
Table of Contents

Advertisement

Command Line Interface
Reference for the ProSafe
7300S Series Layer-3
Stackable Switches,

Software Version 4.0

NETGEAR, Inc.
4500 Great America Parkway
Santa Clara, CA 95054 USA
Beta Draft 1
March 2006

Advertisement

Table of Contents
loading

Summary of Contents for NETGEAR ProSafe FSM7326P

  • Page 1: Software Version

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Software Version 4.0 NETGEAR, Inc. 4500 Great America Parkway Santa Clara, CA 95054 USA Beta Draft 1 March 2006...
  • 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: Publication Date: Product Family: Product Name: Home or Business Product: Language: Publication Part Number: Publication Version Number FSM73xxS/GSM73xxS March 2006 managed switch ProSafe 7300S Series Layer-3 Managed Stackable Switch Business English Beta Draft 1 v1.0, March 2006...
  • Page 4 v1.0, March 2006...
  • Page 5: Table Of Contents

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Software Version 4.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 Overview...
  • Page 6 3.1.3 serviceport protocol ...3-2 3.1.4 network parms ...3-2 3.1.5 network mgmt_vlan ...3-2 3.1.6 network protocol ...3-3 3.1.7 show network ...3-3 3.1.8 show serviceport ...3-4 Console Port Access Commands ...3-5 3.2.1 configuration ...3-5 3.2.2 lineconfig ...3-5 3.2.3 serial baudrate ...3-6 3.2.4 serial timeout ...3-6 3.2.5 show serial ...3-7...
  • Page 7 User Account Commands ...3-18 3.6.1 users name ...3-18 3.6.2 users passwd ...3-19 3.6.3 users snmpv3 accessmode ...3-19 3.6.4 users snmpv3 authentication ...3-20 3.6.5 users snmpv3 encryption ...3-20 3.6.6 show loginsession ...3-21 3.6.7 show users ...3-21 3.6.8 disconnect ...3-22 Chapter 4 Port and System Setup Commands Port Configuration Commands ...4-1 4.1.1...
  • Page 8 4.3.6 sntp unicast client poll-retry ... 4-11 4.3.7 sntp multicast client poll-interval ... 4-11 4.3.8 sntp server ...4-12 4.3.9 show sntp ...4-12 4.3.10 show sntp client ...4-13 4.3.11 show sntp server ...4-13 MAC Address and MAC Database Commands ...4-14 4.4.1 network mac-address ...4-14 4.4.2 network mac-type ...4-15...
  • Page 9 5.1.14 spanning-tree mst vlan ...5-9 5.1.15 spanning-tree port mode ...5-9 5.1.16 spanning-tree port mode all ...5-9 STP Show Commands ...5-10 5.2.1 show spanning-tree ...5-10 5.2.2 show spanning-tree summary ...5-12 5.2.3 show spanning-tree interface ...5-12 5.2.4 show spanning-tree mst port detailed ...5-13 5.2.5 show spanning-tree mst port summary ...5-15 5.2.6...
  • Page 10 6.1.22 vlan tagging ...6-10 VLAN Show Commands ... 6-11 6.2.1 show vlan ... 6-11 6.2.2 show vlan brief ...6-12 6.2.3 show vlan port ...6-13 Provisioning (IEEE 802.1p) Commands ...6-14 6.3.1 vlan port priority all ...6-14 6.3.2 vlan priority ...6-14 Chapter 7 DHCP Commands DHCP Server Commands (DHCP Config Pool Mode) ...7-2 7.1.1...
  • Page 11 7.3.3 clear ip dhcp conflict ...7-12 7.3.4 show ip dhcp binding ...7-12 7.3.5 show ip dhcp global configuration ...7-12 7.3.6 show ip dhcp pool configuration ...7-13 7.3.7 show ip dhcp server statistics ...7-13 7.3.8 show ip dhcp conflict ...7-14 DHCP and BOOTP Relay Commands ...7-15 7.4.1 bootpdhcprelay cidoptmode ...7-15 7.4.2...
  • Page 12 9.1.4 port-security mac-address ...9-3 9.1.5 port-security mac-address move ...9-3 9.1.6 show port-security ...9-4 9.1.7 show port-security ...9-4 9.1.8 show port-security dynamic ...9-4 9.1.9 show port-security static ...9-4 9.1.10 show port-security violation ...9-5 Storm Control Commands ...9-5 9.2.1 storm-control broadcast ...9-5 9.2.2 storm-control flowcontrol ...9-6 9.2.3...
  • Page 13 10.2.2 show snmptrap ... 10-11 10.2.3 show trapflags ... 10-11 Chapter 11 Port-Based Access and Authentication Commands 11.1 Port-Based Network Access Control Commands ... 11-1 11.1.1 authentication login ... 11-1 11.1.2 clear dot1x statistics ... 11-3 11.1.3 clear radius statistics ... 11-3 11.1.4 dot1x defaultlogin ...
  • Page 14 11.2.9 show radius accounting ... 11-18 11.2.10 show radius statistics ... 11-19 Chapter 12 Port-Channel/LAG (802.3ad) Commands 12.1 Port-Channel Configuration Commands ...12-1 12.1.1 addport ...12-2 12.1.2 deleteport (Interface Config) ...12-2 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-channel staticcapability ...12-3 12.1.7...
  • Page 15 13.2.1 diffserv ...13-9 13.3 DiffServ Class Commands ...13-10 13.3.1 class-map ...13-10 13.3.2 class-map rename ... 13-11 13.3.3 match any ... 13-11 13.3.4 match class-map ... 13-11 13.3.5 match dstip ...13-12 13.3.6 match dstl4port ...13-13 13.3.7 match ip dscp ...13-13 13.3.8 match ip precedence ...13-14 13.3.9 match ip tos ...13-14...
  • Page 16 13.7 MAC Access Control List (ACL) Commands ...13-29 13.7.1 mac access-list extended ...13-29 13.7.2 mac access-list extended rename ...13-30 13.7.3 {deny|permit} ...13-30 13.7.4 mac access-group ...13-32 13.7.5 show mac access-lists ...13-32 13.8 IP Access Control List (ACL) Commands ...13-33 13.8.1 access-list ...13-34 13.8.2 ip access-group ...13-35...
  • Page 17 14.2.10 encapsulation ...14-12 14.2.11 clear ip route all ...14-12 14.2.12 clear ip route bgp ...14-12 14.2.13 clear ip route bgp <ip-address> ...14-12 14.2.14 clear ip route mpls ...14-13 14.2.15 clear ip route mpls <ip-address> ...14-13 14.2.16 clear ip route ospf ...14-13 14.2.17 clear ip route ospf <ip-address>...
  • Page 18 14.5.6 ip vrrp preempt ...14-27 14.5.7 ip vrrp priority ...14-27 14.5.8 ip vrrp timers advertise ...14-28 14.5.9 show ip vrrp interface stats ...14-28 14.5.10 show ip vrrp ...14-29 14.5.11 show ip vrrp interface ...14-30 14.5.12 show ip vrrp interface brief ...14-31 14.6 Open Shortest Path First (OSPF) Commands ...14-31 14.6.1...
  • Page 19 14.6.28 ip ospf authentication ...14-42 14.6.29 ip ospf cost ...14-42 14.6.30 ip ospf dead-interval ...14-43 14.6.31 ip ospf hello-interval ...14-43 14.6.32 ip ospf priority ...14-44 14.6.33 ip ospf retransmit-interval ...14-44 14.6.34 ip ospf transmit-delay ...14-44 14.6.35 ip ospf mtu-ignore ...14-45 14.6.36 router-id ...14-45 14.6.37 redistribute ...14-46 14.6.38 maximum-paths ...14-46...
  • Page 20 14.7.11 ip rip send version ...14-63 14.7.12 hostroutesaccept ...14-63 14.7.13 split-horizon ...14-64 14.7.14 redistribute ...14-64 14.7.15 show ip rip ...14-65 14.7.16 show ip rip interface brief ...14-66 14.7.17 show ip rip interface ...14-66 Chapter 15 IGMP Snooping Commands 15.1 IGMP Snooping Configuration Commands ...15-1 15.1.1 set igmp ...15-1 15.1.2...
  • Page 21 ...17-5 17.1.10 set slot power ...17-5 17.1.11 reload ...17-6 17.1.12 show slot ...17-6 17.1.13 show supported cardtype ...17-7 17.1.14 show switch ...17-8 17.1.15 show supported switchtype ...17-9 17.2 Front Panel Stacking Commands ...17-10 17.2.1 stack-port ...17-10 17.2.2 qos-mode ...
  • Page 22 18.2 System Utility Commands ...18-17 18.2.1 traceroute ...18-17 18.2.2 clear config ...18-18 18.2.3 clear counters ...18-18 18.2.4 clear igmpsnooping ...18-18 18.2.5 clear pass ...18-18 18.2.6 enable passwd ...18-18 18.2.7 clear port-channel ...18-18 18.2.8 clear traplog ...18-19 18.2.9 clear vlan ...18-19 18.2.10 copy ...18-19 18.2.11 logout ...18-21...
  • Page 23: About This Manual

    Series Layer-3 Stackable Switches, Software Version 4.0. It describes the command-line interface (CLI) commands used to view and configure the 7300S Series Stackable Switch software. You can access the CLI by using a direct connection to the serial port or by using telnet or SSH over a remote network connection.
  • Page 24: Typographical Conventions

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 italics bold Small Caps 1.4 Special Message Formats...
  • Page 25: How To Use This Manual

    Properties button and increasing the number of pages per sheet. About This Manual , for browsing forwards or backwards through the manual button to access the full NETGEAR, Inc. online knowledge base for Publication Version 1.0, March 2006 button.
  • Page 26: Revision History

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, • Printing the Full Manual. Use the Complete PDF Manual link at the top left of any page. — Click the Complete PDF Manual link at the top left of any page in the manual. The PDF version of the complete manual opens in a browser window.
  • Page 27: Overview

    • Provide a complete device management portfolio to the network administrator. 2.1 Scope 7300S Series Stackable Switch software encompasses both hardware and software support. It software is partitioned to run in the following processors: • CPU—This code runs the networking device management portfolio and controls the overall networking device hardware.
  • Page 28: Command Syntax

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, • Section 2.2.5 “Command Modes” on page 2-5 • Section 2.2.6 “Entering CLI Commands” on page 2-8 • Section 2.2.7 “Using CLI Help” on page 2-10 • Section 2.2.8 “Accessing the CLI” on page 2-11 2.2.1 Command Syntax A command is one or more words that might be followed by one or more parameters.
  • Page 29 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The parameters for a command might include mandatory values, optional values, or keyword choices. Table 2-1 describes the conventions this document uses to distinguish between value types. Table 2-1. Parameter Conventions Symbol <>...
  • Page 30: Unit-Slot-Port Naming Convention

    Character strings 2.2.3 Unit-Slot-Port Naming Convention 7300S Series Stackable Switch software references physical entities such as cards and ports by using a Unit-Slot-Port (USP) naming convention. The software also uses this convention to identify certain logical entities, such as port-channel interfaces.
  • Page 31: Using The "No" Form Of A Command

    7300S Series Stackable 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. You can execute the User EXEC mode commands in the Privileged EXEC mode.
  • Page 32 Policy Class Config Class Map Config Router OSPF Config Prompt Switch> Switch# Switch (Config)# Switch (Vlan)# Switch (Interface <unit/slot/ port>)# Switch (line)# Switch (Config policy-map)# Switch (Config policy-class-map)# Switch (Config class-map)# Switch (Config router)# v1.0, March 2006 Mode Description Contains a limited set of commands to view basic system information.
  • Page 33 Config policy-map. Policy-Class-Map From the Policy Map mode enter Config class. Overview Prompt Switch (Config router)# Switch (Config router)# Switch (Config mac-access-list)# Switch (Config dhcp-pool)# Switch (Config stack)# v1.0, March 2006 Mode Description Allows you to access the router RIP configuration commands.
  • Page 34: Entering Cli Commands

    Config Mode stack command. 2.2.6 Entering CLI Commands The 7300S Series Stackable Switch supports several features to help you enter commands. 2.2.6.1 Command Completion and Abbreviation Command completion finishes spelling the command when you type enough letters of a command to uniquely identify the command keyword. Once you have entered enough letters, press the SPACEBAR or TAB key to complete the word.
  • Page 35: Cli Error Messages

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 2.2.6.2 CLI Error Messages If you enter a command and the system is unable to execute it, an error message appears. Table 2-7 describes the most common CLI error messages. Table 2-7.
  • Page 36: Using Cli Help

    Display switch options and settings. Enable/Disable. Configure Network Parameters of the router. Select DHCP, BootP, or None as the network config protocol. Configure the Management VLAN ID of the switch. Enter the IP Address. Press Enter to execute the command v1.0, March 2006 Overview...
  • Page 37: Accessing The Cli

    You can also enter a question mark (?) after typing one or more characters of a word to list the available command or parameters that begin with the letters, as shown in the following example: (switch) #show m? mac-addr-table 2.2.8 Accessing the CLI You can access the CLI by using a direct console connection or by using a telnet or SSH connection from a remote management host.
  • Page 38 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 2-12 Overview v1.0, March 2006...
  • Page 39: Administrative Access Commands

    • Show commands display switch settings, statistics, and other information. • Configuration commands configure features and options of the switch. For every configuration command, there is a show command that displays the configuration setting. To manage the device by using SNMP, see 3.1 Network Interface Commands...
  • Page 40: Enable

    This command specifies the network management port configuration protocol. If you modify this value, the change is effective immediately. If you use the the switch periodically sends requests to a BootP server until a response is received. If you use the...
  • Page 41: Network Protocol

    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 42: Show Serviceport

    Indicates which network protocol is being used. The options are bootp | dhcp | none. Specifies if the switch should allow access to the Java applet in the header frame. Enabled means the applet can be viewed. The factory default is disabled.
  • Page 43: Console Port Access Commands

    3.2 Console Port Access Commands This section describes the commands you use to configure the console port. You can use a serial cable to connect a management host directly to the console port of the switch. 3.2.1 configuration This command gives you access to the Global Config mode. From the Global Config mode, you can configure a variety of system settings, including user accounts.
  • Page 44: Serial Baudrate

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.2.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 Format Mode 3.2.3.1 no serial baudrate This command sets the communication rate of the terminal interface.
  • Page 45: Show Serial

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.2.5 show serial This command displays serial communication settings for the switch. Format Modes Serial Port Login Timeout (minutes) Baud Rate (bps) Character Size (bits) Flow Control Stop Bits...
  • Page 46: Telnet Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.3 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.3.1 telnet This command establishes a new outbound telnet connection to a remote host.
  • Page 47: Transport Output Telnet

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.3.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 48: Session-Timeout

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.3.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 Mode...
  • Page 49: Telnetcon Timeout

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.3.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 50: Show Telnetcon

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Allow New Outbound Telnet Sessions 3.3.9 show telnetcon This command displays telnet settings. Format Modes Remote Connection Login Timeout (minutes) Maximum Number of Remote Connection Sessions Allow New Telnet Sessions 3-12 Indicates whether outbound telnet sessions are allowed.
  • Page 51: Secure Shell (Ssh) Command

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.4 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.
  • Page 52: Sshcon Maxsessions

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.4.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 53: Show Ip Ssh

    This section describes the commands you use to configure HTTP access to the switch. Access to the switch by using a Web browser is enabled by default. Everything you can view and configure by using the CLI is also available by using the Web.
  • Page 54: Ip Http Secure-Protocol

    This command enables access to the switch through the Web interface. When access is enabled, you can login to the switch from the Web interface. When access is disabled, you cannot login to the switch's Web server. Disabling the Web interface takes effect immediately and affects all interfaces.
  • Page 55: Network Javamode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.5.5 network javamode This command specifies whether or not the switch should allow access to the Java applet in the header frame of the Web interface. When access is enabled, the Java applet can be viewed from the Web interface.
  • Page 56: User Account Commands

    This section describes the commands you use to add, manage, and delete system users. The 7300S Series Stackable 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 57: Users Passwd

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.6.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 58: Users Snmpv3 Authentication

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 3.6.4 users snmpv3 authentication This command specifies the authentication protocol to be used for the specified user. The valid authentication protocols are none, md5 or sha. the snmpv3 authentication password and therefore must be at least eight characters in length.
  • Page 59: Show Loginsession

    This command sets the encryption protocol to none. The name for which the specified encryption protocol will be used. Format Mode 3.6.6 show loginsession This command displays current telnet and serial port connections to the switch. Format Mode User Name Connection From...
  • Page 60: Disconnect

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, SNMPv3 Authentication SNMPv3 Encryption 3.6.8 disconnect This command closes a telnet session. Format Mode 3-22 retrieve parameters on the system. If the value is set to the SNMPv3 user is only able to retrieve parameter dOnly, information.
  • Page 61: Port And System Setup Commands

    The commands in this section are in one of three functional groups: • Show commands display switch settings, statistics, and other information. • Configuration commands configure features and options of the switch. For every configuration command, there is a show command that displays the configuration setting. •...
  • Page 62: Cablestatus

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.1.2 cablestatus This command tests the status of the cable attached to an interface. Format Mode 4.1.3 auto-negotiate This command enables automatic negotiation on a port. Default Format Mode 4.1.3.1 no auto-negotiate This command disables automatic negotiation on a port.
  • Page 63: Mtu

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.1.5 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 64: Shutdown All

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.1.6.1 no shutdown This command enables a port. Note: You can use the (LAG) interfaces, but not on VLAN routing interfaces. Format Mode 4.1.7 shutdown all This command disables all ports. Note: You can use the interfaces, but not on VLAN routing interfaces.
  • Page 65: Speed

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.1.8 speed This command sets the speed and duplex setting for the interface. Format Mode Acceptable values are: 100h 100f 4.1.9 speed all This command sets the speed and duplex setting for all interfaces. Format Mode Acceptable values are:...
  • Page 66: No Monitor

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.1.10.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 67: Show Port

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.1.13 show port This command displays port information. Format Mode Interface Type Admin Mode Physical Mode Physical Status Link Status Link Trap LACP Mode 4.1.14 show port protocol This command displays the Protocol-Based VLAN information for either the entire system, or for the indicated group.
  • Page 68: Pre-Login Banner And System Prompt Commands

    The pre-login banner is the text that displays before you login at the prompt. 4.2.1 copy command includes the option to upload or download the CLI Banner to or from copy the switch. You can specify local URLs by using TFTP, Xmodem, Ymodem, or Zmodem. Default Format Mode 4.2.2 set prompt This command changes the name of the prompt.
  • Page 69: Simple Network Time Protocol (Sntp) Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 70: Sntp Client Port

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.3.3 sntp client port This command sets the SNTP client port id to a value from 1-65535. Default Format Mode 4.3.3.1 no sntp client port This command resets the SNTP client port back to its default value. Format Mode 4.3.4 sntp unicast client poll-interval...
  • Page 71: Sntp Unicast Client Poll-Retry

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Mode 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. Default Format Mode...
  • Page 72: Sntp Server

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Mode 4.3.8.1 no sntp server...
  • Page 73: Show Sntp Client

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.3.10 show sntp client This command is used to display SNTP client settings. Format Mode Client Supported Modes SNTP Version Port Client Mode Poll Interval Poll Timeout Poll Retry 4.3.11 show sntp server This command is used to display SNTP server settings and configured servers.
  • Page 74: Mac Address And Mac Database Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, For each configured server: IP Address Address Type Priority Version Port Last Attempt Time Last Attempt Status Total Unicast Requests Failed Unicast Requests 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.
  • Page 75: Network Mac-Type

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.4.2 network mac-type This command specifies whether the switch uses the burned in MAC address or the locally-administered MAC address. Default Format Mode 4.4.2.1 no network mac-type This command resets the value of MAC address to its default.
  • Page 76: Macfilter Adddest

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.4.4 macfilter adddest This command adds the interface to the destination filter set for the MAC filter with the given and VLAN of <macaddr> a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6. parameter must identify a valid VLAN.
  • Page 77: Macfilter Addsrc

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.4.6 macfilter addsrc This command adds the interface to the source filter set for the MAC filter with the MAC address of <macaddr> specified as a 6-byte hexadecimal number in the format of b1:b2:b3:b4:b5:b6. parameter must identify a valid VLAN.
  • Page 78: Bridge Aging-Time

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.4.8 bridge aging-time This command configures the forwarding database address aging timeout in seconds. In an IVL system, the [fdbid | all] Default Format Mode Seconds Forwarding Database ID 4.4.8.1 no bridge aging-time This command sets the forwarding database address aging timeout to 300 seconds.
  • Page 79: Show Mac-Address-Table Multicast

    <macaddr> Privileged EXEC A multicast MAC address for which the switch has forward- ing and or filtering information. The format is two-digit hexa- decimal numbers separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as a MAC address and VLAN ID combination of 8 bytes.
  • Page 80: Show Mac-Address-Table Static

    Indicates the destination port filter set's slot and port(s). show mac-address-table staticfiltering Privileged EXEC A unicast MAC address for which the switch has forwarding and or filtering information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for exam- ple 01:23:45:67:89:AB.
  • Page 81: Show Mac-Address-Table Stats

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4.4.13 show mac-address-table stats This command displays the Multicast Forwarding Database (MFDB) statistics. Format Mode Total Entries Most MFDB Entries Ever Used Current Entries Port and System Setup Commands show mac-address-table stats Privileged EXEC Displays the total number of entries that can possibly be in...
  • Page 82 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 4-22 Port and System Setup Commands v1.0, March 2006...
  • Page 83: Chapter 5 Spanning Tree Protocol Commands

    5.1 STP Configuration Commands This section describes the commands you use to configure Spanning Tree Protocol (STP). Note: STP is disabled by default. When you enable STP on the switch, STP is still disabled on each port. If STP is disabled, the system does not forward BPDU messages.
  • Page 84: Spanning-Tree Bpdumigrationcheck

    BPDU migration check on all interfaces. Format Mode 5.1.3 spanning-tree configuration name This command sets the Configuration Identifier Name for use in identifying the configuration that this switch is currently using. The characters. Default Format Mode 5.1.3.1 no spanning-tree configuration name This command resets the Configuration Identifier Name to its default.
  • Page 85: Spanning-Tree Configuration Revision

    Format Mode 5.1.4.1 no spanning-tree configuration revision This command sets the Configuration Identifier Revision Level for use in identifying the configuration that this switch is currently using to the default value, i.e. 0. Format Mode 5.1.5 spanning-tree edgeport This command specifies that this port is an Edge Port within the common and internal spanning tree.
  • Page 86: Spanning-Tree Forceversion

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 5.1.6 spanning-tree forceversion This command sets the Force Protocol Version parameter to a new value. The Force Protocol Version can be one of the following: • 802.1d - ST BPDUs are transmitted rather than MST BPDUs (IEEE 802.1d functionality supported) •...
  • Page 87: Spanning-Tree Hello-Time

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 5.1.8 spanning-tree hello-time This command sets the Admin Hello Time parameter to a new value for the common and internal spanning tree. The hello time 10, with the value being less than or equal to (Bridge Max Age / 2) - 1. Default Format Mode...
  • Page 88: Spanning-Tree Max-Hops

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 5.1.10 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 Mode...
  • Page 89: Spanning-Tree Mst Instance

    This command adds a multiple spanning tree instance to the switch. The parameter is a number within a range of 1 to 4094, that corresponds to the new instance ID <mstid> to be added. The maximum number of multiple instances supported by the switch is 4. Format Mode Spanning Tree Protocol Commands cost: auto;...
  • Page 90: Spanning-Tree Mst Priority

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 5.1.12.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...
  • Page 91: Spanning-Tree Mst Vlan

    <mstid> spanning tree instance. The Format Mode 5.1.15 spanning-tree port mode This command sets the Administrative Switch Port State for this port to enabled. Default Format Mode 5.1.15.1 no spanning-tree port mode This command sets the Administrative Switch Port State for this port to disabled.
  • Page 92: Stp Show Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 5.1.16.1 no spanning-tree port mode all This command sets the Administrative Switch Port State for all ports to disabled. Format Mode 5.2 STP Show Commands This section describes the commands you use to view information about STP configuration and status.
  • Page 93 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Root Port Identifier Root Port Max Root Port Bridge Forward Delay Hello Time Bridge Hold Time Bridge Max Hops CST Regional Root Regional Root Path Cost Associated FIDs Associated VLANs When you include the...
  • Page 94: Show Spanning-Tree Summary

    Configuration Digest Key MST Instances 5.2.3 show spanning-tree interface This command displays the settings and parameters for a specific switch port within the common and internal spanning tree. The The following details are displayed on execution of the command. Format...
  • Page 95: Show Spanning-Tree Mst Port Detailed

    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. The parameter that corresponds to the desired existing multiple spanning tree instance. The is the desired switch port.
  • Page 96 Designated Bridge Designated Port Identifier If you specify 0 (defined as the default CIST ID) as the the settings and parameters for a specific switch port within the common and internal spanning tree. The <unit/slot/port> following are displayed. Port Identifier...
  • Page 97: Show Spanning-Tree Mst Port Summary

    The regional root identifier in use for this port. The configured path cost for this port. indicates a particular MST instance. The <mstid> indicates the desired switch port or all ports. <mstid> show spanning-tree mst port summary <mstid> {<unit/ slot/port> | all}...
  • Page 98: Show Spanning-Tree Mst Summary

    Port Role Link Status Link Trap 5.2.6 show spanning-tree mst summary This command displays summary information about all multiple spanning tree instances in the switch. On execution, the following details are displayed. Format Modes MST Instance ID List For each MSTID:...
  • Page 99: Vlan Commands

    This section describes the VLAN commands available in the 7300S Series Stackable 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: • Section 6.1 “VLAN Configuration Commands” on page 6-1 •...
  • Page 100: Network Mgmt_Vlan

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 6.1.2 network mgmt_vlan This command configures the Management VLAN ID. Default Format Mode 6.1.2.1 no network mgmt_vlan This command sets the Management VLAN ID to the default. Format Mode 6.1.3 vlan This command creates a new VLAN and assigns it an ID.
  • Page 101: Vlan Ingressfilter

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 102: Vlan Name

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Format Mode...
  • Page 103: Vlan Participation All

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Mode Participation options are: include exclude auto...
  • Page 104: Vlan Port Pvid All

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 6.1.10.1 no vlan port acceptframe all This command sets the frame acceptance mode for all interfaces 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 105: Vlan Port Ingressfilter All

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 106: Vlan Protocol Group Remove

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 6.1.16.1 no vlan protocol group add protocol This command removes the < identified by this < groupid> Format Mode 6.1.17 vlan protocol group remove This command removes the protocol-based VLAN group that is identified by this <groupid>...
  • Page 107: Protocol Vlan Group

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 108: Vlan Pvid

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 6.1.21 vlan pvid This command changes the VLAN ID per interface. Default Format Mode 6.1.21.1 no vlan pvid This command sets the VLAN ID per interface to 1. Format Mode 6.1.22 vlan tagging...
  • Page 109: Vlan Show Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 6.2 VLAN Show Commands This section describes the commands you use to view VLAN settings. 6.2.1 show vlan This command displays detailed information, including interface information, for a specific VLAN.
  • Page 110: Show Vlan Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Configured Tagging 6.2.2 show vlan brief This command displays a list of all configured VLANs. Format Modes VLAN ID VLAN Name VLAN Type 6-12 Determines the configured degree of participation of this port in this VLAN.
  • Page 111: Show Vlan Port

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 6.2.3 show vlan port This command displays VLAN port information. Format Modes Interface Port VLAN ID Acceptable Frame Types Ingress Filtering GVRP Default Priority VLAN Commands show vlan port {<unit/slot/port> | all} Privileged EXEC User EXEC Valid slot and port number separated by forward slashes.
  • Page 112: Vlan Port Priority All

    to prioritize ports. 6.3.1 vlan port priority all Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, This command configures the port priority assigned for untagged packets for all ports presently plugged into the device. The range for the priority is 0-7. Any subsequent per port configuration will override this configuration setting.
  • Page 113: Dhcp Commands

    The commands in this section are in one of three functional groups: • Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
  • Page 114: Dhcp Server Commands (Dhcp Config Pool Mode)

    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 115: Client-Name

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 7.1.2.1 no client-identifier This command deletes the client identifier. Format Mode 7.1.3 client-name This command specifies the name for a DHCP client. Name is a string consisting of standard ASCII characters.
  • Page 116: Dns-Server

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 117: Host

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 118: Bootfile

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Default Format Mode 7.1.9.1 no network This command removes the subnet number and mask. Format Mode 7.1.10 bootfile The command specifies the name of the default boot image for a DHCP client. The specifies the boot image file.
  • Page 119: Netbios-Name-Server

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 7.1.12 netbios-name-server This command configures NetBIOS Windows Internet Naming Service (WINS) name servers that are available to DHCP clients. One IP address is required, although one can specify up to eight addresses in one command line.
  • Page 120: Next-Server

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 121: Dhcp Server Commands (Global Config Mode)

    7.2 DHCP Server Commands (Global Config Mode) This section describes the commands you to configure the DHCP server settings for the switch. You must be in Global Config mode to execute these commands. 7.2.1 ip dhcp excluded-address This command specifies the IP addresses that a DHCP server should not assign to DHCP clients.
  • Page 122: Service Dhcp

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 7.2.2.1 no ip dhcp ping packets This command prevents the server from pinging pool addresses and sets the number of packets to 0. Default Format Mode 7.2.3 service dhcp This command enables the DHCP server.
  • Page 123: Ip Dhcp Conflict Logging

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 7.2.5 ip dhcp conflict logging This command enables conflict logging on DHCP server. Default Format Mode 7.2.5.1 no ip dhcp conflict logging This command disables conflict logging on DHCP server. Format Mode 7.3 DHCP Server Clear and Show Commands...
  • Page 124: Clear Ip Dhcp Conflict

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 7.3.3 clear ip dhcp conflict The command is used to clear an address conflict from the DHCP Server database. The server detects conflicts using a ping. DHCP server clears all conflicts If the asterisk (*) character is used as the address parameter.
  • Page 125: Show Ip Dhcp Pool Configuration

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, BootP Automatic 7.3.6 show ip dhcp pool configuration This command displays pool configuration. If pools is displayed. Format Modes Pool Name Pool Type Lease Time DNS Servers Default Routers The following additional field is displayed for Dynamic pool type: Network The following additional fields are displayed for Manual pool type:...
  • Page 126: Show Ip Dhcp Conflict

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Automatic Bindings Expired Bindings Malformed Bindings Message Received: DHCP DISCOVER DHCP REQUEST DHCP DECLINE DHCP RELEASE DHCP INFORM Message Sent: DHCP OFFER DHCP ACK DHCP NACK 7.3.8 show ip dhcp conflict This command displays address conflicts logged by the DHCP Server.
  • Page 127: Dhcp And Bootp Relay Commands

    This section describes the commands you use to configure BootP/DHCP Relay on the switch. A DHCP relay agent operates at Layer 3 and forwards DHCP requests and replies between clients and servers when they are not on the same physical subnet.
  • Page 128: Bootpdhcprelay Maxhopcount

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 7.4.2.1 no bootpdhcprelay enable This command disables the forwarding of relay requests for BootP/DHCP Relay on the system. Format Mode 7.4.3 bootpdhcprelay maxhopcount This command configures the maximum allowable relay agent hops for BootP/DHCP Relay on the system.
  • Page 129: Bootpdhcprelay Serverip

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Format...
  • Page 130 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Packets Discarded 7-18 Is the number of packets discarded. v1.0, March 2006 DHCP Commands...
  • Page 131: 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 7300S Series Stackable 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 132: Garp Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 133: Set Garp Timer Leave

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 134: Set Garp Timer Leaveall

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 8.1.3 set garp timer leaveall This command sets how frequently indicates that all registrations will be unregistered. Participants would need to rejoin in order to maintain registration. The value applies per port and per GARP participation. The time may range from 200 to 6000 (centiseconds).
  • Page 135: Gvrp Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, GVRP Admin Mode 8.2 GVRP Commands This section describes the commands you use to configure and view GARP VLAN Registration Protocol (GVRP) information. GVRP-enabled switches exchange VLAN configuration information, which allows GVRP to provide dynamic VLAN creation on trunk ports and automatic VLAN pruning.
  • Page 136: Show Gvrp Configuration

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Modes 8.2.3 show gvrp configuration This command displays Generic Attributes Registration Protocol (GARP) information for one or all interfaces.
  • Page 137: Gmrp Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Port GMRP Mode 8.3 GMRP Commands This section describes the commands you use to configure and view GARP Multicast Registration Protocol (GMRP) information. Like IGMP snooping, GMRP helps control the flooding of multicast packets.
  • Page 138: Set Gmrp Interfacemode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 139: Show Mac-Address-Table Gmrp

    Time, Leave Time and Leave All Time have no effect. Privileged EXEC A unicast MAC address for which the switch has forwarding and or filtering information. The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for exam- ple 01:23:45:67:89:AB.
  • Page 140 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Description Interfaces 8-10 The text description of this multicast table entry. The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:). GARP, GVRP, and GMRP Commands v1.0, March 2006...
  • Page 141: Port-Based Traffic Control Commands

    Show commands are used to display switch settings, statistics and other information. 9.1 Port Security Commands This section describes the command you use to configure Port Security on the switch. Port security, which is also known as port MAC locking, allows you to secure the network by locking allowable MAC addresses on a given port.
  • Page 142: Port-Security

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 9.1.1 port-security This command enables port locking at the system level (Global Config) or port level (Interface Config) Default Format Modes 9.1.1.1 no port-security This command disables port locking at the system level (Global Config) or port level (Interface Config).
  • Page 143: Port-Security Max-Static

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Mode 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 144: Show Port-Security

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 9.1.6 show port-security This command displays the port-security settings for the entire system. Format Mode Admin Mode 9.1.7 show port-security This command displays the port-security settings for a particular interface or all interfaces. Format Mode Interface Admin...
  • Page 145: Show Port-Security Violation

    The threshold implementation follows a percentage pattern. If the broadcast traffic on any Ethernet port exceeds the high threshold percentage (as represented in link speed, the switch discards the broadcasts traffic until the broadcast traffic returns to the low threshold percentage or less. The full implementation is depicted in Table 9-1.
  • Page 146: Storm-Control Flowcontrol

    The threshold implementation follows a percentage pattern. If the broadcast traffic on any Ethernet port exceeds the high threshold percentage (as represented in link speed, the switch discards the broadcasts traffic until the broadcast traffic returns to the low threshold percentage or less. The full implementation is depicted in the...
  • Page 147: Show Storm-Control

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 9.2.3 show storm-control This command displays switch configuration information. Format Mode Broadcast Storm Recovery Mode 802.3x Flow Control Mode Port-Based Traffic Control Commands show storm-control Privileged EXEC May be enabled or disabled. The factory default is disabled.
  • Page 148 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Port-Based Traffic Control Commands v1.0, March 2006...
  • Page 149: Snmp Configuration Commands

    10.1 SNMP Configuration Commands This section describes the commands you use to configure SNMP on switch. 10.1.1 snmp-server This command sets the name and the physical location of the switch, and the organization responsible for the network. The range for alphanumeric characters.
  • Page 150: Snmp-Server Community

    10.1.2 snmp-server community This command adds (and names) a new SNMP community. A community name associated with the switch and with a set of SNMP managers that manage it with a specified privileged level. The length of Note: Community names in the SNMP Community Table must be unique. When making multiple entries using the same community name, the first entry is kept and processed and all duplicate entries are ignored.
  • Page 151: Snmp-Server Community Ipmask

    This command activates an SNMP community. If a community is enabled, an SNMP manager associated with this community manages the switch according to its access right. 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 152: Snmp-Server Community Ro

    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. Format Mode 10.1.6 snmp-server community ro...
  • Page 153: Snmp-Server Enable Traps

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 10.1.8.1 no snmp-server enable traps violation This command disables the sending of new violation traps. Format Mode 10.1.9 snmp-server enable traps This command enables the Authentication Flag. Default Format Mode 10.1.9.1 no snmp-server enable traps...
  • Page 154: Snmp-Server Enable Traps Linkmode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 10.1.11 snmp-server enable 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.
  • Page 155: Snmptrap

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 10.1.13.1 no snmp-server enable traps stpmode This command disables the sending of new root traps and topology change notification traps. Format Mode 10.1.14 snmptrap This command adds an SNMP trap receiver. The maximum length of sensitive alphanumeric characters.
  • Page 156: Snmptrap Snmpversion

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 10.1.15 snmptrap snmpversion This command modifies the SNMP version of a trap. The maximum length of 16 case-sensitive alphanumeric characters. The snmpv2. Note: This command does not support a “no” form. Default Format Mode...
  • Page 157: Snmp Trap Link-Status

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Mode 10.1.18.1 no snmp trap link-status...
  • Page 158: Snmp Show Commands

    10.2.1 show snmpcommunity This command displays SNMP community information. Six communities are supported. You can add, change, or delete communities. The switch does not have to be reset for changes to take effect. The SNMP agent of the switch complies with SNMP Versions 1, 2 or 3. For more information about the SNMP specification, see the SNMP RFCs.
  • Page 159: Show Snmptrap

    If a trap condition is enabled and the condition is detected, the SNMP agent on the switch sends the trap to all enabled trap receivers. You do not have to reset the switch to implement the changes. Cold and warm start traps are always generated and cannot be disabled.
  • Page 160 Can be enabled or disabled. The factory default is enabled. Indicates whether a trap will be sent when the same user ID is logged into the switch more than once at the same time (either via telnet or serial port).
  • Page 161: Port-Based Access And Authentication Commands

    This command creates an authentication login list. The string and is not case sensitive. Up to 10 authentication login lists can be configured on the switch. When a list is created, the authentication method “local” is set as the first method. Port-Based Access and Authentication Commands <listname>...
  • Page 162 To authenticate a user, the first authentication method in the user’s login (authentication login list) is attempted. The 7300S Series Stackable Switch software does not utilize multiple entries in the user’s login. If the first entry returns a timeout, the user authentication attempt fails.
  • Page 163: Clear Dot1X Statistics

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 11.1.2 clear dot1x statistics This command resets the 802.1x statistics for the specified port or for all ports. Format Mode 11.1.3 clear radius statistics This command is used to clear all RADIUS statistics. Format Mode 11.1.4 dot1x defaultlogin...
  • Page 164: Dot1X Max-Req

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 165: Dot1X Port-Control All

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 11.1.8.1 no dot1x port-control This command sets the authentication mode to be used on the specified port to 'auto'. Format Mode 11.1.9 dot1x port-control all This command sets the authentication mode to be used on all ports. The control mode may be one of the following modes: •...
  • Page 166: Dot1X Re-Authentication

    Format Mode 11.1.12 dot1x system-auth-control This command is used to enable the dot1x authentication support on the switch. By default, the authentication support is disabled. While disabled, the dot1x configuration is retained and can be changed, but is not activated.
  • Page 167: Dot1X User

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 168: Users Defaultlogin

    CLI, web, and telnet sessions will be blocked until the authentication is complete. Note that the login list associated with the ‘admin’ user can not be changed to prevent accidental lockout from the switch. Format Mode 11.1.17 show authentication This command displays the ordered authentication methods for all authentication login lists.
  • Page 169: Show Authentication Users

    [{summary {<unit/slot/port> | all} | {detail <unit/slot/port>} | {statistics <unit/ slot/port>}] Privileged EXEC Indicates whether authentication control on the switch is enabled or disabled. [summary {<unit/slot/port> | all}] v1.0, March 2006 parameter, the dot1x...
  • Page 170 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Port Control Mode Operating Control Mode Reauthentication Enabled Key Transmission Enabled If you use the optional configuration for the specified port are displayed. Port Protocol Version PAE Capabilities Authenticator PAE State Backend...
  • Page 171 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Supplicant Timeout Server Timeout Maximum Requests Reauthentication Period Reauthentication Enabled Key Transmission Enabled Control Direction If you use the optional parameter statistics for the specified port appear. Port EAPOL Frames Received EAPOL Frames...
  • Page 172: Show Dot1X Users

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, EAPOL Start Frames Received EAPOL Logoff Frames Received Last EAPOL Frame Version Last EAPOL Frame Source EAP Response/Id Frames Received EAP Response Frames Received EAP Request/Id Frames Transmitted EAP Request Frames Transmitted...
  • Page 173: Show Users Authentication

    Security 11.2 RADIUS Commands This section describes the commands you use to configure the 7300S Series Stackable Switch to use a Remote Authentication Dial-In User Service (RADIUS) server on your network for authentication and accounting. 11.2.1 radius accounting mode Use this command to enable the RADIUS accounting function.
  • Page 174: Radius Server Host

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 175: Radius Server Key

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 176: Radius Server Primary

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 177: Show Radius

    This command sets the timeout value to the default value. Format Mode 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. Format Mode Primary Server IP...
  • Page 178: Show Radius Accounting

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 Mode If the optional token 'statistics and the RADIUS accounting server details are displayed.
  • Page 179: Show Radius Statistics

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Authenticators Pending Requests Timeouts Unknown Types Packets Dropped 11.2.10 show radius statistics This command is used to display the statistics for RADIUS or configured server. To show the configured RADIUS server statistic, the IP Address specified must match that of a previously configured RADIUS server.
  • Page 180 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Access Accepts Access Rejects Access Challenges Malformed Access Responses Authenticators Pending Requests Timeouts Unknown Types Packets Dropped 11-20 The number of RADIUS Access-Accept packets, including both valid and invalid packets, which were received from this server.
  • Page 181: Port-Channel/Lag (802.3Ad) Commands

    Port-Channel/LAG (802.3ad) Commands This section describes the Link Aggregation/Port-Channel (802.3ad) commands available in the 7300S Series Stackable 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 182: Addport

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 12.1.1 addport This command adds one port to the port-channel (LAG). The first interface is a logical unit, 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 Format Mode...
  • Page 183: Port-Channel

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 12.1.4 port-channel This command configures a new port-channel and generates a logical unit/slot/port number for the port-channel. The “-” character as well as alphanumeric characters. Display this number using the command.
  • Page 184: Port Lacpmode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 12.1.6.1 no port-channel staticcapability This command disables the support of static port-channels on the device. Format Mode 12.1.7 port lacpmode This command enables Link Aggregation Control Protocol (LACP) on a port. Default Format Mode...
  • Page 185: Port-Channel Name

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 12.1.9.1 no port-channel adminmode This command disables a port-channel (LAG). The option channel with the same administrative mode setting. Format Mode 12.1.10 port-channel name This command defines a name for the port-channel (LAG). The interface is a logical unit/ slot/port for a configured port-channel, and characters.
  • Page 186: Port-Channel Show Commands

    Static Capability For each port-channel the following information is displayed: Name Link State Mbr Ports Active Ports 12.2.2 show port-channel This command displays an overview of all port-channels (LAGs) on the switch. Format Modes Logical Interface Port-Channel Name Link State...
  • Page 187 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Link Trap Mode STP Mode Mbr Ports Port Speed Type Active Ports Port-Channel/LAG (802.3ad) Commands This object determines whether or not to send a trap when link status changes. The factory default is enabled. The Spanning Tree Protocol Administrative Mode associated with the port or port-channel (LAG).
  • Page 188 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 12-8 Port-Channel/LAG (802.3ad) Commands v1.0, March 2006...
  • Page 189: Class Of Service (Cos) Commands

    13.1 Class of Service (CoS) Commands This section describes the commands you use to configure and view Class of Service (CoS) settings for the switch. The commands in this section allow you to control the priority and transmission rate of traffic.
  • Page 190: Classofservice Dot1P-Mapping

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.1.1 classofservice dot1p-mapping This command maps an 802.1p priority to an internal traffic class. The values can both range from 0-7, although the actual number of <trafficclass> available traffic classes depends on the platform. For more information about 802.1p priority, see Section 6.3 “Provisioning (IEEE 802.1p) Commands”...
  • Page 191: Classofservice Ip-Dscp-Mapping

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.1.3 classofservice ip-dscp-mapping This command maps an IP DSCP value to an internal traffic class. The 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 192: Cos-Queue Min-Bandwidth

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 193: Show Classofservice Dot1P-Mapping

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Format Modes 13.1.7.1 no traffic-shape This command restores the interface shaping rate to the default value. Format Modes 13.1.8 show classofservice dot1p-mapping This command displays the current Dot1p (802.1p) priority mapping to internal traffic classes for a specific interface.
  • Page 194: Show Classofservice Ip-Dscp-Mapping

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Format Mode The following information is repeated for each user priority. IP Precedence Traffic Class 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 195: Show Interfaces Cos-Queue

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.1.12 show interfaces cos-queue This command displays the class-of-service queue configuration for the specified interface. The unit/slot/port parameter is optional and is only valid on platforms that support independent per-port class of service mappings. If specified, the class-of-service queue configuration of the interface is displayed.
  • Page 196: Differentiated Services (Diffserv) Commands

    The DiffServ class defines the packet filtering criteria. The attributes of a DiffServ policy define the way the switch processes packets. You can define policy attributes on a per- class instance basis. The switch applies these attributes when a match occurs.
  • Page 197: Diffserv

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The only way to remove an individual match criterion from an existing class definition is to delete the class and re-create it. Note: The mark possibilities for policing include CoS, IP DSCP, and IP Precedence.
  • Page 198: Diffserv Class Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.3 DiffServ Class Commands Use the DiffServ class commands to define traffic classification. To classify traffic, you specify Behavior Aggregate (BA), based on DSCP and Multi-Field (MF) classes of traffic (name, match criteria) This set of commands consists of class creation/deletion and matching, with the class match commands specifying Layer 3, Layer 2, and general match criteria.
  • Page 199: Class-Map Rename

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.3.1.1 no class-map This command eliminates an existing DiffServ class. The of an existing DiffServ class ( The class name 'default' is reserved and is not allowed here). This command may be issued at any time;...
  • Page 200: Match Dstip

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The following ruules apply to this command: • The parameters <refclassname> • Only one other class may be referenced by a class. • Any attempts to delete the <class-map-name>...
  • Page 201: Match Dstl4Port

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.3.6 match dstl4port This command adds to the specified class definition a match condition based on the destination layer 4 port of a packet using a single keyword or numeric notation. To specify the match condition as a single keyword, the value for supported port name keywords.
  • Page 202: Match Ip Precedence

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.3.8 match ip precedence This command adds to the specified class definition a match condition based on the value of the IP Precedence field in a packet, which is defined as the high-order three bits of the Service Type octet in the IP header (the low-order five bits are not checked).
  • Page 203: Match Protocol

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.3.10 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 204: Diffserv Policy Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, To specify the match condition as a numeric value, one layer 4 port number is required. The port number is an integer from 0 to 65535. Format Mode 13.4 DiffServ Policy Commands Use the DiffServ policy commands to specify traffic conditioning actions, such as policing and marking, to apply to traffic classes...
  • Page 205: Drop

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.4.2 drop This command specifies that all packets for the associated traffic stream are to be dropped at ingress. Format Mode Incompatibilities Assign Queue, Mark (all forms), Police 13.4.3 conform-color This command is used to enable color-aware traffic policing and define the conform-color class map.
  • Page 206: Mark Cos

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.4.4.1 no class This command deletes the instance of a particular class and its defined treatment from the specified policy. <classname> Note: This command removes the reference to the class definition for the specified policy.
  • Page 207: Mark Ip-Precedence

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.4.7 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 Mode Policy Type...
  • Page 208: Policy-Map

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.4.9 policy-map This command establishes a new DiffServ policy. The sensitive alphanumeric string from 1 to 31 characters uniquely identifying the policy. The type of policy is specific to the inbound traffic direction as indicated by the in parameter. Note: The policy type dictates which of the individual policy attribute commands are valid within the policy definition.
  • Page 209: Diffserv Service Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 210: Diffserv Show Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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. <policyname> Note: This command causes a service to remove its reference to the policy. This command effectively disables DiffServ on an interface in the inbound direction.
  • Page 211: Show Diffserv

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Values If you do not specify the Class Name, this command displays a list of all defined DiffServ classes. The following fields are displayed: Class Name Class Type Ref Class Name 13.6.2 show diffserv This command displays the DiffServ General Status Group information, which includes...
  • Page 212: Show Policy-Map

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Policy Instance Table Max Policy Attribute Table Size Policy Attribute Table Max Service Table Size Service Table 13.6.3 show policy-map This command displays all configuration information for the specified policy. The is the name of an existing DiffServ policy.
  • Page 213 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Committed Rate (Kbps) Conform Action Conform COS Conform DSCP Value Conform IP Precedence Value Drop Mark CoS Mark IP DSCP Mark IP Precedence Non-Conform Action Non-Conform Quality of Service (QoS) Commands This field displays the committed rate, used in simple polic- ing, The current setting for the action taken on a packet consid-...
  • Page 214: Show Diffserv Service

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Non-Conform DSCP Value Non-Conform IP Precedence Value Policing Style Redirect If the Policy Name is not specified this command displays a list of all defined DiffServ policies. The following fields are displayed: Policy Name Policy Type Class Members...
  • Page 215: Show Diffserv Service Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Policy Name Policy Details 13.6.5 show diffserv service brief This command displays all interfaces in the system to which a DiffServ policy has been attached. The inbound direction parameter is optional. Format Mode DiffServ Mode...
  • Page 216: Show Service-Policy (Gsm7248 Only)

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Direction Operational Status Policy Name The following information is repeated for each class instance within this policy: Class Name In Discarded Packets 13.6.7 show service-policy (GSM7248 only) This command displays a summary of policy-oriented statistics information for all interfaces in the specified direction.
  • Page 217: Mac Access Control List (Acl) Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.7 MAC Access Control List (ACL) Commands This section describes the commands you use to configure MAC ACL settings. MAC ACLs ensure that only authorized users have access to specific resources and block any unwarranted attempts to reach network resources.
  • Page 218: Mac Access-List Extended Rename

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.7.2 mac access-list extended rename This command changes the name of a MAC Access Control List (ACL). The parameter is the name of an existing MAC ACL. The sensitive alphanumeric string from 1 to 31 characters uniquely identifying the MAC access list.
  • Page 219 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Table 13-1. Ethertype Keyword and 4-digit Hexadecimal Value (continued) Ethertype Keyword ibmsna ipv4 ipv6 mplsmcast mplsucast netbios novell pppoe rarp The vlan and cos parameters refer to the VLAN identifier and 802.1p user priority fields, respectively, of the VLAN tag.
  • Page 220: Mac Access-Group

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.7.4 mac access-group This command attaches a specific MAC Access Control List (ACL) identified by to an interface in a given direction. The MAC ACL. An optional sequence number may be specified to indicate the order of this mac access list relative to other mac access lists already assigned to this interface and direction.
  • Page 221: Ip Access Control List (Acl) Commands

    The following rules apply to IP ACLs: • The 7300S Series Stackable Switch does not support IP ACL configuration for IP packet fragments. • The maximum number of ACLs you can create is 100, regardless of type.
  • Page 222: Access-List

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 223: Ip Access-Group

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Mode 13.8.1.1 no access-list This command deletes an IP ACL that is identified by the parameter < accesslistnumber> Format Mode 13.8.2 ip access-group This command attaches a specified IP ACL to one interface or to all interfaces. An optional sequence number may be specified to indicate the order of this IP access list relative to other IP access lists already assigned to this interface and direction.
  • Page 224: Show Ip Access-Lists

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.8.3 show ip access-lists This command displays an IP ACL the IP ACL. Format Mode Rule Number Action Protocol Source IP Address Source IP Mask Source Ports Destination IP Address Destination IP Mask...
  • Page 225: Show Access-Lists

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13.8.4 show access-lists This command displays IP ACLs and MAC access control lists information for a designated interface and direction. Format Mode ACL Type ACL ID Sequence Number Quality of Service (QoS) Commands show access-lists interface <unit/slot/port>...
  • Page 226 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 13-38 Quality of Service (QoS) Commands v1.0, March 2006...
  • Page 227: Address Resolution Protocol (Arp) Commands

    Show commands are used to display switch settings, statistics and other information. • Configuration Commands are used to configure features and options of the switch. For every configuration command there is a show command that will display the configuration setting.
  • Page 228: Ip Proxy-Arp

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The format is 6 two-digit hexadecimal numbers that are separated by colons, for example 00:06:29:32:81:40. Format Mode 14.1.1.1 no arp This command deletes an ARP entry. The value for interface.
  • Page 229: Arp Dynamicrenew

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.1.3.1 no arp cachesize This command configures the default ARP cache size. Format Mode 14.1.4 arp dynamicrenew This command enables the ARP component to automatically renew dynamic ARP entries when they age out.
  • Page 230: Arp Resptime

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.1.6 arp resptime This command configures the ARP request response timeout. The value for a valid positive integer, which represents the IP ARP entry response timeout time in seconds.
  • Page 231: Clear Arp-Cache

    Format Mode 14.1.10 show arp This command displays the ARP cache. The displayed results are not the total ARP entries. To view the total ARP entries, combine the results. switch Format Mode Age Time (seconds) Response Time (seconds)
  • Page 232: Show Arp Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Total Entry Count Current / Peak Static Entry Count Current / Max The following fields are displayed for each ARP entry. IP Address MAC Address Interface Type 14.1.11 show arp brief This command displays the brief Address Resolution Protocol (ARP) table information.
  • Page 233: Ip Routing Commands

    “Routing Mode.” Format Mode 14.2.2 ip routing This command enables the IP Router Admin Mode for the master switch. Format Routing Commands Displays whether the ARP component automatically attempts to renew dynamic ARP entries when they age out.
  • Page 234: Ip Address

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Mode 14.2.2.1 no ip routing This command disables the IP Router Admin Mode for the master switch. Format Mode 14.2.3 ip address This command configures an IP address on an interface. You can also use this command to configure one or more secondary IP addresses on the interface.
  • Page 235: Ip Route Default

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The following must be present before the static routes are visible: • Enable ip routing globally. • Enable ip routing for the interface. • The associated link must also be up. Default Format Mode...
  • Page 236: Ip Route Distance

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.2.6 ip route distance This command sets the default distance for static routes. Lower route preference values are preferred when determining the best route. The commands allow you to optionally set the distance of an individual static route. The default distance is used when no distance is specified in these commands.
  • Page 237: Ip Netdirbcast

    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. The 7300S Series Stackable Switch software currently does not fragment IP packets.
  • Page 238: Encapsulation

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The minimum IP MTU is 68 bytes.The maximum IP MTU is 1500 bytes. Default Format Mode 14.2.9.1 no ip mtu This command resets the ip mtu to the default value. Format Mode 14.2.10 encapsulation...
  • Page 239: Clear Ip Route Mpls

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Format Mode 14.2.14 clear ip route mpls This command removes all the route entries learned over the network from other MPLS partners. Format Mode 14.2.15 clear ip route mpls <ip-address> This command removes only the MPLS route entries associated with <ip-address>...
  • Page 240: Clear Ip Route Rip

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.2.19 clear ip route rip <ip-address> This command removes only the route entries associated with <ip-address> learned from RIP protocol over the network. Format Mode 14.2.20 show ip brief This command displays all the summary information of the IP.
  • Page 241: Show Ip Interface Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Secondary IP Address Routing Mode Administrative Mode Forward Net Directed Broadcasts Proxy ARP Active State Link Speed Data Rate MAC Address Encapsulation Type IP MTU 14.2.22 show ip interface brief This command displays summary information about IP configuration settings for all ports in the router.
  • Page 242 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Format Modes Interface IP Address IP Mask Netdir Bcast MultiCast Fwd 14-16 show ip interface brief Privileged EXEC User EXEC Valid slot and port number separated by forward slashes. The IP address of the routing interface in 32-bit dotted deci- mal format.
  • Page 243: Show Ip Route

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.2.23 show ip route This command displays the entire route table. This commands takes no options. Format Mode Network Address Subnet Mask Protocol Total Number of Routes For each Next Hop Next Hop Intf Next Hop IP Address...
  • Page 244: Show Ip Route Entry

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, The following information displays for each Next Hop. Next Hop Intf Next Hop IP Address 14.2.25 show ip route entry This command displays the entire route table. Format Mode Network Address Subnet Mask...
  • Page 245: Show Ip Route Preferences

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.2.26 show ip route preferences This command displays detailed information about the route preferences. Route preferences are used in determining the best route. Lower router preference values are preferred over higher router preference values.
  • Page 246: Router Discovery Protocol Commands

    14.3 Router Discovery Protocol Commands This section describes the commands you use to view and configure Router Discovery Protocol settings on the switch. The Router Discovery Protocol enables a host to discover the IP address of routers on the subnet.
  • Page 247: Ip Irdp Holdtime

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.3.3 ip irdp holdtime This command configures the value, in seconds, of the holdtime field of the router advertisement sent from this interface. The holdtime range is the value of <maxadvertinterval>...
  • Page 248: Ip Irdp Preference

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.3.5.1 no ip irdp minadvertinterval This command sets the default minimum time to the default. Format Mode 14.3.6 ip irdp preference This command configures the preferability of the address as a default router address, relative to other router addresses on the same subnet.
  • Page 249 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Max Int Min Int Hold Time Preference Routing Commands Displays the maximum advertise interval, which is the maxi- mum time, in seconds, allowed between sending router advertisements from the interface. Displays the minimum advertise interval, which is the mini- mum time, in seconds, allowed between sending router advertisements from the interface.
  • Page 250: Virtual Lan Routing Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.4 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.4.1 vlan routing This command creates routing on a VLAN.
  • Page 251: Virtual Router Redundancy Protocol (Vrrp) Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.5 Virtual Router Redundancy Protocol (VRRP) Commands This section describes the commands you use to view and configure VRRP and to view VRRP status information. VRRP helps provide failover and load balancing when you configure two devices as a VRRP pair.
  • Page 252: Ip Vrrp Mode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.5.3 ip vrrp mode This command enables the virtual router configured on the specified interface. Enabling the status field starts a virtual router. The parameter has an integer value ranging from 1 to 255. Default Format Mode...
  • Page 253: Ip Vrrp Preempt

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.5.5.1 no ip vrrp authentication This command sets the default authorization details value for the virtual router configured on a specified interface. Format Mode 14.5.6 ip vrrp preempt This command sets the preemption mode value for the virtual router configured on a specified interface.
  • Page 254: Ip Vrrp Timers Advertise

    This command sets the default virtual router advertisement value for an interface. Format Mode 14.5.9 show ip vrrp interface stats This command displays the statistical information about each virtual router configured on the 7300S Series Stackable Switch switch. Format Modes Uptime Protocol...
  • Page 255: Show Ip Vrrp

    Errors 14.5.10 show ip vrrp This command displays whether VRRP functionality is enabled or disabled on the 7300S Series Stackable Switch. It also displays some global parameters which are required for monitoring This command takes no options. Format Routing Commands Represents the total number of VRRP packets received that don't pass the authentication check.
  • Page 256: Show Ip Vrrp Interface

    14-30 Privileged EXEC User EXEC Displays the administrative mode for VRRP functionality on the switch. Represents the total number of VRRP packets received with an invalid VRRP checksum value. Represents the total number of VRRP packets received with Unknown or unsupported version number.
  • Page 257: Show Ip Vrrp Interface Brief

    Administrative Mode State 14.5.12 show ip vrrp interface brief This command displays information about each virtual router configured on the 7300S Series Stackable Switch. This command takes no options. It displays information about each virtual router. Format Modes Interface VRID...
  • Page 258: Ip Ospf

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.2.1 no enable (OSPF) This command sets the administrative mode of OSPF in the router to inactive. Format Mode 14.6.3 ip ospf This command enables OSPF on a router interface. Default Format Mode...
  • Page 259: Area Default-Cost

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.5 area default-cost This command configures the monetary default cost for the stub area. The operator must specify the area id and an integer value between 1-16777215. Format Mode 14.6.6 area nssa This command configures the specified areaid to function as an NSSA.
  • Page 260: Area Nssa No-Summary (Ospf)

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.9 area nssa no-summary (OSPF) This command configures the NSSA so that summary LSAs are not advertised into the NSSA. Format Mode 14.6.10 area nssa translator-role (OSPF) This command configures the translator role of the NSSA. A value of router to assume the role of the translator the instant it becomes a border router and a value causes the router to participate in the translator election process when it candidate...
  • Page 261: Area Stub

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.12.1 no area range This command deletes a specified area range. Format Mode 14.6.13 area stub This command creates a stub area for the specified area ID. A stub area is characterized by the fact that AS External LSAs are not propagated into the area.
  • Page 262: Area Virtual-Link

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.15 area virtual-link This command creates the OSPF virtual interface for the specified . The <neighbor> <neighbor> Format Mode 14.6.15.1 no area virtual-link This command deletes the OSPF virtual interface from the given interface, identified by <areaid>...
  • Page 263: Area Virtual-Link Dead-Interval

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.16.1 no area virtual-link authentication This command configures the default authentication type for the OSPF virtual interface identified by <areaid> the neighbor. Format Mode 14.6.17 area virtual-link dead-interval This command configures the dead interval for the OSPF virtual interface on the virtual interface identified by Router ID of the neighbor.
  • Page 264: Area Virtual-Link Retransmit-Interval

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.18.1 no area virtual-link hello-interval This command configures the default hello interval for the OSPF virtual interface on the virtual interface identified by the Router ID of the neighbor. Format Mode 14.6.19 area virtual-link retransmit-interval...
  • Page 265: Default-Information Originate (Ospf)

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.20.1 no area virtual-link transmit-delay This command configures the default transmit delay for the OSPF virtual interface on the virtual interface identified by the Router ID of the neighbor. Format Mode 14.6.21 default-information originate (OSPF)
  • Page 266: Distance Ospf

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.23 distance ospf This command sets the route preference value of OSPF in the router. Lower route preference values are preferred when determining the best route. The type of OSPF can be intra, inter, type-1, or type-2.
  • Page 267: Exit-Overflow-Interval

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.25 exit-overflow-interval This command configures the exit overflow interval for OSPF. It describes the number of seconds after entering Overflow state that a router will wait before attempting to leave the Overflow State.
  • Page 268: Ip Ospf Areaid

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.27 ip ospf areaid This command sets the OSPF area to which the specified router interface belongs. The value for < > is an IP address, formatted as a 4-digit dotted-decimal number that areaid uniquely identifies the area to which the interface connects.
  • Page 269: Ip Ospf Dead-Interval

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.29.1 no ip ospf cost This command configures the default cost on an OSPF interface. Format Mode 14.6.30 ip ospf dead-interval This command sets the OSPF dead interval for the specified interface. The interval is the length of time in seconds that a router's Hello packets have not been seen before its neighbor routers declare that the router is down.
  • Page 270: Ip Ospf Priority

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.32 ip ospf priority This command sets the OSPF priority for the specified router interface. The priority of the interface is a priority integer from 0 to 255. A value of 0 indicates that the router is not eligible to become the designated router on this network.
  • Page 271: Ip Ospf Mtu-Ignore

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Default Format Mode 14.6.34.1 no ip ospf transmit-delay This command sets the default OSPF Transit Delay for the specified interface. Format Mode 14.6.35 ip ospf mtu-ignore This command disables OSPF maximum transmission unit (MTU) mismatch detection. OSPF Database Description packets specify the size of the largest IP packet that can be sent without fragmentation on the interface.
  • Page 272: Redistribute

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.37 redistribute This command configures OSPF protocol to allow redistribution of routes from the specified source protocol/routers. Default Format Mode 14.6.37.1 no redistribute This command configures OSPF protocol to prohibit redistribution of routes from the specified source protocol/routers.
  • Page 273: Trapflags

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.39 trapflags This command enables OSPF traps. Default Format Mode 14.6.39.1 no trapflags This command disables OSPF traps. Format Mode 14.6.40 show ip ospf This command displays information relevant to the OSPF router. Format Mode Note: Some of the information below displays only if you enable OSPF and...
  • Page 274 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, RFC 1583 Compatibility ABR Status Exit Overflow Interval External LSA Count External LSA Checksum New LSAs Originated LSAs Received External LSDB Limit Default Metric Default Route Advertise Always Metric Metric Type Maximum Paths...
  • Page 275: Show Ip Ospf Area

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Source Metric Metric Type Subnets Distribute-List 14.6.41 show ip ospf area This command displays information about the area. The < area that is being displayed. Format Modes AreaID Aging Interval External Routing Authentication...
  • Page 276: Show Ip Ospf Database

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Stub Mode Import Summary LSAs Metric Value Metric Type 14.6.42 show ip ospf database This command displays the link state database. The OSPF database information is grouped into sections by link-type and area. The groups are as follows: •...
  • Page 277: Show Ip Ospf Interface

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Sequence Checksum Options Rtr Opt 14.6.43 show ip ospf interface This command displays the information for the IFO object or virtual interface tables. Format Modes IP Address Subnet Mask OSPF Admin Mode OSPF Area ID...
  • Page 278: Show Ip Ospf Interface Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Authentication Type The information below will only be displayed if OSPF is enabled. OSPF Interface Type State Designated Router Backup Designated Router Number of Link Events Metric Cost 14.6.44 show ip ospf interface brief This command displays brief information for the IFO object or virtual interface tables.
  • Page 279: Show Ip Ospf Interface Stats

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Retransmit Interval Transit Delay Interval LSA Ack Interval 14.6.45 show ip ospf interface stats This command displays the statistics for a specific interface. The information below will only be displayed if OSPF is enabled. Format Modes OSPF Area ID...
  • Page 280: Show Ip Ospf Neighbor

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, External LSA Count LSAs Received Originate New LSAs 14.6.46 show ip ospf neighbor This command displays the OSPF neighbor table list. When you specify a particular neighbor ID, detailed information about a neighbor is given. The information below displays only if OSPF is enabled and the interface has a neighbor.
  • Page 281: Show Ip Ospf Neighbor Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Events Permanence Hellos Suppressed Retransmission Queue Length 14.6.47 show ip ospf neighbor brief This command displays the OSPF neighbor table list. The information below is displayed only if OSPF is enabled. Format Modes Routing Commands...
  • Page 282 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Router ID IP Address Neighbor Interface Index State 14-56 A 4 digit dotted decimal number representing the neighbor interface. An IP address representing the neighbor interface. Is a identifying the neighbor interface unit/slot/port index.
  • Page 283: Show Ip Ospf Range

    Subnet Mask Lsdb Type Advertisement 14.6.49 show ip ospf stub table This command displays the OSPF stub table. The information below will only be displayed if OSPF is initialized on the switch. Format Modes Area ID Type of Service Metric Val...
  • Page 284: Show Ip Ospf Virtual-Link

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.6.50 show ip ospf virtual-link This command displays the OSPF Virtual Interface information for a specific area and neighbor. The < areaid identifies the neighbor's Router ID. Format Modes Area ID Neighbor Router...
  • Page 285: Routing Information Protocol (Rip) Commands

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Dead Interval Retransmit Interval Transit Delay 14.7 Routing Information Protocol (RIP) Commands This section describes the commands you use to view and configure RIP, which is a distance-vector routing protocol that you use to route traffic within a small network. 14.7.1 router rip Use this command to enter Router RIP mode.
  • Page 286: Auto-Summary

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.7.3.1 no ip rip This command disables RIP on a router interface. Format Mode 14.7.4 auto-summary This command enables the RIP auto-summarization mode. Default Format Mode 14.7.4.1 no auto-summary This command disables the RIP auto-summarization mode.
  • Page 287: Distance Rip

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.7.6.1 no default-metric (RIP) This command is used to reset the default metric of distributed routes to its default value. Format Mode 14.7.7 distance rip This command sets the route preference value of RIP in the router. Lower route preference values are preferred when determining the best route.
  • Page 288: Ip Rip Authentication

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.7.8.2 no default-information originate This command is used to control the advertisement of default routes. Format Mode 14.7.9 ip rip authentication This command sets the RIP Version 2 Authentication Type and Key for the specified interface.
  • Page 289: Ip Rip Send Version

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.7.10.1 no ip rip receive version This command configures the interface to allow RIP control packets of the default version(s) to be received. Format Mode 14.7.11 ip rip send version This command configures the interface to allow RIP control packets of the specified version to be sent.
  • Page 290: Split-Horizon

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.7.13 split-horizon This command sets the RIP split horizon mode. Default Format Mode 14.7.13.1 no split-horizon This command sets the default RIP split horizon mode. Format Mode 14.7.14 redistribute This command configures RIP protocol to redistribute routes from the specified source protocol/routers.
  • Page 291: Show Ip Rip

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14.7.14.1 no redistribute This command de-configures RIP protocol to redistribute routes from the specified source protocol/routers. Format Mode 14.7.15 show ip rip This command displays information relevant to the RIP router. Format Modes RIP Admin Mode...
  • Page 292: Show Ip Rip Interface Brief

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Default Metric Default Route Advertise 14.7.16 show ip rip interface brief This command displays general information for each RIP interface. For this command to display successful results routing must be enabled per interface (i.e. ip rip). Format Modes Interface...
  • Page 293 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Receive version Both RIP Admin Mode Link State Authentication Type Default Metric The following information will be invalid if the link state is down. Bad Packets Received Bad Routes Received Updates Sent Routing Commands...
  • Page 294 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 14-68 Routing Commands v1.0, March 2006...
  • Page 295: Igmp Snooping Commands

    This section describes the Internet Group Management Protocol (IGMP) snooping commands available in the 7300S Series Stackable Switch CLI. The 7300S Series Stackable 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 296: Set Igmp Interfacemode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 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 297: Set Igmp Fast-Leave

    This command enables or disables IGMP Snooping fast-leave admin mode on a selected interface or VLAN. Enabling fast-leave allows the switch to immediately remove the layer 2 LAN interface from its forwarding table entry upon receiving an IGMP leave message for that multicast group without first sending out MAC-based general queries to the interface.
  • Page 298: Set Igmp Groupmembership-Interval

    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. This value must be less than the IGMP Query Interval time value.
  • Page 299: Set Igmp Mcrtexpiretime

    VLAN. This is the amount of time in seconds that a switch waits for a query to be received on an interface before the interface is removed from the list of interfaces with multicast routers attached.
  • Page 300: Set Igmp Mrouter Interface

    Interface Config show igmpsnooping [<unit/slot/port> | <vlanId>] Privileged EXEC <unit/slot/port> <vlanId> This indicates whether or not IGMP Snooping is active on the switch. v1.0, March 2006 >). vlanId are not used, the command IGMP Snooping Commands...
  • Page 301 Indicates whether IGMP Snooping Fast-leave is active on the VLAN. Shows the amount of time in seconds that a switch will wait for a report from a particular group on a particular interface, which is participating in the VLAN, before deleting the inter- face from the entry.This value may be configured...
  • Page 302: Show Igmpsnooping Mrouter Interface

    Privileged EXEC A multicast MAC address for which the switch has forward- ing or filtering information. The format is two-digit hexadec- imal numbers that are separated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address is v1.0, March 2006...
  • Page 303 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Type Description Interfaces IGMP Snooping Commands displayed as a MAC address and VLAN ID combination of 8 bytes. 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 304 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 15-10 IGMP Snooping Commands v1.0, March 2006...
  • Page 305: Power Over Ethernet Commands

    PSE also provides a detection method for determining whether the Ethernet device on the other end of the cable, the Powered Device (PD), is 802.3af compliant or not. Most vendors today implement the PSE technology outside of the existing switch, a technique called a midspan solution. AVAYA and Cisco also implement this technology inside the switch, called an end-span solution.
  • Page 306: Power Over Ethernet (Poe) Commands

    Voice-over IP (VoIP), is the transmission of telephone calls over a data network like one of the many networks that make up the Internet. Other NETGEAR products that work with the 7300S Series Stackable Switch: • WG302 •...
  • Page 307: Poe

    This command sets the priority level for the delivery of power to an attached device. The switch may not be able to supply power to all connected devices, so the port priority is used to determine which ports will supply power if adequate power capacity is not available for all enabled ports.
  • Page 308: Show Poe Port Info

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Mode 16.1.5 show poe port info This command displays a summary for the ports that support the PoE function. Format Mode The following fields are displayed for each port. If a port does not have link, or is not enabled for PoE, the following fields display a value of “N/A”.
  • Page 309: Show Poe

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, • Delivering Power—the port is providing power to POE device • Fault—the POE device is not IEEE compliance, no power is provided • Test—the port is in testing state •...
  • Page 310 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 16-6 Power Over Ethernet Commands v1.0, March 2006...
  • Page 311: Stacking Commands

    • Show commands display switch settings, statistics, and other information. • Configuration commands configure features and options of the switch. For every configuration command, there is a show command that displays the configuration setting. Note: The Primary Management Unit is the unit that controls the stack.
  • Page 312: Member

    The range for priority is 1 to 15, where 1 is the lowest priority and 15 is the highest. The switch with the highest priority value will be chosen to become the Primary Management Unit if the active Primary Management Unit fails.
  • Page 313: Switch Renumber

    This command replicates the STK file from the Primary Management Unit to the other switch(es) in the stack. The code is loaded on the destination system otherwise the code is loaded on all switches in the stack. Switch(es) must be reset for the new code to start running.
  • Page 314: Archive Download-Sw

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 17.1.7 archive download-sw This command downloads the STK file to the switch. The switch must be reset for the new code to start running. Format Mode 17.1.8 slot This command configures a slot in the system.
  • Page 315: Set Slot Disable

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 17.1.9 set slot disable This command configures the administrative mode of the slot(s). If you specify command is applied to all slots, otherwise the command is applied to the slot identified by <unit/slot/port>...
  • Page 316: Reload

    Format Mode 17.1.11 reload This command resets the entire stack or the identified identifier. The system prompts you to confirm that you want to reset the switch. Format Mode 17.1.12 show slot This command displays information about all the slots in the system or for a specific slot.
  • Page 317: Show Supported Cardtype

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Power Down If you supply a value for appears:. Inserted Card Model Identifier Inserted Card Description Configured Card Description 17.1.13 show supported cardtype This commands displays information about all card types or specific card types supported in the system.
  • Page 318: Show Switch

    The Model Identifier is a 32-character field assigned by the device manufacturer to identify the device. This field displays the model identifier of the switch in the stack. Model Identifier is a 32-character field assigned by the device manufacturer to identify the device.
  • Page 319: Show Supported Switchtype

    Detected Code Version Detected Code in Flash Up Time 17.1.15 show supported switchtype This commands displays information about all supported switch types or a specific switch type. Format Mode Stacking Commands The administrative management preference value assigned to the switch. This preference value indicates how likely the switch is to be chosen as the Primary Management Unit.
  • Page 320: Front Panel Stacking Commands

    This field displays the model identifier for the supported switch type. This field indicates the management preference value of the switch type. This field displays the code load target identifier of the switch type. , the following output appears: [switchindex] This field displays the 32-bit numeric switch type for the sup- ported switch.
  • Page 321: Qos-Mode

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 17.2.2 qos-mode This command enables QOS mode for front panel stacking. Default Format Mode 17.2.2.1 no qos-mode This command disables QOS mode for front panel stacking. Format Mode 17.2.3 show stack-port This command displays summary stack-port information for all interfaces.
  • Page 322: Show Stack-Port Counters

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 17.2.4 show stack-port counters This command displays summary data counter information for all interfaces. Format Mode Unit Interface Tx Data Rate Tx Error Rate Tx Total Error Rx Data Rate Rx Error Rate Rx Total Errors 17.2.5 show stack-port diag...
  • Page 323: System Maintenance Commands

    The commands in this section are in one of four functional groups: • Show commands display switch settings, statistics, and other information. • Configuration commands configure features and options of the switch. For every configuration command, there is a show command that displays the configuration setting. •...
  • Page 324: System Information And Statistics Commands

    This section describes the commands you use to view information about system features, components, and configurations. 18.1.1 show arp switch This command displays connectivity between the switch and other devices. The Address Resolution Protocol (ARP) cache identifies the MAC addresses of the IP stations communicating with the switch.
  • Page 325: Show Hardware

    Packages System Maintenance Commands show hardware Privileged EXEC Text used to identify the product name of this switch. Specifies the machine model as defined by the Vital Product Data. Specifies the machine model as defined by the Vital Product Data.
  • Page 326: Show Interface

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.1.4 show interface This command displays a summary of statistics for a specific interface or a count of all CPU traffic based upon the argument. Format Mode Note: For information about the format and output for ethernet The display parameters, when the argument is Packets Received...
  • Page 327 The number of outbound packets that could not be transmit- ted because of errors. The total number of Forwarding Database Address Table entries now active on the switch, including learned and static entries. The number of VLAN entries presently occupying the VLAN table.
  • Page 328: Show Interface Ethernet

    Mode The display parameters, when the argument is Packets Received 18-6 show interface ethernet {<unit/slot/port> | switch- port} Privileged EXEC <unit/slot/port> Octets Received - The total number of octets of data (includ- ing those in bad packets) received on the network (excluding framing bits but including Frame Check Sequence (FCS) octets).
  • Page 329 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Packets Received Successfully Packets Received with MAC Errors System Maintenance Commands 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets). Packets Received 1024-1518 Octets - The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
  • Page 330 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Received Packets Not Forwarded 18-8 ments define jabber as the condition where any packet exceeds 20 ms. The allowed range to detect jabber is between 20 ms and 150 ms. Fragments/Undersize Received received that were less than 64 octets in length (excluding framing bits but including FCS octets).
  • Page 331 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Packets Transmitted Octets System Maintenance Commands Multicast Tree Viable Discards - The number of frames dis- carded when a lookup in the multicast tree for a VLAN occurs while that tree is being modified. Reserved Address Discards - The number of frames dis- carded that are destined to an IEEE 802.1 reserved address and are not supported by the system.
  • Page 332 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Packets Transmitted Successfully Transmit Errors 18-10 Packets Transmitted 512-1023 Octets - The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
  • Page 333 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Transmit Discards Protocol Statistics System Maintenance Commands Oversized - The total number of frames that exceeded the max permitted frame size. This counter has a max increment rate of 815 counts per sec. at 10 Mb/s. Underrun Errors - The total number of frames discarded because the transmit FIFO buffer became empty during frame transmission.
  • Page 334 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Dot1x Statistics Time Since Counters Last Cleared If you specify the switchport 18-12 GVRP Failed Registrations - The number of times attempted GVRP registrations could not be completed. GMRP PDU's received - The count of GMRP PDU's received in the GARP layer.
  • Page 335 Most Address Entries Ever Used - The highest number of Forwarding Database Address Table entries that have been learned by this switch since the most recent reboot. System Maintenance Commands 18-13 v1.0, March 2006...
  • Page 336: Show Logging

    Time Since Counters Last Cleared 18.1.6 show logging This command displays the trap log that the switch maintains. The trap log contains a maximum of 256 entries that wrap. Note: Trap log information is not retained across a switch reset. Format...
  • Page 337: Show Mac-Addr-Table

    Web display, upload file from switch etc.) sets the counter to 0. The sequence number of this trap. The relative time since the last reboot of the switch at which this trap occurred. The relevant information of this trap.
  • Page 338: Clear Mac-Addr-Table

    To display/capture the commands with settings/configurations that are equal to the default value, include the The output is displayed in script format, which can be used to configure another switch with the same configuration. If the optional extension of “.scr”, the output is redirected to a script file.
  • Page 339: Show Sysinfo

    To configure the system location, see 10.1.1 “snmp-server” on page Text used to identify a contact person for this switch. The fac- tory default is blank. To configure the system location, see Section 10.1.1 “snmp-server” on page The base object ID for the switch’s enterprise MIB.
  • Page 340: Clear Config

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.2.2 clear config This command resets the configuration to the factory defaults without powering off the switch. When you issue this command, a prompt appears to confirm that the reset should proceed. When you enter Format Mode 18.2.3 clear counters...
  • Page 341: Clear Traplog

    This command resets VLAN configuration parameters to the factory defaults. Format Mode 18.2.10 copy command uploads and downloads files to and from the switch. You can upload copy and download files from a server by using TFTP, Xmodem, Ymodem, or Zmodem. Format...
  • Page 342 Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, Table 18-1. Copy Parameters (continued) Source nvram:traplog system:running-config <url> <url> <url> <url> <url> <url> <url> <url> <url> <url> <url> 18-20 Destination Description Copies the trap log file to a server. <url>...
  • Page 343: Logout

    TCP/IP. You can ping the switch from any IP workstation the switch is connected to through the default VLAN (VLAN 1), as long as there is a physical path between the switch and the workstation.
  • Page 344: Logging Buffered

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.3.1 logging buffered This command enables logging to an in-memory log that keeps up to 128 logs. Default Format Mode 18.3.1.1 no logging buffered This command disables logging to in-memory log. Format Mode 18.3.2 logging buffered wrap...
  • Page 345: Logging Host

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.3.3.1 no logging console This command disables logging to the console. Format Mode 18.3.4 logging host This command enables logging to a host. You can configure up to eight hosts. The is the IP address of the logging host.
  • Page 346: Logging Host Remove

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.3.5 logging host remove This command disables logging to host. See page 18-26 for a list of host indexes. Format Mode 18.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.
  • Page 347: Show Logging

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.3.8 show logging This command displays logging. Format Mode Client Local Port Console Logging Administrative Mode Console Logging Severity Filter Buffered Logging Administrative Mode Buffered Logging Severity Filter Historical Logging Administrative Mode...
  • Page 348: Show Logging Buffered

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.3.9 show logging buffered This command displays buffered logging (system startup and system operation logs). Format Mode Admin Status Component Filter Wrapping Behavior Log Count 18.3.10 clear logging buffered This command clears the messages maintained in the system log.
  • Page 349: Cli Command Logging Command

    This section describes the commands you use to configure CLI Command Logging. 18.4.1 logging cli-command This command enables the CLI command logging feature, which enables the 7300S Series Stackable Switch software to log all CLI commands issued on the system. Default Format Mode 18.4.1.1 no logging cli-command...
  • Page 350: Configuration Scripting Commands

    • A maximum of ten scripts are allowed on the switch. • The combined size of all script files on the switch shall not exceed 2048 KB. • The maximum number of configuration file command lines is 2000. You can type single-line annotations at the command prompt to use when you write test or configuration scripts to improve script readability.
  • Page 351: Script Apply

    18.5.2 script delete This command deletes a specified script where the of the script to delete. The Format Mode 18.5.3 script list This command lists all scripts present on the switch as well as the remaining available space. Format Mode Configuration Script Size 18.5.4 script show...
  • Page 352: Script Validate

    Command Line Interface Reference for the ProSafe 7300S Series Layer-3 Stackable Switches, 18.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>...

Table of Contents