Author: Bo small ah QQ: 762641008 reprint declare the URL of: https://www.cnblogs.com/-bobo/
First, enter the command line
switch> User Mode
switch> enable to enter privileged mode
privileged mode switch #
switch # config terminal Enter global configuration mode
switch # conf t shorthand
switch (config) # global configuration mode
switch (config) # interface fastethernet 0/1 Enter interface mode
switch (config) # int f0 / 1 abbreviation
switch (config-if) # interface mode
switch (config-if) # exit back to the previous mode
switch (config) # end quickly retreated to the privileged mode
switch # disable user mode from privileged mode and return
switch>
Second, the basic configuration of the command line
switch (config) # hostname ws1 changing the host name is "sw1"
switch (config) # host ws1 shorthand
switch # show version Display System "IOS" name and version information
switch # sh ver shorthand
switch # show mac-address-table [dynamic] view MAC address table
Third, the rate configuration switches
switch (config-if) # duplex {full | half | auto} duplex mode specified interface
full: full duplex
half: half-duplex
auto: Auto-Negotiation
Communication rate specified interface:
switch(config-if)# speed { 10 | 100 | 1000 | auto }
Author: Bo small ah QQ: 762641008 reprint declare the URL of: https://www.cnblogs.com/-bobo/