Command Line User’s Guide
Page
Table of Contents
101
103
181
232
326
389
462
532
Preface
AT-S62 Command Line User’s Guide
This document uses the following conventions
Contacting Allied Telesyn
Starting a Command Line Management Session
Starting a Management Session
Command Line Interface Features
Command Formatting
Basic Command Line Commands
This command clears the screen
Following command clears the screen
Clear Screen
Clear screen
Following command displays the Main Menu
Exit
Exit
Following command displays the CLI keywords
Help
Help
Following command ends a management session
Logoff Logout Quit
Logoff
Following command displays the AT-S62 Main Menu
Menu
Menu
Save Configuration
Save configuration
Set prompt=Sales Switch
SET Prompt
Set prompt=prompt
Prompt
SET Switch Consolemode
Set switch consolemode=menucli
Set switch consolemode=menu
Show User
Show user
Enhanced Stacking Commands
Guide for background information on enhanced stacking
Access Switch
Access switch number=numbermacaddress=macaddress
Macaddress
Either of the following formats
Access switch number=12
Access switch macaddress=003084520211
SET Switch Stackmode
Set switch stackmode=masterslaveunavailable
Possible settings are
Stackmode
Set switch stackmode=master
Following command displays the switches sorted by name
Show Remotelist
Show remotelist sorted by=macaddressname
Show remotelist
Basic Switch Commands
AT-S62 Command Line User’s Guide
Disable Dhcpbootp
Disable dhcpbootp
Disable IP Remoteassign
Disable ip remoteassign
Disable Telnet
Disable telnet
Following command deactivates the Telnet server
Enable Bootp
Enable bootp
Enable Dhcp
Enable dhcp
Enable IP Remoteassign
Enable ip remoteassign
Enable Telnet
Enable telnet
Following command activates the Telnet server
AT-8500 Series switch supports only one
Format Device
Format drive=flash
Drive
Basic Switch Commands
Ping
Ping
Purge IP
Purge ip ipaddress netmask route
Purge ip ipaddress netmask
Purge ip ipaddress route
Reset Switch
Reset switch
This command performs the functions described above
Reset System
Reset system name contact location
Reset system
Reset system name
Restart Reboot
Restart reboot
Following command resets the switch
Restart Switch
Restart switch config=nonefilename.cfg
Config
Exist on the switch. The value None returns
Restart switch config=switch12.cfg
Following command resets the switch to its default values
Restart switch config=none
SET Asyn
Set asyn speed=115200
SET IP Interface
Following command sets just the subnet mask
Following command activates the Dhcp client software
Set ip interface=eth0 netmask=255.255.255.252
Set ip interface=eth0 ipaddress=dhcp
Following command sets the default gateway to
SET IP Route
Set ip route ipaddress=ipaddress
Set ip route ipaddress=140.35.22.12
SET Password Manager
Set password manager
Following command changes the manager’s password
Follow the prompts to enter the new password
SET Password Operator
Set password operator
Following command changes the operator’s password
SET Switch Consoletimer
Set switch consoletimer=value
Following command sets the console timer to 25 minutes
Set switch consoletimer=25
SET System
Set system name=name contact=contact location=location
Set system name=PR Office
SET User Password
Show user manageroperator password=password
Password
Following command changes the operator’s password to newby
Show Asyn
Show asyn
Show Config
Show config dynamic info
Show config
Show config info
Show Dhcpbootp
Show dhcpbootp
Show IP Interface
Show ip interface=eth0
Show IP Route
Show ip route
Show Switch
Show switch
Following command displays the above information
Show System
Show system
Simple Network Time Protocol Sntp Commands
Guide for background information on Sntp
ADD Sntpserver Peeripaddress
Add sntpserver peeripaddress=ipaddress
Peer
Ipaddress Parameters are equivalent
Delete Sntpserver Peeripaddress
Delete sntpserver peeripaddress=ipaddress
Delete sntpserver ipaddress=148.35.16.248
Disable Sntp
Disable sntp
Following command disables Sntp on the switch
Enable Sntp
Enable sntp
Following command enables the Sntp client software
Following command resets Sntp
Purge Sntp
Purge sntp
Following command sets just the date to April 2
SET Date Time
Time in 24-hour format
Set date=11-03-2004 time=163452
Set sntp dst=enabled pollinterval=300 utcoffset=-8
SET Sntp
Following command displays Sntp client software information
Show Sntp
Show sntp
This command shows the switch’s current date and time
Following command shows the system’s date and time
Show Time
Show time
SNMPv1 and SNMPv2 Community Strings and Trap Commands
Guide for background information on Snmp
ADD Snmp Community
Community
Must be enclosed in double quotes if it contains a
Point. Otherwise, the quotes are optional
Add snmp community=public traphost=149.212.10.11
Create Snmp Community
Can use the community string to access the switch
This option applies if you specify the status
Community string as closed. a community string can
Have up to eight IP addresses of management
Create snmp community=serv12 access=read open=yes
Delete Snmp Community
Delete snmp community=public traphost=149.212.44.45
Destroy Snmp Community
Destroy snmp community=community
Destroy snmp community=wind44
Disable Snmp
Disable snmp
Following command disables Snmp on the switch
Disable Snmp Authenticatetrap
Disable snmp authenticatetrapauthenticatetrap
Disable snmp authenticatetrap
Disable Snmp Community
Disable snmp community=community
Disable snmp community=sw1200
String must be enclosed in double quotes if it
Enable Snmp
Enable snmp
Following command activates Snmp on the switch
Enable Snmp Authenticatetrap
Enable snmp authenticatetrapauthenticatetrap
Enable snmp authenticatetrap
Enable Snmp Community
Enable snmp community=community
Enable snmp community=private
SET Snmp Community
Set snmp community=sw44 open=no
Set snmp community=serv12 access=write open=yes
Otherwise, the quotes are optional. Default
This command displays the following Snmp information
Show Snmp
Show snmp community=community
Show snmp
Show snmp community=private
SNMPv3 Commands
Guide for background information on the SNMPv3 protocol
ADD SNMPV3 User
Entry to the configuration file on
Switch. This is the default
Configuration file on the switch
This command creates an SNMPv3 User Table entry
Clear SNMPV3 Access
An optional parameter
Writeview Specifies a Write View Name that allows the users
Notifyview
Assigned to this security group to send traps
Parameter
Clear SNMPV3 Community
Clear snmpv3 community index=index transporttag
Clear snmpv3 community index=1005 transporttag
Clear snmpv3 community index=421 transporttag
Clear SNMPV3 Notify
Clear snmpv3 notify=notify tag
Clear snmpv3 notify=hwengtraptag tag
Clear snmpv3 notify=hwenginform tag
Clear SNMPV3 Targetaddr
Clear snmpv3 targetaddr=targetaddr taglist
Clear snmpv3 targetaddr=snmphost44 taglist
Clear snmpv3 targetaddr=snmphost79 taglist
Clear SNMPV3 View
Clear snmpv3 view=view subtree=OIDtext mask
Clear snmpv3 view=1.3.6.1.2.1.1 mask
Clear snmpv3 view=private subtree=1.3.6.1.4 mask
Create SNMPV3 Access
Parameter, then the writeview parameter defaults to
Notifyview parameter defaults to none
This command creates an SNMPv3 Access Table entry
Information in the specified View Table. This is an
111
Create SNMPV3 Community
113
Groupname Specifies a group name configured in the SNMPv3
SNMPV3 Access on
This command creates an SNMPv3 SecurityToGroup Table entry
Create SNMPV3 Group
115
NMS or manager. This is the default
This command creates an SNMPv3 Notify Table entry
Create SNMPV3 Notify
Inform Inform messages are sent, with a
117
Create SNMPV3 Targetaddr
119
Create SNMPV3 Targetparams
Targetparams Specifies the name of the SNMPv3 Target
User Table
This command creates an SNMPv3 Target Parameters Table entry
This command creates an SNMPv3 View Table entry
Create SNMPV3 View
Options are
123
Delete SNMPV3 User
Delete snmpv3 user=user
Delete snmpv3 user=wilson890
Delete snmpv3 user=75murthy75
Destroy SNMPv3 Access
126
Destroy snmpv3 community index=index
Destroy snmpv3 community index=1001
Destroy snmpv3 community index=5
Destroy snmpv3 group username=Dave securitymodel=v3
Destroy snmpv3 group username=May securitymodel=v3
Destroy snmpv3 notify=notify
Destroy snmpv3 notify=systemtestnotifytrap
Destroy snmpv3 notify=engineeringinform1
Destroy snmpv3 targetaddr=target
Destroy snmpv3 targetaddr=snmpv3host77
Destroy snmpv3 targetaddr=snmpmanager
Destroy snmpv3 targetparams=targetparams
Targetparams
Destroy snmpv3 targetparams=targetparameter1
Destroy snmpv3 targetparams=snmpmanager
Destroy SNMPV3 View
Destroy snmpv3 view=view subtree=OIDtext
Subtree Specifies the view subtree view. The options are
Text Text name of the view
SET SNMPV3 Access
Specified by the View Table entry
Information in the specified View Table
Specified View
This command modifies an SNMPv3 Access Table entry
This command modifies an SNMPv3 Community Table entry
SET SNMPV3 Community
136
This command modifies an SNMPv3 SecurityToGroup Table entry
SET SNMPV3 Group
138
This command modifies an SNMPv3 Notify Table entry
SET SNMPV3 Notify
140
Retries Specifies the number of times the switch retries to
SET SNMPV3 Targetaddr
Parameter Udpport
This command modifies an SNMPv3 Target Address Table entry
SET SNMPV3 Targetparams
Username Specifies the user name Securitymodel
This command modifies a Target Parameters Table entry
SET SNMPV3 User
146
This command modifies an SNMPv3 View Table entry
SET SNMPV3 View
Name to see the specified subtree
Set snmpv3 view=internet1 subtree=internet type=included
Set snmpv3 view=system subtree=1.3.6.1.2.1 type=excluded
Show SNMPV3 Access
Show snmpv3 access=access
Show snmpv3 access=production
Show snmpv3 access
Show SNMPV3 Community
Show snmpv3 community index=index
Show snmpv3 community index=246
Show snmpv3 community
Show snmpv3 group username=Dave securitymodel=v3
Show snmpv3 group
Show SNMPV3 Notify
Show snmpv3 notify=notify
Show snmpv3 notify=testengtrap1
Show snmpv3 notify
Show SNMPV3 Targetaddr
Show snmpv3 targetaddr=targetaddr
Show snmpv3 targetaddr=snmpv3host55
Show snmpv3 targetaddr
Show SNMPV3 Targetparams
Show snmpv3 targetparams=targetparams
Show snmpv3 targetparams=snmpv3manager95
Show snmpv3 targetparams
Show SNMPV3 User
Show snmpv3 user=user
Show snmpv3 user=Robert
Show snmpv3 user
Show SNMPV3 View
Show snmpv3 view=view subtree=OIDtext
Port Parameter Commands
Guide for background information on the port parameters
Activate Switch Port
Activate switch port=port autonegotiate
Activate switch port=1,4 autonegotiate
Disable Interface Linktrap
Disable interface=port linktrap
Following command disables link traps on port
Disable interface=21
Disable Switch Port
Disable switch port=port
Following command disables ports 12
Disable switch port=12,24
Disable Switch Port Flow
Disable switch port=port flow=pause
Disable switch port=6 flow=pause
Enable Interface Linktrap
Enable interface=port linktrap
Following command enables Snmp link traps on port
Enable interface=21
Enable Switch Port
Enable switch port=port
Following command enables ports 1 to
Disable switch port=1-4
Enable Switch Port Flow
Enable switch port=port flow=pause
Port Specifies the port where you want to activate flow
This command activates flow control on port
Reset Switch Port
Reset switch port=port
Following command resets ports 5 to
Reset switch port=5-8
SET Switch Port
Mdimode=mdimdixauto
Default setting
Mdi Sets the port’s configuration to MDI Mdix
To the port. This is the default setting
Auto-Negotiation
Is using flow control, the switch port
Is not using flow control, neither will
Switch port
Default is 57,344 cells
Duplex mode
Softreset
Only value is
A port’s operating parameters
Following command disables ports 1 to
Set switch port=1-6 status=disabled
Set switch port=8 speed=10mhalf
Following command resets port
SET Switch Port Ratelimit
Yes, on, true, enabled Activates multicast
No, off, false, disabled Deactivates multicast
Set switch port=all unkucastratelimiting=enabled
This command changes the rate limit to 15,000 packets
Set switch port=all rate=15000
Set switch port=all unkucastratelimiting=disabled
Show Interface
Show interface=port
Port Specifies the port whose interface information you
Following command displays the above information on port
Show interface=21
Show Switch Port
Show switch port=port
Show switch port
Show switch port=14
MAC Address Table Commands
Guide for background information on the MAC address table
ADD Switch Fdbfilter
179
Delete Switch FDB
Delete switch fdb macaddress=macaddress vlan=namevid
Delete switch fdb macaddress=00A0D2181A11 vlan=1
Delete switch fdb macaddress=00a0c1112244 vlan=sales
Reset Switch FDB
Reset switch fdb port=port
Reset switch fdb port=5
Specify more than one port at a time
SET Switch Agingtimerageingtimer
Set switch agingtimerageingtimer=value
Set switch agingtimer=120
Show Switch Agingtimerageingtimer
Show switch agingtimerageingtimer
Show switch agingtimer
Show Switch FDB
Show switch fdb
Show switch fdb status=static
Show switch fdb status=multicast
Show switch fdb address=00A0D2181A11
Show switch fdb port=2
Show switch fdb vlan=sales
Port Trunking Commands
ADD Switch Trunk
Add switch trunk=name port=port
Following command adds port 5 to a port trunk called load22
Add switch trunk=load22 port=5
Create Switch Trunk
Create switch trunk=load22 port=3-6 select=macdest
Create switch trunk=trunk4 port=15,17,23
Delete Switch Trunk
Delete switch trunk=name port=port
Delete switch trunk=Devtrunk port=9
Trunk Specifies the name of the trunk to be modified Port
Destroy Switch Trunk
Destroy switch trunk=name
Destroy switch trunk=load22
SET Switch Trunk
Set switch trunk=Load11 select=ipdest
Trunk Specifies the name of the port trunk Select
Show Switch Trunk
Show switch trunk
Following command displays port trunking information
Networking Stack Commands
This chapter contains the following commands
Following command deletes the ARP entry with the IP address
Delete IP ARP
Delete ip arp ipaddressall
Delete ip arp
Delete TCP
Delete tcp indexnumber
Delete tcp
Reset IP ARP
Reset ip arp
Set ip arp timeout=integer
Following command sets the timer to 600 seconds
Set ip arp timeout=600
SET IP ARP
Following command displays the ARP table
Show IP ARP
Show ip arp
IP addresses and their corresponding MAC addresses
Following command displays the IP route table
IP address of a destination network, subnetwork, or end node
Show TCP
Show tcp
Number of segments transmitted with the RST bit set
Internal socket ID number assigned to the connection
203
Lacp Commands
Guide for background information and guidelines on Lacp
ADD Lacp Port
Add lacp port=6 adminkey=0x1a priority=0x10
Add lacp port=8,22 aggregator=agg1
Create Lacp Aggregator
Following command creates an Lacp aggregator named
Delete Lacp Port
Delete lacp port=port aggregator=name
Delete lacp port=9
Destroy lacp aggregator=nameadminkey=key
Following command deletes an aggregator named agg15
Destroy lacp adminkey=0x1a
Destroy Lacp Aggregator
Disable Lacp
Disable lacp
Following command disables Lacp on the switch
Enable Lacp
Enable lacp
Following command enables Lacp
Set lacp aggregator=server11trunk adminkey=0x22
SET Lacp Aggregator
Set lacp aggregator=agg5 distribution=macsrc
SET Lacp Port
Set lacp port=2,5 aggregator=switchtrunk
Set lacp port=8-9 adminkey=0x11
Following command changes the priority of port 6 to 0x2B
Set lacp port=6 priority=0x2b
Following command sets the Lacp priority on the switch to
SET Lacp Priority
Set lacp priority=priority
This is a hexadecimal value from 0x1 to 0xffff.
Set lacp state=enabledisable
Set lacp state=enable
SET Lacp State
Show Lacp
Port Mirroring Commands
SET Switch Mirror
Set switch mirror=port
Set switch mirror=11
Set switch mirror=0
SET Switch Port Mirror
Set switch port=port mirror=nonerxtxboth
Set switch port=16-17 mirror=rx
Set switch port=5,7,10 mirror=none
Show Switch Mirror
Show switch mirror
Following command displays the ports of a port mirror
Statistics Commands
Guide for background information on statistics
Reset Switch Port Counter
Reset switch port=port counter
This command returns a port’s statistics counters to zero
Reset switch port=14-15 counter
Show Switch Counter
Show switch counter
Show Switch Port Counter
Show switch port=port counter
Show switch port=14 counter
Show switch port counter
File System Commands
Guide for background information on the switch’s file system
Copy admin.cfg admin2.cfg
Copy switch 12.cfg backup.cfg
Copy
Create Config
Create config=filename.cfg
Create config=Switch12.cfg
Filename contains spaces, it must be enclosed
Delete file=Switch 12.cfg
Delete File
Delete file=filename
Delete file=SW55a.csr
Rename Switch12.cfg Sw 44a.cfg
Rename
If the name contains spaces, enclose it
SET Config
Set config=filename.cfg
Spaces, it must be enclosed in double quotes
Set config=switch22.cfg
Show File
Show file=filename
Show file=
Show file=*.cfg
File Download and Upload Commands
Load METHOD=LOCAL
System that you want to download into the application
Block. If the filename contains a space, enclose
Name in double quotes. These parameters are
Load method=local destfile=appblock srcfile=ats62v1 3 0.img
Load METHOD=TFTP
AT-S62 configuration file
Public key certificate
Public key certificate enrollment
Request
240
241
As the new active image file on the switch
Load METHOD=XMODEM
Load method=xmodem destfile=appblockfilename
Method Specifies an Xmodem download Destfile
243
Load method=xmodem destfile=switch12.cfg
Load method=xmodem destfile=sw12ssl.cer
Load method=xmodem destfile=appblock
Load method=xmodem destfile=ats62v130.img
Upload METHOD=LOCAL
Active AT-S62 image file is stored
Upload method=local destfile=sw12 s62 image.img src=appblock
Upload METHOD=REMOTESWITCH
249
250
Upload method=remoteswitch srcfile=appblock switchlist=2
252
Upload METHOD=TFTP
254
255
Switch’s file system
Upload METHOD=XMODEM
Specifies the name of a file
Appblock
Upload method=xmodem srcfile=sw22 boot.cfg
Upload method=xmodem srcfile=switchcfg
Upload method=xmodem srcfile=sw12sslenroll.csr
Event Log and Syslog Server Commands
ADD LOG Output
Add log output=5 module=all severity=all
Add log output=3 module=estack severity=e
Add log output=4 module=stp,vlan severity=e,w
Create LOG Output
263
Security Security modules Authorization
Authentication modules
Messages
Clock daemon Time- based modules Time system time and Sntp
Syslogformat parameter defines the content of the events
LOCAL1 LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7
Following command deletes syslog server definition number
Destroy LOG Output
Destroy log output=idnumber
Destroy log output=3
Disable LOG
Disable log
Following command disables the event log on the switch
Disable LOG Output
Disable log output=idnumber
Disable log output=7
Disable log output
Enable LOG
Enable log
Enable LOG Output
Enable log output=idnumber
Enable log output=4
Enable log output
Purge LOG
Purge log=temporary
Save LOG
Save log=temporary filename=switch 2.log
SET LOG Fullaction
Set log fullaction temporary=haltwrap
Set log fullaction temporary=halt
SET LOG Output
Example, MAC,PACCESS. For a list
According to its impact on the switch’s operation
Address for each event. This is
Normal Sends only the severity, module, Description Module
Set log output=3 server=198.45.12.1
Set log output=11 module=stp,igmpsnooping severity=e,w
Show LOG
Modules Reverse Specifies the order in which the events are
Newest to oldest. Without it, the events are
Displayed oldest to newest
Port access control list
Switch configuration
Command line interface commands
Denial of service defense
Management access control list
802.1x port-based access control
Port configuration
Power over Ethernet AT-8524POE switch only
Selects all severity levels
Event Log Example
Following command displays all the entries in the event log
Show log=temporary
Show log=temporary full
Show log=temporary module=file,qos
On the switch are displayed
Show LOG Output
Show log output=idnumber full
Server definition. If an output ID number is not
Following command displays information about the event log
Show log output
Show log output=1 full
Show log output=5 full
Following command displays event log status information
Show LOG Status
Show log status
Classifier Commands
Guide for background information on classifiers
Create Classifier
A specific node or a subnet. To filter using the IP
VID number
Protocol Specifies a Layer 2 protocol. Options are ARP
You can specify other Layer 2 protocols by entering
Ipsaddr
This command creates a classifier for all IP traffic
Create classifier=4 description=IP flow protocol=ip
Destroy Classifier
Destroy classifier=idnumber
Destroy classifier=2,4
This command deletes all classifiers on the switch
Purge Classifier
Purge classifier
SET Classifier
Classifier Specifies the ID number of the classifier to be
Number can be from 1 to
You can specify additional Layer 2 protocols by
Entering the protocol number in either decimal or
Hexadecimal format. For the latter, precede
Number with
This command adds the Layer 3 protocol Igmp to classifier ID
Set classifier=6 ipprotocol=igmp
Set classifier=5 udpdport=any
Show Classifier
Show classifier=idnumber
Show classifier
Show classifier=12
ACL Commands
Guide for background information on access control lists ACL
Create ACL
ACL Commands
This command deletes an ACL from the switch
Following command deletes ACL IDs 14
Destroy ACL
Destroy acl=integer
This command deletes all ACLs on the switch
Purge ACL
Purge acl
SET ACL
This command changes the description of ACL ID
This command changes the classifiers of ACL ID
Set acl=4 description=ARP flow
Set acl=6 action=permit portlist=4-7
Show ACL
Show acl=integer
Show acl
Show acl=22
Quality of Service QoS Commands
307
ADD QOS Flowgroup
Add qos flowgroup=integer classifierlist=integers
Add qos flowgroup=12 classifierlist=4,7
This command adds the traffic class 16 to policy
ADD QOS Policy
Add qos policy=integer trafficclasslist=integers
11,12
ADD QOS Trafficclass
Add qos trafficclass=17 flowgrouplist=21
Create QOS Flowgroup
Create qos flowgroup=integer
Remarkpriority
New value specified with the Priority
With the Priority parameter
313
Create QOS Policy
Ingress ports. On switches with 24 ports plus
Uplinks, ports 1-26 form a port block. On switches
This command creates a new QoS policy
14-22
Policy 11 Commands
Parts of the policies are
Example 2 Video Application
Policy 32 Commands
Example 3 Critical Database
Policy 15 Commands
Create QOS Trafficclass
Create qos trafficclass=integer
Specified at the traffic class or policy level. a
Used only if no value has been specified at
Flow group level. It will override any value set at
Policy level
Continue to the point where all the unused
Traffic. However, no unused tokens will
Accumulate in the bucket. If the traffic
Increases, the excess traffic will be discarded
Packets with the new value
Specified with the Priority
Value specified in with
Priority parameter. This is
Delete QOS Flowgroup
Delete qos flowgroup=22 classifierlist=6
Delete QOS Policy
Delete qos policy=1 trafficclasslist=17
Delete QOS Trafficclass
Delete qos trafficclass=22 flowgrouplist=5
Destroy QOS Flowgroup
Destroy qos flowgroup=integer
Destroy qos flowgroup=22
Destroy qos flowgroup=16-20,23
Destroy QOS Policy
Destroy qos policy=integer
Destroy qos policy=41
Destroy qos policy=5,23
Destroy QOS Trafficclass
Destroy qos trafficclass=integer
Destroy qos trafficclass=22
Destroy qos trafficclass=16-20,23
SET QOS Flowgroup
To modify. The range is 0 to
If the None option is used, the frame’s current
If you specify a new priority in a flow group and a
Packets with the new value specified
Set qos flowgroup=15 priority=6
Set qos flowgroup=25 classifierlist=23,41
Set qos flowgroup=41 markvalue=none
SET QOS Policy
TOS field of the packets. The range is 0 to
To another policy with one command
Ingressport
14-22. The None option removes the policy
ALL option adds it to all ports
This command changes the ingress port for policy 8 to port
This command changes the traffic classes assigned to policy
Set qos policy=8 ingressport=8
Set qos policy=41 trafficclasslist=12,23
SET QOS Port
Set qos port=5-8 type=ingress policy=12
Set qos port=1,5 type=egress policy=none
SET QOS Trafficclass
Set qos trafficclass=integer
Flow group, traffic class, and policy. a Dscp value
When they leave the switch
Tokens are added. The range is 4 to 512 Kbps
This parameter should be used with
Bucket size without also specifying a maximum
With commas e.g., 4,11,13
Set qos trafficclass=42 priority=17
Set qos trafficclass=41 maxbandwidth=80 burstsize=400
Show QOS Flowgroup
Show qos flowgroup=idnumber
Show qos flowgroup
Show qos flowgroup=12
Show QOS Policy
Show qos policy=idnumber
Show qos policy
Show qos policy=54
Show QOS Trafficclass
Show qos trafficclass=idnumber
Show qos trafficclass
Show qos trafficclass=14
Class of Service CoS Commands
Guide for background information on Quality of Service
MAP QOS Cosp
Following command maps priorities 4 and 5, to egress queue
Map qos cosp=4,5 qid=3
Following command maps priorities 5 and 6, to egress queue
SET QOS Cosp
Set qos cosp=5,6 qid=1
Set qos scheduling=strictwrr weights=weights
Set qos scheduling=wrr weights=1,5,10,15
SET QOS Scheduling
Set qos scheduling=strict
Show QOS Config
Show qos config
Displays the QoS priority queues and scheduling
Power Over Ethernet Commands
Guide for background information on Power over Ethernet PoE
Disable POE Port
Disable poe port=port
This command disables PoE on port 5
Disable poe port=5,7
Enable POE Port
Enable poe port=port
This commands activates PoE on port
Enable poe port=2
SET POE Port
Following command disables PoE on ports 4
Set poe port=4-5 poefunction=disable
This command sets the priority on port 6 and 11 to high
Set poe port=14 powerlimit=12500
SET POE Threshold
Set poe threshold=value
Set poe threshold=80
Show POE Config
Show poe config port=port
Show poe config
Show poe config port=4
Show POE Status
Show poe status port=port
Show poe status
Show poe status port=4
Igmp Snooping Commands
Guide for background information on Igmp Snooping
Disable Igmpsnooping
Disable igmpsnooping
This command deactivates Igmp snooping
Enable Igmpsnooping
Enable igmpsnooping
This command activates Igmp snooping
SET IP Igmp
Set ip igmp snoopingstatus=disabled
Set ip igmp hoststatus=singlehost
Show Igmpsnooping
Show igmpsnooping
Show IP Igmp
Show ip igmp hostlist routerlist
Show ip igmp
Show ip igmp hostlist
Show ip igmp routerlist
Denial of Service DoS Defense Commands
SET DOS
Set dos ipaddress=ipaddress subnet=mask uplinkport=port
Set dos ipaddress=149.11.11.1 subnet=0.0.0.63
Set dos ipoption port=5,7,10 state=enable
SET DOS Ipoption
Than one port at a time
Mirrorport
Set dos land port=port state=enabledisable mirrorport=port
Set dos land port=5,7 state=enable
SET DOS Land
SET DOS Pingofdeath
Following command activates the defense on ports 1
Set dos pingofdeath port=1,5 state=enable
Set dos smurf port=port state=enabledisable
Port Specifies the switch ports on which you want to
Following command activates this defense on port
Set dos smurf port=17 state=enable
Set dos synflood port=port state=enabledisable
Following command activates the defense on ports 18 to
Set dos synflood port=18-20 state=enable
SET DOS Synflood
SET DOS Teardrop
Following command activates the defense on port
Set dos teardrop port=22 state=enable
Show DOS
Show dos ipaddress subnet uplinkport
Show dos defense port=port
Show dos ipaddress subnet
Show dos smurf port=4
STP Commands
Activate STP
Activate stp
Disable STP
Disable stp
Following command disables STP
Enable STP
Enable stp
Following command enables STP on the switch
Purge STP
Purge stp
SET STP
Following table. You specify the increment that
Represents the desired bridge priority value.
32768
Seconds
Set stp hellotime=7 forwarddelay=25
Set stp default
Set stp priority=11
SET STP Port
Set stp port=6 portcost=15 portpriority=12
Set stp port=7-10 portcost=auto
SET Switch Multicastmode
Set switch multicastmode=abcd
Where the ingress port is a member
Multicastmode Specifies one of the following
Set switch multicastmode=a
Show STP
Show stp port=port
Show stp
Show stp port=1-4
Rstp Commands
Activate Rstp
Activate rstp
Disable Rstp
Disable rstp
Following command disables Rstp
Enable Rstp
Enable rstp
Following command enables Rstp
Following command resets Rstp
Purge Rstp
Purge rstp
SET Rstp
Range is divided into sixteen increments, as
Shown in the following table. You specify
Increment that represents the desired bridge priority
Forwarddelay
STP compatible mode
Parameter settings, but
Seconds
Set rstp priority=5 hellotime=5 forwarddelay=20
Set rstp forceversion=stpcompatible
Set rstp default
SET Rstp Port
Mbps 20,000 Portpriority
You specify the increment that corresponds to
Port is an edge port.
Values are equivalent. This is
Set rstp port=4 portcost=1000000 portpriority=14
Set rstp port=6-8 edgeport=no
Show rstp portconfig=portportstate=port
Show rstp portconfig=1-4
Show Rstp
Show rstp
Following command displays Rstp port status for port
Show rstp portstate=15
Mstp Commands
407
Activate Mstp
Activate mstp
ADD Mstp
Add mstp mstiid=mstiid mstivlanassoc=vids
Add mstp mstiid=8 mstivlanassoc=4
Add mstp mstiid=11 mstivlanassoc=24,44
Create Mstp
Create mstp mstiid=mstiid mstivlanassoc=vids
At a time. The range is 1 to
Create mstp mstiid=8 mstivlanassoc=4
Delete Mstp
Delete mstp mstiid=mstiid mstivlanassoc=vids
Delete mstp mstiid=8 mstivlanassoc=4
Delete mstp mstiid=11 mstivlanassoc=24,44
Destroy Mstp Mstiid
Destroy mstp mstiid=mstiid
This example deletes the spanning tree instance
Destroy mstp mstiid=4
Disable Mstp
Disable mstp
Following command disables Mstp
Enable Mstp
Enable mstp
Following command enables Mstp
Purge Mstp
Purge mstp
Performs the same function as the Reset Mstp
Command. The spanning tree protocol must be
Disabled to use this parameter
SET Mstp
Seconds Forwarddelay
Those ports operating in the STP compatible mode
Configname
Maxhops Specifies the maximum hops counter. Mstp
Set mstp default
Set mstp forceversion=forcestpcompatible
Default value is 32,768, which is increment
SET Mstp Cist
Set mstp cist priority=priority
Is divided into sixteen increments, as shown
Set mstp cist priority=11
SET Mstp Msti
Set mstp msti mstiid=mstiid priority=priority
Msti Priority Value Increments
Set mstp msti mstiid=4 priority=11
Set mstp msti mstiid=6 priority=2
SET Mstp Mstivlanassoc
Set mstp mstivlanassoc mstiid=mstiid vlanlist=vids
Set mstp mstivlanassoc mstiid=8 vlanlist=4
Set mstp mstivlanassoc mstiid=11 vlanlist=24,44
SET Mstp Port
Mbps 20,000 Edgeport
Connected to any device running STP or Mstp
Selections are Yes, on, true Port is an edge port. These
BPDUs indefinitely. Set the migrationcheck
Default setting is Auto-detect 0, which sets port
Cost depending on the speed of the port. Default
An internal port cost. The range is 0 to 200,000,000
Mbps ports, and 20,000 for one gigabit ports
Set mstp port=14,23 extportcost=500
Set mstp port=6-8 edgeport=yes
Set mstp port=2-5 extportcost=auto
Set mstp port=6-8 ptp=yes
Set mstp port=7,10 intportcost=500
Set mstp port=7,10 portpriority=4 stpid=2
Set mstp port=2-5 intportcost=auto
Show Mstp
Msti priority Regional root ID
Show mstp portconfig=5 stpid=2
Show mstp
Show mstp portstate=4
Show mstp cist
VLANs and Multiple Vlan Mode Commands
ADD Vlan
Add vlan=name vid=vid port=portsall frame=untaggedtagged
Add vlan=Service untaggedports=7-8 taggedports=5
Add vlan=sales port=4,7 frame=untagged
Add vlan=sales untaggedports=4,7
Add vlan=production port=3 frame=tagged
Create Vlan
Create vlan=name vid=vid port=portsall frame=untaggedtagged
Port Specifies the ports on the switch that are either
This command creates a new port-based or tagged Vlan
Example, 1, 5, 14-22. To specify all ports on
Frame parameter
Create vlan=Service vid=16 port=1,4,5-7 frame=untagged
Create vlan=Sales vid=3 port=4-8,12-16 frame=untagged
Create vlan=Sales vid=3 untaggedports=4-8,12-16
Create vlan=Production vid=22 port=3,6 frame=tagged
438
Delete Vlan
Delete vlan=name vid=vid port=ports frame=untaggedtagged
Vlan Specifies the name of the Vlan to be modified Vid
This parameter must be used with the Frame
Delete vlan=sales port=4,7 frame=untagged
Delete vlan=sales untaggedports=4,7
Delete vlan=production port=13 frame=tagged
Delete vlan=production untaggedports=13
To 8, the commands would be
Delete vlan=Service untaggedports=6-8 taggedports=2
Destroy Vlan
Destroy vlan vlan=nameall vid=vid
Destroy vlan vlan=Sales
Destroy vlan vlan=Sales vid=102
SET Switch Infiltering
Set switch infiltering=yesnoonofftruefalse
Set switch infiltering=off
SET Switch Managementvlan
Set switch managementvlan=nameVID
Set switch managementvlan=TechSupport
SET Switch Vlanmode
Set switch vlanmode=dotqmultiple uplinkport=4
Set switch vlanmode=userconfig
SET Vlan
Set vlan=name vid=vid type=portbased
Set vlan=gvrpvlan22 type=portbased
Show Vlan
Show vlan=namevid
Show vlan
Show vlan=sales
Garp Vlan Registration Protocol Commands
Guide for background information on the Gvrp
Disable Garp
Disable garp=gvrp gip
Disable garp=gvrp
Enable Garp
Enable garp=gvrp gip
This commands enables Gvrp on the switch
Enable garp=gvrp
Purge Garp
Purge garp=gvrp
SET Garp Port
Set garp=gvrp port=port mode=normalnone
Set garp=gvrp port=1-4 mode=none
Set garp=gvrp port=3 mode=normal
SET Garp Timer
Following command sets the timers to their default values
Set garp=gvrp timer default
Following command displays the above Gvrp information
Show Garp
Show garp=gvrp
Show Garp Counter
Show garp=gvrp counter
Following command displays the above Garp counters
Following command displays the Garp database
Show Garp Database
Show garp=gvrp database
Following command displays the GIP-connected ring
Show Garp GIP
Show garp=gvrp gip
Following command displays GID state machines
Show Garp Machine
Show garp=gvrp machine
Port App Reg
Protected Ports Vlan Commands
ADD Vlan Group
Following command accomplishes the same thing using syntax
Add vlan=InternetGroups untaggedports=11 group=uplink
Add vlan=InternetGroups port=5,6 frame=untagged group=4
Add vlan=InternetGroups untaggedports=5,6 group=4
Create Vlan Portprotected
Create vlan=name vid=vid portprotected
Create vlan=InternetGroups vid=12 portprotected
Vlan Specifies the name or VID of the Vlan to be
VID
Delete vlan=InternetGroups port=12 frame=untagged
Delete vlan=InternetGroups untagged=12
Following command deletes the Vlan called InternetGroups
Following command deletes all VLANs
Destroy vlan=namevidall
Destroy vlan=InternetGroups
Set vlan=namevid port=ports frame=taggeduntagged
Set vlan=Sales port=4 frame=untagged
Following command displays the Sales Vlan
MAC Address Security Commands
Guide for background information on port security
SET Switch Port Intrusionaction
Port Specifies the port where you want to change
Set switch port=12,21 intrusionaction=trap
Snmp trap
SET Switch Port Securitymode
Trap, and disables the port
Disable. This option does not apply when intrusion
To the Limited security mode. Intrusion actions are
Action is set to discard. Options are
Set switch port=8 securitymode=limited learn=5
Set switch port=15-16 learn=150
Set switch port=2,6,18 securitymode=locked
Set switch port=12-24 securitymode=secured
Show Switch Port Intrusion
Show switch port=port intrusion
Port Specifies the port where you want to view
Show switch port=12,21 intrusion
Show Switch Port Securitymode
Show switch port=port securitymode
Show switch port=1-5 securitymode
802.1x Port-based Access Control Commands
Disable Portaccessportauth
Disable portaccessportauth
Portaccess and Portauth keywords are equivalent
Disable portaccess
Disable Radiusaccounting
Disable radiusaccounting
Following command disables Radius accounting
Enable Portaccessportauth
Enable portaccessportauth
Enable portaccess
Enable Radiusaccounting
Enable radiusaccounting
SET Portaccessportauth Port ROLE=AUTHENTICATOR
Port-based authentication
Control on the port
Control
Authentication messages
Authentication server. Each
Access the network is
Switch by using the clients
Switch or the switch is
Reset or power cycled
Client before retransmitting the request. The default
Is disabled by default. The default value is
Authenticator port will handle egress broadcast
Multicast traffic when in the unauthorized state. You
Client has logged on. This is the default
Client’s authentication
This command sets ports 4 to 6 to the Authenticator role
Set portaccess port=4-6 role=authenticator
Set portaccess port=12,15 role=none
SET Portaccessportauth Port ROLE=SUPPLICANT
To adjust. You can specify more than one port at a
To 60 seconds. The default is 30 seconds
Port Specifies the port that you want to set to
Set portaccess port=4-6 role=supplicant
SET Radiusaccounting
Interim accounting updates to the Radius server
Range is 30 to 300 seconds. The default is
Set radiusaccounting status=enabled trigger=stoponly
Set radiusaccounting updateenable=enabled interval=200
Show Portaccessportauth
Show portaccessportauth configstatus
Show portaccess config
Show portaccess status
Show Portaccessporauth Port
Settings you want to view. You can specify more
Show portaccess port=10 authenticator status
Show portaccess port=12 supplicant config
Show Radiusaccounting
Show radiusaccounting
Web Server Commands
Guide for background information on the web server
Disable Http Server
Disable http server
Following command disables the web server
Enable Http Server
Enable http server
Following command activates the web server
Purge Http Server
Purge http server
Secure Https mode
Will listen on. The default for non-secure Http
SET Http Server
Set http server security=disabled
Set http server security=enabled sslkeyid=5
Set http server security=enabled sslkeyid=4
This command enables the web server enable http server
503
This command disables the web server disable http server
Set system distinguishedname=cn=149.44.44.44
Create pki enrollmentrequest=sw24cer keypair=8
Set http server security=enabled sslkeyid=8
Following command displays the status of the web server
Show Http Server
Show http server
Encryption Key Commands
Create Enco KEY
Ssh
Version 1 users
Ssh2
Version 2 users
Create enco key=12 type=rsa length=512
Syntax 2 Description
Create enco key=12 type=rsa file=public12.key format=ssh
Destroy Enco KEY
Destroy enco key=key-id
Destroy enco key=4
Set enco key=1 descriptionSwitch 22 key
SET Enco KEY
Set enco key=key-iddescription=description
This command displays information about encryption key
Show Enco
Show enco key=key-id
Show enco key=1
Public Key Infrastructure PKI Certificate Commands
ADD PKI Certificate
517
Create PKI Certificate
519
520
Create PKI Enrollmentrequest
Enclosed in double quotes. The management
Software automatically adds the .csr extension
Type Formats the request according to Pkcs #10
Create pki enrollmentrequest=Switch12 keypair=4
PKCS10
Delete pki certificate=Switch 12 certificate
Delete PKI Certificate
Delete pki certificate=name
Be enclosed in double quotes. Wildcards are not
Purge PKI
Purge pki
Entity EE. This is the default
SET PKI Certificate
Spaces, it must be enclosed in quotes
Yes, on, true Specifies that the certificate is from a
Set pki certificate=Switch 12 certificate trusted=true
SET PKI Certstorelimit
Set pki certstorelimit=value
Set pki certstorelimit=100
SET System Distinguishedname
Set system distinguishedname=name
Set system distinguishedname=cn=169.22.22.22
Show PKI
Show pki
Show pki certificate=Switch 12 certificate
Show PKI Certificate
Show pki certificate=name
Show pki certificate
Secure Sockets Layer SSL Commands
Set ssl cachetimeout=value maxsessions=value
Set ssl cachetimeout=180
SET SSL
Show SSL
Show ssl
Secure Shell SSH Commands
Disable SSH Server
Disable ssh server
Following command disables the Secure Shell server
Enable SSH Server
Enable ssh server hostkey=0 serverkey=1
General Configuration Steps for SSH Operation
Enable ssh server hostkey=1 serverkey=2
SET SSH Server
Set ssh server expirytime=1
Show SSH
Show ssh
TACACS+ and Radius Commands
ADD Radiusserver
Add radiusserver ipaddress=149.245.22.22 order=1
Add radiusserver ipaddress=149.245.22.22 order=3
TACACS+ and Radius Commands
ADD Tacacsserver
Being the first server queried
Add tacacsserver ipaddress=149.245.22.20 order=1
Add tacacsserver ipaddress=149.245.22.26 order=3
Delete Radiusserver
Delete radiusserver serveripaddress=ipaddress
Delete radiusserver ipaddress=149.245.22.22
Delete Tacacsserver
Delete tacacsserver serveripaddress=ipaddress
Delete tacacsserver ipaddress=149.245.22.20
Disable Authentication
Disable authentication
Enable Authentication
Enable authentication
Purge Authentication
Purge authentication
Following command disables authentication on your switch
SET Authentication
Set authentication method=tacacs
Set authentication method=tacacs secret=tiger54
Set authentication method=radius secret=leopard09 timeout=15
Show Authentication
Show authentication=tacacsradius
Show authentication
Show authentication=radius
Management ACL Commands
Guide for background information on the Management ACL
ADD Mgmtacl
Management ACL Commands
Following command deletes an ACE from the Management ACL
Delete Mgmtacl
Tcp Transmission control protocol Interface
Disable Mgmtacl
Disable mgmtacl
Following command disables the Management ACL
Enable Mgmtacl
Enable mgmtacl
Following command enables the Management ACL
SET Mgmtacl
561
Set mgmtacl state=disableenable
Enable Enables the Management ACL Disable
Set mgmtacl state=enable
SET Mgmtacl State
Show Mgmtacl
Show mgmtacl stateentries
Show mgmtacl state
Show mgmtacl entries
Configuring timeout value 198 aging timer
Index
Clear Screen command
Create PKI Certificate command
Disable Radiusaccounting command 481 Disable Rstp command
Disable Snmp command
Flow group
Modifying 308, 324
Aging time 182 multicast groups
Disabling 480 displaying 493, 494
SET Mgmtacl command
SET Mstp command SET Mstp Msti command
SET POE Threshold command
SET QOS Port command
SET Switch Port command
Show PKI Certificate command 530 Show PKI command
Show Switch command
Show Switch Port Counter command
Sntp
Modifying 259
System files Deleting Downloading 238
Adding Converting dynamic VLANs Creating