C H A P T E R  4

Configuring Switch Software

This chapter describes how to configure the switch software.

The switch incorporates four main software components:

The IPMI firmware, uBoot, and OS are covered in this chapter. FASTPATH is described, however, for detailed information and command syntax, refer to the Netra CP3240 Switch Command Reference Manual (820-3253).

This chapter contains the following topics:


4.1 IPMI Firmware Sensors

This section describes the IPMI firmware sensors.

4.1.1 State Sensors


TABLE 4-1 IPMI State Sensors

Sensor

Name

Type

Description

Discrete States Returned

TABLE 4-2 0

FRU 0 HOT_SWAP

State

hotswap discrete state

M state, per ATCA spec

1

RTM hotswap

State

hotswap discrete state

M state, per ATCA spec

2

AMC 0 hotswap

State

hotswap discrete state

M state, per ATCA and AMC spec

3

AMC 1 hotswap

State

hotswap discrete state

M state, per ATCA and AMC spec

4

AMC 2 hotswap

State

hotswap discrete state

M state, per ATCA and AMC spec

5

IPMB physical

State

IPMB Link sensor

Defined in ATCA spec.

6

BMC Watchdog

State

Watchdog timer

Discrete, Watchdog 2 (per the IPMI spec)

11

RTM Presence

State

Rear Module Present Signal

State 01h = Device absent, 02h = Device present

12

Base Early*

State

Base firmware signal

Asserted indicates Uboot prompt

13

Base Full*

State

Base firmware signal

Asserted indicates Linux has booted

14

Base Good*

State

Base firmware signal

Asserted indicates FASTPATH has loaded

15

Fabric Early*

State

Fabric firmware signal

Asserted indicates Uboot prompt

16

Fabric Full*

State

Fabric firmware signal

Asserted indicates Linux has booted

17

Fabric Good*

State

Fabric firmware signal

Asserted indicates FASTPATH has loaded


*These sensors represent the software state of the switch.

The following tables lists the logic that drives these sensors.


TABLE 4-3 IPMI Sensor Logic

State

Timeout

Failover Condition

Early

Full

Good

Initial power-on state

5 sec

Uboot corrupted or erased

0

0

1

uBoot initial state

5 sec

Uboot finds no image

0

0

0

uBoot console

n/a

Failover timer stops

1

0

0

Linux booted

90 sec

Soft-off now occurs

0

1

0

Linux boot menu

n/a

Failover timer stops (user interruption)

1

1

0

FASTPATH booted

90 sec

Timer stops if this state is reached in time

0

1

1

Critical code update

n/a

An update is in progress; the failover time stops

1

1

1


4.1.2 Threshold Sensors


TABLE 4-4 IPMI Thresold Sensors

Sensor

Name

Type

Description

Units

Lower Thresholds

 

 

Upper Thresholds

 

 

#

 

 

 

 

Minor

Major

Critical

Minor

Major

Critical

7

+12.0V

Thresh

+12V main power

Volts

11.016

10.21

9.02

13.45

13.72

13.77

8

+3.3V

Thresh

+3.3V line

Volts

3.126

3.02

2.914

3.563

3.654

3.805

9

+2.5V

Thresh

+2.5V line

Volts

2.308

2.202

2.106

2.701

2.808

2.904

10

+1.25V

Thresh

+1.25V line

Volts

1.156

1.009

0.7546

1.5582

1.754

1.9502

18

Base CPU Temp

Thresh

Base CPU Temp

oC

n/a

n/a

n/a

60

70

80

19

RTM temp

Thresh

RTM Temperature

oC

n/a

n/a

n/a

55

65

75

20

Fabric CPU Temp

Thresh

Fabric CPU Temp

oC

n/a

n/a

n/a

60

70

80

21

+1.5V

Thresh

+1.5V line

Volts

1.4014

1.303

1.1074

1.6072

1.7052

1.9012

22

+1.8V

Thresh

+1.8V line

Volts

1.656

1.509

1.303

1.9502

2.107

2.303

23

+1.0V

Thresh

+1.0V line

Volts

0.902

0.706

0.51

1.1074

1.303

1.509

24

+1.2V

Thresh

+1.2V line

Volts

1.107

1.009

0.804

1.303

1.4014

1.607

25

Site 1 Pwr Cur

Thresh

AMC Slot current sense

Amps

n/a

n/a

n/a

5.5

6.023

6.517

26

Site 1 Pwr

Thresh

AMC Slot +12V

Volts

n/a

n/a

n/a

13.048

13.44

13.608

27

Site 1 MP

Thresh

AMC Slot Management Pwr

Volts

n/a

n/a

n/a

3.456

3.514

3.6

28

Site 2 Pwr Cur

Thresh

AMC Slot current sense

Amps

n/a

n/a

n/a

5.5

6.023

6.517

29

Site 2 Pwr

Thresh

AMC Slot +12V

Volts

n/a

n/a

n/a

13.048

13.44

13.608

30

Site 2 MP

Thresh

AMC Slot Management Pwr

Volts

n/a

n/a

n/a

3.456

3.514

3.6

31

Site 3 Pwr Cur

Thresh

AMC Slot current sense

Amps

n/a

n/a

n/a

5.5

6.023

6.517

32

Site 3 Pwr

Thresh

AMC Slot +12V

Volts

n/a

n/a

n/a

13.048

13.44

13.608

33

Site 3 MP

Thresh

AMC Slot Management Pwr

Volts

n/a

n/a

n/a

3.456

3.514

3.6



4.2 uBoot

uBoot is the boot loader. Much like a BIOS, it brings the system to a usable state for the operating system (OS) to boot. It also performs a POST of the CPU subsystem. It can be used as a recovery console if the firmware image becomes corrupt or a firmware update fails. Several important environment variables are stored in uBoot, only some of which should ever be changed, namely noekey and baudrate.

4.2.1 uBoot Console

To get to a uBoot console, you must prevent the switch from booting into the OS. Shown here is an example of the start of a boot sequence.


CPU:   400 MHz
DRAM:  256 MB
FLASH: 64 MB, Base, Primary Flash

### JFFS2 loading 'image1' to 0x400000
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 10026940 bytes loaded to 0x400000
Booting ...
   Loading Ramdisk to 0fdf6000, end 0ff8d551 ... OK

Press any key before ### JFFS2 loading 'image1' to 0x400000 appears.

There is only a one-second delay to press a key.

When the uBoot prompt is displayed, you can then enter any of the following commands.


TABLE 4-5 uBoot Console Commands

Command

Result

print or printenv

Shows the current environment variables.

set <variable> or setenv

Followed by an environment variable, this command changes the environment variable.

save or saveenv

Writes the variables to flash. You must save the changes if you want them to persist through a reset.


4.2.2 E-Keying Control in uBoot

See the Section 4.3.1, e-Keying for a description of e-Keying, and how it is supported.

To disable e-Keying, use the noekey environment variable.

List the ports to be disabled separated by only commas.


set noekey 1,2,3,4

Or use the word all to disable e-Keying completely.


set noekey all

To re-enable e-Keying clear the variable.


set noekey

After changing the environment variables you must always save if you would like the change to persist though a reset.

4.2.3 Serial-Baud Rate Control in uBoot

You can change the serial baud rate from within FASTPATH, the boot menu, or in uBoot. Changing it in uBoot is the only method that allows it to persist through a reset. Only standard baud rates are accepted.



Note - Change the baud rate on the Fabric first, then on the Base. If the baud rate on the Fabric and Base do not match, the Fabric will not be accessible. If the Fabric is not accessible, change the baud rate on the Base until the Fabric is accessible.


To change the baud rate in uBoot, enter the command as in the following example.


set baudrate <115200>

After changing the rate, you must save if you would like the change to persist though a reset.


4.3 Linux

The switch uses Linux as an operating system. The Monta Vista 3.1 Pro 2.4.20 kernel is used. There are no settings to change, and the OS is completely transparent to the user.

4.3.1 e-Keying

e-Keying is implemented as a Linux driver. The CPUs for both Base and Fabric have a direct connection to the IPMI controller, which is used to communicate e-Keying messages. The CPU is interrupted when an e-Keying event occurs. The driver handles these interrupts and disables ports based on the information it receives. This disables the port at the PHY level. e-Keying can be ignored by creating a uBoot environment variable as described in the Section 4.2.2, E-Keying Control in uBoot.

4.3.2 e-Keying Bypass

e-Keying can be ignored by creating a uBoot environment variable as described in Section 4.2.2, E-Keying Control in uBoot. When e-Keying is bypassed, ports are no longer enabled or disabled based on the e-Keying state. The e-Keying information is still shared with the shelf manager as usual, but now ports are enabled regardless if the shelf manager enables them or not.

4.3.3 ATCA LEDs

The ATCA LEDs can be turned on from several sources, one of which is a Linux driver. Both the Base and Fabric drive these LEDs. The red OOS LED is driven until FASTPATH has loaded, at which point the green Healthy LED is driven. The OOS LED signals are “OR” so that if one or more are active, the LED is on. The Healthy LED signals are “AND.” The Base and Fabric must be booted into FASTPATH as well as several hardware conditions must be met for this LED to be on.


4.4 Serial Select

A single-serial port is provided to control both CPUs. The ` key, usually in the upper left key on the keyboard and the same key as ~, can be used to switch between controlling the Base (3.0) and the Fabric (3.1). The ` key works in uBoot, Linux, the BCM debug shell, and FASTPATH.

When you switch between Base and Fabric [Base] or [Fabric] is printed to the console so that you know which one you are currently controlling.


(switch Base) #
(and then ENTER is pressed here)
(switch Base) #[Fabric]
(and then ENTER is pressed here)
(switch Fabric) #[ Base ]
(switch Base) #
User:


4.5 Serial Location

The switch supports running its serial port to both the front panel and the RTM. It does not support both the front panel and RTM at the same time. You must configure the port to go to the location needed. By default, the port is routed to the front panel.

4.5.1 Changing Serial Location from UBoot

In this example, the serial port direction is to the RTM.


CODE EXAMPLE 4-1 Serial Port Change from uBoot
CPU:   400 MHz
DRAM:  256 MB
FLASH: 64 MB, Base, Primary Flash

Use the [`] key above the TAB key to switch between BASE and FABRIC.
[Break UBoot by pressing a key when the switch boots]
=> set console rtm
[set console to front for the front panel]
=> save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> boot

4.5.2 Changing Serial Location from FASTPATH

In this example, the serial port direction is changed to the RTM. Note that the change is instantaneous and lasts though a reboot.


CODE EXAMPLE 4-2 Serial Port Change from FASTPATH
configure
lineconfig
serial location rtm
[set location to front for the front panel]


4.6 Boot Sequence

The following is an example of a boot sequence.


CODE EXAMPLE 4-3 Boot Sequence Example
CPU:   400 MHz
DRAM:  256 MB
FLASH: 64 MB, Base, Primary Flash

### JFFS2 loading 'image1' to 0x400000
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 10026500 bytes loaded to 0x400000
Booting ...
   Loading Ramdisk to 0fdf6000, end 0ff8d4c2 ... OK

Mounting /dev/mtdblock2 at /mnt/fastpath...done.
Mounting tmpfs at /mnt/application...done.

********************************************************************
* Use the [`] key above the TAB to switch between BASE and FABRIC. *
********************************************************************

switch, Base, Primary Flash, image1

Select startup mode.  If no selection is made within 5 seconds,
the Application will start automatically...

    --- Main Menu ---

1 - Start Switch Application
2 - Display Utility Menu
Select (1, 2):
Extracting Application from image1.....done
Loading Application...done.
SOC unit 0 attached to PCI device BCM56503_B2


FASTPATH starting...started!

(Unit 1)>

User:

The switch takes approximately 50 seconds to boot to a console and be fully functional.

4.6.1 Boot Utility Menu

There is a utility menu that can be used before FASTPATH boots. During boot there is a two-option menu displayed for five seconds. This menu allows access to the utility menu if you press number 2 and Enter.


CODE EXAMPLE 4-4 Boot Utility Menu Access
switch, Base, Primary Flash, image2

     --- Utility Menu ---

 1 - Start Switch Application
 2 - Load Code Update Package using TFTP/FTP
 3 - Load Code Update Package using XMODEM/YMODEM/ZMODEM
 4 - Copy Primary Flash to Backup Flash
 5 - Select Serial Speed
 6 - Retrieve Error Log using TFTP
 7 - Retrieve Error Log using XMODEM/YMODEM/ZMODEM
 8 - Erase Current Configuration
 9 - Erase Permanent Storage
10 - Select Boot Method
11 - Activate Backup Image
12 - Start Diagnostic Application
13 - Reboot

Select option (1-13):

Most of the options are self explanatory based on their names. The following sections describe some of the options more fully.

4.6.1.1 Load Code Update Package using TFTP/FTP

FASTPATH can be updated from within FASTPATH itself, but it can also be updated from this menu.



Note - DHCP can be used to obtain an IP for the switch during this update. Enter dhcp as the IP address. This entry begins the update and provides status information as it is updating.


4.6.1.2 Erase Current Configuration

This is the same as clear config from within FASTPATH. This option can be used if the switch is in an unknown state, and restoring the default settings is desired.

4.6.1.3 Erase Permanent Storage

This command completely erases FASTPATH, any log files, and any configurations. It does not erase uBoot or Linux. Use of this command is never recommended. Updates can safely be installed without running this option, and configurations and log files are preserved.

4.6.1.4 Select Boot Method

The switch supports three boot methods:

The default option is booting from the flash. See Section 4.9, Network Boot for more information.

4.6.1.5 Start Diagnostic Application

This option boots the Broadcom diag shell, currently SDK version 5.4.1. This environment is provided as is, with no support. Several commands provided in this shell are not supported and will not work. This shell is provided mainly for debug, testing, and diagnostics purposes. This shell has many low-level tests, and low-level register access. It can be used to check the integrity of particular boards. Help is provided in the shell with ?? and commands followed by a single question mark. Some commands of interest are TestList and TestRun.


4.7 Primary and Backup Flash

The switch features hardware flash redundancy. If the switch fails to boot from the primary flash for any reason, the onboard IPMC will reset the board and attempt to boot out of the backup flash. No user interaction is required.

The switch backup flash comes preprogrammed with default settings. You can change what is loaded on the backup flash by using the Copy Primary Flash to Backup Flash command from the utility menu.


4.8 Dual Firmware Images

The switch supports dual firmware images of the Base and Fabric software. While this feature does not provide high availability (the hardware redundant flash provides that), it does provide a way to store two copies of the firmware on the switch. This allows you to switch between firmware, as needed.

4.8.1 Booting the Non-Active Image

Which image is active can be changed several ways.

From the boot menu, the Activate Backup Image option can be used.

From within FASTPATH the boot system command in combination with the update bootcode commands can be used.

4.8.2 Updating the Non-Active Image

All of the update methods supported by the active image (image1 by default) are also supported for the non-active image (image2).

4.8.3 Fabric 1G/10G Auto-negotiation

The Fabric networks support both 1Gigabyte and 10Gigabyte operation. No configuration is required to put the switch into either a 1Gigabyte or 10Gigabyte mode. The switch will dynamically connect at the appropriate speed.


4.9 Network Boot

The switch supports network booting. This feature can be used to test updates to FASTPATH without installing them. Updates containing changes to uBoot, Linux, or the IPMC must be installed to the flash before they can be used.

1. Setup a TFTP server on the update network.

Tftpd is the standard TFTP server for Linux and Solaris.

For Windows, Solarwinds (http://www.solarwinds.net) offers a free TFTP server.

2. Place the update image on the TFTP server.

It will have a .tgz file extension.

3. Connect to the serial management port of the network to be updated, and connect the MGMT port to the update network.

4. Reboot the switch using the reboot button, hotswap handle, or reload command.

5. As the switch boots, press number 2 to enter the Utility Menu.

6. Press number 8 to change the boot method.

7. Press number 3 to select network as the boot method.

8. Enter the information for your TFTP server.

For host IP, you can enter dhcp if you would like to use DHCP to obtain a valid IP address.

9. Press number 1 to boot the system.


CODE EXAMPLE 4-5 Example Console Output
CPU:   400 MHz
DRAM:  256 MB
FLASH: 64 MB, Base, Primary Flash

### JFFS2 loading 'image1' to 0x400000
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 10026500 bytes loaded to 0x400000
Booting ...
   Loading Ramdisk to 0fdf6000, end 0ff8d4c2 ... OK

Mounting /dev/mtdblock2 at /mnt/fastpath...done.
Mounting tmpfs at /mnt/application...done.

********************************************************************
* Use the [`] key above the TAB to switch between BASE and FABRIC. *
********************************************************************

switch, Base, Primary Flash, image1

Select startup mode.  If no selection is made within 5 seconds,
the Application will start automatically...

    --- Main Menu ---

1 - Start Switch Application
2 - Display Utility Menu
Select (1, 2): 2

********************************************************************
* Use the [`] key above the TAB to switch between BASE and FABRIC. *
********************************************************************

switch, Base, Primary Flash, image1

     --- Utility Menu ---

 1 - Start Switch Application
 2 - Load Code Update Package using TFTP/FTP
 3 - Load Code Update Package using XMODEM/YMODEM/ZMODEM
 4 - Copy Primary Flash to Backup Flash
 5 - Select Serial Speed
 6 - Retrieve Error Log using TFTP
 7 - Retrieve Error Log using XMODEM/YMODEM/ZMODEM
 8 - Erase Current Configuration
 9 - Erase Permanent Storage
10 - Select Boot Method
11 - Activate Backup Image
12 - Start Diagnostic Application
13 - Reboot

Select option (1-13): 10

Current Boot Method: FLASH

1 - Flash Boot
2 - Network Boot
3 - Serial Boot
4 - Exit without change
Select option (1-4): 2
Enter Server IP []:10.10.3.199
Enter Host IP (# or dhcp) []:dhcp
Enter Transfer Method (tftp or ftp) [ftp]:
Enter Filename []:/switch.1.0.1.0.stk
Accept changes? Press(Y/N): y

********************************************************************
* Use the [`] key above the TAB to switch between BASE and FABRIC. *
********************************************************************

switch, Base, Primary Flash, image1

     --- Utility Menu ---

 1 - Start Switch Application
 2 - Load Code Update Package using TFTP/FTP
 3 - Load Code Update Package using XMODEM/YMODEM/ZMODEM
 4 - Copy Primary Flash to Backup Flash
 5 - Select Serial Speed
 6 - Retrieve Error Log using TFTP
 7 - Retrieve Error Log using XMODEM/YMODEM/ZMODEM
 8 - Erase Current Configuration
 9 - Erase Permanent Storage
10 - Select Boot Method
11 - Activate Backup Image
12 - Start Diagnostic Application
13 - Reboot

Select option (1-13): 1
Creating tmpfs filesystem on tmpfs for download...done.
Bringing up eth0 interface...done.
HOST IPADDR=10.10.2.246
Transferring '/switch.1.0.1.0.stk' from '10.10.3.199' via ftp...done.
Bringing down eth0 interface...done.
Extracting Application...done.
Destroying tmpfs filesystem on tmpfs...done.
Loading Application...done.
SOC unit 0 attached to PCI device BCM56503_B2

FASTPATH starting...started!

(Unit 1)>

User:

10. Use option 8 of the Utility Menu to change the boot method back to flash, when desired.


4.10 FASTPATH

The switch features LVL7 Systems’ FASTPATH 2340 software, version 4.4. FASTPATH is a software package providing the robust management needed to control a modern switch-router. This section serves as a quick primer on using FASTPATH on the switch. FASTPATH is not covered in detail in this guide, but is covered in the Netra CP3240 Switch Command Reference Manual (820-3253).

4.10.1 Management Options

The switch can be controlled by a CLI, a web interface, and through SNMP. All management interfaces, other than serial, can be enabled or disabled, provided over both the out-of-band management port and/or any in-band ports, and be limited to certain in-band ports.

4.10.1.1 CLI

The switch provides an industry standard CLI. The CLI is provided over the serial port, telnet and SSH. This section only describes some basic commands. For detailed command syntax, refer to the Netra CP3240 Switch Command Reference Manual (820-3253).

The CLI is mode based. It works similarly to a console in Linux or Windows. Commands are grouped under modes, and those commands only work when the user is in the current mode. There are very few global commands.

To return to one mode higher than the current mode, use exit.

For example to shutdown port 17, switch to enable mode, configure mode, interface 17 mode, then issue the shutdown command. Use exit to return to configure mode, and exit again to return to enable mode.

Many commands have a no form. The no form is used to disable the command. With the previous example, to re-enable port 17, once you are in the interface 17 mode, you would issue the no shutdown command.

4.10.2 Basic CLI Commands


TABLE 4-6 Basic CLI Commands

Command

Function

Mode

enable

Switch to privilege mode. You must be in enabled mode for most options.

default

show port all

Show status of the ports.

privilege

show interface ethernet 0/x

Show detailed statistics on port 0/x.

privilege

clear counters

Clear all statistics.

privilege

clear config

Restore the default configuration.

privilege

show running-config

Show the current configuration of the switch. This command shows everything that is not set to the default value. The output is a script that can be copied to a file for later use, or for another switch.

privilege

copy system:running-config nvram:startup-config

Save the current configuration though a reboot.

privilege

serviceport protocol dhcp

Use DHCP on the out-of band port. Only one of the serviceport and network can use DHCP. To enable DHCP on one, you must disable it on the other. The same command works for network.

privilege

serviceport protocol none

Use user assigned IP NOTE: the same command works for network.

privilege

serviceport ip <ip> <netmask> <gateway>

Force an IP for serviceport.

privilege

network parms <ip> <netmask> <gateway>

Force an IP for network.

privilege

show network

View the in-band management settings.

privilege

show serviceport

View the out-of-band management settings.

privilege

serial baudrate

Change the serial baudrate.

privilege

vlan database

Switch to vlan database mode. Create and delete VLANs here.

privilege

vlan x

Create a VLAN with number x.

vlan

exit

Return to one mode higher.

 

configure

Switch to configure mode. You must be in configure mode to change most settings.

privilege

interface 0/x

Switch to interface mode. You must be in interface mode to change most port specific settings.

configure

vlan participation include x

Add interface to VLAN x.

interface

vlan pvid x

Change interface’s pvid to VLAN x.

interface


4.10.3 Logins and Prompts

FASTPATH supports multiple users with different security levels. By default, there is one admin user with no password. In the CLI, privilege mode is password-protected separately from the default mode, but also has a default of no password.

4.10.3.1 CLI Defaults

A CLI is provided on the serial console, telnet console, and SSH console. The serial console is always enabled. The telnet console is enabled by default. SSH is disabled by default.


Username:admin
Password:
>enable
Password:
#

The prompts always show the current mode. Here are a few examples.


default mode
# privilege mode
# configure mode
(interface 0/2)
# interface 0/2 mode

4.10.3.2 Web Interface Defaults

The username and password are the same as the CLI. The web interface is enabled by default. Java is enabled by default. HTTPS is disabled by default.

4.10.3.3 SNMP Defaults

SNMP is enabled by default. The default read-only community string is public. The default read-write community string is private.

4.10.4 Secure Remote Access

4.10.4.1 SSH and SSL/TLS Keys

The switch supports SSH for a secure CLI console as well as SSL/TLS for secure HTTP. By default, SSH and SSL are disabled. The switch cannot generate its own keys. Keys must be generated on an external PC, and uploaded to the switch via TFTP. Once the keys are on the switch, SSH and HTTPS must be enabled to be used.

4.10.4.2 Enabling SSH and SSL

First, the certifications and keys must be uploaded to the switch using a command such as the following:


copy tftp://<ip>/<file> <location>

Upload the following files to the switch:.


File

Location

rsa1.key

nvram:sshkey-rsa1

rsa2.key

nvram:sshkey-rsa2

dsa.key

nvram:sshkey-dsa

dh512.pem

nvram:sslpem-dhweak

dh1024.pem

nvram:sslpem-dhstrong

server.pem

nvram:sslpem-server

rootcert.pem

nvram:sslpem-root


Enable secure access (SSH/Telnet) and disable non-secure access (SSL/HTTP).


ip ssh

configure

lineconfig

no transport input telnet

exit



ip http secure-server
no ip http server

4.10.5 Default Settings

The switch comes configured with a default configuration. This configuration boots the board to Layer 2 switching. This configuration is very basic and should be updated for your environment. The default settings are as follows:

The settings of the switch can be checked with the show running-config command. This command shows how the current configuration is different than the default configuration. This command can be very useful because the output is in script format. This output can be backed up or copied to another switch.

4.10.6 Port Ordering

The ports are ordered the same way as the ATCA channels. The ATCA specification allows for backplanes to be routed differently. This means that logical slots and physical slots often do not match.

The switch supports an abstraction layer that allows the port order to be changed. This allows vendors to match logical slots and physical slots independent of routing. Contact Sun if you would like a non-standard port order. Sun’s port ordering is shown in the following table for shelves with middle hub slots, that is, slots 7 and 8.


TABLE 4-7 Port Order List

Shelf Physical Slot

Base Port

Fabric Port

1

13

12

2

11

10

3

9

8

4

7

6

5

5

4

6

3

2

7

Netra CP3240

Netra CP3240

8

2

1

9

4

3

10

6

5

11

8

7

12

10

9

13

12

11

14

14

13

15

15

14

16

16

15

ShMC 1

1

none

ShMC 2 (if cross connect)

17

none




Note - If ports are ordered the same as the ATCA channels, Base and Fabric are always one number off. So, if a board is in slot 6, it is connected to Base channel 3 and Fabric channel 2.



4.11 Firmware Updates

All of the firmware listed in this section is field upgradeable. There is a single update image that supports the Base firmware, Fabric firmware, and IPMC firmware. This update image must be installed twice though, once on the Base and once on the Fabric. The IPMC update happens during a Base update. Each firmware can be updated independently without affecting other firmware, for example, FASTPATH can be updated without touching uBoot and Linux.

4.11.1 Firmware List

4.11.2 Firmware Upgrades

For up-to-date instructions on upgrading the firmware packages, refer to the following documentation:


4.12 Fiber Optic RTM Configuration

For the fiber optic RTM (XCP3240H-RTM-OP-Z) to work correctly, switch firmware 1.2.1.0 or newer is required. The following sections describe support and requirements for configuring the RTM.

4.12.1 Module Support

The Fiber Optic RTM was designed to work with any standard compliant SFP or SFP+ module.

4.12.2 Backplane Ports Versus RTM Optical Ports

The Sun Netra CP3240 switch’s backplane ports are capable of auto-negotiating between 1G and 10G speeds without any user input. However, the RTM optical ports must be explicitly configured without auto-negotiation for 1G operation. This requirement is due to the underlying technology used in 10G interfaces.

4.12.3 10G Configuration for RTM Optical Port

For 10G operation, an SFP+ module must be used and the port must be set to no auto-negotiate. For all 10G RTM ports, no auto-negotiate is the default setting.


CODE EXAMPLE 4-6 Enabling 10G Operation on RTM Optical Ports
configure
interface <0/xx>
no auto-negotiate
exit
exit

where <0/xx> is the port number of the RTM on Fabric. Valid entries are 0/17, 0/18, 0/19, and 0/20.

For each port on the RTM, enter the command.

4.12.4 1G Configuration for RTM Optical Port

For 1G operation, an SFP module must be used and the port (17-20) must be set to auto-negotiate. When you enable auto-negotiation, 1G operation is automatically enabled and 10G operation is automatically disabled.

For all 10G RTM optical ports no auto-negotiate is the default setting. Therefore, 1G operation must be explicitly enabled. Note that Base 10G port, 0/25 and 0/27 do not support 1G operation. The Fabric 10G RTM optical ports support both 1G and 10G operation.


CODE EXAMPLE 4-7 Enabling 1G Operation on RTM Optical Ports
configure
interface <port numbers/range in 0/20 format>
auto-negotiate
exit
exit

where <0/xx> is the port number of the RTM on Fabric. Valid entries are 0/17, 0/18, 0/19, and 0/20.

For each port on the RTM, enter the command.