Catalyst 3550 layer-3 routing and HSRP classic Configuration

Source: Internet
Author: User

Ip subnet-zero
Ip routing
No ip domain-lookup
Spanning-tree mode pvst
Spanning-tree extend system-id
Spanning-tree vlan 200 priority 24576
Spanning-tree vlan 201 priority 24576
Spanning-tree vlan 202 priority 28672
Spanning-tree vlan 203 priority 28672
Spanning-tree vlan 204 priority 24576
Spanning-tree vlan 205 priority 24576
Spanning-tree vlan 206 priority 28672
Spanning-tree vlan 307 priority 24576
Spanning-tree vlan 308 priority 24576

Interface Port-channel1
Switchport trunk encapsulation dot1q
Switchport mode trunk
No ip address
!
Interface FastEthernet0/1
Switchport access vlan 200
Switchport mode access
No ip address
Duplex full
Speed100
!
Interface FastEthernet0/2
Switchport access vlan 201
Switchport mode access
No ip address
Duplex full
Speed100
!
Interface FastEthernet0/3
Switchport access vlan 202
No ip address
!
Interface FastEthernet0/4
No ip address
!
Interface FastEthernet0/5
No ip address
!
Interface FastEthernet0/6
Switchport access vlan 203
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/7
Switchport access vlan 203
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/8
Switchport access vlan 203
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/9
Switchport access vlan 203
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/10
Switchport access vlan 203
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/11
Switchport access vlan 204
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/12
Switchport access vlan 204
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/13
Switchport access vlan 204
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/14
Switchport access vlan 205
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/15
Switchport access vlan 205
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/16
Switchport access vlan 206
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/17
Switchport access vlan 206
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/18
Switchport access vlan 206
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/19
Switchport access vlan 207
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/20
Switchport access vlan 207
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/21
Switchport access vlan 208
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/22
Switchport access vlan 208
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/29
Switchport access vlan 208
Switchport mode access
No ip address
Spanning-tree portfast
!
Interface FastEthernet0/30
Switchport access vlan 208
Switchport mode access
No ip address
Spanning-tree portfast
..................
..................
!
Interface GigabitEthernet0/1
Switchport trunk encapsulation dot1q
Switchport mode trunk
No ip address
Channel-group 1 mode on
!
Interface GigabitEthernet0/2
Switchport trunk encapsulation dot1q
Switchport mode trunk
No ip address
Channel-group 1 mode on
!
Interface Vlan1
Ip address xxxxxxxxx
No ip redirects
Standby 1 ip xxxxxxx
Standby 1 priority 120
Standby 1 preempt
!
Interface Vlan200
Ip address xxxxxxxxx
!
Interface Vlan201
Ip address xxxxxxxxx
!
Interface Vlan202
Ip address xxxxxxxxx
No ip redirects
Standby 202 ip xxxxxxxxx
Standby 202 priority 120
Standby 202 preempt
!
Interface Vlan203
Ip address xxxxxxxxx
No ip redirects
Standby 203 ip xxxxxxxxx
Standby 203 priority 120
Standby 203 preempt
!
Interface Vlan204
Ip address xxxxxxxxx
No ip redirects
Standby 204 ip xxxxxxxxx
Standby 204 priority 120
Standby 204 preempt
!
Interface Vlan205
Ip address xxxxxxxxx
No ip redirects
Standby 205 ip xxxxxxxxx
Standby 205 priority 120
Standby 205 preempt
!
..................
.................
Router VPN
Network xxxxxxx
No auto-summary
Ip classless
End
Vlan200 and vlan201 are the VLANs connected by two switches. 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.