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