CISCO technology set 6

Source: Internet
Author: User

VLAN Routing
1. Virtual LAN (VLAN)
Currently, the backbone network technology we 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.
 
 
Returned directory
 
Ii. Inter-switch link (ISL) Protocol
The ISL (Interior Switching Link) 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
 
3.1. 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.
The settings are as follows:
Catalyst 5500 Configuration:
Begin
Set password $1 $ FMFQ $ HfZR5DUszVHIRhrz4h6V70
Set enablepass $1 $ FMFQ $ HfZR5DUszVHIRhrz4h6V70
Set prompt Console>
Set length 24 default
Set logout 20
Set banner motd ^ C
!
# System
Set system baud 9600
Set system modem disable
Set system name 5500C
Set system location
Set system contact
!
# Ip
Set interface sc0 1 10.230.4.240 255.255.255.0 10.230.4.255
Set interface sc0 up
Set interface sl0 0.0.0.0 0.0.0.0
Set interface sl0 up
Set arp agingtime 1200
Set ip redirect enable
Set ip unreachable enable
Set ip fragmentation enable
Set ip route 0.0.0.0 10.230.4.15 1
Set ip alias default 0.0.0.0
!
# Command alias
!
# Vtp
Set vtp domain hne
Set vtp mode server
Set vtp v2 disable
Set vtp pruning disable
Set vtp pruneeligible 2-1000
Clear vtp pruneeligible 1001-1005
Set vlan 1 name default type ethernet mtu 1500 said 100001 state active
Set vlan 777 name rgw type ethernet mtu 1500 said 100777 state active
Set vlan 888 name qbw type ethernet mtu 1500 said 100888 state active
Set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
Set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active bridge 0x0 stp ieee
Set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active bridge 0x0 stp IBM
Set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state active parent 0 ring 0x0 mode rbaremaxhop 7 stemaxhop 7
!
# Set boot command
Set boot config-register 0x102
Set boot system flash bootflash: cat5000-sup3.4-3-1a.bin
!
# Module 1: 2-port 1000 BaseLX Supervisor
Set 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 Ethernet
Set 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 Switch
Set module name 6
Set port level 6/1 normal
Set port trap 6/1 disable
Set 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 Ethernet
Set 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 Ethernet
Set module name 10
Set module enable 10
Set vlan 1 10/1-12
Set port channel 10/1-4 off
Set port channel 10/5-8 off
Set port channel 10/9-12 off
Set port channel 10/1-2 on
Set port channel 10/3-4 on
Set port channel 10/5-6 on
Set port channel 10/7-8 on
Set port channel 10/9-10 on
Set 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 disable
Set span disable
!
# Cam
Set cam agingtime 1-2,777,888,100 3, 300
End
5500C> (enable)
WS-X5302 routing Module Settings:
Router # wri t
Building configuration...
Current configuration:
!
Version 11.2:
No service password-encryption
No service udp-small-servers
No 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 #
3.1. Example 2:
Switch Equipment is still selected 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 t
Building configuration...
Current configuration:
!
Version 11.2:
No service password-encryption
No service udp-small-servers
No service tcp-small-servers
!
Hostname Router
!
Enable secret 5 $1 $ w1kK $ AJK69fGOD7BqKhKcSNBf6.
!
Ip subnet-zero
!
Interface FastEthernet1/0
!
Interface FastEthernet1/0.1
Encapsulation isl 1
Ip address 10.230.2.56 255.255.255.0
!
Interface FastEthernet1/0.2
Encapsulation isl 777
Ip address 10.230.3.56 255.255.255.0
!
Interface FastEthernet1/0.3
Encapsulation isl 888
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 #
 
Returned directory
Reference:
 
1. Cisco Router password recovery
When the password of a Cisco router is incorrectly modified or forgotten, follow these steps:
1. Enable ROM monitoring during startup
2. Read the original value of the configuration register according to the o command
> The General o value is 0x2102.
3. Make the following settings to ignore NVRAM boot
> O/r0x ** 4 * Cisco2500 series commands
Rommon 1> confreg 0x *** Cisco2600, 1600 series commands
The normal value is 0x2102.
4. Restart the vro
> I
Rommon 2> reset
5. In "Setup" mode, answer No to all questions
6. Enter the privileged Mode
Router> enable
7. Download NVRAM
Router> configure memory
8. restore the original configuration register value and activate all ports
"Hostname" # configure terminal
"Hostname" (config) # config-register 0x "value"
"Hostname" (config) # interface xx
"Hostname" (config) # no shutdown
9. query and record Lost passwords
"Hostname" # show configuration (show startup-config)
10. Change the password
"Hostname" # configure terminal
"Hostname" (config) line console 0
"Hostname" (config-line) # login
"Hostname" (config-line) # password xxxxxxxxx
"Hostname" (config-line )#
"Hostname" (config-line) # write memory (copy running-config startup-config)
2. IP Address Allocation
Address type network host network address range standard binary mask
A n. H 1-126 1111 1111 0000 0000 0000 0000 0000 0000
B N. N. H. H 128-191 1111 1111 1111 1111 0000 0000 0000 0000
C n. H 192-223 1111 1111 1111 1111 1111 1111 0000
Subnet bit count subnet mask subnet count host count
Class B address
2 bytes limit 192.0 2 16382
3. 201710000224.0 6 8198
4 255.255.240.0 14 4894
5 255.255.248.0 30 2846
6 255.255.252.0 62 1822
7 100000000254.0 126 518
8 rows 255.255.0 254 254
9 Gbit/s 201710000128 518 126
10 1000000000000192 1822 62
11 minutes later than 2846 30
12 Jun 4894 14
13. 255.255.255.248 8198 6
14 1000000000000252 16382 2
Class C address
2 rows without errors 192 2 62
3 bytes faster than 6 30
4 rows 2017100000000240 14 14
5 bytes 255.255.248 30 6
6 255.255.255.252 62 2
Article entry: csh responsible editor: csh

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.