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
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
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
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
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
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
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
This command has no default configuration
Syntax Show authentication methods Default Configuration
Privileged Exec mode
Following example displays the authentication configuration
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
This example, bridge multicast filtering is enabled
Disabled. All multicast addresses are flooded to all ports
Console config# bridge multicast filtering
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
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
Console# clear bridge
Clear bridge
Syntax Clear bridge
Port security
Disabled No port security
Interface Configuration Ethernet, port-channel mode
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
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
Following example authenticates key
Sntp client poll timer
Sntp trusted-key
Not trusted
Console config# sntp broadcast client enable
Sntp broadcast client enable
Console config# sntp client poll timer
Sntp client enable interface
Sntp anycast client enable
Console config-if#sntp anycast client enable
Syntax Sntp client enable No sntp client enable
101
Sntp unicast client enable
Console config# sntp unicast client enable
Sntp unicast client poll
Console config# sntp unicast client poll
Sntp server
Syntax Sntp unicast client poll no sntp unicast client poll
103
Show clock
Syntax Show clock detail
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
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
Syntax Show bootvar Default Configuration
Show bootvar
Console# show bootvar
118
Interface range ethernet
Ethernet Configuration Commands
Interface 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
122
Duplex
Syntax Duplex half full No duplex
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
125
Syntax Back-pressure No back-pressure Default Configuration
Back-pressure
126
Port jumbo-frame
Clear counters
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
132
Show interfaces counters
Console# show interfaces description ethernet g1
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
136
Syntax Show ports jumbo-frame Default Configuration
Show ports jumbo-frame
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
142
Garp timer
Following example enables Gvrp on ethernet g8
143
By default, dynamic Vlan creation is enabled
Gvrp vlan-creation-forbid
Console config-if#gvrp registration-forbid
Console config-if#gvrp vlan-creation-forbid
Gvrp registration-forbid
Clear gvrp statistics
145
Show gvrp configuration
Console# clear gvrp statistics ethernet g8
146
Console# show gvrp configuration
Show gvrp statistics
Following example shows Gvrp statistics information
Show gvrp error-statistics
147
Console# show gvrp statistics
148
Console# show gvrp-error statistics
Following example displays Gvrp statistics information
Ip igmp snooping Global
Igmp Snooping Commands
Ip igmp snooping Interface
149
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
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
Console # show ip igmp snooping mrouter
Show ip igmp snooping mrouter
Show ip igmp snooping interface
Example displays Igmp snooping information
Show ip igmp snooping groups
Console # show ip igmp snooping interface
154
155
Example shows Igmp snooping information
Console # show ip igmp snooping groups
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
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
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
187
Switch# show lldp neighbors
Switch# show lldp neighbors ethernet g1
Lldp Commands
Name-The access list name using up to 32 characters
Management access-list
Management ACL
189
190
Console config# management access-class mlist
Permit management
191
Management Access-list Configuration mode
Deny management
192
Management access-class
Show management access-class
Show management access-list
Syntax Show management access-list name
Console# show management access-list
194
Syntax Show management access-class Default Configuration
Console# show management access-class
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
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
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
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
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
214
Qos map dscp-queue
Console# show qos interface ethernet g1 queuing
215
Qos trust Global
Syntax Qos trust cos dscp No qos trust
Syntax Qos cos default-cos No qos cos 216
Syntax Qos trust No qos trust Default Configuration
Qos trust Interface
Qos cos
217
Show qos map
Syntax Show qos map dscp-queue
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
222
Radius-server timeout
Console config# radius-server timeout
Syntax Show radius-servers Default Configuration
Console config# radius-server deadtime
Radius-server deadtime
Show radius-servers
Console# show radius-servers
Following example displays the Radius server settings
224
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 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-table Default Configuration
Show rmon alarm
Console# show rmon alarm-table
Syntax Show rmon alarm number
235
Following example displays Rmon 1 alarms
Console# show rmon alarm
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
239
Following example displays the Rmon logging table
Console# show rmon log
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
243
Snmp-server filter
Product specific
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
252
Following example configures an SNMPv3 host
Snmp-server engineID local
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
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 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
264
Consoleconfig# spanning-tree hello-time
Spanning-tree max-age
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
292
Following example enable root guard on port g8
Consoleconfig-if#spanning-tree guard root
Ip ssh server
SSH Commands
Ip ssh port
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
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
Show crypto key mypubkey
Following example displays the SSH server configuration
Syntax Show crypto key mypubkey rsa dsa
Rsa-RSA key Dsa-DSA key
Console# show crypto key mypubkey rsa
Show crypto key pubkey-chain ssh
300
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
310
Syntax Show syslog-servers Default Configuration
Show syslog-servers
311
Following example displays the syslog server settings
Console# show syslog-servers
Syslog Commands
System Management
Timeout timeout-The default is 2000 milliseconds
Ping
313
314
Traceroute
Following example displays a ping to IP address
315
316
317
Special Telnet Command characters
Telnet
318
Keywords Table
319
Ports Table
Resume
Following command switches to another open Telnet session
Syntax Resume connection
320
Hostname
Reload
Console# show users
Show users
Show sessions
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
329
Console config# tacacs-server timeout
Tacacs-server source-ip
Syntax Show tacacs ip-address
Show tacacs
Ip-address-Name or IP address of the host
Console# show tacacs
User Interface
Enable
Disable
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
337
Syntax Show history Default Configuration
Show history
Show privilege
Syntax Show privilege Default Configuration
Console# show history
Console# show privilege
Vlan
Vlan Commands
Vlan database
Console# vlan database
Default-vlan disable
Interface vlan
341
Interface range vlan
Syntax Interface range vlan vlan-range all
Name
Switchport access vlan
Syntax Name string no name
342
343
Switchport trunk allowed vlan
Console config-if#switchport access vlan
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
346
Switchport general ingress-filtering disable
Ingress filtering is enabled
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
351
Syntax Show vlan internal usage Default Configuration
Show vlan internal usage
Show vlan protocols-groups
Syntax Show vlan protocols-groups Default Configuration
Console# show vlan internal usage
Following example displays protocols-groups information
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
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
359
Following example configures the https port number to
Crypto certificate generate
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
Console# crypto certificate 1 export pkcs12
Following example exports the certificate and RSA keys
365
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
Console# show ip http
Show ip http
Show ip https
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
375
Dot1x timeout quiet-period
Console# dot1x re-authenticate ethernet g8
376
Dot1x timeout tx-period
Console config-if#dot1x timeout quiet-period
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
382
Show dot1x statistics
Syntax Show dot1x statistics ethernet interface
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
387
Switch# show dot1x advanced
Switch# show dot1x advanced ethernet g1
388
Console# show dot1x advanced ethernet g1