Cisco single-ARM routing configuration process

Source: Internet
Author: User

Here is a simple one-arm routing configuration process that I do myself, now take it out and share it with everyone.

As shown in figure:

PC 3 units, notebook 1 units;

Two-layer Switch 1 units Switch1 (4 vlan:10, 20, 30, 40)

Router 1 Router1 (single arm routing)

First start to configure the PC IP address notebook: 192.168.10.2 each PC IP address: 192.168.20.2;192.168.30.2;192.168.40.2 mask is 24 bits, configure the gateway.

To configure the Switch VLAN:

Switch>enable

Router#config Terminal

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line.    End With cntl/z. Enter Global configuration mode

Switch (config) #no IP domain-lookup//No Domain name resolution

Switch (config) #line console 0//Enter line mode

Switch (config-line) #exec-timeout 0 0//No timeout

Switch (config-line) #logging synchronous//Display sync

Switch (config-line) #hostname switch//Configuration host Name

Switch (config) #exit

switch#

Switch#vlan Database

% Warning:it is recommended to configure VLANs from config mode,

As VLAN database mode is being deprecated. Please consult user

documentation for configuring Vtp/vlan in config mode.

Switch (VLAN) #vlan 10

VLAN Ten added:

name:vlan0010

Switch (VLAN) #vlan 20

VLAN added:

name:vlan0020

Switch (VLAN) #vlan 30

VLAN added:

name:vlan0030

Switch (VLAN) #vlan 40

VLAN added:

name:vlan0040

Switch (VLAN) #exit

APPLY completed.

Exiting .....

Switch #

Switch#config Terminal

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End With cntl/z.

Switch (config) #interface range F0/2-4

Switch (config-if) #switchport mode access

Switch (config-if) #switchport Access VLAN 10

Switch (config-if) #exit

Switch (config) #interface range F0/5-6

Switch (config-if) #switchport Access VLAN 20

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.