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