Table of Contents

Advertisement

OptiSwitch-2400/L3
User's Guide
ML46141 Rev. 02
MRV Communications, Inc.
URL:
http://www.mrv.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OptiSwitch-2400/L3 and is the answer not in the manual?

Questions and answers

Summary of Contents for MRV Communications OptiSwitch-2400/L3

  • Page 1 OptiSwitch-2400/L3 User's Guide ML46141 Rev. 02 MRV Communications, Inc. URL: http://www.mrv.com...
  • Page 2: Standards Compliance

    OptiSwitch 2400/L3 About This Guide Standards Compliance UL 1950; CSA 22.2 No 950; FCC Part 15 Class A; CE-89/336/EEC, 73/23/EEC FCC Notice WARNING: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
  • Page 3 EN 60950 - ITE Safety A ‘Declaration of Conformity’, in accordance with the above standards, has been made and is on file at MRV Communications Ltd. This document and the information contained herein are proprietary to MRV and are furnished to the recipient solely for use in operating, maintaining and repairing MRV equipment.
  • Page 4: Important Notice

    Corporate and individual names and data used in examples herein are fictitious unless otherwise noted. Copyright 2001 MRV Inc. All rights reserved. OptiSwitch-2400/L3 is a trademark of MRV Inc. Other company and brand products and service names are trademarks or registered trademarks of their respective holders.
  • Page 5: About This Guide

    OptiSwitch 2400/L3 About This Guide About This Guide This guide describes the OptiSwitch-2400/L3, its installation and configuration procedures, as follows: ■ Chapter 1, Introducing OptiSwitch-2400/L3, provides an introduction to the OptiSwitch-2400/L3. ■ Chapter 2, Getting Started, describes how to set up and install the OptiSwitch-2400/L3.
  • Page 6: Table Of Contents

    CLI Conventions ....................18 Command Modes....................18 Initial Configuration....................21 Module Installation....................22 First Time Login to the OptiSwitch-2400/L3 ............22 Standard OptiSwitch-2400/L3 Login ..............23 Command Line Navigation and Editing ............24 Command Navigation and Syntax ..............25 Password Configuration ..................28 Configuring or Changing the System Entrance Password......
  • Page 7 OptiSwitch 2400/L3 Table of Contents Configuring Time, Date, Banner and Location............ 32 Configuring the Date.................... 32 Configuring the Time .................... 32 Configuring the Banner..................33 Configuring the Location..................33 Configuring the Hostname .................. 34 Chapter 3 ................35 Configuring Interfaces ..................35 About Interface Configuration ................
  • Page 8 OptiSwitch 2400/L3 Table of Contents RIP Commands ...................... 97 OSPF Commands ....................102 Interface Commands ..................110 DHCP Commands....................116 DHCP Relay Commands..................119 DNS Commands ....................120...
  • Page 9: Chapter 1

    OptiSwitch-2400 L3, and describes how it works and the basic functions it performs. ■ What Can the OptiSwitch-2400/L3 Do for You?, page 3, describes the importance of the OptiSwitch-2400/L3 as a provider of high-speed switch routing and a backbone for the Enterprise.
  • Page 10: What Is Optiswitch-2400/L3

    Introducing OptiSwitch-2400 L3 HAPTER What is OptiSwitch-2400/L3? The OptiSwitch-2400/L3 is an IP router with the ability to provide solutions for a wide range of networking applications. It includes a twenty-four slot IP platform for both Enterprise, carriers, ISPs and data service providers. The OptiSwitch-2400/L3 router performs high-speed traffic engineering upto layer 4 and handles intelligent communication between networks.
  • Page 11: What Can Optiswitch-2400 Do For You

    Introducing OptiSwitch-2400 L3 HAPTER What Can OptiSwitch-2400 Do for You? The OptiSwitch-2400/L3 is a multi-faceted system that acts as a switch router, IP security platform and network backbone. It is capable of performing traffic engineering up to Layer 4 and facilitating high-speed network connections for service providers.
  • Page 12: Benefits

    Once an entry is learned the switching engine performs the forwarding without the need to communicate with the routing controller. Benefits The OptiSwitch-2400/L3 provides the following benefits: ■ Low-Cost Solution: ● High-density IP router cost-effective unit. ● Concentration and aggregation of IP traffic platform ■...
  • Page 13: Chapter 2

    About This Chapter This chapter describes how to set up and install the OptiSwitch- 2400/L3, as follows: ■ Setting Up the OptiSwitch-2400/L3, page 5, describes the switch router architecture, as well as, the installation guidelines and specifications. ■ Interfacing with the OptiSwitch-2400/L3, page 17, describes different ways to access the router.
  • Page 14: Optiswitch-2400/L3 Architecture

    OptiSwitch 2400/L3 Getting Started HAPTER OptiSwitch-2400/L3 Architecture The OptiSwitch-2400/L3 includes the following: ■ 12 slots, each slot accommodates one cassette that can contain upto two port modules. ■ CPU Controller Module – Hardware configuration controller located in the middle of the top front of the chassis.
  • Page 15: Front Panel

    OptiSwitch 2400/L3 Getting Started HAPTER Front Panel The front panel of the OptiSwitch-2400/L3 is displayed below:{ XE "Architecture:front panel" }{ XE "Front panel" } Figure 2 OptSwitch 2400 Front View The OptiSwitch-2400/L3 front panel comprises the following components: ■ Module Panel: Twenty four slots for port modules...
  • Page 16 OptiSwitch 2400/L3 Getting Started HAPTER CPU Controller ■ Global LEDs and Switches: The following table describes the various LEDs: Name Color / Type Function of Light Green On: Power is on Off: Power is off MGMT Green On: Management enabled Off: Management disabled TEMP Green...
  • Page 17 OptiSwitch 2400/L3 Getting Started HAPTER The following table describes the various switches and connectors: Name Color / Type Function of Light Power Switch On: Switch router powered-on Off: Switch router powered-off Reset Switch On: Resets the device (Push Button) DB-9 An RS-232 connection for Connector debugging purposes.
  • Page 18 OptiSwitch 2400/L3 Getting Started HAPTER Routing Controller Figure 3 Routing Controller ■ Global LEDs and Connectors: The following table displays the Routing Controller’s various LEDs and their functions: Name Color / Function Type of Light RESET Green On: Resetting is in process Off: Resetting is not in process (Controller) ACTIVITY...
  • Page 19: Optiswitch-2400/L3 Installation

    Two Ethernet connectors for management purposes RS-232 Connected: Direct CLI connection (Connector) Optiswitch-2400/L3 Installation Safety Requirements Rack Mounting If rack mounted units are installed in a closed or multi-unit rack assembly, they may require further evaluation by Certification Agencies. The following items must be considered.
  • Page 20 OptiSwitch 2400/L3 Getting Started HAPTER 2. Installation should be such that a hazardous stability condition is not achieved due to uneven loading. Ac Input Supply Check nameplate ratings to assure there is no overloading of supply circuits that could have an effect on overcurrent protection and supply wiring. Grounding Reliable earthing of this equipment must be maintained.
  • Page 21: General

    OptiSwitch 2400/L3 Getting Started HAPTER General The OptiSwitch-2400/L3 comes as a 19" rack-mountable unit. It can be placed in a rack mount using the rack-mount brackets, or on a secure flat surface.{ XE "OptiSwitch Master:installation" }{ XE "Installation" } The unit must be within reach of the necessary power outlet and Ethernet connections.
  • Page 22: Power Connection

    OptiSwitch 2400/L3 Getting Started HAPTER Power Connection The power cord should be plugged into an easily accessible outlet. The built-in power supply automatically adjusts to any outlet, providing it is between 90 VAC and 264 VAC at 50/60 Hz.{ XE "Power connection" } The power cord used for a 115 Volt configuration is a minimum-type SJT (SVT) 18/3, rated 250 VAC, 10 Amps with a maximum length of 15 feet.
  • Page 23: Activating The Optiswitch-2400 L3

    (LX) and can reach distances of up to 60 km. Activating the OptiSwitch-2400 L3 The power up / power down of the OptiSwitch-2400/L3 is an internally sequenced process. To start, use the power switch located on the front panel of the controller. Accordingly, the ON- OFF switches of the hot swappable power supplies located in the PS host, must always be in the “ON”...
  • Page 24: Technical Specifications

    OptiSwitch 2400/L3 Getting Started HAPTER Technical Specifications Parameters Optiswitch-2400/L3 Requirements Compatibility IEEE802.3z (Gigabit Ethernet),IEEE 802.3u (Fast Ethernet), IEEE802.1Q, (Vlan Tagging), IEEE802.1p (Priority Queuing), RFCs: 1757 RMON (4 groups), 2236, (IGMP v2), 783 (TFTP), 854 (Telnet), 1519 (Classless Interdomain Routing(CIDR), 2178 (OSPF), 1122...
  • Page 25: Interfacing With The Optiswitch-2400/L3

    Telnet, SNMP or the Web Management Interface. Prior to configuration, you must assign an IP interface address to a port or group of ports on the OptiSwitch-2400/L3 and configure it as a management interface. { XE "Interfacing:OptiSwitch Master" }{ XE "OptiSwitch Master:interfacing with"...
  • Page 26: Web Management Interface

    The CLI enables you to manage, configure and receive status information for all of the features of the Optiswitch-2400/L3. The CLI contains various access levels and configuration modes that allow you to perform the different configuration functions. To execute a command, simply type the command followed by the parameters the command requires.{ XE "Command Line Interface"...
  • Page 27 Getting Started HAPTER Access Levels The OptiSwitch-2400/L3 has three levels of entry for the CLI, depending on the knowledge, expertise and authorization level of the user. The user accesses each level by entering the relevant level password. The access levels are listed below.{ XE "CLI:access levels"...
  • Page 28: Configuration Modes

    OptiSwitch 2400/L3 Getting Started HAPTER Configuration Modes The OptiSwitch-2400/L3 includes several configuration modes that determine the commands available to a particular subject. The specific configuration modes enable you to configure the required components for the router. The configuration modes are listed below.{ XE "CLI:configuration modes"...
  • Page 29: Initial Configuration

    }{ XE "SNMP configuration mode" } Initial Configuration Prior to interface configuration, you must prepare information and set up the OptiSwitch-2400/L3 properly. The following procedures are recommended to ensure optimal functioning of the router.{ XE "Inital configuration" }{ XE "Configuration:initial" } Preparing to Configure{ XE "Configuration:preparing"...
  • Page 30: Module Installation

    OptiSwitch 2400/L3 Getting Started HAPTER Module Installation The OptiSwitch-2400/L3 includes twenty four slots for installing modules.{ XE "Module installation" }{ XE "Installation:module" } To install a module into an OptiSwitch-2400/L3: 1 Turn off the OptiSwitch-2400/L3 using the power switch and make sure the router is powered off and completely shut down.
  • Page 31: Standard Optiswitch-2400/L3 Login

    The following are instructions the user needs to follow when entering the OptiSwitch-2400/L3 for the second time and after. 1 Turn on the OptiSwitch-2400/L3 after the device initialization is complete (approximately two and a half minutes). The following will appear.
  • Page 32: Command Line Navigation And Editing

    OptiSwitch 2400/L3 Getting Started HAPTER Command Line Navigation and Editing The OptiSwitch-2400/L3 CLI supports the following command line editing keystrokes to enter and edit commands.{ XE "Command line editing" }{ XE "CLI:editing" } Keystroke Function Ctrl-A Jumps to the first character on the line.
  • Page 33: Command Navigation And Syntax

    HAPTER Command Navigation and Syntax You can utilize various commands and shortcuts to assist in the configuration process of the OptiSwitch-2400/L3.{ XE "CLI:navigation" }{ XE "Command navigation" } No Commands Almost every configuration command has a no form of the command used to disable a feature or function.
  • Page 34: Accessing Help

    OptiSwitch 2400/L3 Getting Started HAPTER Abbreviated Commands You can abbreviate commands and keywords to the number of characters that allow a unique abbreviation. You can abbreviate the configure terminal command by entering conf ter at the system prompt and pressing <Enter> to execute the command. An example is shown below.{ XE "Abbreviated commands"...
  • Page 35 OptiSwitch 2400/L3 Getting Started HAPTER ■ Command Syntax Help: Enter ? after a command to view a list of valid keywords and arguments. This list contains all the relevant commands, keyword and arguments relating to the command you entered. You must insert a space between the command and the question mark.
  • Page 36: Password Configuration

    OptiSwitch 2400/L3 Getting Started HAPTER Password Configuration The OptiSwitch-2400/L3 has three types of passwords, corresponding to the level of entry given to a particular user. ■ System Entrance Password: Enables access to the OptiSwitch- 2400/L3 CLI. ■ Enable Password: Enables you to make configuration changes to the OptiSwitch-2400/L3.
  • Page 37: Configuring Or Changing The Privileged Password

    OptiSwitch 2400/L3 Getting Started HAPTER 4 Enter the current password at the prompt and press <Enter>. Enter and re-enter your new password. The password is authenticated and accepted by the system. OS2400(config)#password Changing password for admin (current)UNIX password: current password New UNIX password: new password Re-type new UNIX password: new password 5 Type exit to return to the privileged (enable) mode.
  • Page 38: Configuring Or Changing The Root Password

    OptiSwitch 2400/L3 Getting Started HAPTER 4 Type exit to return to the previous mode. 5 Type write file to save the configuration changes to the configuration files. Configuring or Changing the Root Password There is a separate Technical Expert root password for accessing the Linux operating system.
  • Page 39 OptiSwitch 2400/L3 Getting Started HAPTER The following displays a portion of the command line for configuring a root password: OS2400# linux [admin@OS]# su Password: *********************************************** BEWARE, YOU ARE SUPERUSER! ANY CHANGES IN SYSTEM CONFIGURATION *** MAY SEROULSY DAMAGE THE ROUTER! *********************************************** [root@os]# passwd New UNIX password:...
  • Page 40: Configuring Time, Date, Banner And Location

    OptiSwitch 2400/L3 Getting Started HAPTER Configuring Time, Date, Banner and Location Configuring the Date The following steps must be completed in order to configure the system date.{ XE "Configuration:system entrance password" }{ XE "System entrance password" } To configure or change the date: 1 Enter the enable mode to begin configuration.
  • Page 41: Configuring The Banner

    OptiSwitch 2400/L3 Getting Started HAPTER Configuring the Banner The following steps must be completed in order to configure the banner.{ XE "Configuration:system entrance password" }{ XE "System entrance password" } To configure or change the banner: 1 From the enable mode, type configure terminal to begin configuration.
  • Page 42: Configuring The Hostname

    OptiSwitch 2400/L3 Getting Started HAPTER Configuring the Hostname The following steps must be completed in order to configure the hostname.{ XE "Configuration:system entrance password" }{ XE "System entrance password" } To configure or change the hostname: 1 From the enable mode, type configure terminal to begin configuration.
  • Page 43: Chapter 3

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Chapter 3 Configuring Interfaces About This Chapter This chapter describes how to perform basic aspects of interface and port configuration, as follows: ■ Interface Configuration, page 35, details the process and the commands involved in interface configuration. ■...
  • Page 44: Primary Ip Interface

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER The four types of interfaces for the OptiSwitch-2400 L3 are: IP interface, Port interface, Tagged IP interface and Tagged Port interface. Tagged-ports and Tagged-IP are used to interface with other devices (e.g. switches, routers) that utilize VLAN TAGGING 802.1Q.
  • Page 45: Configuration Files

    The following example displays a portion of the command line during interface configuration. The show interface command is used to display the configured interfaces: NOTE: The symbol “?” is not displayed in the OptiSwitch-2400/L3 screen. OS2400(config)#interface ethernet vif2 ip-vlan ports...
  • Page 46: Secondary Ip Interface

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Secondary IP Interface A secondary interface is defined in order to configure multiple IP addresses on the same physical interface. The secondary interface is configured using the same interface name. The method of configuring a secondary interface is shown below.{ XE "Configuration:secondary interface"...
  • Page 47: Port Interface

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Port Interface The Port interface defines a broadcast domain for non-IP traffic (e.g. IPX, Decnet). The method of configuring is shown below.{ XE "Configuration:port interface" }{ XE "Interfaces:port" }{ XE "Port interface" } To configure a port interface: 1 From the enable mode, enter the configure terminal command to begin configuration.
  • Page 48: Tagged Ip Interface

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Tagged IP Interface A Tagged IP interface is defined as a broadcast domain for traffic assigned with a specific tag. The tagged IP interface is assigned an IP address and is allowed to participate in IP protocols (e.g. routing protocols, DHCP, Proxy Arp).{ XE "Configuration:port interface"...
  • Page 49: Tagged Port Interface

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Tagged Port Interface A tagged port interface is defined as a broadcast domain for traffic assigned with a specific tag. { XE "Configuration:port interface" }{ XE "Interfaces:port" }{ XE "Port interface" } To configure a tagged-port interface: 1 From the enable mode, enter the configure terminal command to begin configuration.
  • Page 50: Port Tag Outbound Mode

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Port Tag Outbound Mode Using the tag-outbound mode you can selectively change a port state from either tagged to untagged or in reverse. To configure the tag-outbound-mode for a port: 1 From the enable mode, enter the configure terminal command to begin configuration.
  • Page 51: Physical Port Configuration

    3 Type management [telnet][snmp] ip_address/mask OS2400(config)# interface vif1 OS2400(config-if)# management telnet 194.90.137.254/24 Physical Port Configuration The OptiSwitch-2400/L3 enables you to configure the physical ports through various commands.{ XE "Configuration:physical port" }{ XE "Physical port:configuration" } Port Status You can view the ports status using the show port command optionally you can then specify the ports you would like to examine.
  • Page 52: Setting The Duplex Mode

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER To configure the port speed: 1 From the enable mode, enter the configure terminal command to begin configuration. 2 Enter the port speed command at the (config)# prompt. Type in the required speed option followed by the port group or all ports.
  • Page 53: Port Statistics Status

    Group of ports All ports OS2400(config)#port duplex half all Port Statistics Status The OptiSwitch-2400/L3 enables you to view and clear port statistics in order to obtain required port information. { XE "Port:statistics" } Show Port Statistics You can view the port statistics status using the show command to see all of the statistics on each port.
  • Page 54: Clear Port Statistics

    OptiSwitch 2400/L3 Configuring Interfaces HAPTER Clear Port Statistics In order to clear the port status counter, use the port clear- counters command in the Global Configuration mode. An example is displayed below: OS2400<config># port clear-counters OS2400<config>#_...
  • Page 55: Chapter 4

    Protocols About This Chapter This chapter describes IP routing and the various routing protocols that can operate with the OptiSwitch-2400/L3. It includes the following sections: ■ IP Routing, page 47, provides a background on the function of IP networks and how they are used to transmit information.
  • Page 56: Routing Protocols

    OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER Routing Protocols Routing protocols are the formulas used by routers to decide where to forward the data packets. The routing protocol determines the path and specifies how routers communicate and share information with each other. If you do not use a static, predetermined route, various routing protocols exist that enable the network to act dynamically and switch paths when necessary.
  • Page 57: Routing Information Protocol (Rip)

    Each host can then use the routing information to determine where to send the packet next. The OptiSwitch-2400/L3 supports both RIP I, and RIP II, which includes subnet masking. To configure RIP protocol:{ XE "Configuration:RIP" } 1 From the enable mode, type configure terminal to begin configuration.{ XE "RIP:configuring"...
  • Page 58: Rip Authentication Customization

    OS2400(config-router)# redistribute static OS2400(config-router)# RIP Authentication Customization { XE "RIP:authentication customization" }The OptiSwitch-2400/L3 enables you to customize the interface by choosing RIP I or RIP II, as described in the previous section. In addition, you can customize the RIP protocol by integrating an authentication for RIP messages received by the router.
  • Page 59: Open Shortest Path First (Ospf)

    OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER 3 Type ip rip authentication and enter the method you are using for authentication of RIP messages to the router. Each parameter, key-chain, mode and string, enables authentication for the routing protocol. The router reads the RIP message and if the correct authentication string or password is included, then the message is authenticated.
  • Page 60: Dynamic Host Configuration Protocol (Dhcp)

    OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER To configure OSPF: 1 From the enable mode, type configure terminal to begin configuration. { XE "Configuration:OSPF" }{ XE "OSPF:configuring" 2 Type router ospf to enter OSPF Configuration mode. 3 Type router-id, and then enter the router ID, in IP address format, for the router utilizing OSPF.
  • Page 61 OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER To configure DHCP: 1 From the enable mode, type configure terminal to begin configuration. 2 Type dhcp to enter the DHCP Configuration mode. 3 Type default-lease-time and enter the time, in seconds, if no specific lease time is assigned.
  • Page 62 OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER When utilizing DHCP protocol, you must configure the subnet and interfaces for the OptiSwitch-2400/L3. To configure interfaces with DHCP: 1 From the enable mode, type configure terminal to begin configuration.{ XE "DHCP:interface configuration" } 2 Type dhcp to enter the DHCP Configuration mode.
  • Page 63 OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER DHCP Relay DHCP Relay sends DHCP requests from a subnet not connected to a DHCP server to one or more DHCP servers on other subnets. Using the interface command in dhcp relay mode can specify on which interfaces the relay agent will listen for requests.
  • Page 64: Proxy Address Resolution Protocol (Arp)

    OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER The following is a sample DHCP Relay command line including a display of available commands: OS2400(config)#dhcprelay OS2400(config-dhcprelay)#server SERVER The server IP to be added OS2400(config-dhcprelay)#server 178.180.12.3 OS2400(config-dhcprelay)#server disable Disable the DHCP Relay Agent enable Enable the DHCP Relay Agent End current mode and down to previous mode entry...
  • Page 65 OptiSwitch 2400/L3 Configuring Routing Protocols HAPTER Proxy ARP is anabled on the interface OS2400(config-if)
  • Page 66: Chapter 5

    OptiSwitch 2400/L3 Chapter 5 CLI Commands About This Chapter This chapter describes the CLI commands. It provides a detailed example of each command, including its relevant syntax format. The commands are grouped in the following groups: ■ View Commands, page 59. ■...
  • Page 67: View Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER View Commands Command enable Description Enters Privileged mode and enables use of Privileged commands. Syntax This command has no arguments or keywords. Description Example OS2400>enable OS2400# Command exit Description Exits the current mode. Syntax This command has no arguments or keywords. Description Example OS2400(config if)#exit...
  • Page 68: Command List

    OptiSwitch 2400/L3 CLI Commands HAPTER Command list Description Prints the command list for a specific mode. Syntax This command has no arguments or keywords. Description OS2400# list Example clear ip prefix-list clear ip prefix-list WORD clear ip prefix-list WORD A.B.C.D/M configure terminal copy ftp firmware VERSION FTP-SERVER REMOTE-DIR [USERNAME] [PASSWORD]...
  • Page 69 OptiSwitch 2400/L3 CLI Commands HAPTER Command show history Description Lists the 19 most recent commands from the current session. Syntax This command has no arguments or keywords. Description Example OS2400# show history enable show port statistics 1.1-1.2 show table show time clear ip prefix list terminal length 300 disable...
  • Page 70 OptiSwitch 2400/L3 CLI Commands HAPTER Command show dhcp {configuration|leases} Description Displays the current DHCP server settings. Syntax configuration: Print the DHCP server configuration. Description leases: Print the DHCP leases. Examples OS2400# show dhcp configuration DHCP CONFIGURATION: domain name = company.com domain name servers = 195.91.136.1 195.91.1.5 default lease time = 43200 max lease time = 86400...
  • Page 71 OptiSwitch 2400/L3 CLI Commands HAPTER Command show dhcprelay configuration Description Shows the configuration with which the DHCP relay agent will run. Syntax This command has no arguments or keywords. Description OS2400# show dhcprelay configuration Example Listening on interface vif1 Listening on interface vif2 Listening on interface vif8...
  • Page 72 OptiSwitch 2400/L3 CLI Commands HAPTER Command show ip ospf interface interface name Description Displays interface information about OSPF routing. Syntax interface name: Specifies an interface name. Description OS2400# show ip ospf interface Example vif2 is up, line protocol is up Internet Address 195.91.139.1/28, Area 0.0.0.0 Router ID 1.1.1.3, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1...
  • Page 73 OptiSwitch 2400/L3 CLI Commands HAPTER Command show ip ospf database {asbrsummar|external|max-age| network|router|self-originate|summary}{adv-router address}|advaddress Description Displays lists of information related to the OSPF database. The various parameters for this command provide information about different OSPF link state advertisements (LSAs). Syntax asbr-summary: Displays information only about the autonomous system Description boundary router summary LSAs.
  • Page 74 OptiSwitch 2400/L3 CLI Commands HAPTER Command show ip ospf neighbor {ID number|interface name detail|detail all} Description Displays OSPF-neighbor information on a per-interface basis. Syntax ID number: Specifies the neighbor ID number. This should be entered in Description the A.B.C.D format, similar to an IP address. interface name: Specifies the neighbor interface name.
  • Page 75 OptiSwitch 2400/L3 CLI Commands HAPTER Command show ip ospf route Description Displays OSPF routing table information. Syntax This command has no arguments or keywords. Description Example OS2400# show ip ospf route ============ OSPF network routing table ============ 192.168.1.0/24 [20] area: 0.0.0.0 via 195.91.136.254, vif1 195.91.136.0/24 [10] area: 0.0.0.0...
  • Page 76 OptiSwitch 2400/L3 CLI Commands HAPTER Command show ip protocols Description Displays IP routing protocol process parameters and statistics. Syntax This command has no arguments or keywords. Description Example OS2400# show ip protocols Routing Protocol is "rip" updates every 30 seconds with +/-50%, next due in 12 seconds after 180 seconds, garbage collect after 120 seconds redistribution metric is 1 gupdate filter list for all interface is not set...
  • Page 77 OptiSwitch 2400/L3 CLI Commands HAPTER Command show ip route protocol address|subnet mask Description Displays various IP routes. Syntax protocol: Specifies the routing protocol. The available options are bgp, Description connected, kernel, ospf, rip and static. address: The IP address for which routing information is displayed. subnet mask: Network mask that lets you mask subnetwork bits.
  • Page 78 OptiSwitch 2400/L3 CLI Commands HAPTER Command show lt Description Displays MAC learning table information. Syntax This command has no arguments or keywords. Description Example OS2400# show lt INDEX MAC ADDRESS VIDX PORT MODE TAGGED ---------------------------------------------------------- 00:60:08:26:AA:F8 0 DYNAMIC 00:20:1A:0B:EB:B7 0 DYNAMIC 00:00:00:00:00:01 0 DYNAMIC...
  • Page 79 OptiSwitch 2400/L3 CLI Commands HAPTER Command show multicasts Description Displays multicast group membership. Syntax This command has no arguments or keywords. Description OS2400# show multicasts Example netstat -g -n IPv6/IPv4 Group Memberships Interface RefCnt Group --------------- ------ --------------------- 224.0.0.1 eth0 224.0.0.1 vif4093 224.0.0.1...
  • Page 80 OptiSwitch 2400/L3 CLI Commands HAPTER Command show port statistics ports-group Description Displays port counter statistics. Syntax ports-group: Specifies the group of ports to be displayed. Description OS2400# show port statistics 1.1-1.2 Example PORTS STATISTICS ================ Port 1.1 Ethernet RMON counters -------------------------------- Octets : 711...
  • Page 81 OptiSwitch 2400/L3 CLI Commands HAPTER Command show time Description Displays the system time. Syntax This command has no arguments or keywords. Description OS2400# show time Example Sun Apr 29 08:57:17 EDT 2001...
  • Page 82: Enable Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER Enable Commands Command configure terminal Description Enters global configuration mode. Syntax terminal: Executes configuration commands from the terminal. Description OS2400# Example OS2400# config terminal OS2400(config)# Command clear ip prefix-list name Description Clears the IP prefix lists definitions. Syntax name: Specifies the name of the prefix list.
  • Page 83 OptiSwitch 2400/L3 CLI Commands HAPTER Command ping host Description Enables you to assess network connectivity by sending an echo request packet to an address and waiting for a reply. Ping reply helps you to determine path-to-host reliability, delays over the path and whether the host is reachable and functioning.
  • Page 84 OptiSwitch 2400/L3 CLI Commands HAPTER Command show debugging ospf|rip Description Displays debugging status for RIP or OSPF routing protocols. Syntax ospf: Show OSPF debugging status. Description rip: Show RIP debugging status. Example OS2400# show debugging rip Debugging status: OS2400# Command show fib Description Displays Forwarding Information Base table..
  • Page 85 OptiSwitch 2400/L3 CLI Commands HAPTER Command show syslog [loglevel [start date] [end date]] Description Displays system log messages. Without parameter, it displays all messages from the last 24 hours Syntax loglevel: Specifies the log level from which you want information Description displayed.
  • Page 86 OptiSwitch 2400/L3 CLI Commands HAPTER Command time time Description The device maintains an internal clock The time commands enables you to set the system clock. Syntax time: Specifies the current time you are setting. Description Example OS2400# time 14:55 Mon May 14 14:55:00 EDT 2001 Command date date Description...
  • Page 87 OptiSwitch 2400/L3 CLI Commands HAPTER Command upgrade ftp ftp server remote-dir remote-filename[username|password] Aliase copy ftp firmware version ftp server remote-dir username password Description Enables you to upgrade the OptiSwitch 2400 software using FTP protocol. Syntax ftp server: Specifies the host name or IP address of the FTP server. Description remote-dir: Specifies the full path to the directory on the FTP server.
  • Page 88 OptiSwitch 2400/L3 CLI Commands HAPTER Added os Added os-serial * Added os-bak Added os-bak-serial Upgrading completed successfully ...done System is going to reboot. The upgrading process will continue during the next boot. DON'T TURN OFF THE ROUTER DURING THE BOOT YOU CAN SEE THE BOOT PROGRESS ON THE SERIAL PORT Command debug rip|ospf...
  • Page 89 OptiSwitch 2400/L3 CLI Commands HAPTER Command debug ospf {ism|lsa|nsm|packet|spf}{status|events|timers} Description Enables the debugging of OSPF information. Syntax ism: Specifies OSPF Interface State machine. Description lsa: Specifies OSPF Link State Advertisements. nsm: Specifies OSPF Neighbor State Machine. packet: Specifies OSPF packets. spf: Specifies OSPF SPF information.
  • Page 90 OptiSwitch 2400/L3 CLI Commands HAPTER Command show running-config Description Displays all the configuration information for the terminal. Syntax This command has no arguments or keywords. Description OS2400# show running-config Example Building configuration... Current configuration: ip route 10.0.0.0/24 194.90.150.252 interface ethernet vif1 ip 194.90.150.254/24 4.1-4.4 vif1 management multicast interface ethernet vif1:1 ip 192.168.1.254/24 secondary vif1:1...
  • Page 91: Configure Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER Configure Commands Command Description Use the end command to exit configuration mode, or any of the configuration submodes. Syntax This command has no arguments or keywords. Description OS2400# config terminal Example OS2400(config)# end OS2400# Command event cli Description Sends event messages to the CLI.
  • Page 92 OptiSwitch 2400/L3 CLI Commands HAPTER Command write erase Description Enables you to erase the current configuration and return to the factory default configuration files. New configurations are loaded only after you reboot. Syntax This command has no arguments or keywords. Description Example OS2400# write erase...
  • Page 93 OptiSwitch 2400/L3 CLI Commands HAPTER Command write terminal Aliase show running-config Description Enables you to display your configuration work on the terminal. Syntax This command has no arguments or keywords. Description OS2400# write terminal Example Building configuration... Current configuration: hostname OS2400 log syslog ip dvmrp enable interface ethernet vif1 ip 194.90.136.89/24 4.1,m1,m2 vif1...
  • Page 94 OptiSwitch 2400/L3 CLI Commands HAPTER route-map lisi permit 10 !port configuration port speed 1000 4.1 port duplex full 4.1 dhcp domain nbase.co.il dns 194.90.136.1 dns 194.90.1.5 netbios name-server 194.90.137.2 netbios node-type 8 entry vif2 range 194.90.139.2 194.90.139.9 subnet-mask 255.255.255.240 router 194.90.139.1 entry vif3 range 194.90.139.18 194.90.139.25...
  • Page 95 OptiSwitch 2400/L3 CLI Commands HAPTER Command interface interface name Description Enter Interface Configuration mode. The interface must exist. Syntax interface name: Specifies a name for the interface being Description configured. OS2400# config ter Example OS2400(config)# interface vif2 OS2400(config-if)# 1 interface ethernet interface_name ip address/mask Command port_range [symbolic name] 2 interface ethernet interface_name port port_range [symbolic...
  • Page 96 OptiSwitch 2400/L3 CLI Commands HAPTER Command ip prefix-list {name|sequence-number} {deny|permit|description line number|seq sequence number} ip prefix|any Description Enables you to create an entry in a prefix list for efficient match searches. Syntax name: Specifies the prefix-list name. Description sequence-number: Includes the sequence number in the prefix list being created.
  • Page 97 OptiSwitch 2400/L3 CLI Commands HAPTER Command key chain name Description Defines authentication for routing protocols by identifying a group of authentication keys. Syntax name: Specifies the name of the key chain. Description No Form no key chain name: Removes the key chain. OS2400(config)# key chain colors Example OS2400(config-keychain)#...
  • Page 98 OptiSwitch 2400/L3 CLI Commands HAPTER Command password Description Enables you to change the login password. Syntax This command has no arguments or keywords. Description Example OS2400(config)# password Changing password for admin (current) UNIX password:current_password New UNIX password:new_password Retype new UNIX password:new_password passwd: all authentication tokens updated successfully Command port clear-counters...
  • Page 99 OptiSwitch 2400/L3 CLI Commands HAPTER Command port duplex {half|full} {ports-group|all} Description Configures port duplex mode. In order to configure the port duplex mode, the port speed must be set to 10 or 100 and not to Auto Negotiation mode. Syntax half: Indicates that port duplex mode is set to half-duplex Description operation.
  • Page 100 OptiSwitch 2400/L3 CLI Commands HAPTER Syntax tag: Defines a name for the route map. The redistribute router Description configuration command uses this name to reference this route map. Multiple route maps may share the same map tag name. deny: Specified when the match criteria are met for the route map, the route is not redistributed routing, and no further route maps sharing the same map tag name will be looked at.
  • Page 101 OptiSwitch 2400/L3 CLI Commands HAPTER Command service {advanced-vty|password encryption} Description Enables you to set up various services. Syntax advanced-vty: Indicates that advance mode VTY is enabled. Description password-encryption: Indicates that encrypted passwords are enabled. No Form no service: Disables the specific service. Command show arp [res|nres] [hostname] [interface] Description...
  • Page 102 OptiSwitch 2400/L3 CLI Commands HAPTER Command access-list name {deny|permit|remark line} {prefix|any} Description Allows the incoming call to be used by source hosts that match the access list parameters, thereby filtering by the access list name. Syntax name: Specifies the access list name by which you are filtering. Description deny: Indicates packets are to be rejected.
  • Page 103 OptiSwitch 2400/L3 CLI Commands HAPTER Command show version Description Displays OptiSwitch-2400/L3 general information and components versions. Syntax This command has no arguments or keywords. Description OS2400# show version Example MRV OptiSwitch 2400/L3 version devel-1.4.10a Based on: Red Hat Linux release 6.2 (Zoot) Linux OS2400 2.2.17-OSR_10DG #1 Tue Mar 13 17:39:34 IST 2001 i686...
  • Page 104 OptiSwitch 2400/L3 CLI Commands HAPTER Command table table number Description Enables you to configure the target kernel routing table. Syntax table number: Specifies the table integer. Description Example OS2400(config)# table 2 OS2400(config)#...
  • Page 105: Rip Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER RIP Commands Command default-information originate Description Generates a default route into Routing Information Protocol (RIP). Syntax This command has no arguments or keywords. Description No Form no default-information originate: Cancels the default route. Example OS2400(config-rip-router)# default-information originate OS2400(config-rip-router)# Command default-metric number...
  • Page 106 OptiSwitch 2400/L3 CLI Commands HAPTER Command distribute-list list-name in|out interface name Description Enables you to filter networks in routing updates using access lists. Syntax list-name: Specifies a standard IP access list number or name. The Description list defines which networks are to be received and which are to be hidden in routing updates.
  • Page 107 OptiSwitch 2400/L3 CLI Commands HAPTER Command neighbor ip address Description Enables you to use unicast RIP routing updates to the specified neighbor instead of normal multicast updates. Syntax ip address: Specifies the IP address of the neighbor router. Description No Form no neighbor ip address: Disables the RIP neighbor.
  • Page 108 OptiSwitch 2400/L3 CLI Commands HAPTER Command passive-interface interface-name Description Enables you to suppress outgoing routing updates on an interface. Syntax interface-name: Specifies the interface. Description No Form no passive-interface interface-name: Returns to default. Example OS2400(config-rip-router)# passive-interface vif2 OS2400(config-rip-router)# Command redistribute {kernel|connected|static|ospf|bgp} {metric value} {route-map tag} Description Enables you to redistribute routing information from one routing...
  • Page 109 OptiSwitch 2400/L3 CLI Commands HAPTER Command timers basic {update timer} {timeout timer} {garbage timer} Description Enables you to configure basic routing protocol update timers. Syntax update timer: Specifies the routing table update timer value in Description seconds. The value can be from 0 to 4294967295 with a default of 30 seconds.
  • Page 110: Ospf Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER OSPF Commands Command area area id authentication {message-digest} Description Enables you to configure OSPF area parameters. Syntax area id: Specifies the area ID in decimal or IP address format. Description authentication: Indicates that authentication is enabled. Message-digest: Indicates the use of message-digest authentication on the area specified by the area ID.
  • Page 111 OptiSwitch 2400/L3 CLI Commands HAPTER Command area area id nssa {default-information-originate|no-redistribution|no-summary|tra nslate-always|translate-candidate|translate-never} Description Enables you to configure an area as a not-so-stubby-area (NSSA). Syntax area id: Specifies the area ID in decimal or IP address format. Description default-information-originate: Enables you to default information to the NSSA area.
  • Page 112 OptiSwitch 2400/L3 CLI Commands HAPTER Command area area id shortcut {default|enable|disable} Description Enables you to configure the OSPF area shortcutting mode. Syntax area id: Specifies the area ID in decimal or IP address format. Description shortcut: Indicates that the filter is set for networks announced to other areas.
  • Page 113 OptiSwitch 2400/L3 CLI Commands HAPTER Command area area id virtual-link router id {hello-interval value}{ retransmit-interval value transmit-delay value}{ dead-interval value message-digest-key keyname} Description Enables you to configure an OSPF area as a virtual link, in case of a loss of connection to the backbone.
  • Page 114 OptiSwitch 2400/L3 CLI Commands HAPTER Command auto-cost reference-bandwidth value Description Enables you to control how OSPF calculates default metrics for the interface according to the bandwidth. Syntax auto-cost: Enables auto cost configuration. Description reference-bandwidth: Used to assign OSPF cost. value: Specifies the reference bandwidth in terms of Mbits per second.
  • Page 115 OptiSwitch 2400/L3 CLI Commands HAPTER Command default-metric number Description Enables you to define default metric values for the OSPF routing protocol. When redistributed routes have metrics that are not compatible, the default metric can be substituted and allow the redistribution to continue. Syntax number: Specifies the default metric value that is required for the Description...
  • Page 116 OptiSwitch 2400/L3 CLI Commands HAPTER Command distribute-list list-name out {bgp|connected|kernel|rip|static} Description Enables you to filter networks in routing updates. Syntax list-name: Specifies the access list name. Description out: Indicates filtering of outgoing updates. You can filter networks for the following routing protocol routes: bgp, connected, kernel, rip and static No Form no distribute-list list-name out {bgp|connected|kernel|rip|static}:...
  • Page 117 OptiSwitch 2400/L3 CLI Commands HAPTER Command redistribute bgp{metric|connected|kernel|rip|static metric value}{metric-type type number}{route-map map-name} Description Enables you to redistribute information from one protocol to another. Syntax metric: Indicates the metric used for redistributed routes. Description metric-type: Indicates a specific link type for redistributed routes. route-map: Indicates the route map reference that must be accurate before redistributing.
  • Page 118: Interface Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER Interface Commands Command bandwidth value Description Enables you to set the interface bandwidth parameter. These parameters are used for routing protocol calculations (e.g. OSPF) Syntax value: Specifies the bandwidth between 1 and 10000000 kilobits. Description No Form no bandwidth value: Returns to the default bandwidth value.
  • Page 119 OptiSwitch 2400/L3 CLI Commands HAPTER Command ip ospf cost value Description Enables you specify the cost of sending a packet on an interface. Syntax value: Specifies the path cost value. The value can be from 1 to Description 65535. The formula for calculating the value is ÷...
  • Page 120 OptiSwitch 2400/L3 CLI Commands HAPTER Command ip ospf message-digest-key key-id md5 key-word Description Enables OSPF MD5 authentication for incoming and outgoing packets. Syntax key-id: Specifies the message digest key identifier from 1 to 255. Description key-word: Specifies the OSPF password key. No Form no ip ospf message-digest-key key-id: Enables you to remove an old MD5 key.
  • Page 121 OptiSwitch 2400/L3 CLI Commands HAPTER Command ip ospf retransmit-interval value Description Enables you to specify the time between link-state advertisement (LSA) retransmissions until it receives acknowledgment. Syntax value: Specifies the value in seconds between retransmissions Description from 3 to 65535. No Form no ip ospf retransmit-interval: Enables you to return to the default value.
  • Page 122 OptiSwitch 2400/L3 CLI Commands HAPTER Command ip rip authentication string string Description Enables you to define the authentication string. Syntax string: Specifies the authentication string. Description No Form no ip rip authentication: Enables you to return to the default. OS2400(config-if)# ip rip authentication string 12zz Example Command ip rip receive version 1 2|2 1|1|2|1 2|2 1...
  • Page 123 OptiSwitch 2400/L3 CLI Commands HAPTER Command management {telnet | snmp} [IP address] Description Enables you to allow Telnet and SNMP management through this interface either from any station or a specific station. Syntax telnet: Species telnet management from the specific interface Description selected.
  • Page 124: Dhcp Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER DHCP Commands Command enable|disable Description Enables and disables the DHCP server. Syntax This command has no arguments or keywords. Description Example OS2400(config-dhcp)# enable OS2400(config-dhcp)# Command default-lease-time value Description Enables you to configure the default lease time for a host IP address.
  • Page 125 OptiSwitch 2400/L3 CLI Commands HAPTER Command max-lease-time value Description Enables you to configure the maximum lease time for a host IP address. Syntax value: The amount of time in seconds. Description No Form no max-lease-time: Enables you to delete the maximum lease time.
  • Page 126 OptiSwitch 2400/L3 CLI Commands HAPTER Command range lower range upper range Description Enables you to set the DHCP range of a subnet entry. Syntax lower range: Specifies the lower range IP address. Description upper range: Specifies the upper range IP address. No Form no range: Enables you to delete a defined subnet ranges.
  • Page 127: Dhcp Relay Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER DHCP Relay Commands Command enable Description Enables the DHCP Relay Agent. Syntax This command has no arguments or keywords. Description enable Enable the DHCP Relay Agent Example OS2400(config-dhcprelay)# enable Command disable Description Enables the DHCP Relay Agent. Syntax This command has no arguments or keywords.
  • Page 128: Dns Commands

    OptiSwitch 2400/L3 CLI Commands HAPTER DNS Commands Command domain-name name Description Enables you to add a domain name. Syntax name: Specifies the actual domain name. Description No Form no entry: Enables you to delete the domain name. OS2400(config-dns)# domain-name greentree.com Example OS2400(config-dns)# Command...

Table of Contents