Cisco Remote Access

Source: Internet
Author: User

Experiment Name: Cisco Remote Access Lab report

Experimental topology:

      

Lab Preparation: One router, two switches, two computers

Experimental purpose: Enable PC0 to access the switch remotely

Experiment steps: 1. Configure the computer with IP, gateway, subnet mask,


2. Configure IP for the switch, gateway

Switch1 Configure IP

switch1>en

Switch1 (config) # Config terminal

Switch1 (config) #interface vlan 1

Switch1 (config-if) #ip address 192.168.1.10 255.255.255.0

Switch1 (config-if) #no shutdown

Configure the Gateway

Switch1 (config) # Config terminal

Switch1 (config) #ip Default-gateway 192.168.1.254

Switch#show IP interface Brief(check)

Configure vty password (remote access)

switch1>en

Switch1 (config) # Config terminal

Switch (config) #line vty 0 4

Switch (config-line) #password 112233

Switch2 configuration IP

switch2>enable

Switch2 (config) # Config terminal

Switch2 (config) #interface vlan 1

SWITCH2 (config-if) #ip address 192.168.2.20 255.255.255.0

SWITCH2 (config-if) #no shutdown

Switch2 (config-if) # End

Configure the Gateway

Switch2 (config) # Config terminal

Switch2 (config) #ip Default-gateway 192.168.2.254

Switch#show IP interface Brief (check)

Configure vty password (remote access)

Switch2>enable

Switch2 # Config terminal

Switch2 ( config) #line vty 0 4

Switch2 ( config-line) #password 112233 )

3. Configure the IP address for the router port

Router>enable

Router#config Terminal

Router (config) #hostname Wanglu

Wanglu (config) #interface gi0/0

Wanglu (config-if) #no shutdown

Wanglu (config-if) #ip address 192.168.1.254 255.255.255.0

Wanglu (config-if) #end

Wanglu#config Terminal

Wanglu (config) #interface gi 0/1

Wanglu (config-if) #ip address 192.168.2.254 255.255.255.0

Wanglu (config-if) #no shutdown

Wanglu (config-if) #end

wanglu#show IP Interface Brief (Check )

4. Verify the experiment: on the computer

on the switch

Experiment Summary:

1. Know when to configure the gateway


Cisco Remote Access

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.