免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1333 | 回复: 0
打印 上一主题 下一主题

IP DHCP Snooping 的典型配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-21 15:16 |只看该作者 |倒序浏览
以下为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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP