Summary of the content on the page No. 1
REFERENCE GUIDE
Cisco Small Business Pro
SPS208G/SPS224G4/SPS2024 Ethernet Switches
Command Line Interface
Summary of the content on the page No. 2
© 2008 Cisco
Summary of the content on the page No. 3
Contents Chapter 1: Introduction 18 Overview 18 CLI Command Modes 18 Accessing the Command Line Interface 22 Editing Features 28 Chapter 2: AAA Commands 33 aaa authentication login 33 aaa authentication enable 35 login authentication 36 enable authentication 37 ip http authentication 39 ip https authentication 40 show authentication methods 41 password 43 enable password 44 username 45 show users accounts 46 show privilege 47 Chapter 3: ACL Commands 48 ip access-list 48 permit (ip) 49 deny (IP
Summary of the content on the page No. 4
Contents show interfaces access-lists 62 Chapter 4: ARP Inspection Commands 64 ip arp inspection 64 ip arp inspection vlan 65 ip arp inspection trust 66 ip arp inspection validate 67 ip arp inspection list create 68 ip mac 69 ip arp inspection list assign 70 ip arp inspection logging interval 71 show ip arp inspection 72 show ip arp inspection list 73 Chapter 5: Address Table Commands 75 bridge address 75 bridge multicast filtering 76 bridge multicast address 77 bridge multicast forbidden addr
Summary of the content on the page No. 5
Contents show bridge multicast address-table static 94 show bridge multicast filtering 95 show ports security 96 show ports security addresses 98 Chapter 6: Clock Commands 100 clock set 100 clock source 101 clock timezone 102 clock summer-time 103 sntp authentication-key 105 sntp authenticate 106 sntp port 107 sntp trusted-key 108 sntp client poll timer 109 sntp broadcast client enable 110 sntp anycast client enable 111 sntp client enable 112 sntp client enable (Interface) 113 sntp unicast cli
Summary of the content on the page No. 6
Contents show startup-config 127 Chapter 8: DHCP Commands 129 ip dhcp snooping 129 ip dhcp snooping vlan 130 ip dhcp snooping trust 131 ip dhcp information option allowed-untrusted 132 ip dhcp snooping verify 133 ip dhcp snooping database 134 ip dhcp snooping database update-freq 135 ip dhcp snooping binding 136 clear ip dhcp snooping database 137 show ip dhcp snooping 138 show ip dhcp snooping binding 139 Chapter 9: DHCP Relay Commands 141 ip dhcp relay enable (global) 141 ip dhcp relay enabl
Summary of the content on the page No. 7
Contents Chapter 12: Ethernet Configuration Commands 150 interface ethernet 150 interface range ethernet 151 shutdown 152 description 153 speed 154 duplex 155 negotiation 156 port jumbo-frame 157 show system flowcontrol 158 flowcontrol 159 mdix 160 back-pressure 161 port jumbo-frame 162 sfp speed 163 clear counters 164 set interface active 165 show interfaces configuration 166 show interfaces status 167 show interfaces advertise 169 show interfaces description 170 show interfaces counters 171
Summary of the content on the page No. 8
Contents Chapter 13: GVRP Commands 182 gvrp enable (Global) 182 gvrp enable (Interface) 183 garp timer 184 gvrp vlan-creation-forbid 185 gvrp registration-forbid 186 clear gvrp statistics 187 show gvrp configuration 188 show gvrp statistics 189 show gvrp error-statistics 190 Chapter 14: IGMP Snooping Commands 192 ip igmp snooping (global) 192 ip igmp snooping (Interface) 193 ip igmp snooping mrouter 194 ip igmp snooping querier enable 195 ip igmp snooping host-time-out 196 ip igmp snooping mro
Summary of the content on the page No. 9
Contents renew dhcp 211 ip default-gateway 212 show ip interface 213 arp 214 arp timeout 215 clear arp-cache 216 show arp 217 ip domain-lookup 218 ip domain-name 219 ip name-server 220 ip host 221 clear host 222 clear host dhcp 223 show hosts 224 Chapter 16: IP Source Guard Commands 226 ip source-guard (global) 226 ip source-guard (interface) 227 ip source-guard binding 228 ip source-guard tcam retries-freq 229 show ip source-guard configuration 230 show ip source-guard status 231 show ip sour
Summary of the content on the page No. 10
Contents Chapter 18: Line Commands 242 line 242 speed 243 exec-timeout 244 show line 245 Chapter 19: Management ACL Commands 247 management access-list 247 management access-class 248 permit (management) 249 deny (management) 251 show management access-list 252 show management access-class 253 Chapter 20: PHY Diagnostics Commands 254 test copper-port tdr 254 show copper-ports tdr 255 show copper-ports cable-length 256 show fiber-ports optical-transceiver 257 Chapter 21: Port Channel Commands 2
Summary of the content on the page No. 11
Contents Chapter 23: QoS Commands 268 qos 268 show qos 269 class-map 270 show class-map 271 match 272 policy-map 273 class 274 show policy-map 276 trust 277 set 279 police 280 qos aggregate-policer 281 show qos aggregate-policer 283 police aggregate 284 wrr-queue bandwidth 285 wrr-queue cos-map 286 priority-queue out num-of-queues 288 traffic-shape 289 rate-limit (Ethernet) 290 show qos interface 291 qos wrr-queue threshold 293 qos map policed-dscp 295 qos map dscp-queue 296 qos map dscp-dp 29
Summary of the content on the page No. 12
Contents qos map dscp-mutation 302 show qos map 303 Chapter 24: RADIUS Commands 306 radius-server host 306 radius-server key 308 radius-server retransmit 309 radius-server source-ip 310 radius-server timeout 311 radius-server deadtime 312 show radius-servers 313 Chapter 25: RMON Commands 314 show rmon statistics 314 rmon collection history 317 show rmon collection history 318 show rmon history 319 rmon alarm 323 show rmon alarm-table 325 show rmon alarm 326 rmon event 329 show rmon events 330
Summary of the content on the page No. 13
Contents snmp-server filter 341 snmp-server host 342 snmp-server v3-host 344 snmp-server engineID local 346 snmp-server enable traps 348 snmp-server trap authentication 349 snmp-server contact 350 snmp-server location 351 snmp-server set 352 show snmp 353 show snmp engineID 355 show snmp views 355 show snmp groups 356 show snmp filters 358 show snmp users 359 Chapter 27: RSA and Certificate Commands 361 crypto certificate generate 361 crypto key generate dsa 363 crypto key generate rsa 364 Cha
Summary of the content on the page No. 14
Contents spanning-tree port-priority 373 spanning-tree portfast 374 spanning-tree link-type 375 spanning-tree pathcost method 376 spanning-tree bpdu 377 spanning-tree guard root 378 clear spanning-tree detected-protocols 379 spanning-tree mst priority 380 spanning-tree mst max-hops 381 spanning-tree mst port-priority 382 spanning-tree mst cost 383 spanning-tree mst configuration 385 instance (mst) 386 name (mst) 387 revision (mst) 388 show (mst) 389 exit (mst) 390 abort (mst) 391 show spanning
Summary of the content on the page No. 15
Contents show crypto key mypubkey 412 crypto certificate request 413 crypto certificate import 415 crypto certificate export 417 show crypto certificate mycertificate 418 Chapter 30: Syslog Commands 420 logging on 420 logging 421 logging console 422 logging buffered 423 logging buffered size 424 clear logging 425 logging file 426 clear logging file 427 aaa logging 428 file-system logging 429 management logging 430 show logging 431 show logging file 432 show syslog-servers 434 Chapter 31: Syste
Summary of the content on the page No. 16
Contents show cpu utilization 449 show users 450 show sessions 451 show system 452 show version 454 show system tcam utilization 455 Chapter 32: TACACS+ Commands 456 tacacs-server host 456 tacacs-server key 458 tacacs-server timeout 459 tacacs-server source-ip 460 show tacacs 461 Chapter 33: User Interface Commands 463 login 463 configure 464 exit (configuration) 464 exit(EXEC) 465 end 466 help 467 history 468 history size 469 terminal history 470 terminal history size 471 terminal datadump 47
Summary of the content on the page No. 17
Contents Chapter 34: VLAN Commands 477 switchport protected 477 switchport protected-port 478 switchport protected-port fastethernet 479 vlan database 480 vlan 481 default-vlan vlan 482 interface vlan 483 interface range vlan 484 name 485 switchport mode 486 switchport protected 487 switchport access vlan 488 switchport access multicast-tv vlan 489 switchport trunk allowed vlan 490 switchport trunk native vlan 491 switchport general allowed vlan 492 switchport general pvid 494 switchport gener
Summary of the content on the page No. 18
Contents Chapter 35: Web Server Commands 506 ip http server 506 ip http port 507 ip http exec-timeout 508 ip https server 509 ip https port 510 ip https exec-timeout 511 ip https certificate 512 show ip http 513 show ip https 514 Chapter 36: 802.1x Commands 516 aaa authentication dot1x 516 dot1x system-auth-control 517 dot1x port-control 518 dot1x re-authentication 519 dot1x timeout re-authperiod 520 dot1x re-authenticate 521 dot1x timeout quiet-period 522 dot1x timeout tx-period 523 dot1x max
Summary of the content on the page No. 19
Contents dot1x radius-attributes vlan 537 dot1x single-host-violation 538 dot1x bpdu 539 show dot1x bpdu 541 dot1x guest-vlan 542 dot1x guest-vlan enable 543 dot1x mac-authentication 544 show dot1x advanced 545 Appendix A: Alias Names 547 Alias Name Support 547 Appendix B: Where to Go From Here 548 Product Resources 548 Related Documentation 548 Appendix C: Additional Information 549 Regulatory Compliance and Safety Information 549 Warranty 549 End User License Agreement (EULA) 549 Appendix D:
Summary of the content on the page No. 20
1 Introduction Overview This document describes the Command Line Interface (CLI) used to manage the Linksys SPS208G, SPS224G4, and SPS2024 switches. Unless noted otherwise, all of the CLI commands in this document apply to all three switches. This chapter describes the CLI command modes, how to access the CLI, and the CLI command editing features. CLI Command Modes For greater ease of use, the Command Line Interface (CLI) is divided into four command modes arranged hierarchically by privil