您的当前位置:首页正文

交换机基本配置实验

2020-08-21 来源:好走旅游网


Experiment 1 Switch Basic Configuration

Purpose:

To understand the basic configuration and application using console interface. We should master the different view, including user-view, system-view and interface-view. We should be able to master basic administrative method of switch.

Experiment Steps:

1、Through observe switch to know the components and the function of switch Indicator.

2、Power connectivity ->start the switch->Using Super Terminal on PC->Login switch using console port.

3、Online help command “ ?” under user-view , for example:

4、Set language mode command under user-view “ language-mode ” , for example:

language-mode chinese

language-mode english

5、Display the basic configuration information of switch and check the running state. We can use command “display”, for example:

display current-configuration

6、Delete the configuration information in flash. We can use command reset saved-configuration, after that we need reboot switch using command “reboot”, for example:

reset saved-configuration

reboot

7、Save current configuration information. We can use command “ save”, for example:

save

8、Enter the system view, under this view we can configure the switch to construct LAN or WAN. We can use command “system-view” to enter this view.

system-view

9、Exit from system view and return user view. We can use command “quit”. We can use the same command exit for any other view and return user view, for example:

[Quidway] quit

10、Enter interface view. We can do any work about interface configuration, and we can use the command “interface Ethernet ”, for example we enter interface 1 of switch we can use the command “interface Ethernet 0/1” under system view.

[Quidway]interface ethernet 0/1

11、Configuration port duplex model. We can set the duplex model of port depend on we need.

[Quidway-Ethernet0/1]duplex full

12. Configuration port speed model. We can set the speed model of port depend on we need. For example:

[Quidway-Ethernet0/1]speed auto

13、Configuration port flow control, if the data flow is too big and fast we need do some control to guarantee the receiver can effectively Receive data. For example:

[Quidway-Ethernet0/1]flow-control

14、Disenable and enable the switch port. We can use command shutdown to disenable the switch port and use command undo shutdown to enable the switch

port. For example:

[Quidway-Ethernet0/1] shutdown

[Quidway-Ethernet0/1] undo shutdown

15、using aggregation function aggregate two link that connection two switch to balance the data on two link.

[Quidway] link-aggregation e0/1 to e0/2 both

16、undo port aggregation function.

[Quidway] undo link-aggregation all

因篇幅问题不能全部显示,请点此查看更多更全内容