VLAN pair test for IPs across switches

Source: Internet
Author: User
Tags config range switches

1. Test topology:

2. Basic configuration:

R1:

R1#vlan Database

R1 (VLAN) #vlan 30

VLAN added:

name:vlan0030

R1 (VLAN) #vlan 40

VLAN added:

name:vlan0040

R1 (VLAN) #exit

R1 (config) #int F0/5

R1 (config-if) #switchport mode access

R1 (config-if) #switchport Access VLAN 40

R1 (config) #int range fastethernet 0/14-15

R1 (config-if-range) #switchport mode trunk

R2:

R2#vlan Database

R2 (VLAN) #vlan 30

VLAN added:

name:vlan0030

R2 (VLAN) #vlan 40

VLAN added:

name:vlan0040

R2 (VLAN) #exit

R2 (config) #int F0/3

R2 (config-if) #sw mode acc

R2 (config-if) #sw ACC VLAN 30

R2 (config-if) #int F0/4

R2 (config-if) #sw MO acc

R2 (config-if) #sw ACC VLAN 40

R2 (config-if) #int F0/15

R2 (config-if) #sw mode trunk

R3:

R3 (config) #int f1/0

R3 (config-if) #ip add 10.1.1.3 255.255.255.0

R3 (config-if) #no sh

R4:

R4 (config) #int f1/0

R4 (config-if) #ip add 10.1.1.4 255.255.255.0

R4 (config-if) #no sh

R5:

R5 (config) #int f1/0

R5 (config-if) #ip add 10.1.1.5 255.255.255.0

R5 (config-if) #no sh

R5#ping 10.1.1.4

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.1.4, timeout is 2 seconds:

.!!!!

Success rate is percent (4/5), round-trip Min/avg/max = 20/34/72 ms

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.