4
Chapter3SwitchBasicConfiguration......................................................................................................39
3.1BasicConfigurationCommands...................................................................................................39
3.1.1 Clockset............................................................................................................................39
3.1.2 config................................................................................................................................39
3.1.3 enable................................................................................................................................39
3.1.4 enablepassword..............................................................................................................39
3.1.5 exectimeout.....................................................................................................................40
3.1.6 exit....................................................................................................................................40
3.1.7 help...................................................................................................................................41
3.1.8 iphost...............................................................................................................................41
3.1.9 hostname..........................................................................................................................41
3.1.10reload................................................................................................................................42
3.1.11setdefault.........................................................................................................................42
3.1.12setup.................................................................................................................................42
3.1.13language...........................................................................................................................42
3.1.14write.................................................................................................................................42
3.2MaintenanceandDebuggingCommands...................................................................................43
3.2.1 ping...................................................................................................................................43
3.2.2 Telnet................................................................................................................................44
3.2.2.1 TelnetIntroduction................................................................................................44
3.2.2.2 TaskSequenceofTelnet........................................................................................44
3.2.2.3 TelenetCommandIntroduction............................................................................45
3.2.2.3.1monitor.........................................................................................................45
3.2.2.3.2Telnet............................................................................................................45
3.2.2.3.3Telnet‐serverenable......................................................................................46
3.2.2.3.4Telnetserversecurityip.................................................................................46
3.2.2.3.5Telnet–user...................................................................................................46
3.2.3 traceoute...........................................................................................................................47
3.2.4 show.................................................................................................................................47
3.2.4.1showcolock............................................................................................................47
3.2.4.2showdebugging.....................................................................................................48
3.2.4.3 showflash...............................................................................................................48
3.2.4.4 showhistory..........................................................................................................48
3.2.4.5 showmemory........................................................................................................49
3.2.4.6 showrunning‐config.............................................................................................49
3.2.4.7 showstartup‐config...............................................................................................49
3.2.4.8 showswitchportinterface....................................................................................50
3.2.4.9 showtcp.................................................................................................................50
3.2.4.10showudp................................................................................................................51
3.2.4.11showTelnelogin...................................................................................................51
3.2.4.12showTelnetuser..................................................................................................51
3.2.4.13showversion.........................................................................................................51
3.2.5 Debug................................................................................................................................52
3.3 SwitchIPaddressConfiguration...............................................................................................52