DHCP dai啟動(dòng)配置分析
作者:佚名
這里我們就來(lái)對(duì)DHCP dai啟動(dòng)的具體操作進(jìn)行一下講解。那么配置命令和解析的內(nèi)容都已經(jīng)在文中總結(jié)好了,希望對(duì)大家有所幫助。
在對(duì)DHCP進(jìn)行配置的過(guò)程中,有一部分是dai啟動(dòng)的內(nèi)容。那么這里我們針對(duì)這方面的內(nèi)容進(jìn)行了總結(jié)。下面我們就來(lái)詳細(xì)看看DHCP dai啟動(dòng)的具體操作吧。那么DHCP dai啟動(dòng)配置命令具體如下:
- ip subnet-zero
- ip dhcp excluded-address 192.168.1.1
- !
- ip dhcp pool test
- network 192.168.1.0 255.255.255.0
- default-router 192.168.1.1
- dns-server 192.168.1.1
- lease infinite
- !
- ip dhcp snooping vlan 1 (需要DHCP為基礎(chǔ))
- ip dhcp snooping information option allow-untrusted
- ip dhcp snooping database flash:snooping(指定snooping 數(shù)據(jù)保存位置)
- ip dhcp snooping (啟動(dòng)DHCP snooping)
- ip arp inspection vlan 1 (DHCP dai啟動(dòng))
- ip arp inspection validate src-mac dst-mac ip (檢測(cè)項(xiàng)目)
- !
- !
- !
- interface GigabitEthernet1/0/31
- switchport mode access
- ip arp inspection trust (如果設(shè)置trust可以改IP,設(shè)置untrust不可以改IP,因?yàn)镈AI檢測(cè))
- spanning-tree portfast
- !
- interface GigabitEthernet1/0/32
- !
- nterface GigabitEthernet1/0/44
- !
- interface GigabitEthernet1/0/45
- switchport mode access
- switchport port-security
- switchport port-security violation restrict
- spanning-tree portfast
- ip verify source port-security
- !
- !
- Switch#sh ip arp inspection
以上就是DHCP dai啟動(dòng)的全部設(shè)置過(guò)程了。
責(zé)任編輯:佟健
來(lái)源:
hi.baidu.com