Cisco router configuration manual Virtual LAN (VLAN) routing

Source: Internet
Author: User


Cisco router configuration manual Virtual LAN (VLAN) routing 1. The main network technology we currently use when constructing an enterprise network is generally based on exchange and virtual networks. The exchange technology changes shared media to exclusive media, greatly improving the network speed. The Virtual Network Technology breaks the restrictions of the geographical environment. without changing the physical connection of the network, the workstation can be moved between Working Groups or subnets, And the workstation can form a logical Working Group or virtual subnet, improve the operation performance of information systems, balance network data traffic, and make rational use of hardware and information resources. At the same time, the use of virtual network technology, greatly reduce the burden of network management and maintenance work, reduce network maintenance costs. With the application of the virtual network technology, the question of how to communicate between virtual networks is inevitable.
2. Interior Switching Link (ISL) protocol is used to implement VLAN relay between switches. It is an information packet marking protocol. Frames sent on ISL interfaces are composed of a standard Ethernet frame and related VLAN information. As shown in, data from different VLANs can be transmitted on interfaces that support ISL. Iii. Virtual LAN (VLAN) routing instance. Example 1:
The device uses the ipvst5500 switch 1, the installation of WS-X5530-E3 Management Engine, multiple WS-X5225R and WS-X5302 Routing Switching Module, The WS-X5302 is directly inserted into the switch, through two channels and the VLAN on the system back board connected, from the user's point of view, it is regarded as a one-interface module, which supports ISL. There are three virtual networks in the vswitch, respectively named default, qbw, rgw, virtual network routing through WS-X5302. Set system name 5500C is the command to be set. Set: Catalyst 5500 configuration: beginset password $1 $ FMFQ $ HfZR5DUszVHIRhrz4h6V70set enablepass $1 $ FMFQ $ HfZR5DUszVHIRhrz4h6V70set prompt Console> set length 24 defaultset logout 20 set banner motd ^ C! # Systemset system baud 9600 set system modem disableset system name 5500 Cset system locationset system contact! # Ipset interface sc0 1 route 255.255.255.0 255.set interface sc0 upset interface sl0 0.0.0.0 255.interface sl0 upset arp agingtime 1200 set ip redirect enableset ip route enableset ip fragmentation enableset ip route 0.0.0.0 255.1 set ip alias default 0.0.0.0! # Command alias! # Vtpset vtp domain hneset vtp mode serverset vtp v2 disableset vtp pruning disableset vtp pruneeligible 2-1000clear vtp limit 1001-1005 set vlan 1 name default type ethernet mtu 1500 said 100001 state activeset vlan 777 name W rgtype ethernet mtu 1500 said 100777 state activeset vlan 888 name qbw type ethernet mtu 1500 said 100888 state activeset vlan 1002 name fddi-default type fddi mtu 150 0 said 101002 state activeset vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active bridge 0x0 stp ieeeset vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active bridge 0x0 stp ibmset vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state active parent 0 ring 0x0 mode srbs aremaxhop 7 stemaxhop 7! # Set boot commandset boot config-register 0x102 set boot system flash bootflash: cat5000-sup3.4-3-1a.bin! # Module 1: 2-port 1000 BaseLX Supervisorset module name 1 set vlan 1 1/1-2 set port enable 1/1-2! # Module 2: empty! # Module 3: 24-port 10/100 BaseTX Ethernetset module name 3 set module enable 3 set vlan 1 3/1-22 set vlan 777 3/23 set vlan 888 3/24 set trunk 3/1 on isl 1-1005 # module 4 empty! # Module 5 empty! # Module 6: 1-port Route Switchset module name 6 set port level 6/1 normalset port trap 6/1 disableset port name 6/1 set cdp enable 6/1 set cdp interval 6/1 60 set trunk 6/1 on isl 1-1005! # Module 7: 24-port 10/100 BaseTX Ethernetset module name 7 set module enable 7 set vlan 1 7/1-22 set vlan 888 7/23-24 set trunk 7/1 on isl 1-1005 set trunk 7/2 on isl 1- 1005! # Module 8 empty! # Module 9 empty! # Module 10: 12-port 100 BaseFX MM Ethernetset module name 10 set module enable 10 set vlan 1 10/1-12 set port channel 10/1-4 offset port channel 10/5-8 offset port channel 10/9-12 offset port channel 10/1-2 onset port channel 10/3-4 onset port channel 10/5-6 onset port channel 10/7-8 onset port channel 10/9-10 onset port channel 10/11-12 on # module 11 empty! # Module 12 empty! # Module 13 empty! # Switch port analyzer! Set span 1 1/1 both inpkts disableset span disable! # Camset cam agingtime 1-2,777,888,100 3,1005 300end5500C> (enable) WS-X5302 routing Module Settings: Router # wri tBuilding configuration... Current configuration :! Version 11.2no service password-encryptionno service udp-small-serversno service tcp-small-servers! Hostname Router! Enable secret 5 $1 $ w1kK $ AJK69fGOD7BqKhKcSNBf6 .! Ip subnet-zero! Interface Vlan1 ip address 10.230.2.56 255.255.255.0! Interface Vlan777 ip address 10.230.3.56 255.255.255.0! Interface Vlan888 ip address 10.230.4.56 255.255.255.0! No ip classless! Line con 0 line aux 0 line vty 0 4 password router login! End Router #
Example 2: The switch device still uses the ipvst5500 switch 1, install WS-X5530-E3 Management Engine, multiple WS-X5225R in the switch has three virtual network, respectively named default, qbw, rgw, use the Cisco3640 router to implement the inter-network routing. The vswitch settings are similar to Example 1. The Cisco3640 router is equipped with a NM-1FE-TX module with a fast Ethernet interface that supports ISL. The Cisco3640 Fast Ethernet interface is connected to a port supporting isl on the vswitch, for example, 3rd interfaces (1st ports) in vswitch 3/1 slot ). Router # wri tBuilding configuration... Current configuration :! Version 11.2no service password-encryptionno service udp-small-serversno service tcp-small-servers! Hostname Router! Enable secret 5 $1 $ w1kK $ AJK69fGOD7BqKhKcSNBf6 .! Ip subnet-zero! Interface FastEthernet1/0! Interface FastEthernet1/0/0 encapsulation isl 1 ip address 10.230.2.56 255.255.255.0! Interface FastEthernet1/0/0 encapsulation isl 0.2 ip address 10.230.3.56 255.255.255.0! Interface FastEthernet1/0/0 encapsulation isl 0.3 ip address 10.230.4.56 255.255.255.0! No ip classless! Line con 0 line aux 0 line vty 0 4 password router login! End Router #

This article is from the fat shark network.

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.