System information setup

Use these M4500 CLI commands to view software and port information, manage users, set IP addresses, download firmware by TFTP, and restore factory defaults.

Table 1. Quick start up software version information
Command Details
show hardware

Allows the user to see the HW & SW version the device contains

System Description - switch's model name

show version

Allows the user to see serial number, part number, and model name

See SW loader, bootrom and operation version

See HW version

Table 2. Quick start up physical port
Command Details
show interfaces status [<slot/port>]

Displays the Ports slot/port

Type - Indicates if the port is a special type of port

Admin Mode - Selects the Port Control Administration State

Physical Mode - Selects the desired port speed and duplex mode

Physical Status - Indicates the port speed and duplex mode

Link Status - Indicates whether the link is up or down

Link Trap - Determines whether or not to send a trap when link status changes

LACP Mode - Displays whether LACP is enabled or disabled on this port

Flow Mode - Indicates the status of flow control on this port

Cap. Status - Indicates the port capabilities during auto-negotiation

Table 3. Quick start up user account management
Command Details
show users

Displays all users that are allowed to access the switch

User Access Mode - Shows whether the user is able to change parameters on the switch (Read/Write) or is only able to view (Read Only).

As a factory default, admin has Read/Write access and guest has Read Only access. There can only be one Read/Write user and up to 5 Read Only users.

show loginsession Displays all login session information
username <username> {passwd}

Allows the user to set passwords or change passwords needed to login

A prompt will appear after the command is entered requesting the old password. In the absence of an old password leave the area blank. The operator must press enter to execute the command.

The system then prompts the user for a new password then a prompt to confirm the new password. If the new password and the confirmed password match a message will be displayed.

copy running-config startup-config

This will save passwords and all other changes to the device.

If you do not save config, all configurations will be lost when a power cycle is performed on the switch or when the switch is reset.

Quick startup IP address

To view the network parameters the operator can access the device by the following three methods.

  • Simple Network Management Protocol - SNMP
  • Telnet via port 1223 for X86 system and via port 23 for other systems
  • SSH via port 1234 for X86 system and via port 22 for other systems
Table 4. Quick start up IP address
Command Details
show ip interface

Displays the Network Configurations

Interface Status – Indicates whether the interface is up or down.

IP Address - IP Address of the interface

Subnet Mask - IP Subnet Mask for the interface.

MAC Address - The MAC Address used for this in-band connectivity

Network Configurations Protocol Current - Indicates which network protocol is being used. Default is None.

ip address
CODE
(Config)#interface vlan 1
(if-vlan 1)#ip address <ipaddr> <subnet-mask>
(if-vlan 1)#exit
(Config)#ip default-gateway <gateway-addr>

IP Address range from 0.0.0.0 to 255.255.255.255

Subnet Mask range from 0.0.0.0 to 255.255.255.255

Gateway Address range from 0.0.0.0 to 255.255.255.255

Displays all of the login session information

show serviceport

Display the serviceport’s network configurations

Interface Status – Indicates whether the interface is up or down.

IP Address - IP Address of the interface. Default IP is 0.0.0.0

Subnet Mask - IP Subnet Mask for the interface. Default is 0.0.0.0

Default Gateway - The default Gateway for this interface. Default value is 0.0.0.0

Burned in MAC Address - The Burned in MAC Address used for out-of-band connectivity

Configured IPv4 Protocol - Indicates which network protocol is being used. Default is DHCP.

serviceport ip
CODE
(Config)#serviceport protocol none
(Config)#serviceport ip <ipaddr> <netmask> <gateway>
(Config)#

Quick startup downloading from TFTP server

Before starting a TFTP server download, the operator must complete the Quick Start up for the IPAddress.

Table 5. Quick start up downloading from TFTP server
Command Details
copy <url> startup-config <destfilename>

Sets the download datatype to be an image or config file.

The URL must be specified as: tftp://ipAddr/filepath/fileName.

The startup-config option downloads the config file using tftp and image option downloads the code file.

Table 6. Quick start up factory defaults
Command Details
clear config

Enter yes when the prompt pops up to clear all the configurations made to the switch.

You can also decide if the IP settings of service port be kept or not in this command.

copy running-config startup-config Enter yes when the prompt pops up that asks if you want to save the configurations made to the switch.
reload [warm]

Enter yes when the prompt pops up that asks if you want to reset the system.

You can reset the switch or cold boot the switch; both work effectively.

warm – indicates only switch application is restarted.