Chinaunix首页 | 论坛 | 博客
  • 博客访问: 226576
  • 博文数量: 171
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 1795
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-15 14:01
文章分类

全部博文(171)

文章存档

2010年(1)

2009年(168)

2008年(2)

我的朋友

分类: 系统运维

2009-08-21 15:16:38

以下为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
下载: 下载
阅读(1693) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~