7th days: Computer Network
Lab 01: Switch Working Mode
Lab Objectives: Common commands such as user mode, privileged mode, global configuration mode, and interface mode of a vswitch
Lab Environment:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/93/wKiom1QVhDWRTvOHAACdnwUtR9U441.jpg "style =" float: none; "Title =" image001.png "alt =" wkiom1qvhdwrtvohaacdnwutr9u441.jpg "/>
Lab procedure:
1. Click "vswitch" ---- command line --- press ENTER --- to enter user mode
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/95/wKioL1QVhEmx8ByfAAJ2_UaIXd0372.jpg "style =" width: 576px; Height: pixel PX; "Title =" image003.png "width =" 576 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiol1qvhemx8byfaaj2_uaixd0372.jpg "/>
2. Enter "enable" to enter the privileged Mode
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/93/wKiom1QVhDbT9IFMAAKjwFkBRb8796.jpg "style =" width: 567px; Height: pixel PX; "Title =" image005.png "width =" 567 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiom1qvhdbt9ifmaak1_fkbrb8796.jpg "/>
3. Enter "Configure terminal" to enter the global configuration mode.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/95/wKioL1QVhEqB3pUPAAK6YZf4w6g480.jpg "style =" width: 572px; Height: pixel PX; "Title =" image007.png "width =" 572 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiol1qvheqb3pupaak6yzf4w6g480.jpg "/>
4. Enter "interface fastethernet 0/1" to enter interface mode
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/93/wKiom1QVhDaxuXh9AAKzFsAxmDo446.jpg "style =" width: 563px; Height: pixel PX; "Title =" image009.png "width =" 563 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiom1qvhdaxuxh9aakzfsaxmdo446.jpg "/>
5. Enter "exit" to return to the previous mode.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/95/wKioL1QVhErzZt-yAAJpaFq9xPw703.jpg "style =" width: 563px; Height: pixel PX; "Title =" image011.png "width =" 563 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wKioL1QVhErzZt-yAAJpaFq9xPw703.jpg "/>
6. Enter "end" to directly return to the privileged mode.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/93/wKiom1QVhDbg0w7kAAJWCrm1k70996.jpg "style =" width: 572px; Height: pixel PX; "Title =" image013.png "width =" 572 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiom1qvhdb1_w7kaa1_crm1k70996.jpg "/>
7. In Global configuration mode, enter "hostname S1" to change the host name to S1.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/95/wKioL1QVhEqCygrJAAKJjs2VGa4154.jpg "style =" width: 563px; Height: pixel PX; "Title =" image015.png "width =" 563 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiol1qvheqcygrjaakjs2vga4154.jpg "/>
8. In privileged mode, enter "show running-config" to view the configuration information.
650) This. length = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/95/wKioL1QVhPbiP3OJAAHJsiZn6WQ190.jpg "Title =" image017.png "width =" 572 "Height =" 450 "border =" 0 "hspace =" 0 "vspace =" 0 "style =" Width: 572px; Height: pixel PX; "alt =" wkiol1qvhpbip3ojaahjsizn6wq190.jpg "/>
9. In interface mode, enter shutdown to disable interface 1.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/93/wKiom1QVhDjAK56ZAACXR60mXM4224.jpg "style =" float: none; "Title =" image019.png "alt =" wkiom1qvhdjak56zaacxr60mxm4224.jpg "/>
Ping the IP addresses of the other two computers to verify that the interface is disconnected.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/95/wKioL1QVhEyTSVL4AAGnlNEX02c268.jpg "style =" width: 576px; Height: 400px; "Title =" image021.png "width =" 576 "Height =" 400 "border =" 0 "hspace =" 0 "vspace =" 0 "alt =" wkiol1qvheytsvl4aagnlnex02c268.jpg "/>
Cannot be connected
10. In interface mode, enter "no shutdown" to activate the interface.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/93/wKiom1QVhDiRAxxSAACggv3iZjI960.jpg "style =" float: none; "Title =" image023.png "alt =" wkiom1qvhdiraxxsaacggv3izji960.jpg "/>
Ping the IP addresses of the other two computers to verify that the interface is connected.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/95/wKioL1QVhEyhqG46AAEzeTkq38w419.jpg "style =" float: none; "Title =" image025.png "alt =" wkiol1qvheyhqg46aaezetkq38w419.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/93/wKiom1QVhDjBhkEUAAEw35_i4Ik181.jpg "style =" float: none; "Title =" image027.png "alt =" wkiom1qvhdjbhkeuaaew35_i4ik181.jpg "/>
Connected
Result verification: As shown above
Problem and Experience Summary: memorizing commands
This article is from the "Linan" blog. For more information, contact the author!
Switch Working Mode