自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

簡述dhcp snooping的配置

網(wǎng)絡 網(wǎng)絡管理
文章中,針對dhcp snooping的內容我們進行了說明,前面的文章中,我們對其網(wǎng)絡拓撲進行了分析,這里我們主要講解一下配置內容。

前面的文章中我們闡述了dhcp snooping的網(wǎng)絡拓撲結構,并加以說明。不知道大家是否清楚了。那么這里我們針對dhcp snooping的配置進行一下說明。希望對大家有所幫助。

配置

1、2918

Switch# configure terminal //全局配置模式

Switch(config)# interface range fa0/1 - 12

Switch(config-if-range)# switchport access vlan 100

Switch(config-if-range)# interface range fa0/13 - 24

Switch(config-if-range)# switchport access vlan 200

Switch(config-if-range)# interface gig0/1 //上連4506的端口

Switch(config-if)# //這里可不做配置,也可手工配置TRUNK

2、4506

Switch# configure terminal

Switch(config)# vtp version 2

Switch(config)# vtp mode client

Switch(config)# vtp domain gzy

Switch(config)# vtp password gzy123

Switch(config)# vlan 100

Switch(config)# vlan 200

Switch(config)# ip dhcp snooping //開啟交換機的dhcp snooping功能

Switch(config)# ip dhcp snooping vlan 100,200 //在VLAN100和200中開啟dhcp snooping功能

Switch(config)# no ip dhcp snooping information option //禁止在DHCP報文中嵌入和刪除option 82信息

Switch(config)# ip dhcp snooping database tftp://192.168.200.1/snooping.dat

//將dhcp snooping database保存在tftp服務器(IP地址192.168.200.1)的snooping.dat文件中

Switch(config)# ip arp inspection vlan 100,200 //在VLAN100和200中開啟DAI功能

Switch(config)# ip arp inspection validate src-mac ip //以源MAC和IP檢測ARP包是否合法

Switch(config)# interface gig1/1 //上連6506的端口

Switch(config-if)# switchport trunk encapsulation dot1q

Switch(config-if)# switchport mode trunk

Switch(config-if)# ip dhcp snooping trust

Switch(config-if)# ip arp inspection trust

Switch(config-if)# interface gig2/2 //下連2918的端口

Switch(config-if)# switchport trunk encapsulation dot1q

Switch(config-if)# switchport mode trunk

Switch(config-if)# ip arp inspection limit none

Switch(config-if)# ip verify source vlan dhcp-snooping

Switch(config-if)# end

Switch(config)# copy run start

備注

寫到后面越來越懶了,基本上就是這樣了。6506上的配置不寫了,很簡單。因為2918不支持上述功能,因此只能在4506上做,但這樣就只能在4506下連2918的端口上來啟用這些功能,在2918上發(fā)生的欺騙就無法防止了。沒辦法,思科的做法很奇怪?,F(xiàn)在很多國內廠家的接入層交換機都可以實現(xiàn)這些功能,比如Quidway、H3C、神洲數(shù)碼、銳捷等。由于水平有限,寫的不對的地方請高手指正。

責任編輯:佟健 來源: hi.baidu.com
相關推薦

2010-09-02 14:39:34

2010-09-26 14:52:22

DHCP Snoopi

2010-08-30 17:27:43

DHCP Snoopi

2010-09-01 09:31:15

2010-09-27 10:40:21

DHCP Snoopi

2010-09-01 15:32:02

DHCP Snoopi

2010-08-31 10:17:14

2010-09-27 12:37:55

3750配置DHCP

2010-08-30 09:56:09

IP dhcp sno

2011-03-09 15:01:30

DHCP-snoopiDHCP

2010-09-01 09:26:08

2010-08-31 10:25:31

2010-08-30 09:15:37

DHCP Snoopi

2010-09-01 16:11:46

顯示DHCP snoo

2010-09-03 11:21:57

2010-09-06 14:46:43

2010-08-26 16:34:45

Suse Linux

2010-09-27 12:42:31

靜態(tài)IP dhcp s

2010-09-01 15:42:39

DHCP SnoopiARP

2010-08-31 16:57:13

DHCP SNOOPI
點贊
收藏

51CTO技術棧公眾號