Page
Table of Contents
Link DWS-1008 CLI Manual
Link Mobility System
Convention Use
DWS-mmmm-nnnnnn
DWS-mmmm-nnnnnn#
DWS-1008 DWS-1008#
Set port enable I disable port-list
Clear interface vlan-id ip
Clear fdb dynamic I port port-list v1 an vlan-id
Wildcard Masks
Subnet Masks
User Glob Users Designated
MAC Address Globs
DWS-1008#show port status 1-3,6
Port Lists
Keyboard Shortcuts Function
Command-Line Editing
Using CLI Help
Set ap dap name command has the following complete syntax
Set ap dap name
Set ap port-list dap dap-numname name
Enable
Disable
Defaults None Access Enabled
Syntax enable Access All
Syntax quit Defaults None Access All
Set enablepass
Syntax set enablepass Defaults None Access Enabled
Quit
Auto-Config
Configuration
Display
System Identification
Clear banner motd
Clear history
Clear prompt
Clear system
Clears the system configuration of the specified information
Help
Quickstart
History
Set banner motd
Syntax set banner motd text Defaults None Access Enabled
Set length
Set confirm
Syntax set confirm on off
DWS-1008#clear vlan red
DWS-1008#set length
Set license
Syntax set license activation-key
Activation-key
Syntax set prompt string
Set prompt
Set system contact
Stores a contact name for the DWS-1008 switch
Set system country code
Syntax set system contact string
Link DWS-1008 CLI Manual
Syntax set system idle-timeout seconds
Set system idle-timeout
Clear system Show system
Set system ip-address
Syntax set system ip-address ip-addr
Ip-addrIP address, in dotted decimal notation
Set system name
Set system location
Syntax set system location string
Syntax set system name string
Syntax show banner motd Defaults None Access Enabled
Show banner motd
Clear banner motd Link DWS-1008 CLI Manual
Syntax show load Defaults None Access Enabled
Syntax show licenses Defaults None Access All
Show licenses
Show load
Syntax show system Defaults None Access Enabled
Show system
Displays system information
Field Description
Configured with set system countrycode
Name
With set system location
Show tech-support
Show boot Show config Set licenses Link DWS-1008 CLI Manual
Nvram size /SDRAM size percent of total
Syntax show tech-support file subdirname/ filename
State
Port Type
Interface Type
Speed
Clear dap
Syntax clear port counters Defaults None Access Enabled
Clear port counters
Syntax clear dap dap-num
Clear port-group
Syntax clear port mirror Defaults None Access Enabled
Clear port mirror
Syntax clear port-group name name
Defaults None
Clear port name
Clear port type
DWS-1008#clear port type
STP
Monitor port counters
Key Effect on monitor display
Syntax monitor port counters
Displayed for All
Statistics Option Field Description
Transmit-errors
Details command
Reset port
Set dap
Serial id serial ID
Disable
Syntax set port enable disable port-list Enable
Set port
Port-list
Mode on off
Set reset port
Set port-group
Syntax set port-group name group-nameport-listmode on off
Clear port-group Link DWS-1008 CLI Manual
Set port mirror
Set port name
Name name
Enable disable
Syntax set port negotiation port-listenable disable
Set port negotiation
Clear port name
Following command enables autonegotiation on port
DWS-1008#set port negotiation 1,2,4-6 disable
DWS-1008#set port negotiation 5 enable
Syntax set port poe port-listenable disable
DWS-1008#set port poe 2,4 enable
DWS-1008#set port poe 3,5 disable
Set port speed
Syntax set port speed port-list10 100 auto
Enable
Disable
Set port trap
Configures a DWS-1008 switch port for an AP access point
Model Poe enable disable radiotype 11a 11b 11g
Set port type ap
Port Parameter Setting
DWS-1008#set port type ap 2 model DWL-8220AP poe enable
Configures an DWS-1008 port for a wired authentication user
Set port type wired-auth
Wired Authentication Port Defaults Port Parameter Setting
Port-list tag-list Num last-resort
Clear port type Set port type Link DWS-1008 CLI Manual
Show port counters
Defaults None Access All
Port port-list
Statistics for all ports
Show port mirror
Show port-group
Show port poe
Syntax show port poe port-list
DWS-1008# show port poe
Show port status
Displays configuration and status information for ports
Syntax show port status port-list
DWS-1008# show port status
Creation
FDB Aging Timeout
Ports
Restriction of Client Layer 2 Forwarding
Clear fdb
Deletes an entry from the forwarding database FDB
Port port-lis Vlan vlan-id Tag tag-value
Vlan-id Vlan name or number
Clear security l2-restrict
Permit-mac
All
Clear vlan
Clear security l2-restrict counters
Syntax clear security l2-restrict counters vlan vlan-id all
All
DWS-1008#clear vlan green port
Set vlan port Show vlan config Link DWS-1008 CLI Manual
DWS-1008#clear vlan red port 4 tag
DWS-1008#clear vlan marigold
Set fdb
Mac-addr
Port port-list
Set fdb agingtime
Mode enable disable
Set security l2-restrict
Syntax set fdb agingtime vlan-idage seconds
Set vlan name
Defaults Layer 2 restriction is disabled by default
Creates a Vlan and assigns a number and name to it
Syntax set vlan vlan-numname name
Set vlan port
Set vlan port
Syntax set vlan vlan-idport port-listtag tag-value
Show fdb
DWS-1008# show fdb
Show fdb agingtime
Syntax show fdb agingtime vlan vlan-id
DWS-1008#show fdb agingtime
Show fdb count
Vlan vlan-id Defaults None. Access All
Show security l2-restrict
DWS-1008#show fdb count dynamic
Syntax show vlan config vlan-id
Show vlan config
DWS-1008# show security l2-restrict
Displays Vlan information
DWS-1008# show vlan config burgundy
Vlan
Tunl Port Vlan Name Status State Affin Port Tag
From-qos
Clear qos
From 0 to
From-dscp
Syntax set qos cos-to-dscp-map level dscp dscp-valuelevel
Set qos cos-to-dscp-map
Dscp dscp-value
DWS-1008#set qos cos-to-dscp-map 5 dscp
Set qos dscp-to-cos-map
Syntax show qos default
Show qos
Syntax set qos dscp-to-cos-map dscp-rangecos level
Syntax show qos dscp-table Defaults None Access Enabled
DWS-1008#show qos default
Show qos dscp-table
DWS-1008#show qos dscp-table
Clear interface
Removes an IP interface
Syntax clear interface vlan-idip
Clear ip alias
Syntax clear ip dns domain Defaults None Access Enabled
Clear ip dns domain
Syntax clear ip alias name
Clear ip dns server
Default
Clear ip route
Syntax clear ip dns server ip-addr
Clear ip telnet
Defaults The default Telnet port number is
Set ip route Show ip route
Syntax clear ip telnet
Syntax clear ntp update-interval
Clear ntp update-interval
Clear ntp server
Syntax clear ntp server ip-addr all
Clear snmp notify profile
Clear snmp community
Syntax clear snmp community name comm-string
Syntax clear snmp notify profile profile-name
Clear snmp usm
Clear snmp notify target
Syntax clear snmp notify target target-num
Target-num ID of the target
Syntax clear system ip-address Defaults None Access Enabled
Syntax clear summertime Defaults None Access Enabled
Clear summertime
Clear system ip-address
Ping
Clear timezone
Dnf
Flood
Size size
Defaults
Is 8 bytes larger than the size you specify
DWS-1008#ping
Set arp agingtime
Set arp
Ip-addr Mac-addr
Syntax set arp agingtime seconds
Configures an IP interface on a Vlan
Set interface
Set arp Show arp
Syntax set interface vlan-idip dhcp-client enable disable
DWS-1008#set interface default ip 10.10.10.10/24
Set interface dhcp-client
DWS-1008#set interface mauve ip 10.10.20.10
Enables the Dhcp server
Configures the MSS Dhcp server
Disables the Dhcp server
Set interface dhcp-server
Set interface status
Administratively disables or reenables an IP interface
Set ip dns domain Set ip dns server Show dhcp-server
Syntax set interface vlan-idstatus up down
Set ip dns
Set ip alias
Set ip dns server
Set ip dns domain
Syntax set ip dns domain name
DWS-1008#set ip dns domain example.com
Set ip https server
Syntax set ip https server enable disable
Adds a static route to the IP route table
Set ip route
Is not available for the destination
Ip-addr mask
Syntax set ip snmp server enable disable
Enables or disables the Snmp service on the DWS-1008 switch
Set ip snmp server
Clear ip route Show interface Show ip route
Set ip ssh
Syntax set ip ssh port port-num
Set ip ssh server Link DWS-1008 CLI Manual
Set ip ssh server
Syntax set ip ssh server enable disable
Set ip telnet
Syntax set ip telnet port-num
Enables the Telnet server on a DWS-1008 switch
Syntax set ip telnet server enable disable
Set ip telnet server
Set ntp
Syntax set ntp enable disable
Set ntp server
Syntax set ntp server ip-addr
Set ntp update-interval
Syntax set ntp update-interval seconds
DWS-1008#set ntp server See Also
Set snmp community
Set snmp notify profile
Default profile-name
Drop send
Notifications you specify with notification-type or all
Page
Page
DWS-1008#set snmp notify profile snmpprofrfdetect send
RFDetectInterferingRogueAPTraps success change accepted
RFDetectRogueDisappearTraps success change accepted
Set snmp notify target
SNMPv3 with Informs
Username
Snmp-engine-id
Authenticated encrypted
Ip hex hex-string
Security unsecured
SNMPv2c with Informs
Timeout num
Retries num
SNMPv2c with Traps
Success change accepted Link DWS-1008 CLI Manual 110
SNMPv1 with Traps
Set snmp protocol
Syntax set snmp protocol v1 v2c usm all enable disable
V2c
Usm
Set snmp security
Authenticated
Encrypted
Auth-req-unsecnotify
Creates a USM user for SNMPv3
Set snmp usm
Auth-pass-phrase string
Auth-type none md5 sha
Auth-key hex-string
Encrypt-type none des
Start
Set summertime
Start of the time change period
End
DWS-1008#set interface taupe ip 10.10.20.20/24
Defaults None Access Enabled
Set timezone
Set timedate
Syntax set timedate date mmm dd yyyy time hhmmss
DWS-1008#set timedate date feb 29 2004 time
DWS-1008#set timezone PST
Show arp
Syntax show arp ip-addr
Ip-addr IP address
Show dhcp-client
Syntax show dhcp-client Defaults None Access All
DWS-1008#show dhcp-client
Ifup
Syntax show dhcp-server interface vlan-id verbose
Show dhcp-server
Verbose
DWS-1008# show dhcp-server
DWS-1008#show dhcp-server verbose
Bound
Link DWS-1008 CLI Manual 121
Displays the IP interfaces configured on the switch
Show interface
Syntax show interface vlan-id
Set interface dhcp-client
Set interface dhcp-server
Set interface status
Set ip alias
Set ip dns domain
Set ip https server
Default-router
Ip-addr/mask-length
Metric
Enables or disables the Snmp service on the switch
Disables or reenables the SSH server on a DWS-1008 switch
Set ip telnet
Set ntp
Set ntp server
Set snmp community
Spaces
To modify the default notification profile, specify default
Notification-type
Name of the notification type
Page
RFDetectAdhocUserTraps success change accepted
Sends or drops all notifications
RFDetectUnAuthorizedSsidTraps success change accepted
RFDetectSpoofedMacAPTraps success change accepted
Snmp-engine-id
Authenticated encrypted
Ip hex hex-string
Security unsecured
SNMPv3 with Traps
Resend a notification that has not been acknowledged
Specifies the number of times the MSS Snmp engine will
By the target. You can specify from 0 to 3 retries
Specifies the number of seconds MSS waits for
SNMPv1 with Traps
144
Set snmp usm
Page
String auth-keyhex-string
Auth-type none md5 sha auth-pass-phrase
Link DWS-1008 CLI Manual 148
End
Set system ip-address
Link DWS-1008 CLI Manual 151
Sets the time of day and date on the switch
Dynamic Resolved
Local Resolved
152
Show dhcp-client
Link DWS-1008 CLI Manual 154
Link DWS-1008 CLI Manual 155
Table below shows the output for show dhcp-server verbose
YES
DWS-1008# show interface
Ipv4
Link DWS-1008 CLI Manual 156
Syntax show ip alias name
Show ip alias
Name Alias string
DWS-1008#show ip alias
Displays the DNS servers the switch is configured to use
Syntax show ip dns Defaults None Access All
Show ip dns
Show ip https
Syntax show ip https Defaults None Access All
Displays information about the Https management port
DWS-1008 show ip https
Syntax show ip route destination
Show ip route
DWS-1008# show ip route
Multicast
Syntax show ip telnet Defaults None Access All
Show ip telnet
Displays information about the Telnet management port
Show ntp
Syntax show ntp Defaults None Access All
Displays NTP client information
Link DWS-1008 CLI Manual 162
Show snmp community
Syntax show snmp counters Defaults None Access Enabled
Show snmp counters
Show snmp notify profile
Defaults None Access Enabled See Also
Show snmp status
Show snmp usm
Show summertime
Syntax show timedate Defaults None Access All
Show timedate
Syntax show summertime
Show timezone
Syntax show timezone Defaults None Access All
Telnet
DWS-1008#show timezone
Clear sessions Show sessions Link DWS-1008 CLI Manual 167
DWS-1008#telnet
Traceroute
Ping Link DWS-1008 CLI Manual 169
Local Authorization for
Authentication
Password Users
Web authorization
User-glob
Clear accounting
Clear authentication console
Clear authentication admin
Syntax clear authentication admin user-glob
Syntax clear authentication console user-glob
DWS-1008#clear authentication console Regina
Clear authentication dot1x
Removes an 802.1X authentication rule
Wired
Clear authentication proxy
Clear authentication mac
Removes a MAC authentication rule
Syntax clear authentication proxy ssid ssid-nameuser-glob
Removes a rule from the location policy on a switch
Clear authentication web
Clear location policy
Removes a WebAAA rule
Clear mac-user attr
Clear mac-user
Syntax clear mac-user mac-addr
Syntax clear mac-user mac-addrattr attribute-name
Clear mac-user group
Set mac-user attr Show aaa
Syntax clear mac-user mac-addrgroup
Clear mac-usergroup attr
Clear mac-usergroup
Syntax clear mac-usergroup group-name
Group-name Name of an existing MAC user group
Clear user
Username Username of a user with a password
Clear mac-usergroup Set mac-usergroup attr Show aaa
Syntax clear user username
Clear user attr
Username Username of a user with a password
Clear user group
Syntax clear user username attr attribute-name
Clear usergroup Set user group Show aaa
Clear usergroup
Syntax clear usergroup group-name
Group-name Name of an existing user group
Set accounting admin console
Clear usergroup attr
Syntax clear usergroup group-nameattr attribute-name
Clear accounting Show accounting statistics
Set accounting dot1x mac web last-resort
Method1 method2 method3 method4
Link DWS-1008 CLI Manual 183
Mac
Wired
Web
Start-stop
Syntax set accounting system method1 method2 method3 method4
Set accounting system
Link DWS-1008 CLI Manual 186
Set authentication admin
Link DWS-1008 CLI Manual 187
Set authentication console
Link DWS-1008 CLI Manual 188
Set authentication dot1x
Authentication port
For details, see User Globs on Link DWS-1008 CLI Manual 189
Been authenticated
Bonded
Protocol
Access Enabled
Set authentication mac
Authentication port
Link DWS-1008 CLI Manual 192
Access Enabled
User-glob Single user or a set of users
Set authentication proxy
Set authentication web
See Also
Set location policy
User operator user-glob
Before rule-number
Modify rule-number
DWS-1008#set location policy deny if user eq *.theirfirm.com
Set mac-user attr
Set mac-user
Syntax set mac-user mac-addrgroup group-name
Syntax set mac-user mac-addrattr attribute-name value
Attribute Description Valid Values
Link DWS-1008 CLI Manual 201
YY/MM/DD-HHMM
Link DWS-1008 CLI Manual 202
Time-of-day tu1000-1600,th1000-1600
Link DWS-1008 CLI Manual 203
Clear mac-user attr Show aaa Link DWS-1008 CLI Manual 204
Syntax set mac-usergroup group-nameattr attribute-name value
Set mac-usergroup attr
DWS-1008#set user Nin password 29Jan04 See Also
Syntax set user username password encrypted string
Set user
Clear user Show aaa Link DWS-1008 CLI Manual 206
Clear user attr Show aaa Link DWS-1008 CLI Manual 207
Set user attr
Set usergroup
Set user group
Syntax set user username group group-name
Clear user group Show aaa
Defaults Enabled Access Enabled
Syntax set web-portal enable disable
DWS-1008#set web-portal disable
Set web-portal
Displays all current AAA settings
Syntax show aaa Defaults None Access Enabled
Show aaa
Acctport
Show accounting statistics
DWS-1008#show accounting statistics
AAAACCTSVCATTR=2
Syntax show location policy Defaults None Access Enabled
Clear accounting Set accounting admin console Show aaa
Show location policy
DWS-1008show location policy
PKCS#7 Certificates
Encryption Keys
PKCS#12 Certificate
Self-Signed Certificate
Admin
Syntax crypto ca-certificate admin eap web
Crypto ca-certificate
PEM-formatted-certificate
Begin Certificate
Crypto certificate
Ssh
Crypto generate key
Syntax crypto generate request admin eap web admin Eap Web
Crypto generate request
String
Alphanumeric characters with no spaces
DWS-1008#crypto generate request admin
Are supported on your network. This field is required
With no spaces
Crypto generate self-signed
Syntax crypto generate self-signed admin eap web Admin
Begin Certificate Request
END Certificate Request
Name. It simply needs to be formatted like one
DWS-1008#crypto generate self-signed admin
One-time-password
Syntax crypto otp admin eap web one-time-password Admin
Crypto otp
DWS-1008#crypto generate otp eap hap9iN#ss
Crypto pkcs12
Syntax crypto pkcs12 admin eap web file-location-url
File-location-url
DWS-1008#crypto otp eap hap9iN#ss
DWS-1008#show crypto ca-certificate
Show crypto ca-certificate
Table below describes the fields in the display
Fields Description
DWS-1008#show crypto certificate eap
Show crypto certificate
Show crypto key domain
Syntax show crypto key domain Defaults None Access Enabled
Show crypto key ssh
Crypto generate key Link DWS-1008 CLI Manual 226
Radius Servers
Radius Client
Server Groups
Radius Proxy
Clear radius
Clear radius client system-ip
Clear radius proxy client
Removes Radius proxy ports configured for third-party APs
Clear radius proxy port
Removes Radius proxy client entries for third-party APs
Clear server group
Clear radius server
Syntax clear radius server server-name
Syntax clear server group group-nameload-balance
Set radius
Timeout seconds
Deadtime minutes
Encrypted-key string
Encrypted-key-No key
Set radius proxy client
Set radius client system-ip
Syntax set radius client system-ip
Clear radius client system-ip Set system ip-address
Set radius proxy port
Set radius server
Author-password
Address
Auth-port
Encrypted-key-No key Author-password-trapeze Access Enabled
Names of one or more configured Radius servers
Configures a group of one to four Radius servers
Set server group
Members
Defaults Load balancing is disabled by default
Enable disable
Set server group load-balance
Group-name Server group name of up to 32 characters
Bonded Authentication
Wired Authentication
Reauthentication
Port Control
Clear dot1x bonded-period
Clear dot1x max-req
Syntax clear dot1x max-req
Clear dot1x quiet-period
Clear dot1x port-control
Syntax clear dot1x port-control
Syntax clear dot1x quiet-period
Clear dot1x reauth-period
Clear dot1x reauth-max
Syntax clear dot1x reauth-max
Syntax clear dot1x reauth-period
Clear dot1x timeout supplicant
Clear dot1x timeout auth-server
Defaults The default is 30 seconds
Set dot1x timeout auth-server Show dot1x
Clear dot1x tx-period
Syntax set dot1x authcontrol enable disable enable Disable
Set dot1x authcontrol
Syntax clear dot1x tx-period
Syntax set dot1x bonded-period seconds
Set dot1x bonded-period
Defaults Key transmission is enabled by default
Syntax set dot1x key-tx enable disable Enable
Set dot1x key-tx
Set dot1x max-req
Set dot1x port-control
Clear dot1x max-req Show dot1x
Show port status Show dot1x Link DWS-1008 CLI Manual 248
Set dot1x reauth-max
Set dot1x quiet-period
Syntax set dot1x quiet-period seconds
Seconds Specify a value between 0 and 65,535
Syntax set dot1x timeout auth-server seconds
Set dot1x timeout auth-server
Set dot1x reauth-period
Syntax set dot1x reauth-period seconds
Syntax set dot1x timeout supplicant seconds
Set dot1x timeout supplicant
Clear dot1x timeout auth-server Show dot1x
Set dot1x tx-period
Set dot1x wep-rekey
Syntax set dot1X wep-rekey enable disable enable Disable
Set dot1x wep-rekey-period
Syntax set dot1x wep-rekey-period seconds
Config
Syntax show dot1x clients stats config clients Stats
Displays a summary of the current configuration
Show dot1x
DWS-1008#show dot1x config
Type the following command to display the 802.1X clients
Type the following command to display 802.1X statistics
DWS-1008# show dot1x stats
Link DWS-1008 CLI Manual 255
DWS-1008#clear sessions admin
Administrative Sessions
Clear sessions
Network Sessions
Clear sessions network
Show sessions
SSH
DWS-1008# clear sessions admin
DWS-1008# show sessions console
DWS-1008# show sessions telnet
Clear sessions
Show sessions network
Mac-addr
Link DWS-1008 CLI Manual 260
Session-id
Show sessions network command
Verbose
Show sessions network session-id display
DWS-1008# show sessions network mac-addr 00055d7e981a
DWS-1008# show sessions network user E
DWS-1008# show sessions network verbose
Active
DWS-1008#show sessions network session-id
Ssid
LAST-RESORT
Link DWS-1008 CLI Manual 264
Additional show sessions network verbose Output
Link DWS-1008 CLI Manual 265
Show sessions network session-id Output
Link DWS-1008 CLI Manual 266
Countermeasures
Rogue Information
Permitted Vendor List
Permitted Ssid List
Clear rfdetect ignore
Clear rfdetect attack-list
Syntax clear rfdetect attack-list mac-addr
Syntax clear rfdetect ignore mac-addr
Clear rfdetect ssid-list
Clear rfdetect vendor-list
Syntax clear rfdetect ssid-list ssid-name
Set rfdetect black-list
Set rfdetect attack-list
Syntax set rfdetect attack-list mac-addr
Syntax set rfdetect black-list mac-addr
Set rfdetect black-list Show rfdetect black-list
Set rfdetect ignore
Syntax set rfdetect ignore mac-addr
Mac-addr Bssid MAC address of the device to ignore
Syntax set rfdetect signature enable disable Enable
Syntax set rfdetect log enable disable Enable
Set rfdetect log
Set rfdetect signature
Syntax set rfdetect ssid-list ssid-name
Set rfdetect ssid-list
Set rfdetect vendor-list
Show rfdetect attack-list
Link DWS-1008 CLI Manual 274
Show rfdetect clients
Show rfdetect black-list
DWS-1008# show rfdetect attack-list
DWS-1008# show rfdetect black-list
Total number of entries Client MAC
DWS-1008# show rfdetect clients
AP MAC
DWS-1008#show rfdetect clients mac 000c4163fd6d
Rssi
Show rfdetect countermeasures
Bssid
Link DWS-1008 CLI Manual 277
Show rfdetect counters
Syntax show rfdetect counters Defaults None Access Enabled
DWS-1008# show rfdetect countermeasures
Link DWS-1008 CLI Manual 278
Type Current
DWS-1008#show rfdetect countermeasures
Syntax show rfdetect data Defaults None Access Enabled
Displays information about the APs detected by a switch
Show rfdetect data
Vendor Type Port/Radio Flags
Syntax show rfdetect ignore Defaults None Access Enabled
Show rfdetect ignore
Show rfdetect visible
Syntax show rfdetect ssid-list Defaults None Access Enabled
Show rfdetect ssid-list
Show rfdetect vendor-list
Showapdapstatus command
Show rfdetect visible
Radio
Test rflink
Show rfdetect data
Syntax test rflink mac mac-addr session-id session-id
Rssi SNR
DWS-1008# test rflink mac 000e9bbfad13
RTT micro-secs
976
Configuration File
Boot Settings
Software Version
File Management
Syntax backup system tftp/ip-addr/filenameall critical
Backup
Dir command output
Critical
Clear boot backup-configuration
Clear boot config
Syntax clear boot config Defaults None Access Enabled
DWS-1008#clear boot config
DWS-1008#reset system force
Copy
Delete Dir Link DWS-1008 CLI Manual 290
DWS-1008#copy tftp//10.1.1.1/closetmx closetmx
Syntax delete url
Delete
For example subdira/filea
Copy Dir Link DWS-1008 CLI Manual 291
Boot1
Boot0
Dir
File
Page
DWS-1008#install soda agent soda.ZIP agent-directory sp1
Install soda agent
This command may take up to 20 seconds
Table below describes the fields in the dir output
Syntax load config url
Load config
Backupconfigs/configc
DWS-1008#load config
DWS-1008#md5 boot0MX040003.020
Syntax md5 boot0 boot1filename
Md5
Mkdir
Restarts a switch and reboots the software
Reset system
Syntax reset system force
Dir Rmdir
Restore
DWS-1008#reset system
Save config Show boot Show version
Backup
DWS-1008#restore system tftp/10.10.20.9/sysabak
Rmdir
Removes a subdirectory from nonvolatile storage
Syntax save config filename
Save config
DWS-1008#save config
DWS-1008#save config testconfig1
Set boot configuration-file
Set boot backup-configuration
Syntax set boot backup-configuration filename
Syntax set boot configuration-file filename
Show boot
Set boot partition
Syntax set boot partition boot0 boot1 Boot0
Boot1
Table below describes the fields in the show boot output
Show config
Clear boot config Reset system Set boot configuration-file
Displays the configuration running on the switch
Show version
DWS-1008#show config area vlan
Spantree System Trace Vlan Vlan-fdb
Syntax show version details Details
DWS-1008#show version details
DWS-1008#show version
Syntax uninstall soda agent agent-directory directory
Uninstall soda agent
DWS-1008#uninstall soda agent agent-directory sp1
Table below describes the fields in the show version output
Clear ap dap radio
Access Point Commands
Clear dap boot-configuration
DWS-1008#clear dap 1 boot-configuration
DWS-1008#clear ap 3 radio
DWS-1008#set radio-profile rptest mode disable
DWS-1008#set radio-profile rp1 mode disable
Clear radio-profile
Syntax clear radio-profile name parameter
Clear service-profile
DWS-1008#set radio-profile rp6 mode disable
Reset ap dap
Restarts an access point
Syntax reset ap port-list dap dap-num
Syntax set dap auto Defaults None Access Enabled
Set dap auto
Link DWS-1008 CLI Manual 312
Syntax set dap auto mode enable disable Enable
Set dap auto mode
Enables the AP configuration profile
Disables the AP configuration profile
Set dap auto radiotype
Set dap auto persistent
Syntax set dap auto persistent dap-num all
Dap-num
Low Defaults Access
Set dap auto Set dap auto mode Set dap auto persistent
Set ap dap bias
Dap dap-num dap auto high
Set ap dap blink
Dap dap-num dap auto enable disable Defaults Access Enabled
Enables or disables the static IP address for the AP
Set dap boot-ip
Switch ip ip-addr
Set dap boot-switch
Link DWS-1008 CLI Manual 319
Specifies contact information for an AP
Set ap dap contact
Syntax set ap port-list dap dap-num contact string
Contact string
Syntax set dap dap-numfingerprint hex
Set dap fingerprint
Force-image-download disable
Force-image-download enable
Set ap dap force-image-download
Dap auto
Set ap dap group
Defaults AP access points are not grouped by default
Syntax set ap port-list dap dap-num auto group name
Ap port-list dap dap-num dap auto
Specifies location information for an AP
Set ap dap location
Syntax set ap port-list dap dap-num location string
Ap port-list Dap dap-num location string
Set ap dap radio antenna-location
Set ap dap name
Syntax set ap port-list dap dap-num name name
Ap port-list
Indoors
Set ap dap radio antennatype
Outdoors
Ap port-list Dap dap-num
Configuration template
Set ap dap radio auto-tune max-power
Power-level
Radio 1 of the DWL-8220AP
Set ap dap radio channel
Sets an DWS-8220AP radio’s channel
Dap dap-num radio 1 radio Channel-number
Set ap dap radio mode
Radio 1 radio 2 enable disable
Dap dap-num dap auto
Mode disable
Mode enable
Set ap dap radio radio-profile
Radio-profile name
Access Enabled
Set dap security
Defaults By default, encryption keys are optional
Set dap fingerprint Show ap dap config Show ap dap status
Set ap dap upgrade-firmware
Dap auto enable disable Defaults Access Enabled
DWS-1008#set ap 2 upgrade-firmware disable
Syntax set radio-profile name active-scan enable disable
Set radio-profile auto-tune channel-config
Set radio-profile active-scan
Link DWS-1008 CLI Manual 334
Set radio-profile auto-tune channel-holddown
Enable Disable No-client
Name
Link DWS-1008 CLI Manual 335
Set radio-profile auto-tune channel-interval
Name Rate
Name Radio profile name
Syntax set radio-profile name auto-tune channel-lockdown
Set radio-profile auto-tune channel-lockdown
Set radio-profile auto-tune power-config
Set radio-profile auto-tune power-interval
Set radio-profile auto-tune power-lockdown
Set radio-profile auto-tune power-ramp-interval
Syntax set radio-profile name auto-tune power-lockdown
Defaults The default interval is 60 seconds
Set radio-profile beacon-interval
Syntax set radio-profile name beacon-interval interval
Set radio-profile countermeasures
Configured
Rogue
None
Set radio-profile dtim-interval
Syntax set radio-profile name frag-threshold threshold
Set radio-profile frag-threshold
Set radio-profile max-tx-lifetime
Set radio-profile max-rx-lifetime
Syntax set radio-profile name max-rx-lifetime time
Syntax set radio-profile name max-tx-lifetime time
Syntax set radio-profile name mode enable disable
Set radio-profile mode
MMS
Link DWS-1008 CLI Manual 347
Access Enabled
Syntax set radio-profile name preamble-length long short
Set radio-profile preamble-length
Long
Short
Set radio-profile rfid-mode
Set radio-profile qos-mode
Syntax set radio-profile name qos-mode svp wmm
Svp
Enables radios to function as asset location receivers
Syntax set radio-profile name rfid-mode enable disable
Defaults The default is disable Access Enabled
Set radio-profile rts-threshold
DWS-1008#set radio-profile rp1 rts-threshold
Link DWS-1008 CLI Manual 353
Table Defaults for Radio Profile Parameters
Link DWS-1008 CLI Manual 354
Link DWS-1008 CLI Manual 355
Portal-acl setting
Set radio-profile wmm-powersave
Syntax set radio-profile name wmm-powersave enable disable
Set service-profile attr
Syntax set service-profile name attr attribute-name value
Link DWS-1008 CLI Manual 357
Access Enabled
Syntax set service-profile name auth-dot1x enable disable
Set service-profile auth-dot1x
Name Service profile name
Enables 802.1X authentication of WPA clients
Set service-profile auth-fallthru
Syntax set service-profile name auth-psk enable disable
Set service-profile auth-psk
Enables PSK authentication of WPA clients
Disables PSK authentication of WPA clients
Set service-profile cac-mode
Set service-profile beacon
Syntax set service-profile name beacon enable disable
Syntax set service-profile name cac-mode none session
Syntax set service-profile name cac-session max-sessions
Set service-profile cac-session
CAC is not used
Session
Syntax set service-profile name cipher-ccmp enable disable
Set service-profile cipher-ccmp
Enables Ccmp encryption for WPA clients
Disables Ccmp encryption for WPA clients
Set service-profile cipher-wep104
Set service-profile cipher-tkip
Enables 104-bit WEP encryption for WPA clients
Disables 104-bit WEP encryption for WPA clients
Defaults 104-bit WEP encryption is disabled by default
Set service-profile cipher-wep40
Defaults 40-bit WEP encryption is disabled by default
Set service-profile cos
Sets the Class-of-Service CoS level for static CoS
Syntax set service-profile name cos level
Set service-profile static-cos Show service-profile
Set service-profile dhcp-restrict
Enables Dhcp Restrict
Disables Dhcp Restrict
Set service-profile keep-initial-vlan
Set service-profile idle-client-probing
Enables keepalives
Disables keepalives
Configures radios to reassign a roamed user’s Vlan
Set service-profile long-retry-count
Defaults This option is disabled by default
Syntax set service-profile name long-retry-count threshold
Set service-profile no-broadcast
Syntax set service-profile name no-broadcast enable disable
Link DWS-1008 CLI Manual 371
Set service-profile proxy-arp
Enable Disable Defaults Access Enabled
Syntax set service-profile name proxy-arp enable disable
Set service-profile psk-phrase
Defaults Proxy ARP is disabled by default
Syntax set service-profile name psk-phrase passphrase
Syntax set service-profile name psk-raw hex
Set service-profile psk-raw
Syntax set service-profile name rsn-ie enable disable
Set service-profile rsn-ie
Enables the RSN IE
Disables the RSN IE
Set service-profile short-retry-count
Set service-profile shared-key-auth
Enables shared-key authentication, in a service profile
Syntax set service-profile name short-retry-count threshold
Set service-profile soda agent-directory
Set service-profile soda mode Link DWS-1008 CLI Manual 378
Set service-profile soda enforce-checks
Syntax set service-profile name soda failure-page
Set service-profile soda failure-page
Syntax set service-profile name soda logout-page
Set service-profile soda logout-page
Set service-profile soda remediation-acl
Set service-profile soda mode
Syntax set service-profile name soda mode enable disable
Defaults Disabled Access Enabled
Syntax set service-profile name soda success-page
Set service-profile soda success-page
Configures the Ssid name in a service profile
Set service-profile ssid-name
Syntax set service-profile name ssid-name ssid-name
Name Ssid-name
Syntax set service-profile name ssid-type clear crypto
Set service-profile ssid-type
Clear
Crypto
Syntax set service-profile name static-cos enable disable
Set service-profile static-cos
Enables static CoS on the service profile
Disables static CoS on the service profile
Set service-profile transmit-rates
Set service-profile tkip-mc-time
Syntax set service-profile name tkip-mc-time wait-time
Link DWS-1008 CLI Manual 386
11a 11b 11g
Disabled rate-list
Mandantory rate-list
Beacon-rate rate
Defaults This command has the following defaults
Set service-profile user-idle-timeout
Syntax set service-profile name user-idle-timeout seconds
Set service-profile web-portal-acl
Syntax set service-profile name web-portal-acl aclname
Name Seconds
Set service-profile auth-fallthru Show service-profile
Set service-profile web-portal-form
Syntax set service-profile name web-portal-form url
Defaults The D-Link Web login page is served by default
Success change accepted
Set service-profile web-portal-session-timeout
Set service-profile wep active-unicast-index
Set service-profile wep active-multicast-index
Key-index num key value
Set service-profile wep key-index
Syntax set service-profile name wpa-ie enable disable
Set service-profile wpa-ie
Shows configuration information for radio
Show ap dap config
DWS-1008#show ap config
DWS-1008#show dap config
Link DWS-1008 CLI Manual 397
Following Table describes the fields in this display
Show ap dap counters
Shows statistics counters for radio
DWS-1008# show dap counters
Link DWS-1008 CLI Manual 399
Totl
Ccmp
Link DWS-1008 CLI Manual 400
MIC
Link DWS-1008 CLI Manual 402
Show ap dap qos-stats
DWS-1008#set service-profile sp2 wpa-ie enable
Displays statistics for DWL-8220AP forwarding queues
Clear
Show ap dap etherstats
Syntax show ap dap etherstats port-list dap-num
Link DWS-1008 CLI Manual 404
Link DWS-1008 CLI Manual 405
DWS-1008# show dap etherstats
Syntax show ap dap group name
Show ap dap group
Name Name of an AP group or Distributed AP group
Link DWS-1008 CLI Manual 406
Link DWS-1008 CLI Manual 407
DWS-1008# set service-profile sp2 wpa-ie enable
Radio1
Show ap dap status
Radio2
DWS-1008#show dap status
DWS-1008#show ap status
Link DWS-1008 CLI Manual 410
Link DWS-1008 CLI Manual 411
Radio1 Radio2 radio all Defaults Access
Show auto-tune attributes
Mp-num Dap-num
DWS-1008# show auto-tune attributes ap 2 radio
DWS-1008#show auto-tune neighbors ap 2 radio
Show auto-tune neighbors
Show dap boot-configuration
Syntax show dap boot-configuration dap-num
Link DWS-1008 CLI Manual 415
DWS-1008#show dap boot-configuration
DNS IP
Link DWS-1008 CLI Manual 416
Syntax show dap connection dap-num serial-id serial-ID
Show dap connection
DWS-1008#show dap connection
DAP
Syntax show dap global dap-num serial-id serial-ID
Show dap global
DWS-1008#show dap global
High
LOW
Syntax show dap unconfigured Defaults None Access Enabled
Show dap unconfigured
DWS-1008#show dap unconfigured
Link DWS-1008 CLI Manual 420
Show radio-profile
DWS-1008# show radio-profile default
Syntax show radio-profile name ?
Name Displays information about the named radio profile
Link DWS-1008 CLI Manual 422
See Also
Name
Show service-profile
Soda
Link DWS-1008 CLI Manual 425
Link DWS-1008 CLI Manual 426
Link DWS-1008 CLI Manual 427
STP State
Timers
Bridge Priority
Port Cost
Clear spantree portpri
Clear spantree portcost
Syntax clear spantree portcost port-list
Syntax clear spantree portpri port-list
Resets the priority for all VLANs
Resets the cost for all VLANs
Clear spantree portvlancost
Clear spantree portvlanpri
Clear spantree statistics
Syntax clear spantree statistics port-listvlan vlan-id
Show spantree statistics Link DWS-1008 CLI Manual 431
Set spantree
Syntax set spantree backbonefast enable disable Enable
Set spantree backbonefast
Vlan vlan-id Port port-list vlan-id
Syntax set spantree fwddelay delay all vlan vlan-id Delay
Set spantree fwddelay
Set spantree hello
Set spantree maxage
Syntax set spantree maxage aging-timeall vlan vlan-id
Syntax set spantree portcost port-listcost cost
Set spantree portcost
Set spantree portfast
Syntax set spantree portfast port port-listenable disable
Set spantree portpri
Syntax set spantree portpri port-listpriority value
Set spantree portvlancost
Set spantree portvlanpri
Changes the priority on all VLANs
Show spantree Link DWS-1008 CLI Manual 438
Set spantree priority
Set spantree uplinkfast
Syntax set spantree uplinkfast enable disable
Show spantree
Active
DWS-1008# show spantree vlan default
PVST+
Ieee
Vlan ID
Show spantree blockedports Link DWS-1008 CLI Manual 441
DWS-1008#show spantree blockedports vlan default
Syntax show spantree backbonefast Defaults None Access All
Show spantree backbonefast
Show spantree blockedports
Syntax show spantree portfast port-list
Show spantree portfast
DWS-1008#show spantree portfast
Set spantree portfast Link DWS-1008 CLI Manual 443
Show spantree statistics
Show spantree portvlancost
Syntax show spantree portvlancost port-list
Port-list List of ports
DWS-1008#show spantree statistics
False
Inactive
Topology change time Topology change detected
Num of similar BPDU’s to process Receivedinferiorbpdu
Link DWS-1008 CLI Manual 446
Link DWS-1008 CLI Manual 447
Show spantree uplinkfast
Defaults None Access All
Clear spantree statistics
Syntax show spantree uplinkfast vlan vlan-id
Set spantree uplinkfast Link DWS-1008 CLI Manual 449
DWS-1008#show spantree uplinkfast
Proxy Reporting
Igmp Snooping State
Pseudo-querier
Router Solicitation
Clear igmp statistics
Syntax set igmp enable disable vlan vlan-id
Set igmp
DWS-1008#clear igmp statistics
Set igmp mrouter
Set igmp lmqi
Set igmp oqi Set igmp qi Set igmp mrouter
Link DWS-1008 CLI Manual 452
Set igmp mrsol
Show igmp mrouter
Set igmp mrsol mrsi Link DWS-1008 CLI Manual 453
Set igmp oqi
Set igmp mrsol mrsi
Syntax set igmp mrsol mrsi seconds vlan vlan-id
Set igmp mrsol
Defaults Proxy reporting is enabled on all VLANs by default
Set igmp proxy-report
Show igmp Link DWS-1008 CLI Manual 455
Defaults The default query interval is 125 seconds
Set igmp qi
Syntax set igmp qi seconds vlan vlan-id qi seconds
Syntax set igmp qri tenth-secondsvlan vlan-id
Set igmp qri
Set igmp receiver
Set igmp querier
Show igmp querier
Link DWS-1008 CLI Manual 458
Set igmp rv
Defaults The default robustness value for all VLANs is
Show igmp receiver-table
Syntax set igmp rv num vlan vlan-id
DWS-1008# show igmp vlan orange
Show igmp
Link DWS-1008 CLI Manual 461
Dvmrp PIM
Show igmp mrouter
Syntax show igmp mrouter vlan vlan-id
Link DWS-1008 CLI Manual 462
DWS-1008# show igmp mrouter vlan orange
Show igmp querier
DWS-1008#show igmp querier vlan default
DWS-1008# show igmp querier vlan orange
DWS-1008#show igmp querier vlan red
Group group-ip-addr/mask-length
Show igmp receiver-table
DWS-1008# show igmp receiver-table vlan orange
Vlan orange Session Port Receiver-IP Receiver-MAC
DWS-1008#show igmp receiver-table group 237.255.255.0/24
Show igmp statistics
Set igmp receiver
Displays Igmp statistics
Link DWS-1008 CLI Manual 467
DWS-1008# show igmp statistics vlan orange
Clear igmp statistics Link DWS-1008 CLI Manual 468
Commit Security ACLs
Create Security ACLs
Map Security ACLs
Monitor Security ACLs
Syntax clear security acl acl-name all editbuffer-index
Clear security acl
Clears all security ACLs
DWS-1008#clear security acl acl133
Clear security acl map
Syntax commit security acl acl-name all
Commit security acl
Commits all security ACLs in the edit buffer
Link DWS-1008 CLI Manual 472
ACL table
DWS-1008#show security acl
ACL
Type Class Mapping
Syntax rollback security acl acl-name all
Rollback security acl
DWS-1008#show security acl info all editbuffer
ACL edit-buffer information for all
Set security acl
Before editbuffer-index modify editbuffer-index hits
Link DWS-1008 CLI Manual 475
Permit
Cos cos
Deny
Precedence
Precedence
Tos tos
Established
Hits
DWS-1008#set security acl ip acl123 deny 192.168.2.11
Set security acl map
Clear security acl Commit security acl Show security acl
Link DWS-1008 CLI Manual 479
Out
Assigns the security ACL to traffic coming from the switch
Set security acl hit-sample-rate
Syntax set security acl hit-sample-rate seconds
DWS-1008#set security acl hit-sample-rate
Show security acl
Syntax show security acl Defaults None Access Enabled
Displays a summary of the security ACLs that are mapped
DWS-1008# show security acl
Show security acl editbuffer
Show security acl hits
Syntax show security acl hits Defaults None Access Enabled
Show security acl info
Syntax show security acl info acl-name all editbuffer
Defaults None Access Enabled
Show security acl resource-usage
Show security acl map
Syntax show security acl map acl-name
DWS-1008#show security acl map acl111
DWS-1008#show security acl resource-usage
Link DWS-1008 CLI Manual 488
Link DWS-1008 CLI Manual 489
Syntax clear log trace Defaults None Access Enabled
Clear log trace
DWS-1008#clear log trace See Also
Deletes running trace commands and ends trace processes
Clear trace
Syntax clear trace trace-area all
Save trace
Set trace authentication
Syntax save trace filename
DWS-1008#save trace traces/trace1
Traces authorization information
Set trace authorization
Set trace dot1x
Clear trace Show trace
Set trace sm
Traces session manager activity
Link DWS-1008 CLI Manual 494
Syntax show trace all
Show trace
Remote monitoring snooping
Clear snoop
Syntax clear snoop filter-name
DWS-1008#clear snoop snoop1 See Also
Set snoop
Clear snoop map
Examples clear snoop map filter-namedap dap-numradio 1
Radio 1 of the AP
Probe
Frame-type eq neq beacon control data management
Channel eq neq channel
Bssid eq neq bssid
DWS-1008#set snoop snoop1 observer 10.10.30.2 snap-length
Defaults Snoop filters are unmapped by default
Set snoop map
Examples set snoop map filter-namedap dap-numradio 1
Enable stop-after num-pkts
Set snoop mode
Disables the snoop filter
Defaults Snoop filters are disabled by default
Show snoop
Syntax show snoop Defaults None Access Enabled
Show snoop info
Syntax show snoop filter-name
Show snoop stats
Show snoop map
Syntax show snoop map filter-name
DWS-1008#show snoop map snoop1 filter ‘snoop1’ mapping
Link DWS-1008 CLI Manual 504
System Logs
Clear log
Buffer
Set log
Current
Sessions
Enables messages to the specified target
Disables messages to the specified target
Show log config Clear log Link DWS-1008 CLI Manual 507
Set log mark
Severity level
Interval interval
Show log buffer
Facility facility-name
Matching string
Syntax show log config Defaults None Access Enabled
Show log config
DWS-1008#show log config
DWS-1008#show log buffer facility ?
Number-of-messages
Show log trace
Clear log Show log config Link DWS-1008 CLI Manual 512
DWS-1008#show log trace facility ?
DWS-1008#show log trace +5 facility Rogue
Booting
Command Information
Boot Profile Management
Diagnostics
Boot
Autoboot
Syntax autoboot on on OFF off
Boot autoboot
Boot boot FN=MX010101.020 DEV=boot1
Syntax change
Change
Create
Creates a new boot profile
Syntax create
Change Delete Next Show Link DWS-1008 CLI Manual 517
Syntax delete Defaults None
Removes the currently active boot profile
Dhcp
Change Create Next Show
Syntax dir c d e f boot0 boot1
Accesses the diagnostic mode
Diag
Syntax diag
Fver
Syntax fver c d e f boot0 boot1 filename
Bload
Bstrap
Syntax help command-name
Boot fver boot1
Command-name Boot prompt command
Boot help fver
Displays a list of the boot prompt commands
Syntax ls Defaults None
Help Link DWS-1008 CLI Manual 522
Next
Syntax next Defaults None
Resets a DWS-1008 switch’s hardware
Reset
Syntax reset Defaults None
Boot Link DWS-1008 CLI Manual 524
Syntax show Defaults None
Boot Type
Show
Change Create Delete Dhcp Next Link DWS-1008 CLI Manual 526
Boot Type
Test
Syntax version Defaults None
Version
Syntax test on on OFF off
Dir Fver Link DWS-1008 CLI Manual 528
Boot version