Configuring the Cisco EtherSwitch Service Module

This section contains the following procedures:

Accessing the CLI Through a Console Connection or Through Telnet

Before you can access the Cisco EtherSwitch service module CLI, you must connect to the host router through the router console or through Telnet. Once you are connected to the router, you must configure an IP address on the Gigabit Ethernet interface connected to the Cisco EtherSwitch service module. Open a session to the Cisco EtherSwitch service module using the service-module ge x/0 session command in privileged EXEC mode on the router.

If your Cisco EtherSwitch service module is already configured, you can directly configure the service module through its CLI.

You can use one of these methods to establish a connection to the Cisco EtherSwitch service module:

  • Connect to the router console using Telnet or SSH and open a session to the switch using the service-module gig x/0 session command in privileged EXEC mode on the router.

    Note

    Note:  When connecting to the router through the console using Telnet or SSH from a client station, you must have IP connectivity from the station to the switch.


  • Use any Telnet TCP/IP or encrypted SSH package from a remote management station. The internal interface must have network connectivity with the Telnet or SSH client, and the internal interface must have an enable secret password configured. After you connect through the CLI, a Telnet session, or an SSH session, the user EXEC prompt appears on the management station.

    The Cisco EtherSwitch service module or switch supports up to 5 simultaneous secure SSH sessions and up to 16 simultaneous Telnet sessions. Changes made by one Telnet user are reflected in all other Telnet sessions.

Understanding Interface Types on the Cisco EtherSwitch Service Modules

This section describes the different types of interfaces supported by the Cisco EtherSwitch service module with references to chapters that contain more detailed information about configuring these interface types.

The Cisco EtherSwitch service module supports the following interface types:

  • Fast Ethernet interfaces
  • External Gigabit Ethernet interfaces
  • VLAN switched virtual interface (SVI)
  • Internal Gigabit Ethernet interfaces; the last one is the one internally connected to the host router

The interface numbering format on the Cisco EtherSwitch service module is stack-member-number/0/switch-port.

Using Interface Configuration Mode

You can configure the individual Cisco EtherSwitch service module physical interfaces (ports) through the interface configuration mode on the CLI. The port numbering scheme that you use in interface configuration mode is interface type stack member number/0/port number.

Note

Note:  For Cisco EtherSwitch service modules or switches that do not have StackWise interfaces, the stack member number is 1 by default but changeable through Cisco IOS software or bootloader.

  • Type—Fast Ethernet (fastethernet or fa) for 10/100-Mbps Ethernet or Gigabit Ethernet (gigabitethernet or gi) for 10/100/1000-Mbps Ethernet ports.
  • Stack member number—The number used to identify the Cisco EtherSwitch service module or switch within the stack. The Cisco EtherSwitch service module or switch number ranges from 1 to 9 and is assigned the first time the service module or switch initializes. The default Cisco EtherSwitch service module or switch number, before it is integrated into a switch stack, is 1; when a service module or switch has been assigned a stack member number, it keeps that number until another is assigned to it.
  • You can use the Cisco EtherSwitch service module or switch port LEDs in stack mode to identify the stack member number of a service module or switch.
  • Module numberThe module slot number on the Cisco EtherSwitch service module or switch (always 0 on the service module or switch).
  • Port number—The interface number on the Cisco EtherSwitch service module or switch. The port numbers always begin at 1, starting at the right when facing the front of the Cisco EtherSwitch service module, for example, fastethernet 1/0/1, fastethernet 1/0/2, gigabitethernet 1/0/1, gigabitethernet 1/0/2 with 1/0/1 on the top, 1/0/2 on the bottom, 1/0/3 on the top, 1/0/4 on the bottom and so on.

You can identify physical interfaces by physically checking the interface location on the Cisco EtherSwitch service module. You can also use the Cisco IOS show privileged EXEC commands to display information about a specific interface or all the interfaces on the Cisco EtherSwitch service module.

These are examples of specifying interfaces:

  • To specify Gigabit Ethernet port 4 on a standalone Cisco EtherSwitch service module, enter this command in global configuration mode:

    Enhanced EtherSwitch (config)# interface gigabitethernet1/0/4

  • To specify Fast Ethernet port 4 on stack member 3, enter this command in global configuration mode:

    Enhanced EtherSwitch (config)# interface fastethernet3/0/4

Configuring the Cisco EtherSwitch Service Module in the Router

This section describes how to perform the initial configuration on the router with a Cisco EtherSwitch service module installed. This section also describes the initial configuration on the Cisco EtherSwitch service module itself. Once an IP address has been configured on the Gigabit Ethernet interface on the router (representing the Cisco EtherSwitch service module), you can open a console session to the
Cisco EtherSwitch service module and configure its Fast Ethernet and Gigabit Ethernet interfaces for Layer 2 or Layer 3 functionality.

Once the Cisco EtherSwitch service module interface has been configured and you boot up the service module image, you can switch back and forth between the router and the service module.

SUMMARY STEPS

  1. dir flash:
  2. boot flash: image-name
  3. enable
  4. show running configuration
  5. configure terminal
  6. interface slot/port
  7. ip address ip address/subnet mask
  8. no shutdown
  9. end
  10. service-module interface slot/port session
  11. dir flash:
  12. boot flash: image
  13. enable
  14. show ip interface brief
  15. control+shift+6 x
  16. disconnect
  17. show power inline

DETAILED STEPS

 
Command or Action
Purpose

Step 1

dir flash:

Example:

rommon> dir flash:

Displays a list of all files and directories in router flash memory.

Step 2

boot flash: image-name

Example:

rommon> boot flash: c3825-i5-mz.050404

Boots the router image that supports the Cisco EtherSwitch service module.

Enter no when prompted to enter the initial configuration dialog and then press Enter.

Step 3

enable

Example:

Router# enable

Enters privileged EXEC mode.

Step 4

show running configuration

Example:

Router# show running config interface gigabitethernet1/0

Displays the running configuration of the router, which should have a Gigabit Ethernet interface representing the Cisco EtherSwitch service module.

Step 5

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 6

interface slot/port

Example:

Router(config)# interface gigabitethernet1/0

Enters interface configuration mode, and specifies an interface for configuration.

Step 7

ip address ip address/subnet mask

Example:

Router(config-if)# ip address 20.0.0.1 255.255.255.0

Configures an IP address and subnet mask on this Gigabit Ethernet interface.

Step 8

no shutdown

Example:

Router(config-if)# no shutdown

Enables the service module port.

Step 9

end

Example:

Router(config-if)# end

Returns you to privileged EXEC mode.

Step 10

service-module interface slot/port session

Example:

Router# service-module gigabitethernet1/0 session

Connects to and opens a session on the Cisco EtherSwitch service module.

Step 11

dir flash:

Example:

Switch: dir flash:

Displays a list of all files and directories in flash memory on the service module.

Step 12

boot flash: image

Example:

Switch: boot flash:c3750-ipservices-mz.122-0.0.13.EZ

Boots the Cisco EtherSwitch service module image.

Step 13

enable

Example:

Switch> enable

Enters privileged EXEC mode on the Cisco EtherSwitch service module.

Step 14

show ip interface brief

Example:

Switch# show ip interface brief

Displays brief version of the Cisco EtherSwitch service module configuration information.

Step 15

control+shift+6 x

Example:

Switch# control+shift+6 x

Returns you to the router console while keeping the console session to the switch intact.

Step 16

disconnect

Example:

Router# disconnect

Terminates the console session to the Cisco EtherSwitch service module.

Step 17

show power inline

Example:

Router# show power inline

Displays the PoE statistics maintained on the Cisco EtherSwitch service module.

Note PoE statistics are updated dynamically.

Output of the show service-module status command must be in steady state for inline power to function.

Click here to show sample command outputs for configuring the Cisco EtherSwitch Service Module in the router.

Click here to show default settings after initial Cisco EtherSwitch Service Module configuration.

Configuring the Cisco EtherSwitch Service Module Using the Switch Setup Program

This section describes how to configure the Cisco EtherSwitch service module, using the setup program on the service module to create an initial configuration. The setup program enables the Cisco EtherSwitch service module to run on its standard default settings.

The setup program runs automatically after the Cisco EtherSwitch service module is powered up, but does not have an existing configuration. You must assign an IP address and other configuration information necessary for the Cisco EtherSwitch service module to communicate to other devices on the network. This information is also required if you plan to use the Cisco Network Assistant (hereafter referred to as Network Assistant) application software.

After you complete the setup program, the Cisco EtherSwitch service module can run the default configuration that you created. If you want to change this configuration or want to perform other management tasks, use one of these tools:

  • Command-line interface (CLI)
  • Cisco Network Assistant application program from your browser

To use the CLI, enter commands at the switch> prompt through the console session to the Cisco EtherSwitch service module.

To use Network Assistant, see the Cisco Network Assistant documentation at the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cna/v2_0/index.htm

Prerequisites

Obtain the following items from your network administrator before you start the setup program:

  • IP address for the Gigabit Ethernet interface on the router
  • Subnet mask (IP netmask)
  • Default gateway of the router
  • Enable secret password
  • Enable password
  • Telnet password
Note

Note:  If your Cisco EtherSwitch service modules are stacked and there are multiple console connections to individual Cisco EtherSwitch service modules in the stack, the initial setup dialog appears on the first console where the user presses Enter.

SUMMARY STEPS

  1. When prompted to enter the initial configuration dialog, enter yes.
  2. Enter a hostname for the Cisco EtherSwitch service module, and press Return.
  3. Enter an enable secret password, and press Return.
  4. Enter an enable password, and press Return.
  5. Enter a virtual terminal (Telnet) password, and press Return.
  6. (Optional) Enter yes to configure SNMP or no to configure SNMP later through the CLI or Network Assistant, and then press Return.
  7. Enter the interface name and press Return.
  8. Enter yes and press Return.
  9. Enter the Cisco EtherSwitch service module IP address and subnet mask and press Return.
  10. Enter no and press Return.
  11. Enter 2 and press Return.

DETAILED STEPS

 
Command or Action
Purpose

Step 1

When prompted to enter the initial configuration dialog, enter yes.

Initiates initial configuration dialog and basic management setup.

Step 2

Enter a hostname for the Cisco EtherSwitch service module, and press Return.

Sets the hostname for the Cisco EtherSwitch service module.

On a cluster command Cisco EtherSwitch service module, the hostname is limited to 28 characters; on a cluster member Cisco EtherSwitch service module, the limit is 31 characters.

Do not use -n, where n is a number, as the last character in a hostname for any Cisco EtherSwitch service module.

Step 3

Enter an enable secret password, and press Return.

Sets the secret password to access privileged EXEC mode.

The password can be from 1 to 25 alphanumeric characters, can start with a number, is case sensitive, allows spaces, but ignores leading spaces.

The secret password is encrypted and the enable password is in plain text.

Step 4

Enter an enable password, and press Return.

Sets the password to access privileged EXEC mode.

Step 5

Enter a virtual terminal (Telnet) password, and press Return.

Sets the Telnet password.

The password can be from 1 to 25 alphanumeric characters, is case sensitive, allows spaces, but ignores leading spaces.

Step 6

Enter yes to configure SNMP.

or

Enter no to configure SNMP later through the CLI or Network Assistant, and then press Return.

(Optional) Configures Simple Network Management Protocol (SNMP).

Step 7

Enter the interface name, and press Return.

Provides the interface name of the interface that connects to the management network.

Note Always use vlan1 as the interface name.

Step 8

When prompted to configure an IP address for the Cisco EtherSwitch service module, enter yes.

Confirms that you want to configure the Cisco EtherSwitch service module IP address and subnet mask.

Step 9

Enter the IP address and subnet mask for the Cisco EtherSwitch service module, and press Return.

Step 10

When prompted to enable the Cisco EtherSwitch service module as the cluster command switch, enter yes or no.

Configures the Cisco EtherSwitch service module.

Entering no configures it as a standalone service module. It appears as a cluster candidate service module in Network Assistant.

Entering yes configures it as the cluster command service module.

Step 11

Enter 2 and press Return.

Saves the configuration to NVRAM.

Click here to show sample command outputs for configuring the Cisco EtherSwitch Service Module using the switch setup program.

Shutting Down, Resetting, and Reloading the Cisco EtherSwitch Service Module

This section describes how to shut down, reset, and reload a Cisco EtherSwitch service module after it has been installed.

SUMMARY STEPS

  1. service-module gigabitethernet slot/unit shutdown
  2. service-module gigabitethernet slot/unit reset
  3. service-module gigabitethernet slot/unit reload
Note

Note:  The argument slot indicates the number of the router chassis slot for the network module. The argument unit indicates the number of the daughter card on the network module. For Cisco EtherSwitch service modules, always use 0.

DETAILED STEPS

 
Command or Action
Purpose

Step 1

service-module gigabitethernet slot/unit shutdown

Example:

Router# service-module gigabitethernet1/0 shutdown

Performs a graceful halt of the Cisco EtherSwitch service module operating system. Use the service-module reset command to power up the service module again.

Note Use this command when removing or replacing a hot-swappable Cisco EtherSwitch service module during online insertion and removal (OIR).

Step 2

service-module gigabitethernet slot/unit reset

Example:

Router# service-module gigabitethernet1/0 reset

Performs a hardware reset of the Cisco EtherSwitch service module.

Step 3

service-module gigabitethernet slot/unit reload

Example:

Router# service-module gigabitethernet1/0 reload

Performs a graceful halt and reload of the Cisco EtherSwitch service module operating system.

The following are some sample command outputs for shutting down, resetting, and reloading the Cisco EtherSwitch Service Module.

Sample Output for the service-module gigabitethernet shutdown Command

Router# service-module gigabitethernet1/0 shutdown
Shutdown is used for Online removal of Service Module.
Do you want to proceed with shutdown?[confirm]
Use service-module reset command to recover from shutdown.

Note

Note:  At the confirmation prompt, press Enter to confirm the action or n to cancel.

Sample Output for the service-module gigabitethernet reset Command

The following example shows what appears when you enter the service-module gigabitethernet slot/unit reset command:

Router# service-module gigabitethernet1/0 reset
Use reset only to recover from shutdown or failed state
Do you want to reset?[confirm]

Note

Note:  At the confirmation prompt, press Enter to confirm the action or n to cancel.

Sample Output for the service-module gigabitethernet reload Command

The following example shows what appears when you enter the service-module gigabitethernet slot/unit reload command:

Router# service-module gigabitethernet1/0 reload
Do you want to proceed with reload?[confirm]

Note

Note:  At the confirmation prompt, press Enter to confirm the action or n to cancel.


 All contents are Copyright 1992–2009 Cisco Systems, Inc. All rights reserved.