!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3550-12G
!
enable password cisco
!
ip subnet-zero
ip routing
!
cluster enable cisco 1
cluster member 0 mac-address 000a.b782.bd00
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/3
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/4
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/5
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/6
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/7
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/8
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/9
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/10
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/11
switchport mode dynamic desirable
no ip address
!
interface GigabitEthernet0/12
switchport mode dynamic desirable
no ip address
!
interface Vlan1
description device
ip address 172.18.0.1 255.255.255.0
!
interface Vlan2
description server
ip address 172.18.1.1 255.255.255.0
ip helper-address 172.18.1.10
!
interface Vlan3
ip address 172.18.2.1 255.255.255.0
ip helper-address 172.18.1.10
!
interface Vlan4
ip address 172.18.3.1 255.255.255.0
ip helper-address 172.18.1.10
!
interface Vlan5
ip address 172.18.4.1 255.255.255.0
ip helper-address 172.18.1.10
!
interface Vlan6
ip address 172.18.5.1 255.255.255.0
ip helper-address 172.18.1.10
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.18.0.100
ip route 192.168.0.0 255.255.255.0 172.18.0.100
ip http server
!
ip access-list extended CMP-NAT-ACL
dynamic Cluster-HSRP deny ip any any
dynamic Cluster-NAT permit ip any any
!
!
access-list 110 permit ip host 172.18.1.10 any
access-list 110 permit ip host 172.18.1.4 any
route-map ddn permit 10
match ip address 110
set ip next-hop 172.18.0.100 172.18.0.254
!
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
login
!
end
阅读(780) | 评论(0) | 转发(0) |