Use switch to implement communication between two computers

Source: Internet
Author: User

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

  1. 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

  2. Enter the vswitch for configuration

  3. Enter user mode

    Double-click switch | Command Line |

  4. Enter privileged Mode

  5. 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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.