CLI Reference Guide
Aug
Contents
Using the CLI
Address Table Commands
Clock
Ethernet Configuration Commands
Igmp Snooping Commands
Lacp Commands
Management ACL
Port Monitor Commands
Rmon Commands
Spanning-Tree Commands
SSH Commands
Syslog Commands
Tacacs Commands
Vlan Commands
32 802.1x Commands
382
Page
Command Groups
Command Groups
Introduction
Configures and reports on Spanning Tree protocol
Configures Tacacs commands
Configures commands related to 802.1x security protocol
Address Table Commands
AAA Commands
Configures the system to automatically switch
Configures an external time source for
Defines an authentication key for Simple
Displays statically created entries in the bridge
Configuration and Image Files Commands
Displays the backup configuration file contents
Ethernet Configuration Commands
Gvrp Commands
Defines a default gateway router
Igmp Snooping Commands
IP Addressing
Sets an IP address
Line Commands
Deletes entries from the host name-to-address
Cache
Sets the line for automatic baud rate detection
Lldp Commands
PHY Diagnostics Commands
Management ACL Commands
Port Channel Commands
Port Monitor Commands
QoS Commands
Enables each port trust state
Radius Commands
Snmp Commands
Rmon Commands
Spanning Tree Commands
MST
SSH Commands
Overrides the default link-type setting
Sets the default path cost method
Syslog Commands
System Management Commands
Tacacs Commands
Reloads the operating system
Vlan Commands
User Interface Commands
Switches the mode to debug
Disables the default Vlan functionality
Interface
Reserves a Vlan as the internal usage Vlan of an
Web Server Commands
Command Description Access Mode
802.1x Commands
Command Groups
GC Global Configuration Mode
Command Modes
Device
Notification operation
Sntp
IC Interface Configuration Mode
An Extensible Authentication Protocol EAP request/identity
Frame, from the client, before resending the request
Reserves a Vlan as the internal usage Vlan of an interface
LC Line Configuration Mode
Enables the Simple Network Time Protocol Sntp client on an
Command Description
PE Privileged User Exec Mode
MA Management Access-level Mode
Vlan
UE User Exec Mode
SP SSH Public Key Mode
Command Modes
VC Vlan Configuration Mode
W . d e l l . c o m s u p p o r t . d e l l . c o m
Using the CLI
CLI Command Modes
Introduction
Privileged Exec Mode
User Exec Mode
Exit End Ctrl+Z
Global Configuration Mode
Starting the CLI
Editing Features
Entering Commands
Consoleconfig# username admin password smith
Negating the Effect of Commands
Terminal Command Buffer
Command Completion
Config#interface ethernet
Keyboard Shortcuts
CLI Command Conventions
Italic font
Enter
Using the CLI
Aaa authentication login
AAA Commands
Default Configuration
Command Mode
Aaa authentication enable
Following example configures authentication login
Example
Console config# aaa authentication enable default enable
Login authentication
Console config-line#login authentication default
Enable authentication
Ip http authentication
Console config-line#enable authentication default
Following example configures the http authentication
Ip https authentication
Show authentication methods
Following example configures https authentication
This command has no default configuration
Syntax Show authentication methods Default Configuration
Privileged Exec mode
Following example displays the authentication configuration
Password
Console# show authentication methods
Syntax Password password encrypted No password
Enable password
No password is required
Following example specifies a password secret on a line
Username
Show users accounts
No user is defined
Console# show users accounts
Syntax Show users accounts Default Configuration
AAA Commands
Address Table Commands
Interface configuration Vlan mode
Bridge address
This example, bridge multicast filtering is enabled
Disabled. All multicast addresses are flooded to all ports
Console config# bridge multicast filtering
Bridge multicast filtering
No multicast addresses are defined
Examples
Following example registers the MAC address
Command Modes
Bridge multicast forbidden address
No forbidden addresses are defined
Bridge multicast forward-all
Disable forward-all on the specified interface
Bridge multicast forbidden forward-all
This example all multicast packets on port g8 are forwarded
Syntax
Bridge aging-time
Clear bridge
Syntax Clear bridge
Console# clear bridge
Disabled No port security
Interface Configuration Ethernet, port-channel mode
Port security
Port security routed secure-address
Console config-if#port security routed secure-address
Show bridge address-table
Mac-address-Specify a MAC address in the format
Port-channel-number-A valid port-channel number
Console# show bridge address-table
Show bridge address-table static
Console# show bridge address-table static
Show bridge address-table count
Syntax Show bridge address-table count vlan vlan
Vlan -Specific Vlan
Console# show bridge address-table count
Show bridge multicast address-table
Console # show bridge multicast address-table format ip
Console # show bridge multicast address-table
Show ports security
Show bridge multicast filtering
Syntax Show bridge multicast filtering vlan-id
Vlanid-A valid Vlan ID value
Console # show ports security
Clock set
Clock
Clock source
Syntax Clock source sntp No clock source
Clock timezone
No external clock source
Console# clock source sntp
Clock summer-time
No authentication key is defined
Sntp authentication-key
Sntp authenticate
Consoleconfig# sntp authentication-key 8 md5 ClkKey
Syntax Sntp authenticate No sntp authenticate
Following example authenticates key
Sntp client poll timer
Sntp trusted-key
Not trusted
Sntp broadcast client enable
Console config# sntp client poll timer
Console config# sntp broadcast client enable
Sntp client enable interface
Sntp anycast client enable
Console config-if#sntp anycast client enable
Syntax Sntp client enable No sntp client enable
Sntp unicast client enable
Console config# sntp unicast client enable
101
Sntp unicast client poll
Console config# sntp unicast client poll
Sntp server
Syntax Sntp unicast client poll no sntp unicast client poll
Show clock
Syntax Show clock detail
103
104
Console# show clock
Syntax Show sntp configuration
Show sntp configuration
Console# show sntp configuration
105
Syntax Show sntp status
Show sntp status
Following example shows the status of the Sntp
106
107
Clock
Delete startup-config
Configuration and Image Files
Console# delete startup-config
Copy
110
Understanding Invalid Combinations of Source and Destination
Copy Character Descriptions
Storing the Running or Startup Configuration on a Server
Copying image file from a Server to Flash Memory
111
Syntax Boot system image-1 image-2
Boot system
Console# boot system image-1
112
Syntax Show running-config sort type
Show running-config
Sort type defaults to interface if unspecified
113
Show startup-config
Console# show running-config no spanning-tree
Syntax Show startup-config sort type 114
115
Show backup-config
Console# show startup-config no spanning-tree
Syntax Show backup-config 116
117
Console# show backup-config software version
Syntax Show bootvar Default Configuration
Show bootvar
Console# show bootvar
118
Ethernet Configuration Commands
Interface ethernet
Interface range ethernet
Interface is enabled
Syntax Shutdown No shutdown Default Configuration
Following example disables port g5
Shutdown
Speed
Description
Syntax Description string No description
Syntax Speed 100 1000 No speed
Duplex
Syntax Duplex half full No duplex
122
Syntax Negotiation No negotiation Default Configuration
Consoleconfig# interface ethernet g5
Negotiation
Flowcontrol
Syntax Flowcontrol auto on off No flowcontrol
Mdix
Syntax Mdix on auto No mdix
124
Syntax Back-pressure No back-pressure Default Configuration
Back-pressure
125
Port jumbo-frame
Clear counters
126
Set interface active
Show interfaces configuration
Console# clear counters ethernet g1
Console# set interface active ethernet g5
128
Interfaces configuration
129
Show interfaces status
Console# show interfaces status
130
131
Show interfaces description
Show interfaces counters
Console# show interfaces description ethernet g1
132
Console# show interfaces counters
133
Console# show interfaces counters ethernet g1
Following example displays counters for port g1
Following table describes the fields shown in the display
134
Ieee Std .3, 2000 Edition, section
135
Syntax Show ports jumbo-frame Default Configuration
Show ports jumbo-frame
136
Consoleconfig# port storm-control include-multicast
Port storm-control broadcast enable
Port storm-control include-multicast
Console# show ports jumbo-frame
Consoleconfig-if#port storm-control broadcast enable
Broadcast storm control is disabled
Default storm control broadcast rate is
Port storm-control broadcast rate
Following example displays the storm control configuration
Consoleconfig-if#port storm-control broadcast rate
Show ports storm-control
Syntax Show ports storm-control interface
140
Gvrp enable global
Gvrp Commands
Gvrp enable interface
Syntax Gvrp enable No gvrp enable Default Configuration
Garp timer
Following example enables Gvrp on ethernet g8
142
By default, dynamic Vlan creation is enabled
Gvrp vlan-creation-forbid
143
Console config-if#gvrp registration-forbid
Console config-if#gvrp vlan-creation-forbid
Gvrp registration-forbid
Clear gvrp statistics
Show gvrp configuration
Console# clear gvrp statistics ethernet g8
145
Console# show gvrp configuration
Show gvrp statistics
146
Following example shows Gvrp statistics information
Show gvrp error-statistics
147
Console# show gvrp statistics
Console# show gvrp-error statistics
Following example displays Gvrp statistics information
148
Ip igmp snooping Global
Igmp Snooping Commands
Ip igmp snooping Interface
149
Ip igmp snooping mrouter
Ip igmp snooping host-time-out
150
Console config-if#ip igmp snooping host-time-out
Ip igmp snooping mrouter-time-out
151
Default leave-time-out configuration is 10 seconds
Console config-if#ip igmp snooping mrouter-time-out
Console config-if#ip igmp snooping leave-time-out
Ip igmp snooping leave-time-out
Show ip igmp snooping mrouter
Show ip igmp snooping interface
Console # show ip igmp snooping mrouter
Example displays Igmp snooping information
Show ip igmp snooping groups
Console # show ip igmp snooping interface
154
Example shows Igmp snooping information
Console # show ip igmp snooping groups
155
Igmp Snooping Commands
Clear host dhcp
IP Addressing Commands
Ip address
Console# clear host dhcp
Ip address dhcp
Interface configuration Ethernet, VLAN, port-channel
No IP address is defined for interfaces
158
Syntax Ip default-gateway ip-address No ip default-gateway
Ip default-gateway
No default gateway is defined
159
Following example defines an ip default gateway
Show ip interface
160
Arp
Console# show ip interface
161
Arp timeout
Console config# arp 198.133.219.232 00000c400fbc ethernet
Clear arp-cache
Show arp
Syntax Show arp Default Configuration
Console# clear arp-cache
Following example displays entries in the ARP table
Ip domain-name
Ip domain-lookup
Syntax Ip domain-lookup No ip domain-lookup
Syntax Ip domain-name name No ip domain-name
Ip host
Ip name-server
No name server addresses are specified
Following example sets the available name server
Syntax Ip host name address No ip host name
Clear host
No host is defined
Syntax Clear host name
Show hosts
Default Configuration Command Mode
Syntax Show hosts name
167
168
Lacp system-priority
Lacp Commands
Lacp port-priority
Syntax Lacp port-priority value No lacp port-priority
Syntax Lacp timeout long short No lacp timeout
Lacp timeout
Default port timeout value is long
170
Show lacp port-channel
Show lacp ethernet
Console# show lacp ethernet g1 statistics
Syntax Show lacp port-channel portchannelnumber
172
Console# show lacp port-channel
Line
Line Commands
Syntax Line console telnet ssh
Syntax Speed bps
Syntax Autobaud No autobaud Default Configuration
Exec-timeout
Autobaud
174
Show line
Syntax Exec-timeout minutes seconds No exec-timeout
Syntax Show line console telnet ssh
175
Terminal history
Following example displays the line configuration
Terminal history size
Console# show line console
177
Maximum for the sum of all buffers is
Line Commands
Lldp enable global
Lldp Commands
Lldp enable interface
Syntax
Interface configuration Ethernet
Lldp timer
Syntax Lldp timer seconds No lldp timer
Default 30 seconds
Default Configuraiton
Lldp reinit-delay
Lldp hold-multiplier
Syntax Lldp hold-multiplier number No lldp hold-multiplier
Syntax Lldp reinit-delay seconds No lldp reinit-delay
Lldp tx-delay
Syntax Lldp tx-delay seconds No lldp tx-delay Parameters
Default value is 2 seconds
Lldp management-address
Lldp optional-tlv
Usage Guidelines
No optional TLV is transmitted
184
Clear lldp rx
Syntax Show lldp configuration ethernet interface
Show lldp configuration
Switch# show lldp configuration
Show lldp local
186
Show lldp neighbors
Switch# show lldp neighbors
Switch# show lldp neighbors ethernet g1
187
Lldp Commands
Name-The access list name using up to 32 characters
Management access-list
Management ACL
189
Console config# management access-class mlist
Permit management
190
Management Access-list Configuration mode
Deny management
191
192
Management access-class
Show management access-class
Show management access-list
Syntax Show management access-list name
Console# show management access-list
Syntax Show management access-class Default Configuration
Console# show management access-class
194
Test copper-port tdr
PHY Diagnostics Commands
Show copper-ports tdr
Console# test copper-port tdr g3
Syntax Show copper-ports cable-length interface
Show copper-ports cable-length
Port must be active and working in 1000M
196
Show fiber-ports optical-transceiver
Console# show copper-ports cable-length
197
Console# show fiber-ports optical-transceiver
198
Console# show fiber-ports optical-transceiver detailed
199
PHY Diagnostics Commands
Console config# interface port-channel
Port Channel Commands
Interface port-channel
Interface range port-channel
Channel-group
Console config# interface range port-channel
Port is not assigned to any port-channel
202
Port channel load balance
Console config-if#channel-group 1 mode on
Show interfaces port-channel
Syntax Show interfaces port-channel port-channel-number
204
Default is both rx and tx
Port Monitor Commands
Interface Configuration mode
Port monitor
Syntax Show ports monitor Default Configuration
Show ports monitor
206
207
Console# show ports monitor
Port Monitor Commands
QoS Commands
Qos
Show qos
Following example displays a QoS mode
Wrr-queue cos-map
210
Wrr-queue bandwidth
Interface Configuration Ethernet, port channel mode
Following example maps CoS 3 to queue
211
Priority-queue out num-of-queues
Following example assigns WRR weights to egress queues
All queues are expedite queues
212
Show qos interface
Console config# priority-queue out num-of-queues
Following example sets queue 4, 3 to be expedite queues
213
Qos map dscp-queue
Console# show qos interface ethernet g1 queuing
214
Qos trust Global
Syntax Qos trust cos dscp No qos trust
215
Syntax Qos cos default-cos No qos cos 216
Syntax Qos trust No qos trust Default Configuration
Qos trust Interface
Qos cos
Show qos map
Syntax Show qos map dscp-queue
217
Console# show qos map Dscp-queue map
Following example displays the Dscp port-queue map
Following table describes the fields used above
D1 x 10 + D2 = Value of Dscp
By default, no Radius host is specified
Radius Commands
Radius-server host
Ip-address-IP address of the Radius server host
Default is an empty string
Timeout
Radius-server key
Syntax Radius-server key key-string No radius-server key
Radius-server retransmit
Console config# radius-server retransmit
Radius-server source-ip
221
Radius-server timeout
Console config# radius-server timeout
222
Syntax Show radius-servers Default Configuration
Console config# radius-server deadtime
Radius-server deadtime
Show radius-servers
Following example displays the Radius server settings
224
Console# show radius-servers
Show rmon statistics
Rmon Commands
Console# show rmon statistics ethernet g1
225
Field Description
226
227
Rmon collection history
Show rmon collection history
Console config-if#rmon collection history 1 interval
Following example displays all Rmon group statistics
Console# show rmon collection history
229
Show rmon history
Console# show rmon history 5 errors
230
Console# show rmon history 5 throughput
231
Console# show rmon history 5 other
232
Rmon alarm
233
Show rmon alarm-table
Syntax Show rmon alarm-table Default Configuration
Show rmon alarm
Console# show rmon alarm-table
Syntax Show rmon alarm number
Following example displays Rmon 1 alarms
Console# show rmon alarm
235
236
Rmon event
Syntax Show rmon events Default Configuration
Following example configures an event with the trap index
Show rmon events
Following example displays the Rmon event table
Console# show rmon events
Show rmon log
Syntax Show rmon log event
Event-Event index. Range 0
Following example displays the Rmon logging table
Console# show rmon log
239
Rmon table-size
Console config# rmon table-size history
History table size is Log table size is
240
There are no default communities defined
Snmp Commands
Snmp-server community
No snmp-server community community ip-address
Default and DefaultSuper views exists
Default Setting
Snmp-server view
242
Snmp-server filter
Product specific
243
Snmp-server location
Snmp-server contact
Included
Syntax Snmp-server contact text No snmp-server contact
Console config# snmp-server enable traps
Snmp-server enable traps
Syntax Snmp-server location text No snmp-server location
245
Console config# snmp-server trap authentication
Snmp-server trap authentication
Snmp-server host
246
247
Snmp-server set
248
Snmp-server group
Snmp-server user
Console config# snmp-server group user-groupv3 priv read
No group entry exists
Router context is translated to context in the MIB
250
Console config# snmp-server user
Following example configures a new Snmp Version 3 user
Snmp-server v3-host
251
Following example configures an SNMPv3 host
Snmp-server engineID local
252
Consoleconfig # snmp-server engineID local default
Syntax Show snmp engineID Default Setting
Show snmp engineid
253
Show snmp
Syntax Show snmp Default Configuration
Console# sh snmp
254
Show snmp views
Syntax Show snmp views viewname
255
Show snmp groups
Syntax Show snmp groups groupname
256
Show snmp filters
Syntax Show snmp filters filtername
257
Show snmp users
Syntax Show snmp users username
258
259
Snmp Commands
Spanning-tree mode
Spanning-Tree Commands
Syntax Spanning-tree No spanning-tree Default Configuration
Spanning-tree
Consoleconfig# spanning-tree forward-time
Consoleconfig# spanning-tree mode rstp
Spanning-tree forward-time
Seconds-Time in seconds. Range 4
263
Spanning-tree hello-time
Consoleconfig# spanning-tree hello-time
Spanning-tree max-age
264
Consoleconfig# spanning-tree max-age
Spanning-tree disable
Consoleconfig# spanning-tree priority
Spanning-tree priority
Spanning-tree cost
Following example disables spanning-tree on g5
Syntax Spanning-tree cost cost No spanning-tree cost
Cost-The port path cost Range 1 200,000,000
Spanning-tree port-priority
Consoleconfig-if#spanning-tree port-priority
Spanning-tree portfast
267
Consoleconfig-if#spanning-tree link-type shared
Consoleconfig-if#spanning-tree portfast
Spanning-tree link-type
268
Console config # spanning-tree mst 1 priority
Default number of hops is
Spanning-tree mst priority
Spanning-tree mst max-hops
Consoleconfig-if#spanning-tree mst 1 port-priority
Console config # spanning-tree mst max-hops
Spanning-tree mst port-priority
270
Spanning-tree mst cost
Spanning-tree mst configuration
Interface Long Short
271
Instance mst
Syntax Spanning-tree mst configuration Default Setting
Syntax Instance instance-id add remove vlan vlan-range
272
Revision mst
Name mst
Syntax Name string
Syntax Revision value No revision
Following example sets the configuration revision to
Default configuration revision number is
Show mst
Syntax Show current pending
Syntax Abort Default Setting
Syntax Exit Default Setting
Exit mst
Abort mst
Spanning-tree bpdu
Spanning-tree pathcost method
Console# spanning-tree pathcost method long
276
Clear spanning-tree detected-protocols
Consoleconfig# spanning-tree bpdu flooding
Syntax Spanning-tree bpdu filtering flooding
277
Console# clear spanning-tree detected-protocols ethernet g1
Show spanning-tree
Following example displays spanning-tree information
278
Console# show spanning-tree
279
280
281
282
283
284
285
286
Console# show spanning-tree mst-configuration
287
288
289
290
Spanning-tree mst mstp-rstp
Root guard is disabled
Consoleconfig# spanning-tree mst mstp-rstp
Interface configuration Ethernet, port-channel
Spanning-tree guard root
Following example enable root guard on port g8
Consoleconfig-if#spanning-tree guard root
292
SSH Commands
Ip ssh port
Ip ssh server
Console config# crypto key generate dsa
Syntax Crypto key generate dsa Default Configuration
Crypto key generate dsa
Crypto key generate rsa
Console config# crypto key generate rsa
Syntax Crypto key generate rsa Default Configuration
Ip ssh pubkey-auth
295
Consoleconfig# crypto key pubkey-chain ssh
Crypto key pubkey-chain ssh
User-key
Key-string
Syntax Key-string row key-string
297
Syntax Show ip ssh Default Configuration
Show ip ssh
298
Show crypto key mypubkey
Following example displays the SSH server configuration
Syntax Show crypto key mypubkey rsa dsa
Rsa-RSA key Dsa-DSA key
Show crypto key pubkey-chain ssh
300
Console# show crypto key mypubkey rsa
Following example displays the SSH public called bob
Console# show crypto key pubkey-chain ssh
Console# show crypto key pubkey-chain ssh username bob
301
SSH Commands
Syntax Logging on no logging on Default Configuration
Syslog Commands
Logging on
Logging
Logging console
Default is informational
As described in the field descriptions
Syntax Logging console level No logging console
Logging buffered
Default level is informational
Logging buffered size
Syntax Logging buffered level No logging buffered
Syntax Clear logging Default Configuration
Console config# logging buffered size
Clear logging
Console# clear logging
Logging file
Syntax Clear logging file Default Configuration
Clear logging file
Syntax Logging file level No logging file
Show logging
Syntax Show logging Default Configuration
Following example clears messages from the logging file
Console# clear logging file
Show logging file
Syntax Show logging file Default Configuration
Console# show logging
309
Syntax Show syslog-servers Default Configuration
Show syslog-servers
310
Following example displays the syslog server settings
Console# show syslog-servers
311
Syslog Commands
System Management
Timeout timeout-The default is 2000 milliseconds
Ping
313
Traceroute
Following example displays a ping to IP address
314
315
316
Special Telnet Command characters
Telnet
317
318
Keywords Table
319
Ports Table
Resume
Following command switches to another open Telnet session
Syntax Resume connection
320
Hostname
Reload
Show users
Show sessions
Console# show users
Show system
Exec mode
Console show sessions
Syntax Show system
Following example displays the system information
Show version
Syntax Show version 324
Console show system
Syntax Asset-tag tag No asset-tag
Asset-tag
Tag-The device asset tag. Range 1- 16 characters
325
Show system id
Syntax Show system id Default Configuration
Console show system id
326
Tacacs-server host
Tacacs Commands
No Tacacs host is specified
327
Following example sets the authentication encryption key
Tacacs-server timeout
Tacacs-server key
Following example specifies a TACACS+ host
Console config# tacacs-server timeout
Tacacs-server source-ip
329
Syntax Show tacacs ip-address
Show tacacs
Ip-address-Name or IP address of the host
Console# show tacacs
Enable
Disable
User Interface
Configure
Login
Syntax Login Default Configuration
Syntax Configure
Syntax Exit Default Configuration
Exitconfiguration
All command modes
333
ExitEXEC
Syntax End Default Configuration
End
Following example closes an active terminal session
Syntax History No history Default Configuration
Syntax Help Default Configuration
Help
History
Syntax Debug-mode Default Configuration
Syntax History size number-of-commands No history size
History size
Debug-mode
Syntax Show history Default Configuration
Show history
337
Show privilege
Syntax Show privilege Default Configuration
Console# show history
Console# show privilege
Vlan Commands
Vlan database
Vlan
Default-vlan disable
Interface vlan
Console# vlan database
Interface range vlan
Syntax Interface range vlan vlan-range all
341
Name
Switchport access vlan
Syntax Name string no name
342
Switchport trunk allowed vlan
Console config-if#switchport access vlan
343
Switchport general allowed vlan
Switchport trunk native vlan
Console config-if#switchport trunk allowed vlan add 2,5-8
Console config-if#switchport trunk native vlan
345
Switchport general pvid
Switchport general ingress-filtering disable
Ingress filtering is enabled
346
Switchport forbidden vlan
Switchport general acceptable-frame-type tagged-only
All frame types are accepted at ingress
All VLANs allowed
Map protocol protocols-group
Console config-if#switchport forbidden vlan add
Following example maps protocol ip-arp to the group named
348
Ip internal-usage-vlan
Switchport general map protocols-group vlan
Vlan-id-VLAN ID of the internal usage VLAN.Range Valid Vlan
349
Show vlan
Console config# ip internal-usage-vlan
Syntax Show vlan tag vlan-id name vlan-name
Following example displays all Vlan information
Syntax Show vlan internal usage Default Configuration
Show vlan internal usage
351
Show vlan protocols-groups
Syntax Show vlan protocols-groups Default Configuration
Console# show vlan internal usage
Following example displays protocols-groups information
Show interfaces switchport
Console# show vlan protocols-groups
353
Switchport mode
Console# show interface switchport ethernet g1
Syntax Switchport mode customer access trunk general 354
No switchport mode
Switchport customer vlan
No Vlan is configured
Vlan-id- Vlan ID of the customer
356
Ip http server
Web Server
Ip http port
Syntax Ip http port port-number No ip http port
Ip https server
Default for the device is disabled
Ip https port
Syntax Ip https port port-number No ip https port
Following example configures the https port number to
Crypto certificate generate
359
Crypto certificate request
Console enable# crypto certificate generate key-generate
Certificate and the SSL RSA key pairs do not exist
Following example regenerates a Https certificate
361
Console# crypto certificate 1 request
Syntax Crypto certificate number import
Crypto certificate import
Number-Specifies the certificate number. Range 1
362
Ip https certificate
Consoleconfig# crypto certificate 1 import
Certificate number
363
Crypto certificate export pkcs12
Console config# ip https certificate
Syntax Crypto certificate number export pkcs12
364
Following example exports the certificate and RSA keys
365
Console# crypto certificate 1 export pkcs12
Syntax Crypto certificate number import pkcs12 passphrase
Crypto certificate import pkcs12
Following example imports the certificate and RSA keys
366
367
Syntax Show crypto certificate mycertificate number
Show crypto certificate mycertificate
Following example displays the certificate
Console# show crypto certificate mycertificate
Show ip http
Show ip https
Console# show ip http
370
Console# show ip https
Aaa authentication dot1x
802.1x Commands
Console config# aaa authentication dot1x default none
Method1 method2...-At least one from the following table
Console config# dot1x system-auto-control
Following example enables 802.1x globally
Dot1x system-auto-control
Dot1x port-control
Console config-if#dot1x port-control auto
Dot1x re-authentication
Syntax Dot1x re-authentication No dot1x re-authentication
373
Dot1x re-authenticate
Dot1x timeout re-authperiod
Console config-if#dot1x re-authentication
Console config-if#dot1x timeout re-authperiod
Dot1x timeout quiet-period
Console# dot1x re-authenticate ethernet g8
375
Dot1x timeout tx-period
Console config-if#dot1x timeout quiet-period
376
Dot1x max-req
Dot1x timeout supp-timeout
Syntax Dot1x max-req count No dot1x max-req
377
378
Dot1x timeout server-timeout
Show dot1x
Console config# dot1x timeout server-timeout
Syntax Show dot1x ethernet interface
379
Console# show dot1x ethernet g3
380
Syntax Show dot1x users username username
Show dot1x users
Username-Supplicant username Range 1- 160 characters
Following example displays 802.1X users
Show dot1x statistics
Syntax Show dot1x statistics ethernet interface
382
383
Switch# show dot1x statistics ethernet g1
Dot1x auth-not-req
User should be authorized to access the Vlan
Syntax Dot1x auth-not-req no dot1x auth-not-req
384
Dot1x single-host-violation
Dot1x multiple-hosts
Syntax Dot1x multiple-hosts no dot1x multiple-hosts
385
Forward trap
Show dot1x advanced
Syntax Show dot1x advanced ethernet interface
386
Switch# show dot1x advanced
Switch# show dot1x advanced ethernet g1
387
388
Console# show dot1x advanced ethernet g1