The7Day: Basic commands for vswitch Configuration
Lab01: Implement switch command configuration
Lab Objectives
Communication between two computers
Lab Environment
Install a Cisco simulator computer
650) This. width = 650; "width =" 419 "Height =" 274 "Title =" image001.png "style =" width: 419px; Height: 230px; "src =" http://s3.51cto.com/wyfs02/M00/45/53/wKioL1PnUaTzULQAAABhnk4TQvc950.jpg "alt =" wkiol1pnuatzulqaaabhnk4tqvc950.jpg "/>
Lab procedure
Configure the IP addresses of the two computers respectively
1. pc0: 192.168.1.1 pC1: 192.168.1.2
Double-click pc0 computer | enter IP Address Configuration
650) This. width = 650; "width =" 651 "Height =" 515 "Title =" image003.png "style =" width: 495px; Height: 301px; "src =" http://s3.51cto.com/wyfs02/M00/45/53/wKiom1PnUM3TWh1sAAJ6ca9CkyQ632.jpg "alt =" wkiom1pnum3twh1saaj6ca9ckyq632.jpg "/>
2. Configure the pC1 computer
Enter the vswitch for configuration
Enter user mode
Double-click switch | Command Line |
Enter privileged Mode
Global Configuration Mode
650) This. width = 650; "Title =" image006.jpg "src =" http://s3.51cto.com/wyfs02/M02/45/53/wKioL1PnUiyB005nAADZ968FnbU416.jpg "alt =" wkiol1pnuiyb005naadz968fnbu416.jpg "/>
6. Access and enable Ports 1 and 2 respectively.
650) This. width = 650; "Title =" image008.jpg "src =" http://s3.51cto.com/wyfs02/M00/45/53/wKioL1PnUq7zkDFaAADYZucmNsU208.jpg "alt =" wkiol1pnuq7zkdfaaadyzucmnsu208.jpg "/>
7. Display configuration results
650) This. width = 650; "Title =" image009.png "src =" http://s3.51cto.com/wyfs02/M02/45/53/wKiom1PnUbqCJMbCAAFDOdYzegc885.jpg "alt =" wkiom1pnubqcjmbcaafdodyzegc885.jpg "/>
Result Verification
Connect pC1 with pc0
650) This. width = 650; "width =" 388 "Height =" 155 "Title =" image012.jpg "style =" width: 388px; Height: pixel PX; "src =" http://s3.51cto.com/wyfs02/M01/45/53/wKioL1PnUurwiamZAADNc2H6FOU835.jpg "alt =" wkiol1pnuurwiamzaadnc2h6fou835.jpg "/>
Problem and Experience Summary
Switch>User Mode
Switch>Enable
Switch #Privileged Mode
Switch # configure Terminal
Switch (config )#Global Configuration Mode
Switch (config-If) # interface fastethernet 0/1
Switch (config-If )#Interface Mode
ExitBack to previous Mode
EndDirectly return to the privileged Mode
Common commands:
Switch (config) # hostname S1Change the host nameS1
Switch # Show running-configView configuration information
Interface Mode:ShutdownDisable this interface
No ShutdownActivation Interface