A comprehensive experiment of CCNA exchange

Source: Internet
Author: User
Tags config md5 digest range

(1) interconnection between the VLAN: single-arm routing

(2) Each PC can automatically obtain IP address: DHCP

(3) Two switches require VLAN2 to go above, VLAN3 go below: STP load Balancing

(4) SW2 can learn from SW1 VLAN related information: Trunk, VTP

(5) can be managed anywhere in every network device: Telnet switch with VLAN 1 do management VLAN3

(6) switch connecting the PC port to achieve rapid convergence (portfast)

------------------------------------------------------SW1-----------------

SW1 (config) #int F0/13

SW1 (config-if) #switchport trunk Encapsulation dot1q

SW1 (config-if) #switchport mode trunk//configuration Trunk

SW1 (config-if) #int F0/14

SW1 (config-if) #switchport trunk Encapsulation dot1q

SW1 (config-if) #switchport mode trunk

SW1 (config) #int F0/3

SW1 (config-if) #switchport mode trunk

* Modified VTP domain for YB, and created Vlan2 and VLAN3.

Sw1#show VTP S

VTP Version:2

Configuration Revision:2

Maximum VLANs Supported locally:128

Number of existing Vlans:7

VTP operating Mode:server

VTP Domain Name:yb

VTP Pruning mode:disabled

VTP V2 mode:disabled

VTP Traps generation:disabled

MD5 digest:0x00 0xAB 0x73 0xC7 0x59 0xf6 0x50 0xc8

Configuration last modified by 0.0.0.0 at 3-1-93 00:15:43

Local Updater ID was 172.16.14.10 on interface Vl1 (lowest numbered VLAN interface found

SW1 (config) #enable password Cisco

SW1 (config) #line vty 0 15

SW1 (config) #int vlan 1

SW1 (config-if) #ip address 172.16.14.10 255.255.255.0

SW1 (config-line) #password Cisco

Sw1#show VLAN

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 Default Active FA0/3, FA0/4, FA0/5, FA0/6

FA0/7, FA0/8, FA0/9, FA0/10

FA0/11, FA0/12, FA0/15, FA0/16

FA0/17, FA0/18, FA0/19, FA0/20

FA0/21, FA0/22, FA0/23, fa0/24

2 VLAN0002 Active FA0/1

3 VLAN0003 Active FA0/2

* Assign F0/1 to vlan2 and assign F0/2 to VLAN3.

SW1 (config) #int range F0/1-2

SW1 (config-if-range) #spanning-tree portfast//configure Fast Convergence interface.

--------------------------------------------------------------SW2-----------------------------------

SW2 (config) #int F0/14

SW2 (config-if) #spanning-tree VLAN 3 cost 18

Sw2#show Spanning-tree VLAN 2

FA0/1 DESG FWD 128.1 Shr

FA0/13 Root FWD 128.13 peer-to-peer

FA0/14 altn BLK 128.14 peer-to-peer

Sw2#show Spanning-tree VLAN 3

FA0/13 altn BLK 128.13 peer-to-peer

FA0/14 Root FWD 128.14 peer-to-peer

* Achieve load balancing.

SW2 (config) #int F0/1

SW2 (config-if) #switchport mode access

SW2 (config-if) #switchport Access VLAN 2

Sw2#show VTP Status

VTP Version:2

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.