Command Line Interface
Reference for the ProSafe
7200RS Series Layer-2
Stackable Switches with
Static Routing, Software
Version 7.3
NETGEAR, Inc.
350 Plumeria Dr.
San Jose, CA 95124 USA
202-10455-01
October 2008
© 2008 by NETGEAR, Inc. All rights reserved. FullManual.
Trademarks
NETGEAR and the NETGEAR logo are registered trademarks, and ProSafe is a trademark of NETGEAR, Inc.
Microsoft, Windows, and Wi ndow s NT are registered trademar ks of Microsoft Corporation.
Other brand and product names are registered trademarks or trademarks of their respective holders. Portions of this
document are copyright Intoto, Inc.
October 2008
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.
EN 55 022 Declaration of Conformance
This is to certify that the ProSafe 7200RS Series Layer-2 Managed Stackable Switch is shielded against the generation of
radio interference in accordance with the application of Council Directive 89/336/EEC, Article 4a. Conformity is
declared by the application of EN 55 022 Class B (CISPR 22).
Certificate of the Manufacturer/Importer
It is hereby certified that the ProSafe 7200RS Series Layer-2 Managed Stackable Switch has been suppressed
in accordance with the conditions set out in the BMPT-AmtsblVfg 243/1991 and Vfg 46/1992. The operation of some
equipment (for example, test transmitters) in accordance with the regulations may, however, be subject to certain
restrictions. Please refer to the notes in the operating instructions.
The Federal Office for Telecommunications Approvals has been notified of the placing of this equipment on the market
and has been granted the right to test the series for compliance with the regulations.
Bestätigung des Herstellers/Importeurs
Es wird hiermit bestätigt, daß dasProSafe 7200RS Series Layer-2 Managed Stackable Switch gemäß der im BMPTAmtsblVfg 243/1991 und Vfg 46/1992 aufgeführten Bestimmungen entstört ist. Das vorschriftsmäßige Betreiben
einiger Geräte (z.B. Testsender) kann jedoch gewissen Beschränkungen unterliegen. Lesen Sie dazu bitte die
Anmerkungen in der Betriebsanleitung.
Das Bundesamt für Zulassungen in der Telekommunikation wurde davon unterrichtet, daß dieses Gerät auf den Markt
gebracht wurde und es ist berechtigt, die Serie auf die Erfüllung der Vorschriften hin zu überprüfen.
Voluntary Control Council for Interference (VCCI) Statement
This equipment is in the Class B category (information equipment to be used in a residential area or an adjacent area
thereto) and conforms to the standards set by the Voluntary Control Council for Interference by Data Processing
Equipment and Electronic Office Machines aimed at preventing radio interference in such residential areas. When used
near a radio or TV receiver, it may become the cause of radio interference. Read instructions for correct handling.
ii
v1.0, October 2008
Product and Publication Details
Model Number: FSM7226RS
Publication Date: October 2008
Product Family: managed switch
Product Name: ProSafe 7200RS Series Layer-2 Managed Stackable Switch
Home or Business Product: Business
Language: English
Publication Part Number: 202-10455-01
Publication Version Number 1.0
v1.0, October 2008
iii
iv
v1.0, October 2008
Contents
Command Line Interface Reference for the ProSafe 7200RS Series Layer-2
Stackable Switches with Static Routing, Software Version 7.3
Chapter 1
About This Manual
1.1 Audience................................................................................................................. 1-1
1.2 Scope...................................................................................................................... 1-1
1.3 Typographical Conventions .................................................................................... 1-2
1.4 Special Message Formats ...................................................................................... 1-2
1.5 How to Use This Manual......................................................................................... 1-3
1.6 How to Print this Manual......................................................................................... 1-3
1.7 Revision History...................................................................................................... 1-4
Chapter 2
Overview
2.1 Product Concept..................................................................................................... 2-1
2.2 Using the Command-Line Interface........................................................................ 2-2
2.2.1 Command Syntax.......................................................................................... 2-2
2.2.2 Command Conventions................................................................................. 2-3
2.2.3 Unit-Slot-Port Naming Convention................................................................ 2-5
2.2.4 Using the “No” Form of a Command............................................................. 2-5
2.2.5 Command Modes.......................................................................................... 2-6
2.2.6 Entering CLI Commands............................................................................... 2-8
2.2.7 Using CLI Help............................................................................................ 2-10
2.2.8 Accessing the CLI ....................................................................................... 2-11
Chapter 3
Administrative Access Commands
3.1 Network Interface Commands................................................................................ 3-1
3.1.1 enable............................................................................................................ 3-1
3.1.2 network parms (parameter)........................................................................... 3-2
v1.0, October 2008
v
3.1.3 network mgmt_vlan....................................................................................... 3-2
3.1.4 network protocol............................................................................................ 3-2
3.1.5 show network ................................................................................................ 3-3
3.2 Configuring the Switch Management CPU (ezconfig) ............................................ 3-4
3.3 Console Port Access Commands........................................................................... 3-6
3.3.1 configuration.................................................................................................. 3-6
3.3.2 lineconfig....................................................................................................... 3-6
3.3.3 serial baudrate............................................................................................... 3-7
3.3.4 serial timeout................................................................................................. 3-7
3.3.5 show serial .................................................................................................... 3-8
3.4 Telnet Commands................................................................................................... 3-9
3.4.1 telnet.............................................................................................................. 3-9
3.4.2 transport input telnet...................................................................................... 3-9
3.4.3 transport output telnet ................................................................................. 3-10
3.4.4 session-limit................................................................................................. 3-10
3.4.5 session-timeout........................................................................................... 3-11
3.4.6 telnetcon maxsessions................................................................................ 3-11
3.4.7 telnetcon timeout......................................................................................... 3-12
3.4.8 show telnet.................................................................................................. 3-12
3.4.9 show telnetcon ............................................................................................ 3-13
3.5 Secure Shell (SSH) Command....................... ... .... ... ... ... ...................................... 3-14
3.5.1 ip ssh........ ... ... .... ... ... ... ....................................... ... .... ... ... ... ......................... 3-14
3.5.2 ip ssh protocol.......................... .......................................... ......................... 3-14
3.5.3 sshcon maxsessions................................................................................... 3-15
3.5.4 sshcon timeout............................................................................................ 3-15
3.5.5 show ip ssh.................................................................................................. 3-16
3.6 Hypertext Transfer Protocol (HTTP) Commands.................................................. 3-16
3.6.1 ip http secure-port ........................................................................ ... ... .... ... .. 3-16
3.6.2 ip http secure-protocol............................................................................ ... .. 3-17
3.6.3 ip http secure-server........................ ... ... ... .... ... ... ... .... ... ... ............................ 3-17
3.6.4 ip http server............................. ....................................... ... .... ... ... ............... 3-17
3.6.5 ip http java.......... ... ... ... .... ... ... ....................................... ... ... .... ... ... ............... 3-18
3.6.6 ip http session hard-timeout........................................................................ 3-18
3.6.7 ip http session maxsessions.................. ... .... ...................................... .... ... .. 3-18
3.6.8 ip http session soft-timeout........................... ... ....................................... ... .. 3-19
vi
v1.0, October 2008
3.6.9 ip http secure-session hard-timeout............................................................ 3-19
3.6.10 ip http secure-session maxsessions........................................................ .. 3-20
3.6.11 ip http secure-session soft-timeout................ ... ... ...................................... 3-20
3.6.12 network javamode..................................................................................... 3-20
3.6.13 show ip http................... ... ....................................... ... ... ... .... ... .................. 3-21
3.7 User Account Commands..................................................................................... 3-22
3.7.1 users name.................................................................................................. 3-22
3.7.2 users passwd .............................................................................................. 3-23
3.7.3 users snmpv3 accessmode................................ ... ...................................... 3-23
3.7.4 users snmpv3 authentication........................... ... ... .... ... ............................... 3-24
3.7.5 users snmpv3 encryption ............................. ... ... ... ...................................... 3-24
3.7.6 show loginsession........................................................ ... ............................ 3-25
3.7.7 show users.................................................................................................. 3-25
3.7.8 disconnect................................................................................................... 3-26
Chapter 4
Port and System Setup Commands
4.1 Port Configuration Commands ............................................................................... 4-1
4.1.1 interface......................................................................................................... 4-1
4.1.2 interface range .............................................................................................. 4-2
4.1.3 interface vlan................................................................................................. 4-2
4.1.4 interface lag................................................................................................... 4-2
4.1.5 auto-negotiate ............................................................................................... 4-2
4.1.6 auto-negotiate all........................................................................................... 4-3
4.1.7 description..................................................................................................... 4-3
4.1.8 mtu ................................................................................................................ 4-4
4.1.9 shutdown....................................................................................................... 4-4
4.1.10 shutdown all ................................................................................................ 4-5
4.1.11 speed........................................................................................................... 4-5
4.1.12 speed all...................................................................................................... 4-6
4.1.13 monitor session........................................................................................... 4-6
4.1.14 no monitor ................................................................................................... 4-7
4.1.15 show monitor session.................................................................................. 4-7
4.1.16 show port..................................................................................................... 4-8
4.1.17 show port description .................................................................................. 4-8
4.1.18 show port protocol....................................................................................... 4-9
v1.0, October 2008
vii
4.1.19 show port status.......................................................................................... 4-9
4.2 Pre-login Banner and System Prompt Commands............. ... ... ... .... ..................... 4-10
4.2.1 copy............................................................................................................. 4-10
4.2.2 set prompt ................................................................................................... 4-10
4.3 Simple Network Time Protocol (SNTP) Commands............................................. 4-11
4.3.1 sntp broadcast client poll-interval................................................................ 4-11
4.3.2 sntp client mode.......................................................................................... 4-11
4.3.3 sntp client port............................................................................................. 4-12
4.3.4 sntp unicast client poll-interval .................................................................... 4-12
4.3.5 sntp unicast client poll-timeout............................................... ... ... ... ... ......... 4-12
4.3.6 sntp unicast client poll-retry............................. ... ... .... ... ... ... .... ... ... ............... 4-13
4.3.7 sntp multicast client poll-interval...................... ... ... .... ... ............................... 4-13
4.3.8 sntp server................................................................................................... 4-14
4.3.9 show sntp.................................................................................................... 4-14
4.3.10 show sntp client... ... ... ....................................... ... .... ... ............................... 4-14
4.3.11 show sntp server ....................................................................................... 4-15
4.3.12 clock timezone............................................................ ... ... .... ..................... 4-16
4.4 MAC Address and MAC Database Commands.................................................... 4-17
4.4.1 network mac-address................................... ... ... ....................................... .. 4-17
4.4.2 network mac-type........................................................................................ 4-17
4.4.3 macfilter....................................................................................................... 4-18
4.4.4 macfilter adddest...... ... .... ... ... ... .... ... ... .......................................... ............... 4-18
4.4.5 macfilter adddest all ................................. .... ... .......................................... .. 4-19
4.4.6 macfilter addsrc.. ... ....................................... ... ... ... .... ... ............................... 4-19
4.4.7 macfilter addsrc all .......................... ... ... ... .... ... ... ... ...................................... 4-20
4.4.8 bridge aging-time......................................................................................... 4-21
4.4.9 show forwardingdb agetime ..................... .... ... ... ... .... .................................. 4-22
4.4.10 show mac-address-table multicast...... ... ....................................... ... .... ... .. 4-22
4.4.11 show mac-address-table static...................................... ... .... ... .................. 4-23
4.4.12 show mac-address-table stats.................................... ... ... .... ... ... ... ............ 4-23
4.5 DNS Client Commands......................................................................................... 4-24
4.5.1 ip domain-lookup............. .......................................... .................................. 4-25
4.5.2 ip domain-name............................... ... ... ... .... ...................................... .... ... .. 4-25
4.5.3 ip name-server ................................ ... ... ... .... ... ....................................... ... .. 4-25
4.5.4 ip host.................................... ... .... ... ... ... ....................................... ... ... .... ... .. 4-26
viii
v1.0, October 2008
4.5.5 clear host..................................................................................................... 4-26
4.5.6 show hosts .................................................................................................. 4-26
Chapter 5
Spanning Tree Protocol Commands
5.1 STP Configuration Commands............................................................................... 5-1
5.1.1 spanning-tree ................................................................................................ 5-1
5.1.2 spanning-tree bpdumigrationcheck............................................................... 5-2
5.1.3 spanning-tree configuration name................................................................. 5-2
5.1.4 spanning-tree configuration revision ............................................................. 5-3
5.1.5 spanning-tree edgeport................................................................................. 5-3
5.1.6 spanning-tree edgeport all............................................................................. 5-3
5.1.7 spanning-tree forceversion............................................................................ 5-4
5.1.8 spanning-tree forward-time ........................................................................... 5-4
5.1.9 spanning-tree hello-time................................................................................ 5-5
5.1.10 spanning-tree max-age ............................................................................... 5-5
5.1.11 spanning-tree max-hops.............................................................................. 5-6
5.1.12 spanning-tree mst........................................................................................ 5-6
5.1.13 spanning-tree mst instance......................................................................... 5-7
5.1.14 spanning-tree mst priority............................................................................ 5-8
5.1.15 spanning-tree mst vlan................................................................................ 5-9
5.1.16 spanning-tree port mode............................................................................. 5-9
5.1.17 spanning-tree port mode all......................................................................... 5-9
5.1.18 spanning-tree bpduforwarding................................................................... 5-10
5.2 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-13
5.2.4 show spanning-tree mst port detailed ................ ... .... ... ... ... .... ..................... 5-14
5.2.5 show spanning-tree mst port summary ........................................... ... ......... 5-16
5.2.6 show spanning-tree mst summary ..................... ....................................... .. 5-16
5.2.7 show spanning-tree vlan ............................................................................. 5-17
Chapter 6
VLAN Commands
6.1 VLAN Configuration Commands............................................................................. 6-1
6.1.1 vlan association mac..................................................................................... 6-1
v1.0, October 2008
ix
6.1.2 vlan database................................................................................................ 6-2
6.1.3 network mgmt_vlan....................................................................................... 6-2
6.1.4 vlan................................................................................................................ 6-2
6.1.5 vlan acceptframe........................................................................................... 6-3
6.1.6 vlan ingressfilter ............................................................................................ 6-3
6.1.7 vlan makestatic.............................................................................................. 6-4
6.1.8 vlan name...................................................................................................... 6-4
6.1.9 vlan participation ........................................................................................... 6-4
6.1.10 vlan participation all..................................................................................... 6-5
6.1.11 vlan port acceptframe all ............................................................................. 6-5
6.1.12 vlan port pvid all .......................................................................................... 6-6
6.1.13 vlan port tagging all..................................................................................... 6-6
6.1.14 vlan port ingressfilter all.............................. ... ... ... .... ... ... ... ........................... 6-7
6.1.15 vlan protocol group...................................................................................... 6-7
6.1.16 vlan protocol group add protocol................................................................. 6-8
6.1.17 vlan protocol group remove......................................................................... 6-8
6.1.18 protocol group ............................................................................................. 6-8
6.1.19 protocol vlan group...................................................................................... 6-9
6.1.20 protocol vlan group all................................................................................. 6-9
6.1.21 vlan pvid.................................................................................................... 6-10
6.1.22 vlan tagging............................................................................................... 6-10
6.2 VLAN Show Commands....................................................................................... 6-11
6.2.1 show vlan .................................................................................................... 6-11
6.2.2 show vlan <vlan_id>.................................................................................... 6-11
6.2.3 show vlan association mac.......................................................................... 6-13
6.2.4 show vlan port............................................................................................. 6-13
6.3 Double VLAN Commands......................................................... ... .... ..................... 6-14
6.3.1 dvlan-tunnel etherType.......................... ... .......................................... ......... 6-14
6.3.2 mode dot1q-tunnel ...................................................................................... 6-14
6.3.3 mode dvlan-tunnel....................................................................................... 6-15
6.3.4 show dot1q-tunnel....................................................................................... 6-16
6.3.5 show dot1q-tunnel interface........................................................................ 6-16
6.3.6 show dvlan-tunnel ........................ ... ... ... ....................................... ... ... .... ... .. 6-17
6.3.7 show dvlan-tunnel interface................... ... ....................................... ... .... ... .. 6-17
6.4 Provisioning (IEEE 802.1p) Commands ............................................................... 6-17
x
v1.0, October 2008
6.4.1 vlan port priority all...................................................................................... 6-18
6.4.2 vlan priority......... ... ... ... .... ... ....................................... ... ... ... .... ... ... ... ... ......... 6-18
Chapter 7
DHCP Commands
7.1 ip dhcp pool ............................................................................................................ 7-2
7.1.1 client-identifier............................................................................................... 7-2
7.1.2 client-name.................................................................................................... 7-3
7.1.3 default-router................................................................................................. 7-3
7.1.4 dns-server ..................................................................................................... 7-3
7.1.5 hardware-address ......................................................................................... 7-4
7.1.6 host................................................................................................................ 7-4
7.1.7 lease.............................................................................................................. 7-5
7.1.8 network.......................................................................................................... 7-5
7.1.9 bootfile........................................................................................................... 7-5
7.1.10 domain-name .............................................................................................. 7-6
7.1.11 netbios-name-server.................................................................................... 7-6
7.1.12 netbios-node-type........................................................................................ 7-7
7.1.13 next-server .................................................................................................. 7-7
7.1.14 option........................................................................................................... 7-8
7.2 DHCP Server Commands (Global Config Mode) ................................................... 7-8
7.2.1 ip dhcp excluded-address ............................................................................. 7-8
7.2.2 ip dhcp ping packets...................................................................................... 7-9
7.2.3 service dhcp.................................................................................................. 7-9
7.2.4 ip dhcp bootp automatic.............................................................................. 7-10
7.2.5 ip dhcp conflict logging.................................... ... ... .... ... ............................... 7-10
7.3 DHCP Server Clear and Show Commands.......................................................... 7-11
7.3.1 clear ip dhcp binding ................................................................................... 7-11
7.3.2 clear ip dhcp server statistics...................................................................... 7-11
7.3.3 clear ip dhcp conflict.................................................................................... 7-11
7.3.4 show ip dhcp binding................................................................................... 7-11
7.3.5 show ip dhcp global configuration...................................... .... ... ... ... ............ 7-12
7.3.6 show ip dhcp pool configuration................................ ... ... ... .... ..................... 7-12
7.3.7 show ip dhcp server statistics............................................. .... ... ... ... ... .... ... .. 7-13
7.3.8 show ip dhcp conflict................................................................................... 7-14
7.4 DHCP and BOOTP Relay Commands ................................................................. 7-14
v1.0, October 2008
xi
7.4.1 ip dhcp relay information option ...................................... ... .... ... .................. 7-15
7.4.2 bootpdhcprelay............................................................................................ 7-15
7.4.3 bootpdhcprelay maxhopcount..................................................................... 7-16
7.4.4 bootpdhcprelay minwaittime........................................................................ 7-16
7.4.5 bootpdhcprelay serverip.............................................................................. 7-17
7.4.6 show bootpdhcprelay .................................................................................. 7-17
7.4.7 bootpdhcprelay backup-serverip................................................................. 7-18
Chapter 8
GARP, GVRP, and GMRP Commands
8.1 set garp timer join................................................................................................... 8-1
8.1.1 set garp timer leave....................................................................................... 8-2
8.1.2 set garp timer leaveall................................................................................... 8-3
8.1.3 show garp...................................................................................................... 8-3
8.2 GVRP Commands .................................................................................................. 8-4
8.2.1 set gvrp adminmode...................................................................................... 8-4
8.2.2 set gvrp interfacemode.................................................................................. 8-4
8.2.3 show gvrp configuration ................................................................................ 8-5
8.3 GMRP Commands.................................................................................................. 8-6
8.3.1 set gmrp adminmode..................................................................................... 8-6
8.3.2 set gmrp interfacemode................................................................................. 8-7
8.3.3 show gmrp configuration............................................................................... 8-7
8.3.4 show mac-address-table gmrp...................................................................... 8-9
Chapter 9
Port-Based Traffic Control Commands
9.1 Port Security Commands............................. ... ... .... .......................................... ... ... . 9-1
9.1.1 port-security................................................................................................... 9-1
9.1.2 port-security max-dynamic............................................................................ 9-2
9.1.3 port-security max-static................................................................................. 9-3
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
xii
v1.0, October 2008
9.2 Storm Control Commands........ ... ... ... .... ... ... ... ... .... ... ... ... .... ... ... ... .... ....................... 9-5
9.2.1 storm-control broadcast................................................................................. 9-5
9.2.2 storm-control multicast all.............................................................................. 9-6
9.2.3 storm-control unicast all ................................................................................ 9-6
9.2.4 storm-control broadcast................................................................................. 9-7
9.2.5 storm-control multicast.................................................................................. 9-7
9.2.6 storm-control unicast..................................................................................... 9-8
9.2.7 storm-control flowcontrol............................................................................... 9-8
9.2.8 show storm-control........................................................................................ 9-9
9.3 Protected Port Commands ..................................................................................... 9-9
9.3.1 switchport protected...................................................................................... 9-9
9.3.2 show switchport protected........................ ....................................... ... .... ... .. 9-10
9.4 Private Group Commands........... ... ... .......................................... .... ... ... ............... 9-10
9.4.1 switchport private-group.............................................................................. 9-10
9.4.2 no switchport private group................ ... ... .... ... ... ... .... ... ... ............................ 9-11
9.4.3 private-group name..................................................................................... 9-11
9.4.4 no private-group name................................................................................ 9-11
9.4.5 show private-group...................................................................................... 9-12
Chapter 10
SNMP Commands
10.1 SNMP Configuration Commands.................. ... .... ... ... ....................................... .. 10-1
10.1.1 snmp-server .................................. ... ... ... .... ...................................... .... ... .. 10-1
10.1.2 snmp-server community...... ....................................... ... ... .... ... ... ............... 10-2
10.1.3 snmp-server community ipaddr........................................ .... ... ... ............... 10-2
10.1.4 snmp-server community ipmask................................................................ 10-3
10.1.5 snmp-server community mode.................................................................. 10-3
10.1.6 snmp-server community ro........................................................................ 10-4
10.1.7 snmp-server community rw....................................................................... 10-4
10.1.8 snmp-server traps violation........................ ...................................... .... ... .. 10-4
10.1.9 snmp-server traps ...................................... ... ... ... .... .................................. 10-5
10.1.10 snmp-server traps bcaststorm........................................ .... ... ... ... ... .... ... .. 10-5
10.1.11 snmp-server traps linkmode .............................. .... ... ... ... .... ..................... 10-6
10.1.12 snmp-server traps multiusers............ ....................................... ... ... .... ... .. 10-6
10.1.13 snmp-server traps stpmode............................... .... ... ... ... .... ... .................. 10-6
10.1.14 snmptrap ................................................................................................. 10-7
v1.0, October 2008
xiii
10.1.15 snmptrap snmpversion... ... ... .... ... ... ... ....................................... ... ... .... ... .. 10-8
10.1.16 snmptrap ipaddr ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... .... ... ... ... ......................... 10-8
10.1.17 snmptrap mode .... ... .... ... ... ... .... ... ... ... ... .... ... ... ......................................... 10-8
10.1.18 snmp trap link-status............ .... ... ... ... ... .... ... ....................................... ... .. 10-9
10.1.19 snmp trap link-status all........................................................................... 10-9
10.2 SNMP Show Commands.................................................................................. 10-10
10.2.1 show snmpcommunity............................................................................. 10-10
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 ...................................................................................... 11-3
11.1.5 dot1x initialize............................................................................................ 11-3
11.1.6 dot1x login ................................................................................................. 11-3
11.1.7 dot1x max-req............................................................................................ 11-4
11.1.8 dot1x port-control....................................................................................... 11-4
11.1.9 dot1x port-control all.................................................................................. 11-5
11.1.10 dot1x re-authenticate............................................................................... 11-5
11.1.11 dot1x re-authentication ............................................................................ 11-6
11.1.12 dot1x system-auth-control ....................................................................... 11-6
11.1.13 dot1x timeout........................................................................................... 11-6
11.1.14 dot1x port-method ................................................................................... 11-8
11.1.15 dot1x user................................................................................................ 11-8
11.1.16 users defaultlogin .................................................................................... 11-8
11.1.17 users login ............................................................................................... 11-9
11.1.18 show authentication................................................................................. 11-9
11.1.19 show authentication users....................................................................... 11-9
11.1.20 show dot1x ............................................................................................ 11-10
11.1.21 show dot1x users......................................................................... ... .... ... 11-13
11.1.22 show users authentication........... ... ... ... .... ... ... ... .... ... ... .......................... 11-13
11.2 RADIUS Commands ......................................................................................... 11-14
xiv
v1.0, October 2008
11.2.1 radius accounting mode .......................................................................... 11-14
11.2.2 radius server host.................................................................................... 11-14
11.2.3 radius server key .................................................................. ... ... ... ... .... ... 11-15
11.2.4 radius server msgauth............................................................................. 11-16
11.2.5 radius server primary. .... ... ... ... .... ...................................... .... ... ... ... ... ....... 11-16
11.2.6 radius server retransmit........................................................................... 11-16
11.2.7 radius server timeout........ ... ... .... ...................................... .... ... ... ... ... ....... 11-17
11.2.8 show radius ............................................................................................. 11-17
11.2.9 show radius accounting........................................................................... 11-18
11.2.10 show radius statistics............................................................................. 11-19
11.3 802.1x Option 81 Commands .............................. ... ... ... .... ... ... ... .... ... ... ... ... .... ... 11-21
11.3.1 radius server attribute 4........................................................................... 11-21
11.3.2 no radius server attribute 4............... ... ... .... ... ... ... .... ... ... ... .... ... ... ... ... .... ... 11-21
11.3.3 authorization network radius....................................... ... ... .... ... ... ... ... .... ... 11-21
11.3.4 no authorization network radius........ ... ... .... ... ... ... .................................... 11-22
11.4 TACAS+ Commands......................................................................................... 11-22
11.4.1 tacads-server host................................................................................... 11-22
11.4.2 no tacacs-server host .................................... ... ... .... ................................ 11-22
11.4.3 tacacs-server key ... ... .... ... ....................................... ... ... ... .... ... ... ... ... ....... 11-23
11.4.4 no tacacs-server key ..................................... ... ... .... ... ... ... .... ... ... ... .......... 11-23
11.4.5 tacacs-server timeout .................................... ....................................... ... 11-23
11.4.6 no tacacs-server timeout ............................... ... ....................................... 11-23
11.4.7 key........................................................................................................... 11-24
11.4.8 port .......................................................................................................... 11-24
11.4.9 priority...................................................................................................... 11-24
11.4.10 timeout................................................................................................... 11-24
11.4.11 show tacacs.......... ... .... ... ... ... .... ... ... ... ... .......................................... .... ... 11-24
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 delet eport (Interfac e Config) ... .... ... ....................................... ... ... ... ... ......... 12-2
12.1.3 deleteport (Global Config)................... ... .... ...................................... .... ... .. 12-2
12.1.4 port-channel ......................................................................... ... ... ... ... ......... 12-2
12.1.5 clear port-channel............................. ... ... .... ... .......................................... .. 12-3
v1.0, October 2008
xv
12.1.6 port lacpmode................................ ... ... ....................................... ... ... .... ... .. 12-3
12.1.7 port lacpmode all....... .... ... ... ... .... ...................................... .... ... ... ... ... ......... 12-3
12.1.8 port-channel adminmode............................... ... ... .... ... ... ... ......................... 12-4
12.1.9 port-channel name ........................................ ... ... .... ... ... ... .... ..................... 12-4
12.1.10 port-channel linktrap.............................................. ... ... ............................ 12-4
12.1.11 hashing-mode.... ... ....................................... ... ... .... ... ... ............................ 12-5
12.2 Port-Channel Show Commands............................................. ... .... ... ... ... ............ 12-5
12.2.1 show port-channel...................................................... ... ... .... ... .................. 12-6
12.2.2 show port-channel...................................................... ... ... .... ... .................. 12-6
Chapter 13
Quality of Service (QoS) Commands
13.1 Class of Service (CoS) Commands.................................................................... 13-1
13.1.1 classofservice dot1p-mapping............................. .... ... ... ... .... ... ... ............... 13-2
13.1.2 classofservice ip-precedence-mapping............................................ .... ... .. 13-2
13.1.3 classofservice ip-dscp-mapping.... ... ... ... .... ... ... ... .... ... ... ... .... ... .................. 13-3
13.1.4 classofservice trust................................. .... ... ... ... ...................................... 13-3
13.1.5 cos-queue min-bandwidth.......................................................... ... ... ......... 13-4
13.1.6 cos -queue strict.......................................................... ... ... .... ..................... 13-4
13.1.7 traffic-shape............................................................................................... 13-4
13.1.8 show classofservice dot1p-mapping ....................................... ... ... ... .... ... .. 13-5
13.1.9 show classofservice ip-precedence-mapping............................. ... ... .... ... .. 13-5
13.1.10 show classofservic e ip-ds cp-mapping.. .... ... ... ... .... ... ... ... .... ... ... ... ... .... ... .. 13-6
13.1.11 show classofservice trust......................................................................... 13-6
13.1.12 show interfaces cos-queue...................................................................... 13-6
13.2 Differentiated Services (DiffServ) Commands ........................................... .... ... .. 13-7
13.2.1 diffserv.............................................................................. .... ... ... ............... 13-8
13.3 DiffServ Class Commands.................................................................................. 13-9
13.3.1 class-map............................................... .... ... ... ....................................... .. 13-9
13.3.2 class-map rename................................................................................... 13-10
13.3.3 match ethertype....................................................................................... 13-10
13.3.4 match any................................................................................................ 13-11
13.3.5 match class-map........................................................... ... .... ... ... ... ... .... ... 13-11
13.3.6 match cos................................................................................................ 13-12
13.3.7 match destination-address mac .............................................................. 13-12
13.3.8 match dstip.............................................................................................. 13-12
xvi
v1.0, October 2008
13.3.9 match dstl4port........................................................................................ 13-12
13.3.10 match ip dscp ........................................................................................ 13-13
13.3.11 match ip precedence ............................................................................. 13-13
13.3.12 match ip tos........................................................................................... 13-14
13.3.13 match protocol....................................................................................... 13-14
13.3.14 match source-address mac................................................................... 13-15
13.3.15 match srcip............................................................................................ 13-15
13.3.16 match srcl4port...................................................................................... 13-15
13.3.17 match vlan............................................................................................. 13-16
13.4 DiffServ Policy Commands............................................................................... 13-16
13.4.1 policy-map............................................................................................... 13-17
13.4.2 assign-queue........................................................................................... 13-17
13.4.3 drop......................................................................................................... 13-18
13.4.4 conform-color .......................................................................................... 13-18
13.4.5 class........................................................................................................ 13-18
13.4.6 mark cos.................................................................................................. 13-19
13.4.7 mark ip-dscp............................................................................................ 13-20
13.4.8 mark ip-precedence................................................................................. 13-20
13.4.9 police-simple ........................................................................................... 13-20
13.4.10 policy-map rename................................................................................ 13-21
13.5 DiffServ Service Commands............................................................................. 13-21
13.5.1 service-policy........................................................................................... 13-21
13.6 DiffServ Show Commands................................................................................ 13-22
13.6.1 show class-map....................................................................................... 13-23
13.6.2 show diffserv ........................................................................................... 13-23
13.6.3 show policy-map...................................................................................... 13-24
13.6.4 show diffserv service............................................................................... 13-27
13.6.5 show diffserv service brief...... .... ...................................... .... ... ... ... ... .... ... 13-27
13.6.6 show policy-map interface....................................................................... 13-28
13.6.7 show service-policy................................................................................. 13-28
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
v1.0, October 2008
xvii
13.7.5 show mac ac ces s-lis ts................................... ... ... .................................... 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
13.8.3 show ip acc es s-lis ts.................................... ... ... ... .... ... ... .......................... 13-36
13.8.4 show access-lists .................................................................................... 13-37
Chapter 14
Routing Commands
14.1 Address Resolution Protocol (ARP) Commands ................................................ 14-1
14.1.1 arp................................................................. ... ... .... ... ... ............................ 14-2
14.1.2 ip proxy-arp ......................................... ... .... ...................................... .... ... .. 14-2
14.1.3 arp cachesize.......................................................... ... ... ... ......................... 14-3
14.1.4 arp dynamicrenew.. ... .... ... ... ... .... ...................................... .... ... ... ... ... ......... 14-3
14.1.5 arp purge............. ... ... .... ...................................... .... ... ... ... .... ..................... 14-3
14.1.6 arp resptime ........................................ ... .... ... ... ... .... .................................. 14-3
14.1.7 arp retries......................... ....................................... ... ... ... .... ... .................. 14-4
14.1.8 arp timeout .............................................................................. ... ... ............ 14-4
14.1.9 clear arp-cache........................... ... ... ... ... .... ... ... ....................................... .. 14-5
14.1.10 show arp.................................................................................................. 14-5
14.1.11 show arp brief.................................................... .... ... ... ... ......................... 14-6
14.2 IP Routing Commands......................... ... ... ... ... .... ... ... ....................................... .. 14-7
14.2.1 routing ........................................................................... ... .... ... ... ... ............ 14-7
14.2.2 ip routing........................................... ... ... .... ... ... ....................................... .. 14-7
14.2.3 ip address............................................... .... ... ... ... .... ... ............................... 14-8
14.2.4 ip route .......................................... ... ... ... ....................................... ... .... ... .. 14-8
14.2.5 ip route default........................................ .... ... ... ... .... .................................. 14-9
14.2.6 ip route distance...................................................... ... ............................... 14-9
14.2.7 ip forwarding............................................................................................ 14-10
14.2.8 ip mtu....................................................................................................... 14-10
14.2.9 encapsulation...................................................... .... ... ... ... .... ... ... ... .......... 14-11
14.2.10 clear ip route all..................................................................................... 14-12
14.2.11 show ip .................................................................................................. 14-12
14.2.12 show ip interface ................................................................................... 14-13
14.2.13 show ip interface ................................................................................... 14-14
14.2.14 show ip route......................................................................................... 14-14
xviii
v1.0, October 2008
14.2.15 show ip route bestroutes....................................................................... 14-15
14.2.16 show ip route entry................................................................................ 14-15
14.2.17 show ip route preferences..................................................................... 14-16
14.2.18 show ip stats.......................................................................................... 14-17
14.3 Virtual LAN Routing Commands....................................................................... 14-17
14.3.1 vlan routing.............................................................................................. 14-17
14.3.2 show ip vlan................................... ... ... ... .... ... ... ... .... ... ... .......................... 14-17
14.4 Virtual Router Redundancy Protocol (VRRP) Commands................................ 14-18
14.4.1 ip vrrp ...................................................................................................... 14-19
14.4.2 ip vrrp ...................................................................................................... 14-19
14.4.3 ip vrrp mode ............................................................................................ 14-20
14.4.4 ip vrrp ip................................................................................................... 14-20
14.4.5 ip vrrp authentication............................................................................... 14-20
14.4.6 ip vrrp preempt........................................................................................ 14-21
14.4.7 ip vrrp priority........................................................................................... 14-21
14.4.8 ip vrrp timers advertise............................................................................ 14-22
14.4.9 show ip vrrp int erface stats.. ... .... ... ... ... ... .... ... ... ... .... ... ... ... .... ... ................ 14-22
14.4.10 show ip vrrp........................................................................................... 14-24
14.4.11 show ip vrrp interface ............................................................................ 14-24
14.4.12 show ip vrrp interface <unit/slot/port> ................................................... 14-25
14.5 Open Shortest Path First (OSPF) Commands.................................................. 14-25
14.5.1 router ospf............................................................................................... 14-26
14.5.2 enable (OSPF) ........................................................................................ 14-26
14.5.3 ip ospf...................................................................................................... 14-26
14.5.4 1583compatibility..................................................................................... 14-27
14.5.5 area default-cost...................................................................................... 14-27
14.5.6 area nssa................................................................................................. 14-27
14.5.7 area nssa default-info-originate............................................................... 14-28
14.5.8 area nssa no-redistribute (OSPF) ........................................................... 14-28
14.5.9 area nssa no-summary (OSPF) .............................................................. 14-28
14.5.10 area nssa translator-role (OSPF) .......................................................... 14-28
14.5.11 area nssa translator-stab-intv................................................................ 14-29
14.5.12 area range............................................................................................. 14-29
14.5.13 area stub ............................................................................................... 14-29
14.5.14 area stub summarylsa........................................................................... 14-30
v1.0, October 2008
xix
14.5.15 area virtual-link...................................................................................... 14-30
14.5.16 area virtual-link authentication............................................................... 14-31
14.5.17 area virtual-link dead-interval ................................................................ 14-31
14.5.18 area virtual-link hello-interval................................................................. 14-32
14.5.19 area virtual-link retransmit-interval ........................................................ 14-32
14.5.20 area virtual-link transmit-delay .............................................................. 14-33
14.5.21 default-information originate (OSPF)..................................................... 14-33
14.5.22 default-metric (OSPF) ........................................................................... 14-34
14.5.23 distance ospf ......................................................................................... 14-34
14.5.24 distribute-list out.................................................................................... 14-35
14.5.25 exit-overflow-interval ............................................................................. 14-35
14.5.26 external-lsdb-limit.................................................................................. 14-36
14.5.27 ip ospf areaid......................................................................................... 14-36
14.5.28 ip ospf authentication ............................................................................ 14-36
14.5.29 ip ospf cost ............................................................................................ 14-37
14.5.30 ip ospf dead-interval.............................................................................. 14-37
14.5.31 ip ospf hello-interval .............................................................................. 14-38
14.5.32 ip ospf priority........................................................................................ 14-38
14.5.33 ip ospf retransmit-interval...................................................................... 14-39
14.5.34 ip ospf transmit-delay ............................................................................ 14-39
14.5.35 ip ospf mtu-ignore.................................................................................. 14-40
14.5.36 router-id................................................................................................. 14-40
14.5.37 redistribute............................................................................................. 14-40
14.5.38 maximum-paths..................................................................................... 14-41
14.5.39 trapflags................................................................................................. 14-41
14.5.40 show ip ospf .......................................................................................... 14-42
14.5.41 show ip ospf area .................................................................................. 14-44
14.5.42 show ip ospf database........................................................................... 14-45
14.5.43 show ip ospf interface............................................................................ 14-45
14.5.44 show ip ospf interface <unit/slot/port>................................................... 14-46
14.5.45 show ip ospf interface stats................................................................... 14-48
14.5.46 show ip ospf neighbor ........................................................................... 14-49
14.5.47 show ip ospf neighbor <ipaddr> ............................................................ 14-50
14.5.48 show ip ospf range ................................................................................ 14-51
14.5.49 show ip ospf stub table.......................................................................... 14-52
xx
v1.0, October 2008
14.5.50 show ip ospf virtual-link ......................................................................... 14-52
14.5.51 show ip ospf virtual-link <area_id>........................................................ 14-53
14.6 Routing Information Protocol (RIP) Commands ............................................... 14-54
14.6.1 router rip.................................................................................................. 14-54
14.6.2 enable (RIP)............................................................................................ 14-54
14.6.3 ip rip......................................................................................................... 14-54
14.6.4 auto-summary ......................................................................................... 14-55
14.6.5 default-information originate (RIP) .......................................................... 14-55
14.6.6 default-metric (RIP)................................................................................. 14-55
14.6.7 distance rip.............................................................................................. 14-56
14.6.8 distribute-list out...................................................................................... 14-56
14.6.9 ip rip authentication................................................................................. 14-57
14.6.10 ip rip receive version ............................................................................. 14-57
14.6.11 ip rip send version .......... ... ... .... ... ... ... ... .... ... ... ... .................................... 14-58
14.6.12 hostroutesaccept................................................................................... 14-58
14.6.13 split-horizon........................................................................................... 14-59
14.6.14 redistribute............................................................................................. 14-59
14.6.15 show ip rip ............................................................................................. 14-60
14.6.16 show ip rip interface .............................................................................. 14-61
14.6.17 show ip rip interface <unit/slot/port>...................................................... 14-61
Chapter 15
IGMP Snooping Commands
15.1 IGMP Snooping Configurat ion Commands....................... ... ... ... .... ... ... ... ... .... ... .. 15-2
15.1.1 ip igmpsnooping......................... ... ... ... ... .... ... ....................................... ... .. 15-2
15.1.2 ip igmpsnooping interfacemode ....................... ... .... ... ... ... ......................... 15-3
15.1.3 ip igmpsnooping groupmembership-interval ........................................ ... .. 15-3
15.1.4 ip igmpsnooping maxresponse................................ ... ... ... ......................... 15-4
15.1.5 ip igmpsnooping mcrtexpiretime................................. ... ... .... ..................... 15-4
15.1.6 ip igmp mrouter ............................................. ... ... .... ... ... ... ......................... 15-5
15.1.7 ip igmp mrouter interface............................... ... ... ...................................... 15-5
15.1.8 ip igmpsnooping unknown-multicast ....................................... ... ... ... .... ... .. 15-6
15.2 IGMP Snooping Show Comm ands.. .......................................... ......................... 15-6
15.2.1 show ip igmp .......................................... .... ... ... ... .... .................................. 15-6
15.2.2 show ip igmp mrouter interface ..................................... ... .... ... ... ... ............ 15-8
15.2.3 show ip igmp mrouter vlan ......... ... ... ... ... .... ... ... ....................................... .. 15-8
v1.0, October 2008
xxi
15.2.4 show mac-address-table igmpsnooping.................................................... 15-8
15.3 IGMP Querier Commands......................................................... .... ..................... 15-9
15.3.1 ip igmpsnooping querier.......................................................................... 15-10
15.3.2 ip igmpsnooping querier ip-address........................................................ 15-10
15.3.3 ip igmpsnooping querier query-interval................................................... 15-11
15.3.4 show ip igmpsnooping querier .... ... ... ... ... .... ... ... ... .... ... ... ... .... ... ... ... ... .... ... 15-11
Chapter 16
Stacking Commands
16.1 Dedicated Port Stacking ......................................... ....................................... ... .. 16-1
16.1.1 stack.......................................................................................................... 16-1
16.1.2 member............................................................... .... ... ... ... ......................... 16-2
16.1.3 switch priority........................................................................ ... ... ............... 16-2
16.1.4 switch renumber...................................................... ... ... ... .... ..................... 16-3
16.1.5 movemanagement...................................... ... ... ....................................... .. 16-3
16.1.6 archive copy-sw................... ... .... ... ... ... ....................................... ... ... .... ... .. 16-3
16.1.7 archive download-sw.............................. .... ... ... ... .... ... ... ... .... ..................... 16-4
16.1.8 slot................................................................................. ... .... ... ... ... ............ 16-4
16.1.9 set slot disable............................................ ... ... ... ...................................... 16-5
16.1.10 set slot power ................................. ... ... .... ... ... ... .... ... ... ... .... ... ... ... ... ......... 16-5
16.1.11 reload....................................................................................................... 16-6
16.1.12 show slot ................................................................................................. 16-6
16.1.13 show supported cardtype........................................................................ 16-7
16.1.14 show switch............................................................................................. 16-8
16.1.15 show supported switchtype..................................................................... 16-9
16.2 Front Panel Stacking Commands..................................................................... 16-10
16.2.1 stack-port................................................................................................. 16-10
16.2.2 qos-mode ......................................... ... ... .... ... ... ....................................... 16-11
16.2.3 show stack-port....................................................... ... ... ... .... ... ... ... .......... 16-11
16.2.4 show stack-port counters ........................................................................ 16-12
16.2.5 show stack-port diag ............................................................................... 16-12
Chapter 17
LLDP and LLDP-MED Commands
17.1 LLDP Commands ................................ ...................................... .... ... ... ... ... ......... 17-1
17.1.1 lldp transmit................................................... ... ... .... ... ... ............................ 17-1
17.1.2 no lldp transmit................................................. ... .... .................................. 17-1
xxii
v1.0, October 2008
17.1.3 lldp receive.......................................................... .... ... ... ... .... ..................... 17-1
17.1.4 no lldp receive............................................................... ... .... ... ... ............... 17-2
17.1.5 lldp timers...................................................... ... ... .... ... ... ............................ 17-2
17.1.6 no lldp timers................................................. ....................................... ... .. 17-2
17.1.7 lldp transmit-tlv........................................................... ... ... ......................... 17-2
17.1.8 no lldp transmit-tlv......................................................... ... ......................... 17-3
17.1.9 lldp transmit-mgmt............................................ ... .... .................................. 17-3
17.1.10 no lldp transmit-mgmt........ ... .... ... ... ... ....................................... ... ... .... ... .. 17-3
17.1.11 lldp notification......................................................................................... 17-3
17.1.12 no lldp notification................................. .... ... ... ... .... ... ... ............................ 17-3
17.1.13 lldp notification-interval................................................ ... .... ... ... ... ... ......... 17-3
17.1.14 no lldp notification-interval.... .... ... ... ... ....................................... ... ... .... ... .. 17-4
17.1.15 clear lldp statistics ............................. ... .... ... ... ... ...................................... 17-4
17.1.16 clear lldp remote-data..................................... ... .... .................................. 17-4
17.1.17 show lldp ................................................................................................. 17-4
17.1.18 show lldp interface.................................... ... ... ... .... ... ............................... 17-5
17.1.19 show lldp statistics................................................................................... 17-5
17.1.20 show lldp remote-device........................................ ... ... ... ......................... 17-6
17.1.21 show lldp remote-device detail............. .... ... ... ... .... ... ... ............................ 17-6
17.1.22 show lldp local-device ....................................... .... ... ... ... .... ..................... 17-7
17.1.23 show lldp local-device detail.................................................................... 17-8
17.2 LLDP-MED Commands............................................. ... .... ... ... ............................ 17-9
17.2.1 lldp med............................................ ... ... .... ... ... ....................................... .. 17-9
17.2.2 no lldp med................................................. ... ... ... ...................................... 17-9
17.2.3 lldp med confignotification................ ... ... .... ... ... ....................................... .. 17-9
17.2.4 no lldp med confignotification.................................................................. 17-10
17.2.5 lldp med transmit-tlv................................................................................ 17-10
17.2.6 no lldp med transmit-tlv........................................................................... 17-10
17.2.7 lldp med faststartrepeatcount.................................................................. 17-10
17.2.8 no lldp med faststartrepeatcount...... ... ... .... ... ....................................... ... 17-11
17.2.9 show lldp med .. ... ... ... .......................................... .... ... ... ... ....................... 17-11
17.2.10 show lldp med interface......................................................................... 17-11
17.2.11 show lldp med local-device detail.......................................................... 17-12
17.2.12 show lldp med remote-device................................................................ 17-13
17.2.13 show lldp med remote-device detail...................................................... 17-13
v1.0, October 2008
xxiii
Chapter 18
System Maintenance Commands
18.1 System Information and Statistics Commands................................................... 18-1
18.1.1 show arp switc h...... ... .... ... ... ... .... ... ... ... ....................................... ... ... .... ... .. 18-1
18.1.2 show eventlog ........................................ .... ... ... ... ...................................... 18-2
18.1.3 show hardware....... ... .... ...................................... .... ... ... ... .... ..................... 18-2
18.1.4 show int erface .................................. ... ... .... ... ... ... .... ... ... ... ......................... 18-3
18.1.5 show int erface ethernet.................................................... .... ... ... ... ............ 18-5
18.1.6 show logging ........................................................................................... 18-14
18.1.7 show mac-addr-table............................................................................... 18-15
18.1.8 clear mac-addr-table ............................................................................... 18-16
18.1.9 show running-config................................................................................ 18-16
18.1.10 show running-config interface ............................................................... 18-16
18.1.11 terminal length....................................................................................... 18-17
18.1.12 show sysinfo.......................................................................................... 18-17
18.2 System Utility Commands................................................................................. 18-18
18.2.1 traceroute................................................................................................ 18-18
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-19
18.2.6 enable passwd ........................................................................................ 18-19
18.2.7 clear port-channel.................................................................................... 18-19
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
18.2.12 ping........................................................................................................ 18-21
18.2.13 reload .................................................................................................... 18-22
18.3 Logging Commands.......................................................................................... 18-22
18.3.1 logging buffered....................................................................................... 18-22
18.3.2 logging buffered wrap.............................................................................. 18-22
18.3.3 logging console ....................................................................................... 18-23
18.3.4 logging host............................................................................................. 18-23
18.3.5 logging host remove................................................................................ 18-23
xxiv
v1.0, October 2008
18.3.6 logging port.............................................................................................. 18-24
18.3.7 logging syslog.......................................................................................... 18-24
18.3.8 show logging ........................................................................................... 18-24
18.3.9 show logging buffered............................................................................. 18-26
18.3.10 clear logging buffered............................................................................ 18-26
18.3.11 show logging hosts................................................................................ 18-26
18.3.12 show logging traplogs............................................................................ 18-27
18.4 CLI Command Logging Co mmand ................................................................... 18-27
18.4.1 logging cli-command ............................................................................... 18-27
18.5 Configuration Scripting Commands.................................................................. 18-28
18.5.1 script apply.............................................................................................. 18-29
18.5.2 script delete............................................................................................. 18-29
18.5.3 script list .................................................................................................. 18-29
18.5.4 show script .............................................................................................. 18-29
18.6 Packet Capture................................................................................................. 18-30
18.6.1 capture transmit packet........................................................................... 18-30
18.6.2 capture receive packet............................................................................ 18-30
18.6.3 capture all packets .................................................................................. 18-31
18.6.4 capture wrap............................................................................................ 18-31
18.6.5 show capture packets.............................................................................. 18-31
18.7 Dumping System Information ........................................................................... 18-32
18.8 Setting the Output Length of show running-config............................................ 18-32
18.8.1 terminal length......................................................................................... 18-32
18.8.2 terminal no length.................................................................................... 18-32
18.9 Save.................................................................................................................. 18-32
Chapter 19
UDP Relay Commands
19.1 UDP Relay Configuratio n Commands ............. .... ... ... ... .... ... ... ... .... ..................... 19-2
19.1.1 ip helper-address (global config mode)............... .... ... ... ... .... ... ... ... ... .... ... .. 19-2
19.1.2 ip helper-address (interface config mode)................................................. 19-3
19.2 UDP Relay Show Command s................. ... ... ... ....................................... ... .... ... .. 19-3
19.2.1 show ip helper-addre ss .......................... .... ... ....................................... ... .. 19-3
Appendix A
Command Changes from Release 3 to Release 5
v1.0, October 2008
xxv
xxvi
v1.0, October 2008
This chapter introduces the Command Line Interface Reference for the ProSafe 7200RS
Series Layer-2 Stackable Switches with Static Routing, Software Version 7.3. It describes
the command-line interface (CLI) commands used to view and configure the 7200RS
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.
1.1 Audience
This document is for system administrators who configure and operate systems using
7200RS Series Stackable Switch software. Software engineers who integrate 7200RS
Series Stackable Switch software into their hardware platform can also benefit from a
description of the configuration options.
This document assumes that the reader has an understanding of the 7200RS Series
Stackable Switch software base and has read the appropriate specification for the relevant
networking device platform. It also assumes that the reader has a basic knowledge of
Ethernet and networking concepts.
Chapter 1
About This Manual
1.2 Scope
This manual is written for the 7200RS Series Stackable Switch according to these
specifications:
Table 1-1. Manual Specifications
Product ProSafe 7200RS Series Layer-2 Managed Stackable Switch
Manual Part Number 202-10455-01
Manual Publication Date October 2008
About This Manual 1-1
v1.0, October 2008
Command Line Interface Reference for the ProSafe 7200RS Series Layer-2 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
Italic Emphasis, books, CDs, file and server names, extensions
Bold User input, IP addresses, GUI screen text
Fixed Command prompt, CLI text, code.
Italic URL link
1.4 Special Message Formats
This guide uses the following formats to highlight special messages:
Note: This format is used to highlight of importance or special interest.
Tip: A time-saving or resource-saving procedural step.
Warning: This is a warning of possible damage to the equipment or software
malfunction.
1-2 About This Manual
v1.0, October 2008
Command Line Interface Reference for the ProSafe 7200RS Series Layer-2 Stackable Switches
Danger: Ignoring this type of warning could result in personal injury or death.
1.5 How to Use This Manual
The HTML version of this manual includes the following:
• Buttons and for browsing forwards or backwards through the manual
one page at a time.
• A button that displays the table of contents and possibly an button.
Double-click on a link in the table of contents or index to navigate directly to where
the topic is described in the manual.
• A button to access the full NETGEAR, Inc. online knowledge base for the
product model.
• Links to PDF versions of the full manual and individual chapters.
1.6 How to Print this Manual
To print this manual, choose one of the following options.
• Printing a Page in the HTML View.
Each page in the HTML version of the manual is dedicated to a major topic. Use the
Print button on the browser toolbar to print the page contents.
• Printing a Chapter .
Use the PDF of This Chapter link at the top left of any page.
– Click the PDF of This Chapter link at the top right of any page in the chapter you
want to print. The PDF version of the chapter you were viewing opens in a
browser window.
Your computer must have the free Adobe Acrobat reader installed in order to view
and print PDF files. The Acrobat reader is available on the Adobe Web site at
http://www.adobe.com.
About This Manual 1-3
v1.0, October 2008
Command Line Interface Reference for the ProSafe 7200RS Series Layer-2 Stackable Switches
– Click the print icon in the window toolbar.
Tip: If your printer supports printing of two or more pages on a single sheet
of paper, you can save paper and printer ink by clicking the printer
Properties button and increasing the number of pages per sheet.
• 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.
– Click the print icon in the window toolbar.
Tip: If your printer supports printing of two or more pages on a single sheet
of paper, you can save paper and printer ink by clicking the printer
Properties button and increasing the number of pages per sheet.
1.7 Revision History
Table 1-3 lists the revision history of this manual.
Table 1-3. Revision History of This Manual
Document Part
Number
202-10455-01 1.0 October 2008 Document for version 7.3 software release
1-4 About This Manual
Version Publication Date Change Description
v1.0, October 2008