This product includes software developed by the University of California, Berkeley and its
contributors.
Copyright
All rights reserved.
This product includes software developed by the OpenSSL Project for use in the OpenSSL
Tool k it (http://www.openssl.org/).
Copyright
This product includes software licensed under the GNU General Public License available
from:
http://www.gnu.org/licenses/gpl2.html
Source code for all GPL licensed software in this product can be obtained from the
Allied Telesis GPL Code Download Center at:
http://www.alliedtelesis.com/support/default.aspx
Allied Telesis is committed to meeting the requirements of the open source licenses
including the GNU General Public License (GPL) and will make all required source code
available.
If you would like a copy of the GPL source code contained in Allied Telesis products, please
send us a request by registered mail including a check for US$15 to cover production and
shipping costs and a CD with the GPL code will be mailed to you.
This documentation is subject to change without notice. No part of this publication may
be reproduced, stored in a retrieval system, or transmitted in any form or any means
electronic or mechanical, including photocopying and recording for any purpose other
than the purchaser’s internal use without the written permission of Allied Telesis, Inc.
Allied Telesis, AlliedWare Plus, EPSRing, SwitchBlade, and VCStack are trademarks or
registered trademarks in the United States and elsewhere of Allied Telesis, Inc. Adobe,
Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries. Additional brands, names and
products mentioned herein may be trademarks of their respective companies.
Getting the most from this manual
Although you can view this document using Acrobat version 5, to get the best from this
manual, we recommend using Adobe Acrobat Reader version 8. You can download
Acrobat Reader 8 free from http://www.adobe.com/.
New features in this software version
For a list of new and enhanced features and commands in this version, see
Appendix B: Changes in Version 5.4.3 (with links to corresponding sections in this
Software Reference), or the Software Release Note for Version 5.4.3. Documentation can
be downloaded from the Support area of our website at
http://www.alliedtelesis.com. Note that to download software files, you need a valid
user account.
Software Reference for SwitchBlade® x908 and x900 Series Switches
iiAlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
How to Login.................................................................................................................................................................... 1.3
How to get Command Help........................................................................................................................................ 1.4
Viewing a List of Valid Parameters .................................................................................................................... 1.4
How to Work with Command Modes....................................................................................................................1.11
Entering Privileged Exec Commands When in a Configuration Mode .............................................. 1.14
How to See the Current Configuration................................................................................................................. 1.16
The Default Configuration Script............................................................................................................................1.18
How to Change the Password..................................................................................................................................1.19
How to Set Strong Passwords ..................................................................................................................................1.20
How to Set a Management IP Address ................................................................................................................. 1.22
How to Set an IP Address on VLAN 1..................................................................................................................... 1.23
How to Save and Boot from the Current Configuration.................................................................................1.24
How to Save to the Default Configuration File........................................................................................... 1.24
How to Create and Use a New Configuration File ..................................................................................... 1.24
How to Return to the Factory Defaults .................................................................................................................1.26
How to See System Information .............................................................................................................................1.27
Viewing Overall System Information..............................................................................................................1.27
Viewing Temperature, Voltage, and Fan Status ......................................................................................... 1.28
Viewing the Serial Number ................................................................................................................................1.28
How to Set System Parameters ...............................................................................................................................1.29
How to Change the Telnet Session Timeout ............................................................................................... 1.29
How to Name the Switch ....................................................................................................................................1.29
How to Display a Text Banner at Login..........................................................................................................1.30
How to Set the Time and Date................................................................................................................................. 1.32
How to Show Current Settings ......................................................................................................................... 1.32
How to Set the Time and Date..........................................................................................................................1.32
How to Set the Timezone ...................................................................................................................................1.33
How to Configure Summer-time .....................................................................................................................1.33
How to Add and Remove Users...............................................................................................................................1.34
How to Undo Settings.................................................................................................................................................1.37
How to Use the no Parameter ........................................................................................................................... 1.37
How to Use the default Parameter .................................................................................................................. 1.37
How to Upgrade the Firmware ................................................................................................................................1.38
Save Power With the Eco-Friendly Feature ......................................................................................................... 1.39
Trouble-shoot fiber and pluggable issues........................................................................................................... 1.40
Using the Find Me feature .........................................................................................................................................1.41
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.3iii
Page 4
Commands Available in each Mode ...................................................................................................................... 1.46
User Exec Mode ...................................................................................................................................................... 1.46
Global Configuration Mode ...............................................................................................................................1.48
AlliedWare Plus GUI .....................................................................................................................................................1.49
Chapter 2 Command Syntax Conventions in this Software Reference
Chapter 3 Start-up Sequence
AlliedWare Plus Start-up .............................................................................................................................................. 3.2
Working With Files ......................................................................................................................................................... 6.2
Displaying the contents of configuration and text files ............................................................................ 6.4
Navigating through the filesystem ................................................................................................................... 6.4
Using the editor........................................................................................................................................................ 6.6
Creating and Using Configuration Files ................................................................................................................. 6.8
Creating a configuration file ................................................................................................................................ 6.8
Specifying the start-up configuration script.................................................................................................. 6.8
Working with configuration files ....................................................................................................................... 6.9
The configuration file fallback order ..............................................................................................................6.10
Copying Files To and From Your Device .............................................................................................................. 6.12
Copying from a Server to Running Configuration.....................................................................................6.16
The Autoboot Feature ................................................................................................................................................6.18
Restoring a switch using Autoboot from external media....................................................................... 6.20
Logging to terminal ................................................................................................................................................ 9.2
Turning off debugging .......................................................................................................................................... 9.3
Physical Layer Information ........................................................................................................................................ 14.3
Switch Bay Provisioning ............................................................................................................................................. 14.7
Provisioning and Change Management .....................................................................................................14.10
Provisioning and Software Version Aspects ..............................................................................................14.11
The Layer 2 Switching Process...............................................................................................................................14.12
The Ingress Rules .................................................................................................................................................14.12
The Learning Process .........................................................................................................................................14.13
The Forwarding Process ....................................................................................................................................14.14
The Egress Rules...................................................................................................................................................14.14
Thrash Limiting.....................................................................................................................................................14.18
Support for Jumbo Frames .....................................................................................................................................14.19
Port Mirroring...............................................................................................................................................................14.20
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.3v
Page 6
Port Security .................................................................................................................................................................14.21
MAC Address Learn Limits................................................................................................................................14.21
Quality of Service ........................................................................................................................................................14.22
Private VLANs for trunked ports.....................................................................................................................16.17
Trunked port private VLAN configuration example................................................................................16.18
Protocol based VLAN configuration example...........................................................................................16.21
Overview of Spanning Trees.....................................................................................................................................18.2
Spanning tree operation.....................................................................................................................................18.2
Spanning tree modes...........................................................................................................................................18.4
Spanning Tree Protocol (STP)................................................................................................................................... 18.5
Software Reference for SwitchBlade® x908 and x900 Series Switches
viAlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 7
Chapter 20 Link Aggregation Introduction and Configuration
Introduction and Overview.......................................................................................................................................20.2
Static and Dynamic (LACP) Link Aggregation....................................................................................................20.3
Static Channel Groups .........................................................................................................................................20.3
Dynamic (LACP) Channel Groups ....................................................................................................................20.3
Link Aggregation Control Protocol (LACP)................................................................................................... 20.3
Configuring an LACP Channel Group.................................................................................................................... 20.5
Minimal LACP Group Configuration ............................................................................................................... 20.8
Configuring a Static Channel Group......................................................................................................................20.9
GVRP and Network Security...............................................................................................................................22.5
Enabling GVRP on the Switch............................................................................................................................ 22.5
Enabling GVRP on the Ports............................................................................................................................... 22.6
Setting the GVRP Timers .....................................................................................................................................22.6
Disabling GVRP on the Ports.............................................................................................................................. 22.7
Disabling GVRP on the Switch ..........................................................................................................................22.7
Configuring and validating GVRP ...........................................................................................................................22.8
Domain Name System (DNS)....................................................................................................................................24.8
Domain name parts ..............................................................................................................................................24.8
Server hierarchy .....................................................................................................................................................24.8
DNS Client ................................................................................................................................................................24.9
DNS Relay ...............................................................................................................................................................24.10
Router discovery process ..................................................................................................................................24.14
Checking IP Connections .........................................................................................................................................24.18
Software Reference for SwitchBlade® x908 and x900 Series Switches
IP Helper.........................................................................................................................................................................24.19
IP Directed Broadcast ................................................................................................................................................24.20
IPv6 Addresses and Prefixes .....................................................................................................................................26.3
Integration of IPv4 and IPv6 ............................................................................................................................26.10
IPv6 on your Switch ...................................................................................................................................................26.11
IPv6 RA Guard ..............................................................................................................................................................26.13
RA Guard Introduction.......................................................................................................................................26.13
Enabling IPv6 RA Guard.....................................................................................................................................26.13
6to4 tunnels operation and configuration summary............................................................................... 28.3
Example 6to4 configuration ..............................................................................................................................28.4
Types of Routes .............................................................................................................................................................31.2
RIB and FIB Routing Tables........................................................................................................................................31.4
Specifying the RIP Version......................................................................................................................................... 33.4
RIPv2 Text Authentication (Multiple Keys)..........................................................................................................33.8
Autonomous Systems ..........................................................................................................................................37.2
Adjacencies and Designated Routers............................................................................................................. 37.3
Link State Advertisements..................................................................................................................................37.4
OSPF States .............................................................................................................................................................. 37.5
Routing with OSPF ................................................................................................................................................ 37.6
Enabling OSPF on an Interface ................................................................................................................................ 37.9
Configuring an Area Border Router .....................................................................................................................37.13
Redistributing Routes Into OSPF...........................................................................................................................37.14
Autonomous Systems ..........................................................................................................................................39.4
Relationships Between Routers........................................................................................................................ 39.4
Link State Advertisements (LSAs) ....................................................................................................................39.9
OSPFv3 States .......................................................................................................................................................39.10
Example 1: Single-Area Network Configuration.......................................................................................39.18
Example 2: Two-Area Network Configuration ..........................................................................................39.25
Setting Up the Metrics .......................................................................................................................................39.27
Configuring OSPFv3 Authentication and Encryption ..................................................................................39.32
Configuring OSPFv3 Authentication on a VLAN ......................................................................................39.33
Configuring OSPFv3 Encryption on a VLAN...............................................................................................39.34
Configuring OSPFv3 Authentication in an OSPFv3 Area ......................................................................39.35
Configuring OSPFv3 Encryption in an OSPFv3 Area ...............................................................................39.36
Configuring OSPFv3 Authentication and Encryption for a Virtual Link ...........................................39.37
OSPFv3 Authentication in an OSPFv3 Area................................................................................................39.38
OSPFv3 Encryption in an OSPFv3 Area........................................................................................................39.40
OSPFv3 Authentication on a VLAN ...............................................................................................................39.42
OSPFv3 Encryption on a VLAN ........................................................................................................................39.44
OSPFv3 Authentication with two VLANs ....................................................................................................39.46
OSPFv3 Encryption with two VLANs.............................................................................................................39.48
OSPFv3 Authentication for a Virtual Link....................................................................................................39.50
OSPFv3 Encryption for a Virtual Link ............................................................................................................39.52
Software Reference for SwitchBlade® x908 and x900 Series Switches
xAlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Utilities Available within VRF-Lite.........................................................................................................................45.15
Utilities Unavailable within VRF-Lite....................................................................................................................45.16
Multicast groups .................................................................................................................................................... 47.3
Components in a multicast network .............................................................................................................. 47.3
How IGMP Snooping operates..........................................................................................................................48.5
IGMP Snooping and Querier configuration example ............................................................................... 48.6
How Query Solicitation Works ..........................................................................................................................48.8
Characteristics of PIM-SM .......................................................................................................................................... 50.2
Roles in PIM-SM .............................................................................................................................................................50.3
Operation of PIM-SM ................................................................................................................................................... 50.4
Characteristics of PIM-SSM......................................................................................................................................50.14
PIM-SSM IP Address Range ..............................................................................................................................50.14
IGMPv3 and SSM-Mapping ..............................................................................................................................50.14
How PIM-SSM Works ..........................................................................................................................................50.15
How IGMP SSM-Mapping Works....................................................................................................................50.16
Characteristics of PIM-SMv6 .....................................................................................................................................52.3
Roles in PIM-SMv6 ........................................................................................................................................................ 52.4
Operation of PIM-SMv6 .............................................................................................................................................. 52.6
Data Flow from Source to Receivers for PIM-SMv6.......................................................................................... 52.8
PIM-SMv6 Embedded RP, RP and BSR Candidate Configurations ............................................................52.10
Embedded RP Configuration...........................................................................................................................52.10
Verify Embedded RP Configuration..............................................................................................................52.12
RP and BSR Candidate Configuration...........................................................................................................52.13
Verify RP and RP Candidate Configuration.................................................................................................52.15
Software Reference for SwitchBlade® x908 and x900 Series Switches
xiiAlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Verify RP details ....................................................................................................................................................52.21
Characteristics of PIM-DM .........................................................................................................................................54.2
Hardware and Software ACL Types........................................................................................................................57.4
Defining Hardware MAC ACLs ..........................................................................................................................57.5
Defining Hardware IP ACLs ................................................................................................................................ 57.6
Actions for Hardware ACLs.................................................................................................................................57.7
Attaching hardware ACLs to interfaces.........................................................................................................57.7
Hardware ACLs and QoS classifications................................................................................................................57.8
Classifying Your Traffic.........................................................................................................................................57.8
QoS Packet Information ............................................................................................................................................. 62.3
Link Layer QoS ........................................................................................................................................................62.3
The Differential Services Field ...........................................................................................................................62.5
Applying QoS on Your Switch..................................................................................................................................62.7
Classifying your Data............................................................................................................................................ 62.7
Class Maps ................................................................................................................................................................ 62.7
Premarking Your Traffic............................................................................................................................................62.11
CoS to egress queue premarking ..................................................................................................................62.11
DSCP to egress queue premarking ...............................................................................................................62.13
Policing (Metering) Your Data................................................................................................................................62.16
Configuring and Applying a Policer..............................................................................................................62.19
Remarking Your Data ................................................................................................................................................62.20
Configuring the Egress Queues.............................................................................................................................62.22
Fabric queues - The Internal Paths ................................................................................................................62.22
Egress Queues and QoS markers ...................................................................................................................62.22
Software Reference for SwitchBlade® x908 and x900 Series Switches
xivAlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 15
Drop Mode .............................................................................................................................................................62.26
QoS and the Switching Fabric................................................................................................................................62.36
The 802.1X Implementation.....................................................................................................................................64.2
Configuring a Guest VLAN..................................................................................................................................66.3
Available functions and server types..............................................................................................................68.2
Server Groups and Method Lists ......................................................................................................................68.3
Chapter 74 Local RADIUS Server Introduction and Configuration
Local RADIUS Server Introduction..........................................................................................................................74.2
Enable the Local RADIUS Server....................................................................................................................... 74.2
Add the Local RADIUS Server as a RADIUS Server ..................................................................................... 74.3
Add authenticators to the list of authenticators........................................................................................ 74.3
Configure the Local RADIUS Server User Database .................................................................................. 74.4
RADIUS Authentication with User Privileges............................................................................................... 74.5
Creating certificates for single users and all users..................................................................................... 74.8
Defined RADIUS attributes list ................................................................................................................................. 74.9
Secure Shell on AlliedWare Plus.......................................................................................................................76.2
Configuring the SSH Server ......................................................................................................................................76.4
Creating a Host Key............................................................................................................................................... 76.4
Enabling the Server............................................................................................................................................... 76.4
Modifying the Server ............................................................................................................................................76.5
Validating the Server Configuration...............................................................................................................76.6
Adding a Login Banner........................................................................................................................................ 76.7
Monitoring the Server and Managing Sessions.......................................................................................... 76.8
Debugging the Server..........................................................................................................................................76.8
Configuring the SSH Client .......................................................................................................................................76.9
Modifying the Client............................................................................................................................................. 76.9
Authenticating with a Server...........................................................................................................................76.10
Connecting to a Server and Running Commands ...................................................................................76.11
Copying files to and from the Server............................................................................................................76.11
Debugging the Client ........................................................................................................................................76.11
Chapter 77 Secure Shell (SSH) Configuration
SSH Server Configuration Example........................................................................................................................77.2
MAC Address Verification ...................................................................................................................................79.8
Interactions with Other Features ............................................................................................................................79.9
Related Features ..................................................................................................................................................79.16
VRRP Configuration for IPv4 .....................................................................................................................................81.4
VRRP election and preempt for IPv4............................................................................................................... 81.6
VRRP Configuration for IPv6 .....................................................................................................................................81.8
VRRP election and preempt for IPv6.............................................................................................................81.11
Ring Components and Operation ..........................................................................................................................83.2
Fault Detection and Recovery..................................................................................................................................83.4
Restoring Normal Operation .............................................................................................................................83.6
Managing Rings with Two Breaks....................................................................................................................83.7
Recovery When One Break is Restored.......................................................................................................... 83.9
Configuring a Basic Superloop Protected Two Ring EPSR Network..................................................83.22
Sample Show Output .........................................................................................................................................83.37
Adding a new data VLAN to a functioning superloop topology........................................................83.40
EPSR and Spanning Tree Operation..............................................................................................................83.43
NTP on the Switch ........................................................................................................................................................ 85.3
Configuring the DHCP Server................................................................................................................................... 87.3
Create the Pool .......................................................................................................................................................87.4
Define the Network............................................................................................................................................... 87.4
Define the Range ................................................................................................................................................... 87.5
Set the Lease ...........................................................................................................................................................87.5
Set the Options.......................................................................................................................................................87.7
Configuring the DHCP Relay Agent ................................................................................................................87.9
DHCP Relay Agent Information Option (Option 82) ...............................................................................87.10
DHCPv6 Relay Agent Notification for DHCPv6 PD...................................................................................87.13
Configuring the DHCP Client..................................................................................................................................87.14
DHCPv6 for IPv6 .....................................................................................................................................................89.3
DHCPv6 Client and Server Identification ...........................................................................................................89.13
DHCPv6 Server and Client Functionality............................................................................................................89.14
DHCPv6 Server Functionality ..........................................................................................................................89.14
Structure of Management Information ................................................................................................................ 91.4
Status ......................................................................................................................................................................... 91.7
The SNMP Protocol ......................................................................................................................................................91.8
Polling versus Event Notification.....................................................................................................................91.9
Message Format for SNMPv1 and SNMPv2c..............................................................................................91.10
SNMP Communities (Version v1 and v2c) ..................................................................................................91.11
SNMPv1 and SNMPv2c .............................................................................................................................................91.13
SNMP MIB Views for SNMPv1 and SNMPv2c .............................................................................................91.13
SNMP MIB Views for SNMPv3 ..........................................................................................................................91.19
SNMP Groups ........................................................................................................................................................91.19
Configuration Example (SNMPv3).................................................................................................................91.20
Using SNMP to Manage Files and Software......................................................................................................91.21
Copy a File to or from a TFTP Server .............................................................................................................91.21
Upgrade Software and Configuration Files................................................................................................91.23
About MIBs...............................................................................................................................................................93.2
About SNMP ............................................................................................................................................................ 93.2
Public MIBs....................................................................................................................................................................93.65
Link Layer Discovery Protocol..................................................................................................................................94.2
Transmission and Reception ....................................................................................................................................94.8
Storing LLDP Information ........................................................................................................................................94.10
Configuring a Trigger ..................................................................................................................................................99.2
Restrict Internet Access ............................................................................................................................................100.2
Capture Unusual CPU and RAM Activity ............................................................................................................100.4
See Daily Statistics......................................................................................................................................................100.6
Turn Off Power to Port LEDs ...................................................................................................................................100.7
Reduce Power Supplied to Ports...........................................................................................................................100.9
Capture Show Output and Save to an SD Card ............................................................................................100.11
Load a Release File From an SD Card ...............................................................................................................100.12
How Ping Polling Works ...........................................................................................................................................102.2
Creating a Polling Instance ..............................................................................................................................102.4
Customizing a Polling Instance ......................................................................................................................102.5
Interaction with Other Protocols ..........................................................................................................................102.7
The sFlow Agent .........................................................................................................................................................104.3
The sFlow Collector....................................................................................................................................................104.5
Configuring sFlow on your Switch.......................................................................................................................104.6
The sFlow MIB ........................................................................................................................................................... 104.14
Features of Virtual Chassis Stacking .............................................................................................................106.2
The Physical Stack ...............................................................................................................................................106.3
Two Switch Stack Configuration....................................................................................................................106.3
The Role of the Stack Master ...........................................................................................................................106.8
Stack Member Failure and Recovery ................................................................................................................106.13
Fixed or Virtual MAC Addressing ................................................................................................................ 106.13
Stack Resiliency Link ........................................................................................................................................ 106.14
Stack Separation and Recovery ...................................................................................................................106.16
Installing the GUI and setting the switch...............................................................................................................C.4
System Requirements ............................................................................................................................................ C.4
Installing the GUI to your switch using an SD card ..................................................................................... C.4
Installing the GUI to your switch via TFTP server ......................................................................................... C.5
Setting up your switch and logging into the GUI ........................................................................................ C.6
Using the GUI ................................................................................................................................................................... C.9
System > Status > System Details....................................................................................................................C.11
System > Status > System Date and Time ....................................................................................................C.11
System > Status > Top Ten Utilised Ports .....................................................................................................C.12
System > File Management > Upload File....................................................................................................C.20
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.3xxiii
Page 24
System > File Management > Download File .............................................................................................C.21
System > File Management > Copy File........................................................................................................C.22
System > File Management > Move File.......................................................................................................C.22
System > File Management > Delete File .....................................................................................................C.23
System > File Management > Delete Folder ...............................................................................................C.23
System > Stacking > Configure Stacking......................................................................................................C.27
System > Stacking > Configure Stack Member ..........................................................................................C.28
System > License Management > Add Feature License..........................................................................C.30
System > License Management > Delete Feature License.....................................................................C.31
Switching > Ports > Monitor Port ....................................................................................................................C.35
Switching > Ports > Configure Port ................................................................................................................C.36
IP > IP Interfaces > Configure Primary IP Address .....................................................................................C.48
IP > IP Interfaces > Add Secondary IP Address ...........................................................................................C.49
IP > Static Routes > Add Static Route.............................................................................................................C.51
IP > DNS > Add DNS Server................................................................................................................................C.55
IP > IGMP Snooping > Configure Interface ..................................................................................................C.57
Management > NTP > Add NTP Association ...............................................................................................C.65
B ............................................................................................................................................................................................D.5
C ............................................................................................................................................................................................D.7
P ......................................................................................................................................................................................... D.22
R ......................................................................................................................................................................................... D.25
V ......................................................................................................................................................................................... D.33
X .........................................................................................................................................................................................D.35
Software Reference for SwitchBlade® x908 and x900 Series Switches
xxivAlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 25
Part 1: Setting up the Switch
■Chapter 1Getting Started
■Chapter 2Command Syntax Conventions in this Software
How to Login .........................................................................................................................................1.3
How to get Command Help .............................................................................................................1.4
Viewing a List of Valid Parameters..........................................................................................1.4
Global Configuration Mode ................................................................................................... 1.48
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.1
Page 28
Getting Started
AlliedWare Plus GUI.......................................................................................................................... 1.49
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.2AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 29
Introduction
Getting Started
This chapter introduces a number of commonly-used management features of the
AlliedWare Plus
TM
Operating System (OS).
How to Login
Step 1: Set the console baud rate
The default baud rate is 9600.
By default the AlliedWare Plus
port. This means that the terminal size is 80 columns by 24 rows.
Step 2: Login with manager/friend
The defaults are:
username: manager
password: friend
The switch logs you into User Exec mode. From User Exec mode, you can perform highlevel diagnostics (some show commands, ping, traceroute etc), start sessions (Telnet, SSH),
and change mode.
TM
OS supports VT100 compatible terminals on the console
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.3
Page 30
Getting Started
Abbreviations
Command
How to get Command Help
The following kinds of command help are available:
■lists of valid parameters with brief descriptions (the ? key)
■completion of keywords (the Tab key)
■error messages for incomplete or incorrect syntax
The AlliedWare Plus
example, the show interface command can be entered in the abbreviated form shown
below:
configure terminal24
awplus(config)#
TM
CLI contains a number of abbreviations for its commands. For
awplus#
sh in vlan100
awplus#
router rip24
sh in vlan100
Enter the Global Configuration mode.
Define a RIP routing process and enter the Router
Configuration mode.
awplus(config-router)#
network 10.10.11.0/24
awplus(config-router)#
network 10.10.12.0/24
Associate networks with the RIP process
Associate networks with the RIP process
Viewing a List of Valid Parameters
To get syntax help, type ? (i.e. “space question mark”) after:
■the prompt. This will list all commands available in the mode you are in.
■one or more parameters. This will list parameters that can come next in the partial
command.
■one or more letters of a parameter. This will list matching parameters.
Note
The AlliedWare PlusTM OS only displays one screenful of text at a time, with the
prompt “--More--” at the end of each screenful. Press the space bar to display
the next screenful or the Q key to return to the command prompt.
ExampleTo see which commands are available in Privileged Exec mode, enter “?” at the Privileged
Exec mode command prompt:
awplus#
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.4AlliedWare Plus
?
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 31
This results in the following output:
Figure 1-1: Example output from the ? command
Exec commands:
activate Activate a script
cd Change the current working directory
clear Reset functions
clock Manage clock
configure Enter configuration mode
copy Copy from one file to another
debug Debugging functions (see also 'undebug')
delete Delete a file
dir List the files on a filesystem
disable Turn off privileged mode command
dot1x IEEE 802.1X Port-Based Access Control
echo Echo a string
edit Text Editor
enable Turn on privileged mode command
erase Erase the system startup configuration
exit End current mode and down to previous mode
help Description of the interactive help system
license Activate software feature license
logout Exit from the EXEC
mail Send an email
mkdir Make a new directory
move Rename or move a file
mstat Show statistics after multiple multicast
traceroutes
mtrace Trace multicast path from source to destination
no Negate a command or set its defaults
ping Send echo messages
platform Execute built-in self-tests
pwd Print the current working directory
quit Exit current mode and down to previous mode
reboot Halt and perform a cold restart
reload Halt and perform a cold restart
remote-command Remote stack member command execution
restart Restart routing protocol
rmdir Remove a directory
rmon Debugging functions (see also 'undebug')
show Show running system information
ssh Open an SSH connection
tcpdump Execute tcpdump
telnet Open a telnet connection
terminal Set terminal line parameters
test Test device functionality
traceroute Trace route to destination
trigger Automatic scripted responses to device events
undebug Disable debugging functions (see also 'debug')
wait Wait for a specified number of seconds
write Write running configuration to memory, file or
terminal
Getting Started
ExampleTo see which commands are available in Configuration mode, enter “?” at the Config mode
command prompt:.
awplus#
awplus(config)#
configure terminal
?
This results in the following output:
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.5
Page 32
Getting Started
Figure 1-2: Example output from the ? command
Configure commands:
aaa Authentication,Authorization and Accounting
access-list Add an access list entry
arp Address Resolution Protocol (ARP)
auth-web-server Web authentication server configuration
commands
banner Define a login banner
bgp Border Gateway Protocol (BGP)
boot Boot configuration
class-map Class map command
clock Manage clock
crypto Security Specific Commands
cvlan Configure C-VLAN parameters
debug Debugging functions (see also 'undebug')
default Restore default settings
do To run exec commands in config mode
dot1x IEEE 802.1X Port-Based Access Control
enable Modify enable password parameters
epsr Ethernet Protection Switching Ring (EPSR)
exception Configure exception settings
exit End current mode and down to previous mode
fib FIB information
help Description of the interactive help system
hostname Set system's network name
interface Select an interface to configure
ip Internet Protocol (IP)
ipv6 Internet Protocol version 6 (IPv6)
key Authentication key management
lacp LACP commands
line Configure a terminal line
log Logging control
loop-protection Loop Protection
mac mac address
mail Send an email
max-fib-routes Set maximum fib routes number
max-static-routes Set maximum static routes number
maximum-access-list Maximum access-list entries
maximum-paths Set multipath numbers installed to FIB
mls Multi-Layer Switch(L2/L3)
no Negate a command or set its defaults
ntp Configure NTP
ospf Open Shortest Path First (OSPF)
ping-poll Ping Polling
platform Configure global settings for the switch
asic
policy-map Policy map command
radius-server Radius server
remote-command Remote stack member command execution
rip Routing Information Protocol (RIP)
rmon Remote Monitoring Protocol (RMON)
route-map Create route-map or enter route-map command
mode
router Enable a routing process
router-id Router identifier for this system
service Modify use of network based services
show Show running system information
snmp-server Enable the snmp agent
spanning-tree Spanning tree commands
ssh Secure Shell
stack Manage VCS feature
system System properties
telnet Configure telnet
trigger Automatic scripted responses to device
events
undebug Disable debugging functions (see also
'debug')
username Establish User Name Authentication
virtual-server Virtual-server configuration
vlan Configure VLAN parameters
vrrp VRRP configuration
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.6AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 33
Getting Started
ExampleTo see which show commands that start with “i” are available in Privileged Exec mode,
enter “?” after show i:
awplus#
show i?
This results in the following output:
Figure 1-3: Example output from the show i? command
interface Select an interface to configure
ip Internet Protoc6ol (IP)
ipv6 Internet Protocol version 6 (IPv6)
ExamplesTo use the ? help to work out the syntax for the clock timezone command, enter the
following sequence of commands:
awplus(config)#
summer-time Manage summer-time
timezone Set clock timezone
clock ?
awplus(config)#
clock timezone ?
TIMEZONE Timezone name, up to 5 characters
awplus(config)#
clock timezone NZST ?
minus negative offset
plus positive offset
awplus(config)#
clock timezone NZST plus ?
<0-12> Time zone offset to UTC
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.7
Page 34
Getting Started
awplus(config)#
The above example demonstrates that the ? help only indicates what you can type next.
For commands that have a series of parameters, like clock timezone, the ? help does not
make the number of parameters obvious.
clock timezone NZST plus 12
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.8AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 35
Completing Keywords
To complete keywords, type the Tab key after part of the command.
Getting Started
If only one keyword matches the partial command, the AlliedWare Plus
TM
OS fills in that
keyword. If multiple keywords match, it lists them.
ExamplesIn this example we use Tab completion in successive steps to build the complete
command show ip dhcp server summary. We have included “<Tab>” to show where to
type the Tab key - this is not displayed on screen.
awplus#
show ip <Tab>
Figure 1-4: Example output after entering the command, show ip <Tab>
Figure 1-5: Example output after entering the command, show ip d<Tab>
dhcp dhcp-relay domain-list domain-name
awplus#
show ip dhcp <Tab>
Figure 1-6: Example output from the show ip dhcp <Tab> command
binding pool server
awplus#
show ip dhcp server s<Tab>
Figure 1-7: Example output from the show ip dhcp s<Tab> command
statistics summary
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.9
Page 36
Getting Started
Viewing Command Error Messages
The switch displays the following generic error messages about command input:
% Incomplete command—this message indicates that the command requires more
parameters. Use the ? help to find out what other parameters are available.
awplus#
% Incomplete command.
% Invalid input detected at '^' marker—this indicates that the switch could not process
the command you entered. The switch also prints the command and marks the first invalid
character by putting a '^' under it. Note that you may get this error if you enter a
command in the wrong mode, as the following output shows.
awplus#
interface port1.0.1
^
% Invalid input detected at '^' marker.
interface
interface port1.0.1
% Unrecognized command—when you try to use ? help and get this message, it
indicates that the switch can not provide help on the command because it does not
recognize it. This means the command does not exist, or that you have entered it in the
wrong mode, as the following output shows.
awplus#
% Unrecognized command
Note
The AlliedWare PlusTM OS does not tell you when commands are successful. If it
does not display an error message, you can assume the command was successful.
interface ?
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.10AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 37
Getting Started
How to Work with Command Modes
The following figure shows the command mode hierarchy and the commands you use to
move to lower-level modes.
Multiple users can telnet and issue commands using the User Exec mode and the
Privileged Exec mode. However, only one user is allowed to use the Configure mode at a
time. This prevents multiple users from issuing configuration commands simultaneously.
TM
Figure 1-8: AlliedWare Plus
CLI modes
AlliedWare Plus CLI modes
interface
[interface name]
Interface
mode
Configuration
sub-modes
User
Exec mode
enable
Privileged
Exec mode
configure terminal
Global
mode
Other
Command mode
Command used to
enter the next
command mode
router [routing
protocol ]
Router
mode
User Exec modeUser Exec mode is the mode you log into on the switch.
It lets you perform high-level diagnostics (show commands, ping, traceroute etc), start
sessions (Telnet, SSH), and change mode.
The default User Exec mode prompt is awplus>.
Privileged Exec
mode
To change from User Exec to Privileged Exec mode, enter the command:
awplus>
enable
Privileged Exec mode is the main mode for monitoring—for example, running show
commands and debugging. From Privileged Exec mode, you can do all the commands
from User Exec mode plus many system commands.
The default Privileged Exec mode prompt is awplus#.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.11
Page 38
Getting Started
Global
To change from Privileged Exec to Global Configuration mode, enter the command:
Configuration
mode
awplus#
configure terminal
From Global Configuration mode, you can configure most aspects of the switch.
The default Global Configuration mode prompt is awplus(config)#.
Lower-level
configuration
A number of features are configured by entering a lower-level mode from Global
Configuration mode. The following table lists these features.
modes
Table 1-1: Features configured using the lower level modes
ModeWhat it configuresCommandDefault prompt
InterfaceSwitch ports, VLANs, the
interface <name>
awplus(config-if)#
management Eth port.
Class mapQoS classes, which isolate and
class-map <name>
awplus(config-cmap)#
name specific traffic flows (classes)
from all other traffic.
EPSREthernet Protection Switching Ring,
epsr configuration
awplus(config-epsr)#
a loop protection mechanism with
extremely fast convergence times.
LineConsole port settings or virtual
terminal settings for telnet.
Ping pollPing polling, which checks whether
line console 0
line vty number
ping-poll <number>
awplus(config-line)#
awplus(config-ping-poll)#
specified devices are reachable or
not.
Policy mapQoS policies, a collection of user-
policy-map <name>
awplus(config-pmap)#
defined QoS classes and the default
class.
Policy map
class
The QoS actions to take on a classmap, and which class-maps to
associate with a QoS policy.
(in Policy map
mode)
class <name>
awplus(config-pmap-c)#
This mode is a sub-mode of Policy
map mode.
Route mapRoute maps, which select routes to
include or exclude from the
switch’s routing table and/or route
route-map name
deny|permit
<entry-number>
awplus(config-route-map)#
advertisements.
RouterRouting using BGP, IP, IPv6, OSPF,
RIP, or VRRP.
router <protocol
other-parameters>
MSTMultiple Spanning Tree Protocol.spanning-tree mst
awplus(config-router)#
awplus(config-mst)#
configuration
TriggerTriggers, which run configuration
trigger <number>
awplus(config-trigger)#
scripts in response to events.
VLAN
VLANs.vlan database
awplus(config-vlan)#
database
Some protocols have commands in both Global Configuration mode and lower-level
configuration modes. For example, to configure MSTP, you use:
■Global Configuration mode to select MSTP as the spanning tree mode
■MST mode to create instances and specify other MSTP settings
■Interface Configuration mode to associate the instances with the appropriate ports.
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.12AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 39
Getting Started
AlliedWare Plus CLI modes - returning to higher-level modes
User
Exec mode
Privileged
Exec mode
Router
mode
Interface
mode
mode
disable
Command used to
return to this
command mode
Command mode
exit
Other
sub-modes
exit
exit
exit
end
or Ctrl+Z
or Ctrl+C
Global
Configuration
Returning to
higher-level
modes
The following figure shows the commands to use to move from a lower-level mode to a
higher-level mode.
Figure 1-9: Returning to higher-level modes
ExamplesTo go from Interface Configuration to Global Configuration mode:
awplus(config-if)#
awplus(config)#
To go from Interface Configuration to Privileged Exec mode:
awplus(config-if)#
awplus#
exit
end
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.13
Page 40
Getting Started
To go from Privileged Exec to User Exec:
awplus#
awplus>
exit
Entering Privileged Exec Commands When in a
Configuration Mode
As you configure the switch you will be constantly entering various show commands to
confirm your configuration. This requires constantly changing between configuration
modes and Privileged Exec mode.
However, you can run Privileged Exec commands without changing mode, by using the
command:
do <command you want to run>
You cannot use the ? help to find out command syntax when using the do command.
ExampleTo display information about the IP interfaces when in Global Configuration mode, enter
the command:
This results in the following output:
awplus(config)#
Figure 1-10: Example output after entering the command, do show ip int brief
Interface IP-Address Status Protocol
vlan1 unassigned admin up running
vlan2 unassigned admin up running
Main Command
Modes Summary
Table 1-2: Main command modes and modal prompts
Present ModePrompt Command New Mode
User Exec
Privileged Exec
Global Configuration
Global Configuration
The table below lists the main command modes, how to access each mode, the prompt for
each command mode. From any mode, use exit to move up a mode, or end to move to
the Privileged Exec mode.
awplus>
awplus#
awplus(config)#
awplus(config)#
do show ip int brief
enable
configure terminal
vlan database
line vt <line-number>
Privileged Exec
Global Configuration
VLAN Configuration
Line Configuration
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.14AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 41
Getting Started
Sub-modes
Summary
The table below lists the sub-modes, how to access each mode, the prompt for each
command mode, and how to exit that mode. Prompts listed use the default awplus.
Table 1-3: Sub-modes, prompt for each sub-mode, how to access each sub-mode, and how to exit each
sub-mode
Prompt and Command
Mode
Ping Poll
Configuration
Route Map
Configuration
Router
Configuration
ExamplesHow to Enter ModeHow to Exit Mode
awplus#configure
terminal
awplus(config)#ping-poll
awplus(config-ping-poll)#
awplus#configure
terminal
awplus(config)#route-map
route1 permit 1
awplus(config-route-map)#
awplus#configure
terminal
awplus(config)#router rip
awplus(config-router)#
Use the ping-poll
command available
from the Global
Configuration mode.
Use the route-map
command available
from the Global
Configuration mode.
Use one of the
following commands
available from the
Global Configuration
mode:
■ router rip
■ router ipv6 rip
■ router ospf
■ router bgp
■ router vrrp
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
(interface)
MST (Multiple
Spanning Tree)
Configuration
Trigger
Configuration
EPSR
Configuration
Class Map
Configuration
(QoS)
awplus#configure
terminal
awplus(config)#spanning-
tree mst configuration
awplus(config-mst)#
awplus#configure
terminal
awplus(config)#trigger 1
awplus(config-trigger)#
awplus#configure
terminal
awplus(config)#epsr
configuration
awplus(config-epsr)#
awplus#configure
terminal
awplus(config)#class map
cmap1
awplus(config-cmap)#
Use the spanning-
tree mst
configuration
command available
from the Global
Configuration mode.
Use the trigger
command from
Global Configuration
mode.
Use the epsr
configuration
command available
from the Global
Configuration mode.
Use the class-map
command available
from the Global
Configuration mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.15
Page 42
Getting Started
Table 1-3: Sub-modes, prompt for each sub-mode, how to access each sub-mode, and how to exit each
sub-mode
Prompt and Command
Mode
Policy Map
Configuration
(QoS)
Policy Map
Class
Configuration
(QoS)
ExamplesHow to Enter ModeHow to Exit Mode
awplus#configure
terminal
awplus(config)#policy-map
pmap1
awplus(config-pmap)#
awplus#configure
terminal
awplus(config)#policy-map
pmap1
awplus(config-pmap)#class
cmap1
awplus(config-pmap-c)#
Use the policy-map
command available
from the Global
Configuration mode.
Use the class
command available
from the Policy map
mode.
Use the exit command to return
to the Global Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
Use the exit command to return
to the Policy Map Configuration
mode.
Use the end command to return
to the Privileged Exec mode.
How to See the Current Configuration
The current configuration is called the running-config. To see it, enter the following
command in either Privileged Exec mode or any configuration mode:
awplus#
To see only part of the current configuration, enter the command:
awplus#
This displays only the lines that contain word.
To start the display at a particular place, enter the command:
awplus#
This searches the running-config for the first instance of word and begins the display with
that line.
Note
The show running-config command works in all modes except User Exec
mode.
show running-config
show running-config|include <word>
show running-config |begin <word>
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.16AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 43
Getting Started
Default Settings
When the switch first starts up with the AlliedWare PlusTM OS, it applies default settings
and copies these defaults dynamically into its running-config.
TM
These default settings mean that the AlliedWare Plus
■encrypts passwords, such as user passwords
■records log message priority in log messages
■turns on jumbo frame support for all ports
■turns on the telnet server so that you can telnet to the switch
■enables the switch to look up domain names (but for domain name lookups to work,
you have to configure a DNS server)
■turns off L3 multicast packet switching in the switch’s hardware. This prevents L3
multicast from flooding the switch’s CPU in its default state as an L2 switch
■sets the maximum number of ECMP routes to 8
■turns on RSTP on all ports. Note that the ports are not set to be edge ports
OS:
■sets all the switch ports to access mode. This means they are untagged ports, suitable
for connecting to hosts
■creates VLAN 1and adds all the switch ports to it
■allows logins on the serial console port
■allows logins on VTY sessions (for telnet etc)
■has switching enabled, so Layer 2 traffic is forwarded appropriately without further
configuration
■allocates all the routing table memory space to IPv4 and IPv6 routes
■has ports set to autonegotiate their speed and duplex mode
■has copper ports set to auto MDI/MDI-X mode
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.17
Page 44
Getting Started
The Default Configuration Script
Most of the above default settings are in the form of commands, which the switch copies
to its running-config when it first boots up.
The switch stores a copy of the default configuration commands in the file, default.cfg
and uses this as its default start-up file.
For more information about start-up files, see “How to Save and Boot from the Current
Configuration” on page 1.24.
The following table shows the contents of the default file.
line con 0A heading for any configuration settings for
line vty 0 32
!
end
Forces passwords in the script to be
encrypted.
Specifies the password for the manager user
Turns on the telnet server.
Allows domain name lookups.
Turns off L3 multicast packet switching in
the switch hardware.
Turns on RSTP.
A heading for any configuration settings for
the management eth0 port. There are no
eth0 settings.
Sets each switch port to access mode.
Creates VLAN 1.
the console port. There are no console
port settings.
A heading for any configuration settings for
VTY sessions. There are no VTY session
settings.
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.18AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 45
Getting Started
How to Change the Password
To change the password for the manager account, enter Global Configuration mode and
enter the following command:
awplus(config)#
The password can be up to 23 characters in length and include characters from up to four
categories. The password categories are:
■uppercase letters: A to Z
■lowercase letters: a to z
■digits: 0 to 9
■special symbols: all printable ASCII characters not included in the previous three
categories.The question mark ? cannot be used as it is reserved for help functionality.
username manager password <new-password>
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.19
Page 46
Getting Started
How to Set Strong Passwords
The password security rules are disabled by default. To set password security rules for
users with administrative rights, or privilege level 15, enter Global Configuration mode.
You can then either specify whether the user is forced to change an expired password at
the next login, or specify whether the user is not allowed to login with an expired
password. You will need to specify a password lifetime greater than 0 before selecting
either of these features. Note that the security-password forced-change and the security-password reject-expired-pwd commands cannot be enabled concurrently.
Password lifetimeEnter the following command to specify the password lifetime in days:
Password forced
change
Reject expired
password
awplus(config)#
Note that the value 0 will disable lifetime functionality and passwords will never expire. If
lifetime functionality is disabled, the security-password forced-change command and
the security-password warning command are also disabled.
To specify that a user is forced to change an expired password at the next login, enter the
following command:
awplus(config)#
If the security-password forced-change command is enabled, users with expired
passwords are forced to change to a password that must comply with the current
password security rules at the next login.
To specify that a user is not allowed to login with an expired password, enter the following
command:
awplus(config)#
If the security-password reject-expired-pwd command is enabled, users with expired
passwords are rejected at login. Users then have to contact the Network Administrator to
change their password.
security-password lifetime <0-1000>
security-password forced-change
security-password reject-expired-pwd
Caution
Use other password security rules to further configure password security settings.
Password warningTo specify the number of days before the password expires that the user will receive a
warning message specifying the remaining lifetime of the password, enter the command:
The value 0 will disable warning functionality and the warning period must be less than,
or equal to, the password lifetime.
1.20AlliedWare Plus
Once all users’ passwords are expired you are unable to login to the device
again if the security-password reject-expired-pwd command has been
executed. You will have to reboot the device with a default configuration
file, or load an earlier software version that does not have the security
password feature.
We recommend you never have the command line “security-password
reject-expired-pwd” in a default config file.
awplus(config)#
Software Reference for SwitchBlade® x908 and x900 Series Switches
security-password warning <0-1000>
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 47
Getting Started
Password historyTo specify the number of previous passwords that are unable to be reused enter the
command:
Password minimum
length
Password minimum
categories
awplus(config)#
security-password history <0-15>
The value 0 will disable history functionality. If history functionality is disabled, all users’
password history is reset and all password history is lost. A new password is invalid if it
matches a password retained in the password history.
To specify the minimum allowable password length, enter the command:
awplus(config)#
security-password minimum-length <1-23>
To specify the minimum number of categories that the password must contain in order to
be considered valid, enter the command:
awplus(config)#
security-password minimum-categories <1-4>
The password categories are:
■uppercase letters: A to Z
■lowercase letters: a to z
■digits: 0 to 9
■special symbols: all printable ASCII characters not included in the previous three
categories. The question mark ? cannot be used as it is reserved for help functionality
Display security
password settings
To ensure password security, the minimum number of categories should align with the
lifetime selected, i.e. the fewer categories specified the shorter the lifetime specified.
How to add a user is described in “How to Add and Remove Users” on page 1.34.
To list the configuration settings for the various security password rules, enter the
command:
awplus(config)#
show security-password configuration
To list users remaining lifetime or last password change, enter the command:
awplus(config)#
show security-password user
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.21
Page 48
Getting Started
How to Set a Management IP Address
This section describes how to set an IP address on the eth0 management port.
Step 1: If desired, check the current configuration
After logging in, enter Privileged Exec mode by using the command:
awplus#
awplus>enable
Then check the current configuration by using one of the following commands:
awplus#
This results in the following output:
Interface IP-Address Status Protocol
eth0 172.28.8.200 admin up running
awplus#
enable
show ip interface eth0 brief
show running-config interface eth0
This results in the following output:
!
interface eth0
ip address 172.28.8.200/16
!
Step 2: Enter Interface Configuration mode for the eth0 interface
Enter Global Configuration mode and enter the command:
awplus(config)#
Step 3: Enter the IP address and mask
Enter the command:
awplus(config-if)#
For example, to set the address to 172.28.8.210/16, enter the command:
awplus(config-if)#
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.22AlliedWare Plus
interface eth0
ip address <address/mask>
ip address 172.28.8.210/16
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 49
How to Set an IP Address on VLAN 1
This section describes how to set an IP address on the default VLAN (vlan1).
Step 1: If desired, check the current configuration
After logging in, enter Privileged Exec mode by using the command:
Getting Started
awplus#
Then check the current configuration by using one of the following commands:
awplus#
This results in the following output:
Interface IP-Address Status Protocol
vlan1 172.28.8.200 admin up running
awplus#
This results in the following output:
enable
show ip interface vlan1 brief
show running-config interface vlan1
!
interface vlan1
ip address 172.28.8.200/16
!
Step 2: Enter Interface Configuration mode for the vlan1 interface
Enter Global Configuration mode and enter the command:
awplus(config)#
interface vlan1
Step 3: Enter the IP address and mask
Enter the command:
awplus(config-if)#
For example, to set the address to 172.28.8.210/16, enter the command:
awplus(config-if)#
ip address <address/mask>
ip address 172.28.8.210/16
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.23
Page 50
Getting Started
How to Save and Boot from the Current
Configuration
This section tells you how to save your configuration and run the saved configuration
when the switch starts up.
You can either:
■save the configuration to the switch’s default configuration file (called “default.cfg”).
By default, the switch uses that file at start-up.
■create a new configuration file and set the switch to use the new configuration file at
start-up.
How to Save to the Default Configuration File
Enter Privileged Exec mode and enter the command:
awplus#
The parameter startup-config is a short-cut for the current boot configuration file, which
will be the default configuration file unless you have changed it, as described in the next
section.
copy running-config startup-config
How to Create and Use a New Configuration File
Step 1: Copy the current configuration to a new file
Enter Privileged Exec mode and enter the command:
awplus#
ExampleTo save the current configuration in a file called example.cfg, enter the command
awplus#
Step 2: Set the switch to use the new file at startup
To run the new file’s configuration when the switch starts up, enter Global Configuration
mode and enter the command:
copy running-config <destination-url>
copy running-config example.cfg
awplus(config)#
Note that you can set the switch to use a configuration file on a SD card if you have saved
the configuration file to a card. You can only specify that the configuration file is on a SD
card if there is a backup configuration file already specified in Flash.
To set a backup configuration file to load if the main configuration file cannot be loaded,
enter the command:
awplus(config)#
For an explanation of the configuration fallback order, see “The configuration file
fallback order” on page 6.10.
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.24AlliedWare Plus
boot config-file <filepath-filename>
boot config-file backup <filepath-filename>
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 51
ExampleTo ru n the commands i n example.cfg on startup, enter the command:
Getting Started
awplus(config)#
boot config-file flash:/example.cfg
To se t backup.cfg as the backup to the main configuration file, enter the command:
awplus(config)#
boot config-file backup flash:/backup.cfg
Step 3: Display the new settings
To see the files that the switch uses at startup, enter Privileged Exec mode and enter the
command:
Step 4: Continue updating the file when you change the configuration
When you next want to save the current configuration, enter Privileged Exec mode and
enter the command:
awplus#
The parameter startup-config is a short-cut for the current boot configuration file.
copy running-config startup-config
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.25
Page 52
Getting Started
How to Return to the Factory Defaults
The switch dynamically adds the default settings to the running-config at start-up if the
default file is not present. This section describes how to use this feature to return to the
factory defaults.
Note
After reboot the show running-config output will show the default factory
settings for your switch once you have removed the default.cfg file. To recreate
the default.cfg file enter copy running-config startup-config. When you enter
copy running-config startup-config commands the default.cfg file is updated with
the startup-config.
Completely
restore defaults
To completely remove your configuration and return to the factory default configuration,
delete or rename the default file and make sure no other file is set as the start-up
configuration file.
To find the location of the default boot configuration file, enter Privileged Exec mode and
enter the command:
awplus#
To delete the default file when it is the current boot configuration file, enter Privileged
Exec mode and enter either of the commands:
awplus#
or:
Note that erasing startup-config deletes the current boot configuration file—it does not
simply stop the file from being the boot file.
To make sure that no other file is loaded at start-up, enter Global Configuration mode and
enter the command:
awplus(config)#
delete force <filename>
awplus#
show boot
erase startup-config
no boot config-file
Partially restore
defaults
1.26AlliedWare Plus
To partially restore the default settings, make a configuration file that contains the settings
you want to keep and set this as the start-up configuration file. On start-up, the switch will
add the missing settings to the running-config.
For example, to use default settings but still keep an IP address on the eth0 management
port, create a file like the following one and set it as the boot configuration file:
awplus#
The output looks like this:
!
interface eth0
ip address 172.28.8.210/16
!
ip route 0.0.0.0/0 172.28.0.1
!
end
Software Reference for SwitchBlade® x908 and x900 Series Switches
show file eth0-ip.cfg
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 53
Getting Started
How to See System Information
This section describes how to view the following system information:
■overview information
■details of temperature and voltage
■serial number
Viewing Overall System Information
To display an overview of the switch hardware, software, and system settings, enter User
Exec or Privileged Exec mode and enter the command:
awplus#
show system
The output looks like this:
Switch System Status Fri Dec 5 02:55:58 2012
Board ID Bay Board Name Rev Serial number
-------------------------------------------------------------------------------Environment Status : Normal
Uptime : 0 days 02:12:03
Bootloader version : 1.0.9
Current software : x900-5.4.3.rel
Software version : 5.4.3
Build date : Mon Dec 15 14 13:04:00 NZDT 2010
Current boot config: flash:/default.cfg (file exists)
Territory : japan
System Name
System Contact
System Location
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.27
Page 54
Getting Started
Viewing Temperature, Voltage, and Fan Status
The switch monitors the environmental status of the switch and its power supplies and
fan. To display this information, enter User Exec or Privileged Exec mode and enter the
command:
awplus#
show system environment
The output looks like the following figure.
Environment Monitoring Status
Overall Status: Normal
Resource ID: 1 Name: PSU bay 1
ID Sensor (Units) Reading Low Limit High Limit Status
1 Device Present Yes - - Ok
2 PSU Overtemp No - - Ok
3 PSU Fan Fail No - - Ok
4 PSU Power Output No - - Ok
Resource ID: 2 Name: PSU bay 2
ID Sensor (Units) Reading Low Limit High Limit Status
1 Device Present Yes - - Ok
2 PSU Overtemp No - - Ok
3 PSU Fan Fail No - - Ok
4 PSU Power Output Yes - - Ok
Resource ID: 3 Name: x900-24XT-N
ID Sensor (Units) Reading Low Limit High Limit Status
1 Voltage: 2.5V (Volts) 2.565 2.344 2.865 Ok
2 Voltage: 1.65V (Volts) 1.629 1.488 1.816 Ok
3 Voltage: 3.3V (Volts) 3.334 2.973 3.627 Ok
4 Voltage: 1.8V (Volts) 1.771 1.615 1.979 Ok
5 Voltage: 12V (Volts) 12.000 10.813 13.188 Ok
6 Temp: Ambient (Degrees C) 33 -127 55 Ok
7 Temp: Mid Internal (Degrees C) 52 -127 85 Ok
8 Temp: Bk Internal (Degrees C) 47 -127 75 Ok
Viewing the Serial Number
The switch’s serial number is displayed in the output of the show system command on
page 8.56, but for convenience, you can also display it by itself. To do this, enter User Exec
or Privileged Exec mode and enter the command:
awplus#
The output looks like this:
P1FY7502C
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.28AlliedWare Plus
show system serialnumber
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 55
Getting Started
How to Set System Parameters
You can set system parameters to personalize the switch and make it easy to identify it
when troubleshooting. This section describes how to configure the following system
parameters:
■telnet session timeout
■switch name
■login banner
How to Change the Telnet Session Timeout
By default, telnet sessions time out after 10 minutes of idle time. If desired, you can
change this.
To change the timeout for all telnet sessions, enter Global Configuration mode and enter
the commands:
awplus(config)#
awplus(config-line)#
The new timeout value only applies to new sessions, not current sessions.
ExamplesTo set the timeout to 30 minutes, enter the command:
line vty 0 32
exec-timeout <new-timeout>
awplus(config-line)#
To set the timeout to 30 seconds, enter the command:
awplus(config-line)#
To set the timeout to infinity, so that sessions never time out, enter either of the
commands:
awplus(config-line)#
awplus(config-line)#
How to Name the Switch
exec-timeout 30
exec-timeout 0 30
no exec-timeout
exec-timeout 0 0
To give the switch a name, enter Global Configuration mode and enter the command:
awplus(config)#
For example, to name the switch “switch1.mycompany.com”:
awplus(config)#
The prompt displays the new name:
awplusswitch1.mycompany.com(config)#
The name can contain hyphens and underscore characters.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
hostname <name>
hostname switch1.mycompany.com
TM
Operating System - Version 5.4.31.29
Page 56
Getting Started
However, the name must be a single word, as the following example shows.
awplus(config)#hostname switch1.mycompany.com more words
hostname switch1.mycompany.com more words
^
% Invalid input detected at '^' marker.
It also cannot be surrounded by quote marks, as the following example shows.
awplus(config)#hostname "switch1.mycompany.com more words"
% Please specify string starting with alphabet
Removing the
name
To remove the hostname, enter the command:
awplusswitch1.mycompany.com(config)#
no hostname
The prompt changes back to the default prompt:
awplus(config)#
How to Display a Text Banner at Login
By default, the switch displays the AlliedWare PlusTM OS version and build date before
login. You can customize this by changing the Message of the Day (MOTD) banner.
To enter a new MOTD banner, enter Global Configuration mode and enter the command:
awplus(config)#
banner motd <banner-text>
The text can contain spaces and other printable characters. You do not have to surround
words with quote marks.
ExampleTo display “this is a new banner” when someone logs in, enter the command:
awplus(config)#
banner motd this is a new banner
This results in the following output at login:
awplus login: manager
Password:
this is a new banner
awplus>
Removing the
banner
1.30AlliedWare Plus
To return to the default banner (AlliedWare Plus
command:
awplus(config)#
Software Reference for SwitchBlade® x908 and x900 Series Switches
TM
OS version and build date), enter the
banner motd default
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 57
To remove the banner instead of replacing it, enter the command:
Getting Started
awplus(config)#
no banner motd
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.31
Page 58
Getting Started
How to Set the Time and Date
There are three aspects to setting the time and date:
■setting the current time and date (“How to Set the Time and Date” on page 1.32)
■setting the timezone (“How to Set the Timezone” on page 1.33)
■configuring the switch to automatically change the time when summer-time begins
and ends (“How to Configure Summer-time” on page 1.33)
Instead of manually setting the time, you can use NTP to automatically get the time from
another device.
How to Show Current Settings
To display the current time, timezone and date, enter Privileged Exec mode and enter the
command:
awplus#
show clock
The output looks like this:
UTC Time: Wed, 3 Dec 2008 16:08:14 +0000
Timezone: UTC
Timezone Offset: +00:00
Summer time zone: None
How to Set the Time and Date
To set the time and date, enter Privileged Exec mode and enter the clock set command:
clock set <hh:mm:ss> <day> <month> <year>
:where:
■hh is two digits giving the hours in 24-hour format (e.g. 14)
■mm is two digits giving the minutes
■ss is two digits giving the seconds
■day is two digits giving the day of the month
■month is the first three letters of the month name (e.g. sep)
■year is four digits giving the year
ExampleTo set the time to 14:00:00 on 25 January 2012, use the command:
awplus#
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.32AlliedWare Plus
clock set 14:00:00 25 jan 2012
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 59
Getting Started
How to Set the Timezone
To set the timezone, enter Global Configuration mode and enter the clock timezone
command:
The <timezone-name> can be any string up to 6 characters long.
To return the timezone to UTC+0, enter the command:
awplus(config)#
ExampleTo set the timezone to Eastern Standard Time, use the command:
awplus(config)#
no clock timezone
clock timezone EST minus 5
How to Configure Summer-time
There are two approaches for setting summer-time:
■recurring, when you specify the week when summer-time starts and ends and each
year the switch changes the time at those weeks. For example, Eastern Daylight Time
(EDT) starts at 2 am on the second Sunday in March and ends at 2 am on the first
Sunday in November.
■date-based, when you specify the start and end dates for summer-time for a particular
year. For example, Eastern Daylight Time (EDT) starts at 2 am on Sunday, 8 March 2008
and ends at 2 am on Sunday, 2 November 2008.
RecurringTo set summer-time with recurring dates, enter Global Configuration mode and enter the
The <zone-name> can be any string up to 6 characters long.
The <start-time> and <end-time> are in the form hh:mm, in 24-hour time.
clock summer-time EDT recurring 2 Sun Mar 02:00
1 Sun Nov 02:00 60
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.33
Page 60
Getting Started
ExampleFor example, to configure EDT for 2008 enter the command:
awplus(config)#
clock summer-time EDT date 8 Mar 2008 02:00 2
Nov 2008 02:00 60
How to Add and Remove Users
Adding usersTo add a new user with administrative rights, enter Global Configuration mode and enter
the command:
awplus(config)#
Both <name> and <password> can contain any printable character and are case sensitive.
When you add a user with administrative rights, <password> will have to conform to the
rules specified by the security-password minimum-categories command on page 5.17
and the security-password minimum-length command on page 5.18. If the security-
password history command on page 5.14 is enabled, <password> is invalid if it matches a
password retained in the password history.
The AlliedWare Plus
are limited to User Exec mode so you need to set most users to level 15.
For example, to add user Bob with password 123$%^, enter the command:
username <name> privilege 15 password
<password>
TM
OS gives you a choice of 1 or 15 for the privilege level. Level 1 users
awplus(config)#
Removing usersTo remove a user, enter Global Configuration mode and enter the command:
no username <name>
For example, to remove user Bob, enter the command:
awplus(config)#
Note that you can delete all users, including the user called “manager” and the user you
are logged in as. If all privilege 15 user accounts are deleted, a warning message is
generated:
% Warning: No privileged users exist.
If all privilege level 15 user accounts are deleted, and there are no other users configured
for the device, you may have to reboot with the default configuration file.
username Bob privilege 15 password 123$%^
no username Bob
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.34AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 61
Getting Started
If there is a user account on the device with a lower privilege level and a password has
already been set with the enable password command on page 5.3, you can login and still
enter privileged mode. When executing the enable command, enter the password
created with the enable password command. For example, if the password is
mypassword:
awplus>
awplus#
Displaying usersTo list the currently logged-in users, enter User Exec or Privileged Exec mode and enter the
command:
awplus#
The output looks like this:
Line User Host(s) Idle Location Priv Idletime Timeout
con 0 manager idle 00:00:00 ttyS0 15 10 N/A
vty 0 bob idle 00:00:03 172.16.11.3 1 0 5
To list all configured users, enter User Exec or Privileged Exec mode and enter the
command:
username Bob privilege 15 password 8 $1$gXJLY8dw$iqkMXLgQxbzSOutNUa5E2.
Pre-encrypted Passwords
The running-config output above includes the number 8 after the password parameter.
This indicates that the password is displayed in its encrypted form.
You can enter the number 8 and a pre-encrypted password on the command line. You
may want to pre-encrypt passwords if you need to load them onto switches via an
insecure method (such as HTTP, or by emailing them to remote users).
Testin g this
feature
Caution
If you want to test the effect of this, create a new user for the test instead of using the
manager user. The test stops you from logging in as the test user, so you need to have the
manager user available to log in as.
Only enter the number 8 if you are entering a pre-encrypted password—
otherwise, you will be unable to log in using the password and will be unable to
access the switch through that username. The next section describes why.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.35
Page 62
Getting Started
The following output shows how specifying the number 8 puts the password into the
running-config exactly as you typed it:
awplus(config)#username Bob privilege 15 password 8 friend
awplus(config)#show running-config |include username Bob
username Bob privilege 15 password 8 friend
After entering the command above, logging in as “Bob” with a password of “friend” does
not work. This is because the switch takes the password you enter (“friend”), hashes it, and
compares the hash with the string in the running-config (“friend”). The hashed value and
“friend” are not the same, so the switch rejects the login.
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.36AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 63
How to Undo Settings
There are two possibilities for undoing settings: the no parameter and the default
parameter.
How to Use the no Parameter
To undo most settings, simply re-enter the first parameters of the configuration command
with the parameter no before them.
ExampleYou can set the timezone to Eastern Standard Time by entering the command:
Getting Started
awplus(config)#
To remove the timezone setting, enter the command:
awplus(config)#
clock timezone EST minus 5
no clock timezone
How to Use the default Parameter
Some commands have a default parameter that returns the feature to its default setting.
ExampleYou can change the login banner to “this is a new banner” by entering the command:
awplus(config)#
To return to the default banner, enter the command:
awplus(config)#
Note that this command also has a no parameter that lets you remove the banner
altogether.
banner motd this is a new banner
banner motd default
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.37
Page 64
Getting Started
How to Upgrade the Firmware
New releases of the AlliedWare PlusTM OS become available regularly. Contact your
customer support representative for more information.
Step 1: Put the new release onto your TFTP server
Step 2: If necessary, create space in the switch’s Flash memory for the
new release
Note that you cannot delete the current release file.
To see how much space is free, use the command:
awplus#
show file systems
Step 3: Copy the new release from your TFTP server onto the switch
Follow the relevant instructions in “Copying with Trivial File Transfer Protocol (TFTP)”
on page 6.15.
Step 4: Set the switch to boot from the new release
Enter Global Configuration mode and enter the command:
awplus(config)#
boot system<filepath-filename>
You can set a backup release file to load if the main release file cannot be loaded. Enter the
command:
awplus(config)#
Step 5: Check the boot settings
Enter Privileged Exec mode and enter the command:
awplus#
boot systembackup <filepath-filename>
show boot
Step 6: Reboot
Enter Privileged Exec mode and enter the command:
awplus#
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.38AlliedWare Plus
reboot
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 65
Getting Started
Save Power With the Eco-Friendly Feature
You can conserve power by enabling the eco-friendly LED (Light Emitting Diode) feature
with the ecofriendly led command on page 8.18. This feature disables power to the port
LEDs on XEMs installed in the switch, the stack ID LED on the XEM-STK and all port LEDs on
the switch, except the eth0 port. On the switch, power to the fault, SD and PSU LEDs is not
disabled, and in addition, on the SwitchBlade® x908 power to the stacking status LED is
not disabled. On the XEM-1XP and XEM-2XP power to the XFP LED is not disabled.
When the eco-friendly LED feature is enabled, a change of port status will not affect the
display of the associated LED. When the eco-friendly feature is disabled and power is
returned to port LEDs, the LEDs will correctly show the current state of the ports.
In a stack environment, enabling the eco-friendly LED feature on the stack master will
apply the feature to every member of the stack.
The eco-friendly LED feature is disabled by default. To enable the feature, enter the
commands:
awplus#
awplus(config)#
For an example of how to configure a trigger to enable the eco-friendly LED feature, see
“Turn Off Power to Port LEDs” on page 100.7.
You can also conserve power by enabling the eco-friendly LPI (Low Power Idle) feature
with the ecofriendly lpi command on page 8.19. This feature reduces the power supplied
to the ports on XEMs installed in the switch, except the eth0 port, whenever ports are idle
and are connected to IEEE802.3az Energy Efficient Ethernet compliant host devices. All
ports configured for LPI must support LPI in hardware and must be configured to
autonegotiate by default or by using the speed and duplex commands as needed.
LPI is a feature of the IEEE 802.3az Energy Efficient Ethernet (EEE) standard. LPI lowers
power consumption of switch ports during periods of low link utilization when connected
to IEEE 802.3az compliant host devices. If no data is sent then the switch port can enter a
sleep state, called Low Power Idle (LPI), to conserve power used by the switch.
The eco-friendly LPI (Low Power Idle) feature is disabled by default. To enable the feature
for a switch port, or for a range of switch ports in the example below, enter the commands:
awplus#
awplus(config)#
configure terminal
ecofriendly led
configure terminal
interface port1.0.2-port1.0.22
awplus(config-if)#
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
ecofriendly lpi
TM
Operating System - Version 5.4.31.39
Page 66
Getting Started
Trouble-shoot fiber and pluggable issues
Digital Optical Monitoring (DOM) for XFP (10 Gigabit Small Form Factor Pluggable)
transceivers and Digital Diagnostics Monitoring (DDM) for SFP (1 Gigabit Small Formfactor Pluggable) and SFP+ (10 Gigabit Small Form-factor Pluggable) transceivers, allow
you to measure optical parameters for pluggables installed in a switch and trouble shoot
fiber issues.
Fiber cable can be vulnerable to damage. Patch panels and patch cables can be connected
with the wrong type of fiber, fiber splices can become faulty and fiber cables can be cut
accidentally. Trouble shooting fiber issues has required special equipment and expertise
to find the source of a problem causing signal attenuation. XFP DOM and SFP DDM
features help find fiber issues.
Different types of transceivers are supported in different models of switch. See your Allied
Telesis dealer for more information about the particular models of pluggables that your
switch supports, and if these transceivers also support DDM or DOM.
To display XFP DOM, SFP DDM or SFP+ DDM diagnostic information about transceivers
installed on your switch, enter the following command:
awplus#
show system pluggable diagnostics
The following parameters are measured by DOM for XFP transceivers and DDM for SFP
and SFP+ transceivers, and are displayed in show system pluggable diagnostics
command output:
■Temperature (Centigrade) inside the transceiver
■Vcc (Volts) voltage supplied to the transceiver
■Tx Bias (mA) current to the Laser Diode in the transceiver
■Tx Power (mW) the amount of light transmitted from the transceiver
■Rx Power (mW) the amount of light received in the transceiver
You can track Tx Bias to find out how the Laser Diode in the transceiver is aging by
comparing the Tx Bias for one transceiver against Tx Bias for others. You can use this
information to see if any transceivers may need replacement.
You can trouble shoot fiber connectivity issues by checking the Tx Power at one end of the
fiber link against the Rx Power at the other end of the fiber link to measure the
attenuation. Knowing the attenuation enables you to determine if there are anomalies in
the fiber cable.
Note that Tx Power differences between the same type of transceivers installed on a
switch may indicate that a transceiver is not seated or locked. Ensuring transceivers are
seated and locked in place with the retaining clip will keep the fiber link up if there is any
vibration or movement that can dislodge a fiber cable. Rx Power differences may indicate
poor fiber patch cables, poor connectors or poor splices. Tracking Tx Bias for installed
transceivers and measuring attenuation for fiber links allows you to perform periodic
preventative maintenance, instead of reacting to a failure. Tracking Tx Power differences
can be used as an indicator of failure in an which may need replacing.
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.40AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 67
Getting Started
Using the Find Me feature
The Find Me feature enables you to physically locate a specific device from a group of
similar devices.
Running the findme command on page 8.21 causes the device’s LEDs to alternately flash
green and amber at a rate of 1 Hz. If the switch has no amber LED, then the green LED will
flash on/off at a rate of 1 Hz.
An optional interface parameter specifies one or more interfaces to flash, while an
optional member parameter specifies a particular stack member. Both these parameters
are mutually exclusive. If no interface or member parameter is specified then all ports on
the device or stack are flashed.
An optional timeout parameter specifies the flash behavior duration. The default time is
one minute (60 seconds). Normal LED behavior is restored automatically after either the
default time, or a specified time, has elapsed or a no findme command is used.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.41
Page 68
Getting Started
Continuous Reboot Prevention
Occasionally, due to network conditions or to recover from a software failure, the recovery
mechanism of the switch is to reboot to resume normal operation. Provided the same
error condition does not recur within a short period of time this is acceptable behavior.
However, if the error condition repeatedly occurs within a short time period, the switch
will go into a cycle of continuous reboots, causing network problems.
Although a switch continuously rebooting will come to the attention of a network
administrator who can then resolve he issue, it is likely that in the meantime network
problems have arisen. For example, a broadcast storm due to STP becoming unstable and
trying to continually reconverge could cause the switch to reboot continuously.
In a VCStack situation, a continually rebooting switch will destabilize the stack and may
cause the master and member devices to continually swap roles as they both reboot. This
can serious effect the network, because both devices will become too busy rebooting and
forming the stack to forward traffic.
The continuous reboot prevention feature, enabled with the continuous-reboot-
prevention command on page 8.13, allows the user to configure a switch to stop
rebooting if the device gets into a cycle of continuous rebooting. The user can configure
the time period, the maximum number of times the switch can reboot within the specified
time period, referred to as the threshold, and the action to take if the threshold is
exceeded.
There are three actions you can specify:
■linkdown
The reboot procedure continues and all switch ports and stack ports stay link down.
This is the default action.
■logonly
The reboot procedure continues normally.
■stopreboot
The reboot procedure stops and the user is prompted to enter the key ”c” via the CLI.
Normal reboot procedure then continues.
Note that when the continuous reboot prevention feature is enabled on the switch, user
initiated reboots via the CLI and software version auto-synchronization reboots (VCStack
implementation) are not counted toward the threshold value.
The continuous reboot prevention feature is disabled by default. To enable the feature,
enter the following commands:
awplus#
awplus(config)#
configure terminal
continuous-reboot-prevention enable
Unless the period, threshold and action parameter values are explicitly set, the defaults
are used:
■period - 600 seconds
■threshold - 1 reboot event
■action - linkdown
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.42AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 69
Getting Started
To co nfigure th e period, threshold and the action to take if the number of reboots
exceeds the specified threshold, enter the following commands:
If the action stopreboot is specified, the reboot procedure stops and the following
message is displayed:
Please input key 'c' if you want to continue processing.
When the user has input “c” via the CLI, the reboot procedure continues.
To disable the continuous reboot prevention feature, enter the following commands:
awplus#
awplus(config)#
configure terminal
no continuous-reboot-prevention enable
To return either one or more of the period, threshold and the action parameters to the
default, use the commands:
awplus#
configure terminal
awplus(config)#
no continuous-reboot-prevention [period]
[threshold] [action]
To display the current continuous reboot prevention configuration, enter the command:
awplus#
show continuous-reboot-prevention
To display the reboot history of the switch, enter the command:
awplus#
show reboot history
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.43
Page 70
Getting Started
Controlling “show” Command Output
You can control the output of show commands by using the | and > or >> tokens in the
following ways:
■To display only part of the output, follow the command with | and then other
keywords (see Output Modifiers below)
■To save the output to a file, follow the command with > filename
■To append the output to an existing file, follow the command with >> filename
Using the ? after typing the show command displays the following information about
these tokens:
awplus#
| Output modifiers
> Output redirection
>> Output redirection (append)
show users
Output ModifiersType the | (vertical bar) to use Output modifiers.
append Append output
begin Begin with the first line that contains
matching output
exclude Exclude lines that contain matching output
include Include lines that contain matching output
redirect Redirect output
BeginThe begin parameter causes the display to begin at the first line that contains the input
string.
awplus#
show run | begin vlan1
...skipping
interface vlan1
ip address 192.168.14.1
!!
line con 0
login
line vty 0 4
login
!
end
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.44AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 71
Getting Started
ExcludeThe exclude parameter excludes all lines of output that contain the input string. In the
following output all lines containing the word “input” are excluded:
awplus#
Interface vlan1
Scope: both
Hardware is Ethernet, address is 192.168.14.1
index 3 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
Label switching is disabled
No Virtual Circuit configured
Administrative Group(s): None
DSTE Bandwidth Constraint Mode is MAM
output packets 4438, bytes 394940, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0,
window 0
collisions 0
show interface vlan1 | exclude input
IncludeThe include parameter includes only those lines of output that contain the input string. In
the output below, all lines containing the word “input” are included:
RedirectThe redirect parameter puts the lines of output into the specified file. If the file already
exists, the new output overwrites the file’s contents; the new output is not appended to
the existing file contents.
| redirect and > are synonyms.
show history | redirect history.txt
Output
Redirection
awplus#
The output redirection token > puts the lines of output into the specified file. If the file
already exists, the new output overwrites the file’s contents; the new output is not
appended to the existing file contents.
| redirect and > are synonyms.
show history > history.txt
Append
Output
awplus#
The append output token >> adds the lines of output into the specified file. The file must
already exist, for the new output to be added to the end of the file’s contents; the new
output is appended to the existing file contents.
| append and >> are synonyms.
awplus#
show history >> history.txt
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.45
Page 72
Getting Started
Commands Available in each Mode
This appendix lists the commands available in the following command modes:
■“User Exec Mode” on page 1.46
■“Privileged Exec Mode” on page 1.47
■“Global Configuration Mode” on page 1.48
User Exec Mode
awplus>?
clear Reset functions
debug Debugging functions (see also 'undebug')
disable Turn off privileged mode command
echo Echo a string
enable Turn on privileged mode command
exit End current mode and down to previous mode
help Description of the interactive help system
logout Exit from the EXEC
mstat Show statistics after multiple multicast
traceroutes
mtrace Trace multicast path from source to destination
no Negate a command or set its defaults
ping Send echo messages
quit Exit current mode and down to previous mode
remote-command Remote stack member command execution
rmon Debugging functions (see also 'undebug')
show Show running system information
ssh Open an SSH connection
telnet Open a telnet connection
terminal Set terminal line parameters
traceroute Trace route to destination
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.46AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 73
Privileged Exec Mode
awplus>enable
awplus#?
activate Activate a script
cd Change the current working directory
clear Reset functions
clock Manage clock
configure Enter configuration mode
copy Copy from one file to another
debug Debugging functions (see also 'undebug')
delete Delete a file
dir List the files on a filesystem
disable Turn off privileged mode command
dot1x IEEE 802.1X Port-Based Access Control
echo Echo a string
edit Text Editor
enable Turn on privileged mode command
erase Erase the system startup configuration
exit End current mode and down to previous mode
help Description of the interactive help system
license Activate software feature license
logout Exit from the EXEC
mail Send an email
mkdir Make a new directory
move Rename or move a file
mstat Show statistics after multiple multicast
traceroutes
mtrace Trace multicast path from source to
destination
no Negate a command or set its defaults
ping Send echo messages
platform Execute built-in self-tests
pwd Print the current working directory
quit Exit current mode and down to previous mode
reboot Halt and perform a cold restart
reload Halt and perform a cold restart
remote-command Remote stack member command execution
restart Restart routing protocol
rmdir Remove a directory
rmon Debugging functions (see also 'undebug')
show Show running system information
ssh Open an SSH connection
tcpdump Execute tcpdump
telnet Open a telnet connection
terminal Set terminal line parameters
test Test device functionality
traceroute Trace route to destination
trigger Automatic scripted responses to device events
undebug Disable debugging functions (see also 'debug')
wait Wait for a specified number of seconds
write Write running configuration to memory, file or
terminal
Getting Started
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.47
Page 74
Getting Started
Global Configuration Mode
awplus(config)#?
access-list Add an access list entry
arp Address Resolution Protocol (ARP)
auth-web-server Web authentication server configuration
commands
banner Define a login banner
bgp Border Gateway Protocol (BGP)
boot Boot configuration
class-map Class map command
clock Manage clock
crypto Security Specific Commands
cvlan Configure C-VLAN parameters
debug Debugging functions (see also 'undebug')
default Restore default settings
do To run exec commands in config mode
dot1x IEEE 802.1X Port-Based Access Control
enable Modify enable password parameters
epsr Ethernet Protection Switching Ring (EPSR)
exception Configure exception settings
exit End current mode and down to previous
mode
fib FIB information
help Description of the interactive help
system
hostname Set system's network name
interface Select an interface to configure
ip Internet Protocol (IP)
ipv6 Internet Protocol version 6 (IPv6)
key Authentication key management
lacp LACP commands
line Configure a terminal line
log Logging control
loop-protection Loop Protection
mac mac address
mail Send an email
max-fib-routes Set maximum fib routes number
max-static-routes Set maximum static routes number
maximum-access-list Maximum access-list entries
maximum-paths Set multipath numbers installed to FIB
mls Multi-Layer Switch(L2/L3)
no Negate a command or set its defaults
ntp Configure NTP
ospf Open Shortest Path First (OSPF)
ping-poll Ping Polling
platform Configure global settings for the switch
asic
policy-map Policy map command
radius-server RADIUS server configuration commands
rip Routing Information Protocol (RIP)
rmon Remote Monitoring Protocol (RMON)
route-map Create route-map or enter route-map
command mode
router Enable a routing process
router-id Router identifier for this system
security-password Configure strong security passwords
service Modify use of network based services
show Show running system information
snmp-server Manage snmp server
spanning-tree Spanning tree commands
ssh Secure Shell
stack Virtual Chassis Stacking (VCS)
system System properties
telnet Configure telnet
trigger Select a trigger to configure
undebug Disable debugging functions (see
also'debug')
username Establish User Name Authentication
virtual-server Virtual-server configuration
vlan Configure VLAN parameters
vrrp VRRP configuration
Software Reference for SwitchBlade® x908 and x900 Series Switches
1.48AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 75
Getting Started
AlliedWare Plus GUI
Information on loading and using the AlliedWare PlusTM GUI is outside the scope of the
main body of this reference manual. This topic is covered in a separate appendix to this
document. See “Appendix C: GUI Reference”.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.31.49
Page 76
Page 77
Chapter 2: Command Syntax Conventions in
this Software Reference
The following table describes how command line interface syntax is shown in this Software Reference.
What to enter in the command
Syntax elementExample
line
Keywords are shown in
lowercase fixed-width font or
bold variable-width font.
Number ranges are enclosed in
angle-brackets < > and separated
by a hyphen.
Placeholders are shown in
lowercase italics within anglebrackets < >, or in uppercase
italics.
Repeats are shown with ellipsis.
Optional elements are shown in
brackets: [ ]
Required choices are enclosed
in braces and separated by a
vertical bar (pipe) : {|}.
Optional choices are enclosed in
or brackets and separated by a
vertical bar (pipe): [|]
Inclusive options are enclosed in
braces, and separated by
brackets: {[ ] [ ]}.
show spanning-tree mst
or
show ip route
<0-255>
<port-list>
or
ip dhcp pool NAME
param1...
vlan <vid> [name <vlan-name>]
spanning-tree {mstp|rstp|
stp} enable
[param1|param2]
{[param1] [param2]
[param3]}
Some keywords are required, and
others are optional parameters.
Type keywords exactly as they
appear in the command syntax.
Enter a number from the range. Do
not enter the angle brackets.
Replace the placeholder with the
value you require. The placeholder
may be an IP address, a text string,
or some other value. See the
parameter table for the command
for information about the type of
value to enter.
Do not enter the angle-brackets.
Enter the parameter one or more
times.
If you need the optional parameter,
enter it. Do not enter the brackets.
Enter one only of the options.
Do not enter the braces or vertical
bar.
If needed, enter one only of the
options.
Do not enter the brackets or
vertical bar.
Enter one or more of the options
and separate them with a space.
Do not enter the braces or
brackets.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.32.1
Page 78
Page 79
Chapter 3: Start-up Sequence
AlliedWare Plus Start-up....................................................................................................................3.2
Diagnostic Menu ..................................................................................................................................3.3
Bootloader Menu .................................................................................................................................3.5
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.33.1
Page 80
Start-up Sequence
AlliedWare Plus Start-up
Every switch has a start-up process. A specified version of product software must be
loaded and executed. The bootloader is the executable code responsible for setting up
the system and loading the release software.
The bootloader is the software that runs the unit when it first powers up, performing basic
initialization and executing the product software release. As part of the start-up process of
the switch, the bootloader allows you various options before running the product release
software.
Previous versions of AlliedWare provide the option to boot to EPROM if a software release
cannot be loaded, is unlicensed, or if selected by the user. The EPROM provides enough
basic functionality to get a working software release loaded and operational on the
switch. In AlliedWare Plus™ this task is handled by the bootloader.
As AlliedWare Plus™ begins its start-up process; there are two options that allow you to
access either the diagnostic menu, or the bootloader menu. The following prompt is
displayed when these options are temporarily available:
Bootloader 1.0.9 loaded
Press <Ctrl+B> for the Boot Menu
You can now enter one of the following two options to determine how the start-up
process proceeds:
■Enter Ctrl+D to display the diagnostic menu.
■Enter Ctrl+B to display the bootloader menu.
Software Reference for SwitchBlade® x908 and x900 Series Switches
3.2AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 81
Start-up Sequence
Diagnostic Menu
Enter Ctrl+D during start-up to access the bootloader diagnostic menu, and provide
options for performing various hardware tests. This can be useful as a tool for confirming a
suspected hardware problem at the direction of network engineering personnel. When
you enter Ctrl+D, the stage 1 diagnostics menu is displayed:
Bootup Stage 1 Diagnostics Menu:
0. Restart
1. Full RAM test
2. Quick RAM test
3. Battery backed RAM (NVS) test
4. Bootloader ROM checksum test
----------------------------------
7. Bootup stage 2 diagnostics menu
----------------------------------
8. Quit to U-Boot shell
9. Quit and continue booting
Enter selection ==>
The options in the stage 1 diagnostics menu allow you to initiate the following tests:
■RAM
The Bootloader fully tests any/all SDRAM installed in the system.
■NVS
The Bootloader fully tests any/all non-volatile (battery backed) SRAM installed in the
system.
■checksum
The Bootloader checksum ROM memory for error detection.
For example, enter “2” to select a Quick RAM test:
Quick RAM test - press Q to quit, S to skip when failing
Writing pattern ................................
Checking pattern ................................
Writing complemented pattern ....................
Checking complemented pattern ...................
Pass 1 total errors 0
Enter “7” to display the stage 2 diagnostics menu:
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.33.3
Page 82
Start-up Sequence
The options in the stage 2 diagnostics menu allow you to initiate the following tests:
■Flash
The Bootloader tests the user file system area of Flash. The bootloader is stored in a
protected area of Flash that is not accessed by the user file system.
■Flash Erase
The Bootloader erases the user file system area of Flash only.
■SD (and SDHC) Card slot
The Bootloader tests the Card slot.
Once any required tests are completed from the diagnostics menu, enter “9” to quit the
diagnostic menu and continue the switch boot-up process.
Software Reference for SwitchBlade® x908 and x900 Series Switches
3.4AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 83
Start-up Sequence
Bootloader Menu
Enter Ctrl+B during start-up to access the bootloader menu where boot options can be
set. The boot options shown are explained in detail under this example.
Boot Menu:
----------------------------------------------------- B. Boot backup software
Boot optionsA powerful feature of AlliedWare Plus™ is the ability to boot from a variety of sources.
Previously the switch was constrained to just booting off the release loaded into Flash
memory. The only software release upgrade path being to load a new release into Flash
memory and then set this release to be loaded at the next restart.
With AlliedWare Plus™ the switch can boot from other sources, such as a SD card or
network server. This provides a very flexible system, with multiple options to upgrade
software releases and for system recovery.
Details of the bootloader menu options are as follows:
1. Perform one-off boot from alternate source
Enter “1” to provide the following one-off boot options:
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.33.5
Page 84
Start-up Sequence
You can select a one-off boot from Flash, SD (or SDHC) card, network server (TFTP), or
ymodem. The selected option will be used for the next restart (only) of the switch. If you
select to boot from the network, the bootloader prompts the user for the required
network address details.
Note
These settings are specific to the Bootloader.
They are not related in any way to what may be configured by the main software
release.
.
Enter IP version [4|6]......... [4]:
Enter IP address for eth0 ..... [0.0.0.0]: 172.28.8.210
Enter subnet mask ............. [0.0.0.0]: 255.255.0.0
Enter gateway IP .............. [0.0.0.0]: 172.28.0.1
Enter TFTP server IP .......... [0.0.0.0]: 172.30.1.242
Enter filename ................ []: x900-5.4.3.rel
Loading tftp://172.30.1.242/x900-5.4.3.rel...
When the switch is booted up using the ‘one-off’ selected source for the software release,
it provides the option to copy the release just used to Flash for further/ permanent use:
login: manager
Password: ******
The system has been booted using the one off boot/recovery
mechanism.
Bootup has successfully completed.
Write this release to flash? (y/n):
2. Change the default boot source (for advanced users)
Entering “2” provides the option to set the boot source permanently.
NOTE: These settings are specific to the Bootloader.
They are not related in any way to what may be configured
by the 'boot system' command in the main software release.
Select device:
The same four boot source options are provided as with the one-off selection, but this
time every restart of the switch will result in the unit booting from the selected source.
Software Reference for SwitchBlade® x908 and x900 Series Switches
3.6AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 85
Start-up Sequence
3. Update Bootloader
This option allows for the bootloader code to be updated. It is not detailed here, as it is
envisioned that this would rarely need to be done, and only at the request of (and with
support from) Allied Telesis engineering.
4. Adjust the console baud rate
The baud rate of the console session is set here to match the terminal program being used
for management of the switch when connected directly to the asynchronous port. The
switches default value is 9600. The baud rate selected can be set as the ‘new’ default for
Change your terminal program baud rate to 9600 and press
enter... if for some reason you are unable to do this,
power cycle the device and the existing baud rate will be
restored.
Use this baud rate by default? (Y/N) ==> n
5. Special boot options
The special boot options allow for system recovery in the event of a forgotten password or
to the default configuration.
This option allows the bootloader to be set back to factory defaults.
Caution
This option erases any settings that may have been configured by this
menu
Are you sure? (Y/N) ==>
The bootloader menu provides a powerful set of options for flexibility in the way software
releases are upgraded on the switch, and system recovery is performed.
Software Reference for SwitchBlade® x908 and x900 Series Switches
3.8AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 87
Start-up Sequence
Start-up Sequence
The start-up sequence for a device running AlliedWare Plus™ under normal circumstances
will be as seen below - this sequence will be seen when everything loads and runs as
expected.
Note
To enter the bootloader or diagnostic menus discussed previously, Ctrl+B or
Ctrl+D must be entered when prompted before the software modules start
loading.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.33.9
Page 88
Start-up Sequence
Reading flash:x900-5.4.3.rel...
Verifying release... OK
Booting...
Starting base/first... [ OK ]
Received event network.initialized
Received event standalone
Assigning Active Workload to HA processes:
hsl, lacpd, loopprotd, mstpd, nsm, pdmd, ripngd
rmond, vrrpd, authd, bgpd, epsrd, irdpd, ospfd
pimd, ripd, imi
Received event network.activated
Loading configuration file flash:/ipgw.cfg, please wait.
..
Received event network.configured
awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.3 11/14/12 13:00:27
Bootloader 1.0.9 loaded
Press <Ctrl+B> for the Boot Menu
Software Reference for SwitchBlade® x908 and x900 Series Switches
3.10AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 89
There are three possible status results displayed for each module loaded - OK, INFO,
ERROR:
■OK means that the module has loaded correctly.
■INFO means that an error occurred, but the device is usable.
■ERROR means that an error occurred and device operation may be affected.
Additional specific information accompanies an INFO or ERROR status result. For example,
if a corrupt release file was set as the startup release, the following error message would
be seen:
Bootloader 1.0.9 loaded
Press <Ctrl+B> for the Boot Menu
Reading filesystem...
Error: Release filename is invalid (should be <release>.rel)
Error: There is no backup release file set
Error: Boot failed. Please recover the system using the Boot Menu
Restarting...Bootloader 1.0.9 loaded
Press <Ctrl+B> for the Boot Menu
Start-up Sequence
Whether an error message results in a case of the device being unusable will depend on
the specific error and message, so will need to be dealt with on a case by case basis. If a
software release has been corrupted, as shown on start-up, a new release may need to be
loaded.
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.33.11
Page 90
Page 91
Chapter 4: CLI Navigation Commands
Command List .......................................................................................................................................4.2
do ...............................................................................................................................................................4.3
help ...........................................................................................................................................................4.7
show history...........................................................................................................................................4.8
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.34.1
Page 92
CLI Navigation Commands
Syntaxconfigure terminal
ModePrivileged Exec
ExampleTo enter the Global Configuration command mode (note the change in the command
Command List
This chapter provides an alphabetical reference for the commands used to navigate
between different modes. This chapter also provides a reference for the help and show
commands used to help navigate within the CLI.
configure terminal
This command enters the Global Configuration command mode.
prompt), enter the command:
awplus#
awplus(config)#
disable (Privileged Exec mode)
This command exits the Privileged Exec mode, returning the prompt to the User Exec
mode. To end a session, use the exit command.
Syntaxdisable
ModePrivileged Exec
ExampleTo exit the Privileged Exec mode, enter the command:
awplus#
awplus>
Related Commandsenable (Privileged Exec mode)
end
exit
configure terminal
disable
Software Reference for SwitchBlade® x908 and x900 Series Switches
4.2AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 93
do
This command lets you to run User Exec and Privileged Exec mode commands when you
are in a Configuration mode.
Syntaxdo <command>
ParameterDescription
<command> Specify the command and its parameters.
CLI Navigation Commands
Mode
Example
Any configuration mode
awplus#
awplus(config)#
configure terminal
do ping 192.0.2.23
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.34.3
Page 94
CLI Navigation Commands
Syntaxenable [<privilege-level>]
enable (Privileged Exec mode)
This command enters the Privileged Exec mode and optionally changes the privilege level
for a session. If a privilege level is not specified then the maximum privilege level (15) is
applied to the session. If the optional privilege level is omitted then only users with the
maximum privilege level can access Privileged Exec mode without providing the
password as specified by the enable password or enable secret commands. If no
password is specified then only users with the maximum privilege level set with the
username command can assess Privileged Exec mode.
ParameterDescription
privilege-
<
level>
Specify the privilege level for a CLI session in the range <1-15>, where
15 is the maximum privilege level, 7 is the intermediate privilege level
and 1 is the minimum privilege level. The privilege level for a user must
match or exceed the privilege level set for the CLI session for the user
to access Privileged Exec mode. Privilege level for a user is configured
by username.
ModeUser Exec
UsageMany commands are available from the Privileged Exec mode that configure operating
parameters for the switch, so you should apply password protection to the Privileged Exec
mode to prevent unauthorized use. Passwords can be encrypted but then cannot be
recovered. Note that un-encrypted passwords are shown in plain text in configurations.
The username command sets the privilege level for the user. After login, users are given
access to privilege level 1. Users access higher privilege levels with the enable (Privileged
Exec mode) command. If the privilege level specified is higher than the users configured
privilege level specified by the username command, then the user is prompted for the
password for that level.
Note that a separate password can be configured for each privilege level using the enable
password and the enable secret commands from the Global Configuration mode. The
service password-encryption command encrypts passwords configured by the enable
password and the enable secret commands, so passwords are not shown in plain text in
configurations.
ExampleThe following example shows the use of the enable command to enter the Privileged Exec
mode (note the change in the command prompt).
awplus>
awplus#
enable
Software Reference for SwitchBlade® x908 and x900 Series Switches
4.4AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 95
CLI Navigation Commands
The following example shows the enable command enabling access the Privileged Exec
mode for users with a privilege level of 7 or greater. Users with a privilege level of 7 or
greater do not need to enter a password to access Privileged Exec mode. Users with a
privilege level 6 or less need to enter a password to access Privilege Exec mode. Use the
enable password command or the enable secret commands to set the password to
enable access to Privileged Exec mode.
awplus>
awplus#
Related Commandsdisable (Privileged Exec mode)
enable password
enable secret
exit
service password-encryption
username
enable 7
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.34.5
Page 96
CLI Navigation Commands
Syntaxend
end
This command returns the prompt to the Privileged Exec command mode from any other
advanced command mode.
Mode
ExampleThe following example shows the use of the end command to return to the Privileged
Related Commandsdisable (Privileged Exec mode)
All command modes
Exec mode directly from Interface mode.
awplus#
awplus(config)#
awplus(config-if)#
awplus#
enable (Privileged Exec mode)
exit
exit
This command exits the current mode, and returns the prompt to the mode at the
previous level. When used in User Exec mode, the exit command terminates the session.
Syntaxexit
configure terminal
interface vlan2
end
ModeAll command modes.
ExampleThe following example shows the use of exit command to exit Interface mode, and
return to Configure mode.
awplus#
awplus(config)#
awplus(config-if)#
awplus(config)#
Related Commandsdisable (Privileged Exec mode)
enable (Privileged Exec mode)
end
configure terminal
interface vlan2
exit
Software Reference for SwitchBlade® x908 and x900 Series Switches
4.6AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Page 97
help
This command displays a description of the AlliedWare PlusTM OS help system.
Syntaxhelp
CLI Navigation Commands
Mode
ExampleTo display a description on how to use the system help, use the command:
OutputFigure 4-1: Example output from the help command
All command modes
awplus#
When you need help at the command line, press '?'.
If nothing matches, the help list will be empty. Delete
characters until entering a '?' shows the available options.
Enter '?' after a complete parameter to show remaining valid
command parameters (e.g. 'show ?').
Enter '?' after part of a parameter to show parameters that
complete the typed letters (e.g. 'show ip?').
help
logout
This command exits the User Exec or Privileged Exec modes and ends the session.
Syntaxlogout
Mode
ExampleTo exit the User Exec mode, use the command:
User Exec and Privileged Exec
awplus#
logout
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.34.7
Page 98
CLI Navigation Commands
Syntaxshow history
ModeUser Exec and Privileged Exec
ExampleTo display the commands entered during the current session, use the command:
show history
This command lists the commands entered in the current session. The history buffer is
cleared automatically upon reboot.
The output lists all command line entries, including commands that returned an error.
For information on output options, see “Controlling “show” Command Output” on
page 1.44.
awplus#
OutputFigure 4-2: Example output from the show history command
1 en
2 show ru
3 con t
4 route-map er deny 3
5 exit
6 ex
7 di
show history
Software Reference for SwitchBlade® x908 and x900 Series Switches
4.8AlliedWare Plus
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Command List .......................................................................................................................................5.2
clear line console..................................................................................................................................5.2
clear line vty ...........................................................................................................................................5.2
line .......................................................................................................................................................... 5.12
service advanced-vty ....................................................................................................................... 5.21
service http.......................................................................................................................................... 5.22
service password-encryption........................................................................................................ 5.23
service telnet....................................................................................................................................... 5.24
service terminal-length ................................................................................................................... 5.25
show security-password configuration..................................................................................... 5.26
show security-password user ....................................................................................................... 5.26
show privilege....................................................................................................................................5.27
show telnet.......................................................................................................................................... 5.27
show users ........................................................................................................................................... 5.28
telnet server ........................................................................................................................................ 5.30
Software Reference for SwitchBlade® x908 and x900 Series Switches
C613-50026-01 REV BAlliedWare Plus
TM
Operating System - Version 5.4.35.1
Page 100
User Access Commands
Syntaxclear line console 0
Introduction
This chapter provides an alphabetical reference of commands used to configure user
access.
Command List
clear line console
This command resets a console line. If a terminal session exists on the line then the
terminal session is terminated. If console line settings have changed then the new settings
are applied.
Mode
ExampleTo reset the console line (asyn), use the command:
Related Commandsclear line vty
Privileged Exec
awplus#
flowcontrol hardware (asyn/console)
line
show users
clear line vty
This command resets a VTY line. If a session exists on the line then it is closed.
Syntaxclear line vty <0-32>
ParameterDescription
<0-32>Line number
clear line console 0
% The new settings for console line 0 have been
applied
Mode
ExampleTo reset the first vty line, use the command:
Related Commandsprivilege level
5.2AlliedWare Plus
Privileged Exec
awplus#
line
show telnet
show users
Software Reference for SwitchBlade® x908 and x900 Series Switches
clear line vty 1
TM
Operating System - Version 5.4.3C613-50026-01 REV B
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.