Thứ Tư, 16 tháng 7, 2014

EtherChannel HSRP

hostname R1
!
license udi pid CISCO2911/K9 sn FTX1524K3EP
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 20
 ip address 192.168.20.1 255.255.255.0
!
interface GigabitEthernet0/0.30
 encapsulation dot1Q 30
 ip address 192.168.30.1 255.255.255.0
!
interface GigabitEthernet0/0.40
 encapsulation dot1Q 40
 ip address 192.168.40.1 255.255.255.0
!
interface GigabitEthernet0/1
 ip address 192.168.50.1 255.255.255.0
 duplex auto
 speed auto
 standby version 2
 standby 1 ip 192.168.50.254
 standby 1 priority 102
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
no cdp run
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
end
__________________________________________________________
hostname R2
!
license udi pid CISCO2911/K9 sn FTX1524KECC
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 192.168.10.2 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 20
 ip address 192.168.20.2 255.255.255.0
!
interface GigabitEthernet0/0.30
 encapsulation dot1Q 30
 ip address 192.168.30.2 255.255.255.0
!
interface GigabitEthernet0/0.40
 encapsulation dot1Q 40
 ip address 192.168.40.2 255.255.255.0
!
interface GigabitEthernet0/1
 ip address 192.168.50.2 255.255.255.0
 duplex auto
 speed auto
 standby version 2
 standby 1 ip 192.168.50.254
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
end
__________________________________________________________
hostname Sw1
!
spanning-tree mode pvst
!
interface FastEthernet0/1
 channel-group 1 mode on
 switchport mode trunk
!
interface FastEthernet0/2
 channel-group 1 mode on
 switchport mode trunk
!
interface FastEthernet0/3
 channel-protocol lacp
 channel-group 3 mode active
 switchport mode trunk
!
interface FastEthernet0/4
 channel-protocol lacp
 channel-group 3 mode active
 switchport mode trunk
!
interface GigabitEthernet1/1
 switchport mode trunk
!
interface GigabitEthernet1/2
 switchport mode trunk
!
interface Port-channel 1
 switchport mode trunk
!
interface Port-channel 3
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
end
__________________________________________________________
hostname Sw2
!
spanning-tree mode pvst
!
interface FastEthernet0/1
 channel-group 1 mode on
 switchport mode trunk
!
interface FastEthernet0/2
 channel-group 1 mode on
 switchport mode trunk
!
interface FastEthernet0/3
channel-protocol pagp
 channel-group 2 mode desirable
 switchport mode trunk
!
interface FastEthernet0/4
channel-protocol pagp
 channel-group 2 mode desirable
 switchport mode trunk
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 20
 switchport mode access
!
interface Port-channel 1
 switchport mode trunk
!
interface Port-channel 2
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
!
end
__________________________________________________________
hostname Sw3
!
spanning-tree mode pvst
!
interface FastEthernet0/1
channel-protocol pagp
 channel-group 2 mode desirable
 switchport mode trunk
!
interface FastEthernet0/2
channel-protocol pagp
 channel-group 2 mode desirable
 switchport mode trunk
!
interface FastEthernet0/3
 channel-protocol lacp
 channel-group 3 mode active
 switchport mode trunk
!
interface FastEthernet0/4
 channel-protocol lacp
 channel-group 3 mode active
 switchport mode trunk
!
interface FastEthernet0/5
 switchport access vlan 30
 switchport mode access
!
interface FastEthernet0/6
 switchport access vlan 40
 switchport mode access
!
interface Port-channel 2
 switchport mode trunk
!
interface Port-channel 3
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
!
end
__________________________________________________________
hostname Sw4
!
interface Vlan1
 no ip address
 shutdown
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
end

7 nhận xét:

  1. smooth encounter! It was simple to apply for my license plate online, and I was kept updated. Extremely happy with the service.
    Online number plate apply

    Trả lờiXóa
  2. Making a reservation is really easy! Everything went perfectly, and my HSRP plates arrived on time. Highly recommended for hassle-free service!
    Book my hsrp

    Trả lờiXóa
  3. Expert and effective! My plates arrived as promised, and the service was first-rate. Fantastic work!
    hsrp

    Trả lờiXóa
  4. Best digitale platform for fast and easy HSRP booking. 🏁
    Book my hsrp

    Trả lờiXóa
  5. Without delays, without confusion! Book My HSRP fulfills its promises. 🚘
    Hsrp

    Trả lờiXóa
  6. applied online and received my number plate punctually!” Best service ever! 🔥
    Online number plate apply

    Trả lờiXóa
  7. A wise choice for car owners! HSRP makes roa
    dways safer, decreases fraudulent registrations, and enhances vehicle tracking.
    hsrp

    Trả lờiXóa