Allied Telesis AlliedWare Plus 5.2.1 Software Reference Manual

  • Hello! I am an AI chatbot trained to assist you with the Allied Telesis AlliedWare Plus 5.2.1 Software Reference Manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
AlliedWare Plus Operating System
x900-12XT/S
x900-24XS
x900-24XT x900-24XT-N
Switchblade x908
Software Reference
Software Version 5.2.1
C613-50003-00 Rev E
©2008 Allied Telesis Inc. All rights reserved.
ii AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
Acknowledgements
This product includes software developed by the University of California, Berkeley and its
contributors. Copyright
©1982, 1986, 1990, 1991, 1993 The Regents of the University of
California. All rights reserved
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 Centre at:
http://www.alliedtelesis.com/support/default.aspx
Copyright © 2008 Allied Telesis, Inc. All Rights Reserved.
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 and AlliedWare Plus 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/
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E iii
Table of Contents
Setup Reference 1. Getting Started
Introduction...............................................................................................................................................................1.2
How to get command help .............................................................................................................................1.3
How to work with command modes........................................................................................................1.6
How to see the current configuration.......................................................................................................1.9
Default settings.....................................................................................................................................................1.10
The default configuration script..................................................................................................................1.11
How to change the password.....................................................................................................................1.12
How to set a management IP address ...................................................................................................1.12
How to save and boot from the current configuration................................................................1.13
How to return to the factory defaults....................................................................................................1.15
How to see system information.................................................................................................................1.16
How to set system parameters ..................................................................................................................1.18
How to set the time and date ....................................................................................................................1.20
How to add and remove users ..................................................................................................................1.22
How to undo settings ......................................................................................................................................1.24
How to upgrade the firmware....................................................................................................................1.25
Controlling “show” command output ....................................................................................................1.26
Commands available in each mode .........................................................................................................1.28
2. Command Syntax Conventions in this Software Reference
3. Startup Sequence
AlliedWare Plus™ Start-up..............................................................................................................................3.2
Diagnostic menu.....................................................................................................................................................3.3
Bootloader menu...................................................................................................................................................3.5
Start-up sequence...............................................................................................................................................3.10
4. CLI Navigation Commands
Introduction...............................................................................................................................................................4.2
5. User Access Commands
Introduction...............................................................................................................................................................5.2
6. Creating and Managing Files
Introduction...............................................................................................................................................................6.2
Working with files..................................................................................................................................................6.2
Creating and Using Configuration Files.....................................................................................................6.7
Copying Files To and From Your Device ................................................................................................6.9
7. File Management Commands
Introduction...............................................................................................................................................................7.2
8. System Configuration and Monitoring Commands
Introduction...............................................................................................................................................................8.2
9. Debugging and Logging
Introduction...............................................................................................................................................................9.2
Debugging ..................................................................................................................................................................9.2
Logging .........................................................................................................................................................................9.3
©2008 Allied Telesis Inc. All rights reserved.
iv AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
10. Logging Commands
11. Scripting Commands
12. Interface Commands
Introduction............................................................................................................................................................12.2
13. Interface Testing Commands
Introduction............................................................................................................................................................13.2
Switching
Reference
14. Switching Introduction
Introduction............................................................................................................................................................14.2
Physical Layer Information..............................................................................................................................14.3
The Layer 2 Switching Process....................................................................................................................14.7
Layer 2 Filtering .................................................................................................................................................14.10
Channel Groups (Link Aggregation) .....................................................................................................14.10
Storm Control....................................................................................................................................................14.13
Support for Jumbo Frames .........................................................................................................................14.13
Port Mirroring.....................................................................................................................................................14.14
Port Security........................................................................................................................................................14.14
Virtual Local Area Networks (VLANs) ...............................................................................................14.15
Generic VLAN Registration Protocol (GVRP)................................................................................14.17
VLAN Double Tagging (VLAN Stacking)...........................................................................................14.18
Quality of Service.............................................................................................................................................14.21
IGMP Snooping..................................................................................................................................................14.22
15. Switching Commands
16. VLAN Commands
VLAN Commands..............................................................................................................................................16.2
17. GVRP Commands
GVRP Commands...............................................................................................................................................17.2
18. Spanning Tree Introduction: STP, RSTP, MSTP
Introduction............................................................................................................................................................18.2
Overview of Spanning Trees........................................................................................................................18.2
Spanning Tree Protocol (STP).....................................................................................................................18.5
Configuring STP....................................................................................................................................................18.6
Rapid Spanning Tree Protocol (RSTP) ...................................................................................................18.7
Configuring RSTP ................................................................................................................................................18.8
Multiple Spanning Tree Protocol (MSTP)..........................................................................................18.10
Configuring MSTP ............................................................................................................................................18.18
19. Spanning Tree Commands
Introduction............................................................................................................................................................19.2
20. Link Aggregation Configuration
Introduction............................................................................................................................................................20.2
Configuring LACP ...............................................................................................................................................20.2
21. Link Aggregation Commands
Introduction............................................................................................................................................................21.2
Routing
Reference
22. Internet Protocol (IP) Addressing and Protocols
Introduction............................................................................................................................................................22.2
Address Resolution Protocol (ARP) ........................................................................................................22.3
Domain Name System (DNS) ....................................................................................................................22.6
Internet Control Message Protocol (ICMP) ........................................................................................22.8
ICMP Router Discovery Protocol (IRDP).............................................................................................22.9
Checking IP Connections.............................................................................................................................22.12
23. IP Addressing and Protocol Commands
Introduction............................................................................................................................................................23.2
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E v
24. Routing Protocol Overview
Introduction............................................................................................................................................................24.2
RIP................................................................................................................................................................................24.2
OSPF...........................................................................................................................................................................24.2
PIM-SM......................................................................................................................................................................24.3
VRRP...........................................................................................................................................................................24.3
25. Route Selection
Introduction............................................................................................................................................................25.2
Types of Routes...................................................................................................................................................25.2
RIB and FIB Routing Tables............................................................................................................................25.4
26. Routing Commands
Introduction............................................................................................................................................................26.2
27. RIP Configuration
Introduction............................................................................................................................................................27.2
Enabling RIP ............................................................................................................................................................27.2
Specifying the RIP version...............................................................................................................................27.3
RIPv2 authentication (single key)................................................................................................................27.4
RIPv2 text authentication (multiple keys)..............................................................................................27.5
RIPv2 md5 authentication (multiple keys) ............................................................................................27.8
28. RIP Commands
Introduction............................................................................................................................................................28.2
29. OSPF Configuration
Introduction............................................................................................................................................................29.2
Terminology ...........................................................................................................................................................29.2
Enabling OSPF on an Interface....................................................................................................................29.3
Setting priority.......................................................................................................................................................29.5
Configuring an Area Border Router.........................................................................................................29.7
Redistributing routes into OSPF.................................................................................................................29.8
OSPF Cost ..............................................................................................................................................................29.9
Configuring Virtual Links...............................................................................................................................29.11
OSPF Authentication .....................................................................................................................................29.12
30. OSPF Commands
Introduction ............................................................................................................................................................30.3
31. BGP Commands
Introduction............................................................................................................................................................31.4
32. Route Map Commands
Introduction............................................................................................................................................................32.2
Multicast
Reference
33. IGMP Snooping Configuration
Introduction............................................................................................................................................................33.2
Configuring Switch 1 .........................................................................................................................................33.3
34. IGMP Multicast Commands
Introduction............................................................................................................................................................34.2
35. Common Multicast Commands
Introduction............................................................................................................................................................35.2
36. PIM-SM Configuration
Introduction............................................................................................................................................................36.2
37. PIM-SM Commands
Introduction............................................................................................................................................................37.2
©2008 Allied Telesis Inc. All rights reserved.
vi AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
Traffic and
Security
Reference
38. Access Control List (ACL) Commands
Introduction ............................................................................................................................................................38.2
39. Quality of Service (QoS)
Introduction............................................................................................................................................................39.2
QoS Packet Information..................................................................................................................................39.3
Applying QoS on Your Switch ....................................................................................................................39.7
Premarking your Traffic.................................................................................................................................39.11
Policing (Metering) Your Data..................................................................................................................39.15
Remarking Your Data ....................................................................................................................................39.19
Configuring the Egress Queues................................................................................................................39.20
Egress Queue Shaping...................................................................................................................................39.22
Storm Protection..............................................................................................................................................39.33
QoS and the Switching Fabric...................................................................................................................39.34
40. QoS Commands
Introduction............................................................................................................................................................40.3
41. 802.1x Configuration
Introduction............................................................................................................................................................41.2
The 802.1x Implementation..........................................................................................................................41.2
Configuring 802.1x .............................................................................................................................................41.2
42. 802.1x and RADIUS Commands
Introduction............................................................................................................................................................42.2
43. Secure Shell (SSH) Introduction
Introduction............................................................................................................................................................43.2
Configuring the SSH Server ..........................................................................................................................43.3
Configuring the SSH Client............................................................................................................................43.8
44. SSH Configuration
Configuring the SSH Server .........................................................................................................................44.2
45. Secure Shell Commands
High Availability
Reference
46. VRRP Introduction
Introduction............................................................................................................................................................46.2
Virtual Router Redundancy Protocol.......................................................................................................46.3
VRRP Configuration...........................................................................................................................................46.4
47. VRRP Commands
Introduction............................................................................................................................................................47.2
Typical command sequences........................................................................................................................47.2
VRRP Commands ...............................................................................................................................................47.3
48. EPSR Introduction
Introduction............................................................................................................................................................48.2
Ring Components and Operation.............................................................................................................48.2
Fault Detection and Recovery.....................................................................................................................48.4
Configuration Examples...................................................................................................................................48.6
49. EPSR Commands
Management
Reference
50. NTP Configuration
Introduction............................................................................................................................................................50.2
Overview .................................................................................................................................................................50.2
NTP on the Switch.............................................................................................................................................50.3
Troubleshooting...................................................................................................................................................50.3
Configuration Example.....................................................................................................................................50.4
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E vii
51. NTP Commands
52. Dynamic Host Configuration Protocol (DHCP) Introduction
Introduction............................................................................................................................................................52.2
Configuring the DHCP Server.....................................................................................................................52.3
Configuring the DHCP Relay Agent ........................................................................................................52.5
Configuring the DHCP Client......................................................................................................................52.7
53. Dynamic Host Configuration Protocol (DHCP) Commands
54. SNMP Introduction
Introduction............................................................................................................................................................54.2
Network Management Framework ..........................................................................................................54.2
Structure of Management Information ...................................................................................................54.4
The SNMP Protocol..........................................................................................................................................54.8
SNMPv1 and SNMPv2c on the Switch ...............................................................................................54.13
SNMPv3 ...............................................................................................................................................................54.16
55. SNMP Commands
56. SNMP MIBs
Introduction............................................................................................................................................................56.2
MIB-II MIB ................................................................................................................................................................56.3
TCP MIB ...................................................................................................................................................................56.5
UDP MIB..................................................................................................................................................................56.6
IP Forwarding Table MIB.................................................................................................................................56.7
Ethernet-like Interface Types MIB..............................................................................................................56.8
Medium Attachment Unit (MAU) MIB...................................................................................................56.9
Host Resources MIB.......................................................................................................................................56.11
Bridge MIB ............................................................................................................................................................56.13
RMON MIB .........................................................................................................................................................56.15
57. SMTP Commands
58. RMON Commands
Introduction............................................................................................................................................................58.2
59. Triggers Introduction
Introduction............................................................................................................................................................59.2
Configuring a Trigger.........................................................................................................................................59.2
Troubleshooting Triggers................................................................................................................................59.4
60. Triggers Configuration
Introduction............................................................................................................................................................60.2
Restrict Internet Access...................................................................................................................................60.2
Capturing Unusual CPU and RAM Activity .........................................................................................60.3
Seeing Daily Statistics ........................................................................................................................................60.4
Link Status................................................................................................................................................................60.5
61. Trigger Commands
62. Ping Polling Introduction
Introduction............................................................................................................................................................62.2
How Ping Polling Works.................................................................................................................................62.2
Configuring Ping Polling ...................................................................................................................................62.4
Interaction with Other Protocols...............................................................................................................62.6
63. Ping Polling Commands
Introduction............................................................................................................................................................63.2
Stacking
Reference
64. Stacking Introduction
Introduction............................................................................................................................................................64.4
Stack Formation ...................................................................................................................................................64.7
VCS Fault Tolerance.......................................................................................................................................64.10
65. Stacking Commands
Introduction............................................................................................................................................................65.2
Appendix l
Command List
Setup Reference
This part includes the following chapters:
Chapter 1, Getting Started
Chapter 2, Command Syntax Conventions in this Software Reference
Chapter 3, Startup Sequence
Chapter 4, CLI Navigation Commands
Chapter 5, User Access Commands
Chapter 6, Creating and Managing Files
Chapter 7, File Management Commands
Chapter 8, System Configuration and Monitoring Commands
Chapter 9, Debugging and Logging
Chapter 10, Logging Commands
Chapter 11, Scripting Commands
Chapter 12, Interface Commands
Chapter 13, Interface Testing Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E 1.1
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E 1.1
1 Getting Started
Introduction...............................................................................................................................................................1.2
How to log in...........................................................................................................................................................1.2
How to get command help .............................................................................................................................1.3
How to work with command modes........................................................................................................1.6
How to see the current configuration.......................................................................................................1.9
Default settings.....................................................................................................................................................1.10
The default configuration script..................................................................................................................1.11
How to change the password.....................................................................................................................1.12
How to set a management IP address ...................................................................................................1.12
How to save and boot from the current configuration................................................................1.13
How to save to the default configuration file ............................................................................1.13
How to create and use a new configuration file......................................................................1.13
How to return to the factory defaults....................................................................................................1.15
How to see system information.................................................................................................................1.16
Viewing overall system information .................................................................................................1.16
Viewing temperature, voltage, and fan status.............................................................................1.17
Viewing the serial number.....................................................................................................................1.17
How to set system parameters ..................................................................................................................1.18
How to change the telnet session timeout.................................................................................1.18
How to name the switch.......................................................................................................................1.18
How to display a text banner at login............................................................................................1.19
How to set the time and date ....................................................................................................................1.20
How to show current settings............................................................................................................1.20
How to set the time and date............................................................................................................1.20
How to set the timezone......................................................................................................................1.20
How to configure summer-time........................................................................................................1.21
How to add and remove users ..................................................................................................................1.22
Pre-encrypted passwords ......................................................................................................................1.22
How to undo settings ......................................................................................................................................1.24
How to use the no parameter............................................................................................................1.24
How to use the default parameter...................................................................................................1.24
How to upgrade the firmware....................................................................................................................1.25
Controlling “show” command output ....................................................................................................1.26
Commands available in each mode .........................................................................................................1.28
User Exec mode .........................................................................................................................................1.28
Privileged Exec mode...............................................................................................................................1.29
Global Configuration mode..................................................................................................................1.30
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
1.2 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
Introduction
This chapter introduces a number of commonly-used management features of the AlliedWare
Plus
TM
operating system (OS).
1. Set the console baud rate
The default baud rate is 9600.
By default the AlliedWare Plus
TM
OS supports VT100 compatible terminals on the console
port. This means that the terminal size is 80 columns by 24 rows.
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 high-level
diagnostics (some show commands, ping, traceroute etc), start sessions (Telnet, SSH), and
change mode.
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E 1.3
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
Command
Abbreviations
The AlliedWare Plus CLI accepts abbreviations for commands. For example, the following
command is an abbreviation for the show interface command:
sh in vlan100
View a list of valid
parameters
To get syntax help, type ? after:
the prompt, to list all commands available in the mode you are in
one or more parameters, to list parameters that can come next in the partial command
one or more letters of a parameter, to list matching parameters
Note: The AlliedWare Plus 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.
Example To see which commands are available in User Exec mode, enter “?” at the User Exec mode
command prompt:
awplus>?
This results in the following output:
Exec commands:
clear Reset functions
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
ping Send echo messages
quit Exit current mode and down to previous mode
remote-command Remote stack member command execution
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
Example To see which show commands that start with “i” are available in User Exec mode, enter “?”
after show i:
awplus>show i?
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
1.4 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
This results in the following output:
interface The layer2 interfaces
ip Internet Protocol (IP)
ipv6 Internet Protocol version 6 (IPv6)
Example To use the ? help to work out the syntax for the clock timezone command, enter the following
sequence of commands:
awplus(config)#clock ?
summer-time Manage summer-time
timezone Set clock timezone
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
awplus(config)#clock timezone NZST plus 12
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.
Complete
keywords
To complete keywords, type Tab after part of the command.
If only one keyword matches the partial command, the AlliedWare Plus OS fills in that
keyword. If multiple keywords match, it lists them.
Example To use Tab completion to enter the command show ip dhcp server summary, enter the
following commands. We have included “<Tab>” to show where to type the Tab key—it is
not displayed on screen.
awplus>show ip <Tab>
as-path-access-list bgp community-list
dhcp dhcp-relay domain-list
domain-name extcommunity-list filter
forwarding igmp interface
irdp mroute mvif
name-server nat ospf
pim protocols rip
route rpf
awplus>show ip d<Tab>
dhcp dhcp-relay domain-list domain-name
awplus>show ip dhcp <Tab>
binding pool server
awplus>show ip dhcp server s<Tab>
statistics summary
awplus>show ip dhcp server su<Tab>mmary
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E 1.5
View command
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(config)#interface
interface
% 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
interface port1.0.1
^
% Invalid input detected at '^' marker.
% 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#interface ?
% Unrecognized command
The AlliedWare Plus OS does not tell you when commands are successful. If it does not display
an error message, you can assume the command was successful.
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
1.6 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
How to work with command modes
The following figure shows the command mode hierarchy and the commands to use to move
to lower-level modes.
Multiple users can telnet and issue commands using the 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.
Figure 1-1:
User Exec mode User 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#.
AlliedWare Plus CLI modes
User
Exec mode
Privileged
Exec mode
Router
mode
Interface
mode
enable
Command used to
enter the next
command mode
Command mode
configure terminal
interface
[interface name]
router [routing
protocol ]
Other
sub-modes
Global
Configuration
mode
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E 1.7
Global
Configuration
mode
To change from Privileged Exec to Global Configuration mode, enter the command:
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
modes
A number of features are configured by entering a lower-level mode from Global Configuration
mode. The following table lists these features.
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.
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.
Mode What it configures Command Default prompt
Interface Switch ports, VLANs, the management Eth port. interface name awplus(config-if)#
Class map QoS classes, which isolate and name specific
traffic flows (classes) from all other traffic.
class-map name awplus(config-cmap)#
EPSR Ethernet Protection Switching Ring, a loop
protection mechanism with extremely fast
convergence times.
epsr configuration awplus(config-epsr)#
Line Console port settings or virtual terminal settings
for telnet.
line console 0
line vty number
awplus(config-line)#
Ping poll Ping polling, which checks whether specified
devices are reachable or not.
ping-poll number awplus(config-ping-poll)#
Policy map QoS policies, a collection of user-defined QoS
classes and the default class.
policy-map name awplus(config-pmap)#
Policy map class The QoS actions to take on a class-map, and
which class-maps to associate with a QoS policy.
This mode is a sub-mode of Policy map mode.
(in Policy map mode)
class name
awplus(config-pmap-c)#
Route map Route maps, which select routes to include or
exclude from the switch’s routing table and/or
route advertisements.
route-map name
deny|permit
entry-number
awplus(config-route-
map)#
Router Routing using BGP, IP, IPv6, OSPF, RIP, or VRRP. router protocol
other-parameters
awplus(config-router)#
MST Multiple Spanning Tree Protocol. spanning-tree mst
configuration
awplus(config-mst)#
Trigger Triggers, which run configuration scripts in
response to events.
trigger number awplus(config-trigger)#
VLAN database VLANs. vlan database awplus(config-vlan)#
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
1.8 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
Figure 1-2:
Examples To go from Interface Configuration to Global Configuration mode:
awplus(config-if)#exit
awplus(config)#
To go from Interface Configuration to Privileged Exec:
awplus(config-if)#end
awplus#
To go from Privileged Exec to User Exec:
awplus#disable
awplus>
Entering
Privileged Exec
commands when
in a configuration
mode
When you are configuring the switch, you are likely to want to enter show commands to
confirm the configuration. This can mean you change often 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.
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
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E 1.9
Example To display information about the IP interfaces when in Global Configuration mode, enter the
command:
awplus(config)#do show ip int brief
This results in the following output:
Interface IP-Address Status Protocol
eth0 unassigned admin up running
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#show running-config
To see only part of the current configuration, enter the
command:
awplus#show running-config |include <word>
This displays only the lines that contain word.
To start the display at a particular place, enter the command:
awplus#show running-config |begin <word>
This searches the running-config for the first instance of word and begins the display with that
line.
Tip:
show running-config
works in all modes
except User Exec mode.
Getting Started
©2008 Allied Telesis Inc. All rights reserved.
1.10 AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E Software Version 5.2.1
Default settings
When the switch first starts up with the AlliedWare Plus OS, it applies default settings and
copies these defaults dynamically into its running-config.
These default settings mean that the AlliedWare Plus OS:
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 multicasts
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
sets all the switch ports to access mode. This means they are untagged ports, suitable for
connecting to hosts
creates VLAN
1
and 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 routes (instead of IPv6 routes)
has ports set to autonegotiate their speed and duplex mode
has copper ports set to auto MDI/MDI-X mode
/