Foundry Networks NetIron M2404C User manual

Foundry NetIron
M2404C and M2404F
Metro Access Switches
User Guide
Version 2.0.03
™
4980 Great America Parkway
Santa Clara, CA 95054
Tel 408.207.1700
www.foundrynetworks.com
April 2008

Copyright © 2008 Foundry Networks, Inc. All rights reserved.
No part of this work may be reproduced in any form or by any means – graphic, electronic or
mechanical, including photocopying, recording, taping or storage in an information retrieval system –
without prior written permission of the copyright owner.
The trademarks, logos and service marks ("Marks") displayed herein are the property of Foundry or
other third parties. You are not permitted to use these Marks without the prior written consent of Foundry
or such appropriate third party.
Foundry Networks, BigIron, FastIron, IronView, JetCore, NetIron, ServerIron, TurboIron, IronWare,
EdgeIron, IronPoint, the Iron family of marks and the Foundry Logo are trademarks or registered
trademarks of Foundry Networks, Inc. in the United States and other countries.

Foundry Networks
Introduction
This chapter describes the purpose and intended audience of this User Guide. It details the
organization of the guide, the subjects that will be covered, and a brief summary of each chapter.
This chapter consists of the following sections:
OVERVIEW .................................................................................................................................................... 2
PURPOSE........................................................................................................................................................2
INTENDED AUDIENCE....................................................................................................................................2
DOCUMENT ORGANIZATION .................................................................................................................. 3

Foundry NetIron M2404C and M2404F Metro Access Switches Introduction (Rev. 03)
Overview © 2008 Foundry Networks, Inc. Page 2 of 5
Overview
There are two flavors to the NetIron M2404, the NetIron M2404C and the NetIron M2404F.
(1) NetIron M2404C accommodates 24 Fast Ethernet copper ports and 4 Giga Ethernet ports;
(2) NetIron M2404F accommodates 24 Fast Ethernet fiber ports and 4 Giga Ethernet ports.
The platforms are identical in their performance.
Purpose
The NetIron M2404C and M2404F User Guide contains the information that the user will need to
configure the required functionality. This guide provides the complete syntax for all the commands
available in the currently-supported software version and describes in detail all features and related
commands supplied with the device.
This guide does not include instructions on how to install the devices. For this information, please
refer to the Installation Guide.
For the latest software updates, see the Release Notes for this release. If the Release Notes that are
shipped with the device contain information that conflicts with the information in the user guide or
supplements it, follow the Release Notes.
Intended Audience
The User Guide is intended for network administrators responsible for installing and setting up
network equipment.
Before using this guide, the readers should be familiar with the concepts and terminology of
Ethernet and local area networking.

Foundry NetIron M2404C and M2404F Metro Access Switches Introduction (Rev. 03)
Document Organization © 2008 Foundry Networks, Inc. Page 3 of 5
Document Organization
The NetIron M2404C and M2404F User Guide comprises twenty-nine chapters, each focusing on
a different feature or set of features. Each chapter begins with a brief features overview and
follows with the corresponding command configuration section.
This user guide contains the following chapters:
Chapter 1: Introduction –- describes the purpose and intended audience of the User Guide, and
the organization of the guide into chapters dedicated to the main subjects, with a brief summary of
each chapter.
Chapter 2: Using the Command-Line Interface - explains how to access the command modes
and use the command-line interface (CLI). It describes the messages that the CLI will issue in
response to commands. It also explains how to get help, abbreviate commands and use command
history, and describes the editing features.
Chapter 3: Switch Setup and Maintenance - provides information on how to access the switch
using Telnet; how to create a banner; reloading the switch.
Chapter 4: Switch Administration - describes how to administer the devices, how to perform
initial switch configuration using the command-line-interface (configuring a single device, and
how to upgrade the system software, protecting the switch from outside attacks etc.).
Chapter 5: Configuring Switch Authentication Features - The Command Line Interface
supports privilege levels of access to commands that can be used for protecting the system from
unauthorized access. The chapter describes the SSH Secure Shell protocol which provides a secure,
remote connection to the switches. Additionally, it describes the TACACS+ security protocol for
remote Authentication, Authorization and/or Accounting. Also included in this chapter is the
RADIUS client/server protocol for carrying authentication, authorization, and configuration
information between a Network Access Server (Switch).
Chapter 6: Configuring Interfaces - describes the switching frames between segments, and
explains how to build the address table and how to configure and display the Fast Ethernet and
Giga Ethernet Ports. The chapter also deals with static link aggregation groups (LAGs). It explains
how to establish resilience across all segments of a network which feature provides fault recovery
that is so fast that faults are actually transparent to network applications or users. Information on
the Alarm Propagation feature and Remote Loopback feature can also be found in this chapter.
Chapter 7: Configuring VLANs - explains how to create and maintain VLANs. The chapter
includes information about the VLAN database, VLAN configuration modes, etc. It contains
information about VLAN-related features such as Super VLAN and the GARP VLAN registration
protocol.
Chapter 8: Configuring Transparent LAN Services (TLS) - describes the deployment of
Transparent LAN Services (TLS) and the Jumbo frame that is an extension to current Ethernet
Frame specifications for hardware and frame format to support payloads larger than 1500 Bytes for
Type interpretation and Length interpretation frames.
Chapter 9: Configuring Ethernet Services – provides a comprehensive technical overview of
Ethernet Services based on QinQ encapsulation. The chapter includes information on how to
configure the Service Access Points (SAPs), Service Distribution Points (SDPs), and MAC
Address Learning to learn/delete/show MAC addresses on a per-VPN basis in addition to defining
a watermark. Included are details of the command syntax for all related commands.
Chapter 10: Configuring Simple Network Management Protocol (SNMP) - explains how to
configure the Simple Network Management Protocol (SNMP). The chapter explains how to
configure community strings and enable trap managers and traps. It describes the three versions of
SNMP, and the way to map an old SNMP configuration to a new configuration.

Foundry NetIron M2404C and M2404F Metro Access Switches Introduction (Rev. 03)
Document Organization © 2008 Foundry Networks, Inc. Page 4 of 5
Chapter 11: Configuring Spanning Tree Protocol (STP) – describes the IEEE standard 802.1D
Spanning Tree Protocol (STP) and explains how to configure it on the switch. STP is a Layer 2
link management protocol that provides path redundancy while preventing undesirable loops in the
network.
Chapter 12: Configuring Rapid Spanning Tree Protocol (RSTP) - describes the IEEE standard
802.1W Rapid Spanning Tree Protocol (RSTP) and explains how to configure it on the switch.
RSTP performs the roles of the STP protocol considerably faster by utilizing point-to-point wiring
to provide rapid convergence of the spanning tree.
Chapter 13: Configuring Multiple Spanning Tree Protocol (MSTP) - explains how to
configure the IEEE standard 802.1S Multiple STP (MSTP) on the switch. MSTP carries the RSTP
concept a leap forward by allowing the user to group and associate VLANs to multiple spanning
tree instances over Link Aggregation Groups. Used in a VLAN environment, this added capability
affords rapid convergence as well as load balancing.
Chapter 14: Configuring Multicast Layer 2 - provides information on the Multicast VLAN
Registration protocol designed for applications using wide-scale deployment of multicast traffic
across an Ethernet ring-based service provider network. Also included are GARP Multicast
Registration and IGMP Snooping along with information on how to configure these protocols.
Chapter 15: Configuring Quality of Service (QoS) - describes the QoS that allows the user to
specify different service levels for traffic that traverses the switch. Policy-based QoS is an effective
control mechanism for networks that have heterogeneous traffic patterns. Using Policy-based QoS,
the user can specify the service level for a traffic type or host.
Chapter 16: Configuring Hierarchical Quality of Service (HQoS) - explains how to configure
the HQoS feature.
Chapter 17: Configuring Access Control List (ACL) - explains how to create ACLs, traffic rate
limit, traffic redirection and how to obtain QoS by using ACL.
Chapter 18: Configuring Routing Information - describes the configuration and management
of routing and related protocols and features, such as ICMP Router Discovery Protocol (IRDP).
The chapter also describes Proxy ARP between subnets and the advantages and drawbacks of using
Proxy ARP, a broadcast directed to a specified network prefix and how to configure directed
broadcast.
Chapter 19: Configuring Advanced Routing Information - provides in-depth explanation of
the implementation of the Open Shortest Path First protocol. The chapter also includes information
about Bidirectional Forwarding Detection (BFD) that is intended to validate the operation of the
LSP or the IP routing neighbor.
Chapter 20: Network Administration Tools - describes the tools and utilities for installing,
monitoring and troubleshooting the network. The chapter includes information about 802.3ah
EFM-OAM functionality that provides reliable service assurance mechanisms both for provider
and for customer networks. Also, described are 802.1ag CFM functionality, which allows
monitoring of services, and MEF OAM, which provides connectivity tests. The chapter also
includes information about Response Time Reporter (RTR) and SAA (Service Assurance
Application), software that allows the user to monitor the performance of network-hosted
applications by emulating the traffic of these application.. SAA provides the capability of
controlling and provisioning various OAM tests and SAA monitoring.
Chapter 21: Configuring SAA via SNMP - describes how to configure SAA (Service Assurance
Application) via SNMP.
Chapter 22:
Configuring Remote Monitoring (RMON) - explains how to configure the RMON
feature, which is used with the Simple Network Management Protocol (SNMP) agent in the switch,
to allow the user to monitor all the traffic flowing among switches on all connected LAN segments.

Foundry NetIron M2404C and M2404F Metro Access Switches Introduction (Rev. 03)
Document Organization © 2008 Foundry Networks, Inc. Page 5 of 5
Chapter 23: Configuring System Message Logging - explains how to configure system message
logging. It describes the message format, how to set the type of messages to display and more.
Chapter 24: Configuring DHCP Features - describes the Dynamic Allocation of Network
Addresses, DHCP Option 82 Support and DHCP services. Explains how to configure the switch to
act as a DHCP relay agent that will forward DHCP requests to a network and forward the replies
back to the client. The chapter also describes DHCP Option 82 on the DHCP relay agent.
Chapter 25: Configuring MPLS and H/VPLS - describes Multiprotocol Label Switching
(MPLS), used mainly for service provider core networks, and related features such as Virtual
Private LAN Services (intended for transparently connecting geographically dispersed corporate
sites over MPLS networks).
Chapter 26: Configuring MPLS & H-VPLS via SNMP - describes Multiprotocol Label
Switching architecture and Virtual Private LAN Services and Hierarchical Virtual Private LAN
Services configuration via SNMP.
Chapter 27: Troubleshooting and Monitoring - This chapter describes troubleshooting and
monitoring tools used to detect and solve application software related problems. Comprised are a
set of built in tests that examine hardware and its configuration validity, monitoring traffic on ports
and VLANs by configuring another port to "mirror" the traffic on the ports or VLANs, monitoring
the switch periodic operation and alert behavior etc.
Appendix A: Default Configuration – This appendix lists feature default configuration values.
Appendix B: Product Capabilities – This appendix provides a detailed list of the switch features.

Foundry Networks
Page 1 of 12
Using the Command Line Interface
OVERVIEW .................................................................................................................................................... 2
GETTING STARTED WITH THE CLI....................................................................................................... 3
BASIC CLI OPERATING CONVENTIONS..........................................................................................................4
SPECIAL KEYS...............................................................................................................................................4
CLI COMMAND SYNTAX CONVENTIONS .......................................................................................................5
CLI MODES...................................................................................................................................................6
CLI MESSAGES .............................................................................................................................................9
COMMAND HISTORY .....................................................................................................................................9
USING NO FORMS OF COMMANDS..................................................................................................................9
DYNAMIC COMPLETION OF THE ARGUMENTS................................................................................................9
COMMAND ALIASES ....................................................................................................................................10
FILTERING THE OUTPUT OF A SHOW COMMAND ..........................................................................................10
GENERAL COMMANDS.................................................................................................................................11
USING TELNET ............................................................................................................................................11
ACRONYMS ................................................................................................................................................. 12

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Overview © 2008 Foundry Networks, Inc. Page 2 of 12
Overview
The configuration program uses a CLI (Command Line Interface) that enables the user to start
using the device quickly and without extensive background knowledge. It does this by prompting
the user for the information required to perform basic configuration procedures.
The device can run with the default factory parameters. After changing the default factory
parameters, be sure to save the changes in the NVRAM.

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 3 of 12
Getting Started with the CLI
The device is configured through a VT-100 (or compatible terminal) connected to the Console port
in the front panel.
The CLI operates automatically when the user turns on the device. Before the user starts using the
CLI command facility, the user must proceed as follows:
1. Attach an RS-232 ASCII terminal to the Console port located on the front panel.
2.
Configure the terminal to operate at:
o9600 bps
o8 data bits
o1 stop bit
oNo parity
oNo flow control
o25 lines and 80 columns window size.
3.
Establish a session with the unit and turn on the unit. After a few seconds, the terminal
screen displays output similar to the following:
Foundry Networks Boot Loader
Switch model : NetIron M2404C
Loader version : 1.0.0 created Jan 22 2007 - 17:04:28
MAC Address : 00:12:F2:87:F0:0B
Press any key to stop auto-boot...
0
auto-booting...
Starting switch application, please wait...
BUILT-IN SELF TEST
------------------
CPU Notify RAM Test : Passed
CPU Interface Test : Passed
Testing Switch Core : Passed
Data Buffer Test : Passed
Power Supply Test : Passed
On-board Power Test : Passed
Fan Test : Passed

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 4 of 12
////////////////////////////////////////////////////////////////////////////
// //
// Foundry Networks //
// //
// //
// Switch model : NetIron M2404C //
// SW version : 2.0.03b7 created Jan 19 2007 - 18:37:48 //
// //
// //
////////////////////////////////////////////////////////////////////////////
User Access Verification
Password:
4.
If the user has configured a password, type it in; if not, press Enter. The device-name>
prompt is displayed, allowing the user to begin the configuration process.
Basic CLI Operating Conventions
When the user enters commands at the CLI prompt and then press the <Enter> key, the CLI
responds with information based on the entered commands, and passes the commands on to be
executed by the software.
The user types all commands on one line and then press <Enter>. The CLI response is displayed on
the screen.
The user may abbreviate CLI commands down to the least number of leading characters that are
not ambiguous in the available vocabulary. For example, the user may enter the letters sho for the
show command.
If the CLI requires more than one screen to respond to certain commands, it displays the following
prompt at the bottom of each but the last screen:
--More--
If this prompt appears, press on the space bar to continue to the next screen.
Special Keys
Table 1 describes special keys available at the CLI prompt.
Table 1: CLI Special Keys
Key Function
? The user can enter a question mark (?) at the system prompt to display a
list of commands available for each command mode.
Typing ?at any point within the line will show possible completions.
Typing ?after a space displays the possible completion of the commands
with description for their meaning. When the space is omitted, typing ?
displays the description of the current command.
Typing ? and pressing ENTER key, the user will see next command. Press

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 5 of 12
Key Function
ENTER key again for next possible command.
Backspace Delete the character that precedes the cursor.
Ctrl-A Move to the beginning of the line.
Ctrl-B Move backward one character.
Ctrl-C Interrupt the current input and move to the next line.
Ctrl-D Move back one node.
Ctrl-E Move to the end of the line.
Ctrl-F Move forward one character.
Ctrl-H Delete the character that precedes the cursor.
Ctrl-K Kill (delete all characters) to the end of the line.
Ctrl-N Move down to the next line in the history buffer.
Ctrl-P Move up to the previous line in the history buffer.
Ctrl-U Delete the line.
Ctrl-W Erase the last word.
Ctrl-Z Return to Enable mode.
Esc and then B Move back one word.
Esc and then D Forward kill word.
Esc and then F Move forward one word.
Esc Stop ping from the switch (for more information regarding the ping
command see chapter “Switch Administration”).
Tab Complete the current command line.
CLI Command Syntax Conventions
The syntax of CLI command lines is represented by the following general format:
device-name>keyword(s) [argument(s)] ... [keyword(s)] [argument(s)]
or
device-name[(config ...)]#keyword(s) [argument(s)] ... [keyword(s)]
[argument(s)]
where:
•The angle bracket (>) is the CLI prompt symbol in View mode.
•The pound symbol (#) is the CLI prompt symbol in all other modes.
•The left part, up to and including the prompt symbol represents the command prompt displayed
by the computer. In this part:
oThe optional expression “(config ...)”– including the parentheses – appears on the
screen exactly as in the manual.

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 6 of 12
oThe part following the prompt symbol represents the command. Table 2 lists the
symbols and word-formatting used in the CLI command syntax descriptions.
Table 2: CLI Command Syntax Conventions
Symbol/Format Description
<> Numerical argument.
[] Optional argument or keyword.
{ | } ORsign, between two arguments or keywords.
Bold letters Keyword.
Italic, small letters Numerical argument.
ITALIC IN CAPITALS Non-numerical argument.
A.B.C.D IP address.
UU/SS/PP Physical interface in unit/slot/port numbers.
CLI Modes
The command language interface is divided into several CLI modes and associated prompt levels.
The prompt appears as a string starting with the device-name and ending with an angle bracket (>)
or pound symbol (#), depending on the prompt level. The current CLI mode determines the
available commands. Enter a question mark (?) at the system prompt to obtain a list of commands
available for each command mode.
View Mode (User-level)
When a session is started, the user begins in View mode. Only a limited number of CLI commands
are available in View mode. The View mode allows viewing capabilities only. The View mode
prompt is an angle bracket (>):
device-name>
There is no default password. The user can configure a password by using the password command
in Global Configuration mode.
Privileged (Enable) Mode
To have access to the commands, the user must enter Privileged (Enable) mode. The Privileged
(Enable) mode allows advanced viewing of the device capabilities and limited configuration
capabilities. Its prompt is a pound symbol (#):
device-name#
By default, Privileged (Enable) mode is not password-protected. However, the user can configure
password protection by using the enable password in the Global Configuration mode.
To access the Privileged (Enable) mode from the View mode, use the enable command.
device-name>enable

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 7 of 12
device-name#
Configuration Modes
Using the configuration modes (Global, Interface, etc.), the user can make changes to the device
configuration. If the user saves the configuration, these commands are stored and used after
rebooting. To access the various configuration modes, the user must start at Global Configuration
mode.
The Global Configuration mode allows full configuration capabilities. Its prompt is displayed as
follows:
device-name(config)#
Additional information can be displayed inside the parentheses, before the pound symbol, to
indicate the present configuration mode.
The following example indicates that the CLI is in Protocol Configuration mode:
device-name(cfg protocol)#
To access the Global Configuration mode:
Type the enable command at the EXEC prompt:
device-name>enable
The system displays the privileged-level prompt:
device-name#
To access the Configuration mode:
Type the configure terminal command, in Privileged (Enable) mode.
device-name#configure terminal
The following prompt is displayed, indicating that the CLI has entered into Global Configuration
mode:
device-name(config)#
Table 3 shows the available configuration modes.
Table 3: Configuration Modes Summary
Configuration Mode For configuring Prompt
VTY Controlling the VTY
connection to the switch. device-name(config-VTY)#
Interface The switch physical
interfaces configuration. device-name(config-if
UU/SS/PP)#

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 8 of 12
Configuration Mode For configuring Prompt
IP Interface The IP interfaces
configuration. device-name(config-if IFNAME)#
VLAN Virtual LANs (VLANs)
configuration. device-name(config vlan)#
Specific VLAN Specific Virtual LAN
(VLAN) configuration. device-name(config vlan VLAN-
NAME)#
Protocol Protocols settings: GVRP,
GMRP, STP, RSTP, MSTP
and Link Aggregation.
device-name(cfg protocol)#
Router OSPF The OSPF protocol
configuration. device-name(config-router)#
Resilient Link Resilient links configuration. device-name(config-resil-link
N)#
DHCP server DHCP server configuration. device-name(config-dhcp)#
DHCP Subnet DHCP server subnet specific
configuration. device-name(config-dhcp-
subnet)#
DHCP Host DHCP server host specific
configuration. device-name(config-dhcp-host)#
Key-chain Key-chain management. device-name(config-keychain)#
Route-map Route maps configuration. device-name(config-route-map)#
File system Script file system
management. device-name(config script-
file-system)#
Monitor The monitoring parameters
settings. device-name(config monitor
INDICATOR)#
VPLS Service Instance VPLS/H-VPLS services and
related settings device-name(config-vpls
SERVICE)#
Router LDP LDP configuration. device-name(config-router)#
HQoS HQoS Configuration device-name(config hqos)#
RSVP RSVP Configuration device-name(config-router)#
Interface ACG Configuration device-name(config-if UU/SS/PP
acg ACL-NUMBER)#
VLAN ACG Configuration device-name(config-vlan VLAN-
NAME acg ACL-NUMBER)#
ACG
AG Interface ACG
Configuration device-name(config-if AGNN acg
ACL-NUMBER)#
MSTP MSTP Configuration device-name(cfg protocol
mstp)#
Boot param Boot Parameters
Configuration device-name(boot param)#
Sw-watchdog Watchdog Configuration device-name(sw-watchdog)#

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 9 of 12
CLI Messages
The user might encounter some error messages while using the CLI to configure the device.
Several messages may be issued in response to incorrect entries (e.g., wrong syntax, or incomplete
commands). The following are some of these messages:
•When the user enters a string that is not a command:
% is not recognized
•When the user types a valid command but fail to enter all its required arguments. Press the
<Tab> key to display the possible options.
% command incomplete
•Other messages are displayed if the user enters too few characters. The CLI detects an
ambiguity and displays the possible matches:
% Ambiguous token : w
% It matches the following tokens : who write
Command History
The operating system provides a history or record of commands that the user has entered. This
feature is particularly useful for recalling long or complex commands or entries, including access
lists. A memory buffer in the device retains the last 20 entered commands. For more information
see chapter “Configuring System Message Logging”.
Using no Forms of Commands
Most configuration commands also have a no form. In general, use the no form to disable a feature
or function or reverse the action of a command. The no forms of some commands also return a
feature or function to its default value.
Dynamic Completion of the Arguments
The CLI allows automatic completion of arguments (VLAN-names, interface-names, file-names,
etc.) with their actual (current) values.
For example, if the user enters interface in configuration node and press the <TAB> key, a list of
currently configured interfaces on the device is displayed:
device-name(config)#interface <TAB>
UU/SS/PP ag01 ag02 ag03 ag04 ag05 ag06
ag07 ag08 ag09 ag10 ag11 ag12 ag13
ag14 ag15 ag16 ag17 ag18 ag19 ag20
ag21 ag22 ag23 ag24 ag25 ag26 ag27
ag28 ag29 ag30 ag31 outBand0 range sw0
device-name(config)#interface

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 10 of 12
Command Aliases
The CLI allows the user to associate a contiguous character string as an alias to any command,
optionally including specific arguments. This user-defined alias is then fully equivalent to the
command expression to which the user has associated it, in the CLI mode in which the user has
defined the alias. The user can thus set a substitute name for a command and use this name instead
of typing the command again.
For example, the user can assign an alias to the show interface 1/1/1 statistics command, by
typing:
device-name#alias sint1 show interface 1/1/1 statistics
Once the alias is assigned, the user can execute the show interface 1/1/1 statistics command by
simply typing sint1 in the mode in which it was assigned (the Privileged mode):
device-name#sint1
Octets 24512 In/OutPkts 64 383
Collisions 0 In/OutPkts 65-127 0
Broadcast 0 In/OutPkts 128-255 0
Multicast 0 In/OutPkts 256-511 0
CRCAlignErrors 0 In/OutPkts 512-1023 0
Undersize 0 In/OutPkts 1024-MaxFrameSize 0
Oversize 0 TotalInPkts 383
Fragments 0 TotalIn/OutPkts 383
Jabbers 0 DropCount 0
DropEvents 0
Last5secInPkts 50 Last5secInBps 409
Last1minInPkts 353 Last1minInBps 408
Last5minInPkts 353 Last5minInBps 81
Last5secOutPkts 0 Last5secOutBps 0
Last1minOutPkts 0 Last1minOutBps 0
Last5minOutPkts 0 Last5minOutBps 0
To remove the alias sint, type:
device-name#no alias sint1
Filtering the Output of a show Command
The CLI allows the filtering of associated sections of output from the show commands. Filtering
the output of a show command to match a specific regular expression (text string) provides control
over the type and amount of information that is displayed by the system. Filtering is useful, when
displaying large files, for example the configuration file.
The pipe (“|”) character indicates a filtering action. If the include or exclude keyword is not
specified, include is the default.
Syntax Description
device-name#show COMMAND |[include |exclude] REGEXP
Argument Description
COMMAND Any CLI command.

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Getting Started with the CLI © 2008 Foundry Networks, Inc. Page 11 of 12
| To search the output of show commands, enter the pipe character (the vertical
bar).
include (Optional). Includes only the lines that contain a specified regular expression. This
is the default when no keyword is specified.
exclude (Optional). Excludes any lines that contain a specified regular expression.
REGEXP Any regular-expression (text string) found in show command output.
Example
The following example demonstrates the filtering characteristics of the show running
config command. In this example, only the lines in the configuration file that contain “interface”
are displayed:
device-name#show running-config | include interface
Building the configuration ...
interface 1/1/1
interface 1/1/2
interface 1/1/3
interface 1/1/4
interface 1/1/5
interface 1/1/6
...
General Commands
Table 4 lists the commands the user can use at all times, regardless of the type of the prompt
displayed.
Table 4: General Commands
Command Description
exit Escape current mode and go to previous mode.
help Displays help information.
quit Disconnect and log out.
end Escape current mode and go to Privileged (Enable) mode.
Using Telnet
Any workstation with a Telnet facility should be able to communicate with the device over a
TCP/IP network. Up to five active Telnet sessions can access the device concurrently. The Telnet
session will be disconnected after a specified time of inactivity. For more information regarding
Telnet refer to chapter “Switch Setup and Maintenance”.
Before the user can start a Telnet session, the user must set up the IP parameters described in
chapter “Switch Setup and Maintenance”.

Foundry NetIron M2404C and M2404F Metro Access Switches Using the Command Line Interface (Rev. 03)
Acronyms © 2008 Foundry Networks, Inc. Page 12 of 12
Acronyms
Table 5 provides a list of acronyms that are used in this document and lists their meaning.
Table 5: Acronyms
Acronym Meaning
ACG Access Control Group
CES Circuit Emulation Services
DHCP Dynamic Host Configuration Protocol
GARP Generic Attribute Registration Protocol
GMRP GARP Multicast Registration Protocol
GVRP GARP VLAN Registration Protocol
HQoS Hierarchical Quality of Service
IRDP ICMP Router Discovery Protocol
LAN Local Area Network
LDP Label Distribution Protocol
MPLS Multi-Protocol Label Switching
MSTP Multiple Spanning Tree Protocol
OSPF Open Shortest Path First version 2 routing protocol
RIP Routing Information Protocol
RSTP Rapid Spanning Tree Protocol
STP Spanning Tree Protocol
VLAN Virtual LAN
VTY Virtual Telnet Type
VPLS Virtual Private LAN Service

Foundry Networks
Page 1of 35
Switch Setup and Maintenance
This chapter discusses setup and maintenance of the device. It outlines the initial switch setup
configuration. Sections describing functional features (using telnet, creating a banner, reloading the
switch and etc.) are also included. The chapter consists of the following sections:
TABLE OF FIGURES .................................................................................................................................... 2
SETUP.............................................................................................................................................................. 3
CONNECTING TO THE CONSOLE PORT ...........................................................................................................4
LOGGING ON AS A DEFAULT USER ................................................................................................................4
SETTING UP IP INFORMATION VIA COMMAND LINE INTERFACE ....................................................................4
INTERFACE CONFIGURATION.........................................................................................................................5
SELECTING AND USING A MANAGEMENT METHOD.......................................................................................5
DOWNLOADING AND UPLOADING THE APPLICATION SOFTWARE IMAGE AND CONFIGURATION FILES..........7
IP UNICAST ROUTING DEFAULT CONFIGURATION ........................................................................................8
LOGIN AND PASSWORD ...............................................................................................................................11
DEFAULT PASSWORDS.................................................................................................................................12
ACCESSING THE SWITCH USING TELNET ........................................................................................ 17
TELNET DEFAULT CONFIGURATION ............................................................................................................17
CONFIGURING TELNET ................................................................................................................................18
VTY (VIRTUAL TELNET TYPE) COMMANDS .................................................................................... 21
VTY SESSION COMMANDS..........................................................................................................................21
SHORTCUT KEYS .........................................................................................................................................22
CONFIGURATION EXAMPLE .........................................................................................................................23
VTY TERMINAL COMMANDS ......................................................................................................................24
CREATING A BANNER.............................................................................................................................. 26
SAVING AND DISPLAYING THE CONFIGURATION......................................................................... 29
DISPLAYING THE SWITCH CONFIGURATION.................................................................................................30
HOW TO RELOAD THE SWITCH ........................................................................................................... 32
RELOADING THE SWITCH WITHOUT SERVICE INTERRUPTION ......................................................................32
RELOADING THE SWITCH.............................................................................................................................32
ACRONYMS ................................................................................................................................................. 34
SUPPORTED PLATFORMS....................................................................................................................... 35
SUPPORTED STANDARDS,MIBS AND RFCS................................................................................................35
Other manuals for NetIron M2404C
1
This manual suits for next models
1
Table of contents
Other Foundry Networks Switch manuals

Foundry Networks
Foundry Networks EdgeIron 2402CF User manual

Foundry Networks
Foundry Networks OSI User manual

Foundry Networks
Foundry Networks Switch and Router Operator's manual

Foundry Networks
Foundry Networks NetIron M2404C User manual

Foundry Networks
Foundry Networks ServerIron 4G-SSL User manual

Foundry Networks
Foundry Networks FastIron LS 648 Manual

Foundry Networks
Foundry Networks FESX User manual

Foundry Networks
Foundry Networks FES User manual

Foundry Networks
Foundry Networks FES2402 User manual