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
Introduction
Command Groups
Command Groups
Configures commands related to 802.1x security protocol
Configures and reports on Spanning Tree protocol
Configures Tacacs commands
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
Cache
Line Commands
Deletes entries from the host name-to-address
Sets the line for automatic baud rate detection
Lldp Commands
PHY Diagnostics Commands
Management ACL Commands
QoS Commands
Port Channel Commands
Port Monitor Commands
Enables each port trust state
Radius Commands
Snmp Commands
Rmon Commands
Spanning Tree Commands
MST
Sets the default path cost method
SSH Commands
Overrides the default link-type setting
Syslog Commands
Reloads the operating system
System Management Commands
Tacacs Commands
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
Reserves a Vlan as the internal usage Vlan of an interface
An Extensible Authentication Protocol EAP request/identity
Frame, from the client, before resending the request
Command Description
LC Line Configuration Mode
Enables the Simple Network Time Protocol Sntp client on an
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
Introduction
Using the CLI
CLI Command Modes
Privileged Exec Mode
User Exec Mode
Exit End Ctrl+Z
Global Configuration Mode
Starting the CLI
Consoleconfig# username admin password smith
Editing Features
Entering Commands
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
Example
Aaa authentication enable
Following example configures authentication login
Console config# aaa authentication enable default enable
Login authentication
Console config-line#login authentication default
Enable authentication
Following example configures the http authentication
Ip http authentication
Console config-line#enable authentication default
Following example configures https authentication
Ip https authentication
Show authentication methods
Following example displays the authentication configuration
Syntax Show authentication methods Default Configuration
This command has no default configuration
Privileged Exec mode
Syntax Password password encrypted No password
Password
Console# show authentication methods
Following example specifies a password secret on a line
Enable password
No password is required
No user is defined
Username
Show users accounts
Console# show users accounts
Syntax Show users accounts Default Configuration
AAA Commands
Bridge address
Address Table Commands
Interface configuration Vlan mode
Bridge multicast filtering
Disabled. All multicast addresses are flooded to all ports
This example, bridge multicast filtering is enabled
Console config# bridge multicast filtering
Following example registers the MAC address
No multicast addresses are defined
Examples
No forbidden addresses are defined
Command Modes
Bridge multicast forbidden address
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
Console# clear bridge
Clear bridge
Syntax Clear bridge
Port security
Disabled No port security
Interface Configuration Ethernet, port-channel mode
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
Console# clock source sntp
Clock timezone
No external clock source
Clock summer-time
No authentication key is defined
Sntp authentication-key
Syntax Sntp authenticate No sntp authenticate
Sntp authenticate
Consoleconfig# sntp authentication-key 8 md5 ClkKey
Not trusted
Sntp client poll timer
Following example authenticates key
Sntp trusted-key
Console config# sntp broadcast client enable
Sntp broadcast client enable
Console config# sntp client poll timer
Syntax Sntp client enable No sntp client enable
Sntp anycast client enable
Sntp client enable interface
Console config-if#sntp anycast client enable
101
Sntp unicast client enable
Console config# sntp unicast client enable
Syntax Sntp unicast client poll no sntp unicast client poll
Console config# sntp unicast client poll
Sntp unicast client poll
Sntp server
103
Show clock
Syntax Show clock detail
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
Syntax Show startup-config sort type 114
Show startup-config
Console# show running-config no spanning-tree
115
Syntax Show backup-config 116
Show backup-config
Console# show startup-config no spanning-tree
117
Console# show backup-config software version
118
Show bootvar
Syntax Show bootvar Default Configuration
Console# show bootvar
Interface range ethernet
Ethernet Configuration Commands
Interface 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
122
Duplex
Syntax Duplex half full No duplex
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
125
Syntax Back-pressure No back-pressure Default Configuration
Back-pressure
126
Port jumbo-frame
Clear counters
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
132
Show interfaces counters
Console# show interfaces description ethernet g1
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
136
Syntax Show ports jumbo-frame Default Configuration
Show ports jumbo-frame
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
142
Garp timer
Following example enables Gvrp on ethernet g8
143
By default, dynamic Vlan creation is enabled
Gvrp vlan-creation-forbid
Clear gvrp statistics
Console config-if#gvrp vlan-creation-forbid
Console config-if#gvrp registration-forbid
Gvrp registration-forbid
145
Show gvrp configuration
Console# clear gvrp statistics ethernet g8
146
Console# show gvrp configuration
Show gvrp statistics
Console# show gvrp statistics
Show gvrp error-statistics
Following example shows Gvrp statistics information
147
148
Console# show gvrp-error statistics
Following example displays Gvrp statistics information
149
Igmp Snooping Commands
Ip igmp snooping Global
Ip igmp snooping Interface
150
Ip igmp snooping mrouter
Ip igmp snooping host-time-out
151
Console config-if#ip igmp snooping host-time-out
Ip igmp snooping mrouter-time-out
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
Console # show ip igmp snooping mrouter
Show ip igmp snooping mrouter
Show ip igmp snooping interface
154
Show ip igmp snooping groups
Example displays Igmp snooping information
Console # show ip igmp snooping interface
155
Example shows Igmp snooping information
Console # show ip igmp snooping groups
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
160
Following example defines an ip default gateway
Show ip interface
161
Arp
Console# show ip interface
Clear arp-cache
Arp timeout
Console config# arp 198.133.219.232 00000c400fbc ethernet
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
187
Switch# show lldp neighbors
Switch# show lldp neighbors ethernet g1
Lldp Commands
189
Management access-list
Name-The access list name using up to 32 characters
Management ACL
190
Console config# management access-class mlist
Permit management
191
Management Access-list Configuration mode
Deny management
192
Management access-class
Console# show management access-list
Show management access-list
Show management access-class
Syntax Show management access-list name
194
Syntax Show management access-class Default Configuration
Console# show management access-class
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
197
Show fiber-ports optical-transceiver
Console# show copper-ports cable-length
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
206
Syntax Show ports monitor Default Configuration
Show ports monitor
207
Console# show ports monitor
Port Monitor Commands
Show qos
QoS Commands
Qos
210
Following example displays a QoS mode
Wrr-queue cos-map
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
214
Qos map dscp-queue
Console# show qos interface ethernet g1 queuing
215
Qos trust Global
Syntax Qos trust cos dscp No qos trust
Qos cos
Syntax Qos trust No qos trust Default Configuration
Syntax Qos cos default-cos No qos cos 216
Qos trust Interface
217
Show qos map
Syntax Show qos map dscp-queue
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
222
Radius-server timeout
Console config# radius-server timeout
Show radius-servers
Console config# radius-server deadtime
Syntax Show radius-servers Default Configuration
Radius-server deadtime
Console# show radius-servers
Following example displays the Radius server settings
224
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
Console# show rmon history 5 throughput
Console# show rmon history 5 errors
230
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
235
Following example displays Rmon 1 alarms
Console# show rmon alarm
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
239
Following example displays the Rmon logging table
Console# show rmon log
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
243
Snmp-server filter
Product specific
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
252
Following example configures an SNMPv3 host
Snmp-server engineID local
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
255
Show snmp views
Syntax Show snmp views viewname
256
Show snmp groups
Syntax Show snmp groups groupname
257
Show snmp filters
Syntax Show snmp filters filtername
258
Show snmp users
Syntax Show snmp users username
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
264
Consoleconfig# spanning-tree hello-time
Spanning-tree max-age
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
292
Following example enable root guard on port g8
Consoleconfig-if#spanning-tree guard root
Ip ssh server
SSH Commands
Ip ssh port
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
User-key
Consoleconfig# crypto key pubkey-chain ssh
Crypto key pubkey-chain ssh
297
Key-string
Syntax Key-string row key-string
298
Syntax Show ip ssh Default Configuration
Show ip ssh
Rsa-RSA key Dsa-DSA key
Following example displays the SSH server configuration
Show crypto key mypubkey
Syntax Show crypto key mypubkey rsa dsa
Console# show crypto key mypubkey rsa
Show crypto key pubkey-chain ssh
300
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
310
Syntax Show syslog-servers Default Configuration
Show syslog-servers
311
Following example displays the syslog server settings
Console# show syslog-servers
Syslog Commands
313
Timeout timeout-The default is 2000 milliseconds
System Management
Ping
314
Traceroute
Following example displays a ping to IP address
315
316
317
Special Telnet Command characters
Telnet
318
Keywords Table
319
Ports Table
320
Following command switches to another open Telnet session
Resume
Syntax Resume connection
Hostname
Reload
Console# show users
Show users
Show sessions
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
329
Console config# tacacs-server timeout
Tacacs-server source-ip
Console# show tacacs
Show tacacs
Syntax Show tacacs ip-address
Ip-address-Name or IP address of the host
User Interface
Enable
Disable
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
337
Syntax Show history Default Configuration
Show history
Console# show privilege
Syntax Show privilege Default Configuration
Show privilege
Console# show history
Vlan
Vlan Commands
Vlan database
Console# vlan database
Default-vlan disable
Interface vlan
341
Interface range vlan
Syntax Interface range vlan vlan-range all
342
Switchport access vlan
Name
Syntax Name string no name
343
Switchport trunk allowed vlan
Console config-if#switchport access vlan
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
346
Switchport general ingress-filtering disable
Ingress filtering is enabled
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
351
Syntax Show vlan internal usage Default Configuration
Show vlan internal usage
Following example displays protocols-groups information
Syntax Show vlan protocols-groups Default Configuration
Show vlan protocols-groups
Console# show vlan internal usage
353
Show interfaces switchport
Console# show vlan protocols-groups
Syntax Switchport mode customer access trunk general 354
Switchport mode
Console# show interface switchport ethernet g1
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
359
Following example configures the https port number to
Crypto certificate generate
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
Console# crypto certificate 1 export pkcs12
Following example exports the certificate and RSA keys
365
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
Console# show ip http
Show ip http
Show ip https
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
375
Dot1x timeout quiet-period
Console# dot1x re-authenticate ethernet g8
376
Dot1x timeout tx-period
Console config-if#dot1x timeout quiet-period
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
382
Show dot1x statistics
Syntax Show dot1x statistics ethernet interface
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
387
Switch# show dot1x advanced
Switch# show dot1x advanced ethernet g1
388
Console# show dot1x advanced ethernet g1