- 论坛徽章:
- 0
|
以下为IP DHCP Snooping的典型配置
Building configuration...
Current configuration : 3738 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
service hide-telnet-addresses
!
hostname TX-2950.160.35
!
enable secret 5 $1$vBtH$yRPJILwkiPeBjArF/KCR20
!
ip subnet-zero
!
ip dhcp snooping vlan 164
no ip dhcp snooping information option
ip dhcp snooping
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/2
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/3
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/4
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/5
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/6
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/7
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/8
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/9
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/10
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/11
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/12
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/13
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/14
switchport access vlan 164
switchport mode access
speed 100
duplex full
ip dhcp snooping limit rate 100
!
interface FastEthernet0/15
description connect to yong-hong cao
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/16
description connect to Luca chen
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/17
description connect to Jie song
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/18
description connect to jinfu chen
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/19
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/20
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/21
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/22
switchport access vlan 164
switchport mode access
ip dhcp snooping limit rate 100
!
interface FastEthernet0/23
switchport access vlan 164
speed 100
ip dhcp snooping limit rate 100
!
interface FastEthernet0/24
speed 100
duplex full
ip dhcp snooping limit rate 100
!
interface GigabitEthernet0/1
switchport mode trunk
ip dhcp snooping trust
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface Vlan1
ip address 10.186.160.35 255.255.255.0
no ip route-cache
!
ip default-gateway 10.186.160.2
no ip http server
!
line con 0
exec-timeout 1666 40
login
line vty 0 4
exec-timeout 2 0
password 7 050D010122414F07
login
line vty 5 15
exec-timeout 0 0
no login
!
!
end
附档为 Cisco IP DHCP Snooping的官方配置文档
![]()
文件:
Switch_dhcp82.pdf
大小:
160KB
下载:
下载
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/88533/showart_2033751.html |
|