Cisco single-arm route configuration, graphic instance details

Source: Internet
Author: User

 

Cisco single-arm route Configuration

 

Single-arm routing: multiple logical sub-interfaces are configured on the vro. Each sub-interface corresponds to a vlan. Data of each sub-interface must be tagged and encapsulated when transmitted on the physical link. Cisco devices support ISL and 802.1q (dot1Q) protocols. Huawei only supports 802.1q.

What is the difference between DOT1Q and ISL: DOT1Q is a common VLAN protocol mode for various products. Dot1q is a commonly used standard and applicable to all switches and routing devices. Supports more than 1024 VLANs, while ISL supports up to 1024 VLANs. ISL is a dedicated protocol for CISCO devices and is applicable to Cisco devices. ISL (Interior Switching Link) is used to implement VLAN relay between CISCO switches. It is an information packet marking protocol. Frames sent on ISL interfaces are composed of a standard Ethernet frame and related VLAN information.

 

PC1: IP: 172.16.3.1/24 GW: 255.255.255.0

PC2: IP: 172.16.4.1/24 GW: 255.255.255.0

 

S1:

 

Switch> enable

Switch # vlan database

Switch (vlan) # vlan 30

Switch (vlan) # vlan 40

Switch # configure terminal

Switch (config) # int fastEthernet 0/1

Switch (config-if) # switchport access vlan 30

Switch (config-if) # int f0/2

Switch (config-if) # switchport access vlan 40

Switch (config-if) # int f 0/24

Switch (config-if) # switchport mode trunk (set this interface to trunk mode)

Switch (config-if) # switchport trunk allowed vlan all (run all VLANs through)

 

RT1:

 

Router> enable

Router # configure terminal

Router (config) # int fastEthernet 0/0. 1 (go to the sub-interface)

Router (config-subif) # encapsulation dot1Q 30 (encapsulates the dot1Q protocol and establishes an association with vlan30)

Router (config-subif) # ip add 172.16.3.254 255.255.255.0

Router (config-subif) # int f 0/0. 2

Router (config-subif) # encapsulation dot1Q 40 (encapsulates the dot1Q protocol and establishes an association with vlan40)

Router (config-subif) # ip add 172.16.4.254 255.255.255.0

Machine (config-subif) # int f 0/0

Router (config-if) # no shutdown (to start interfaces f0/0, including all subinterfaces)

Complete. Vlan30 can communicate with vlan40.

This article is from the "lookandrock" blog

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.