常用DHCP Opition 介紹和使用

2021-06-22 07:04:58 字數 840 閱讀 2273

dhcp option 主要是針對不同廠商的裝置在不同環境的應用下所配置的特殊資訊。本文僅記錄我在工作中遇到的一些dhcp option值,僅供參考。

cisco call manager dhcp option

:option 150 ip ip-address : 此option用來指定ip phone 更新軟體的tftp server位址,也用來指定call manager位址。

例: option 150 ip 188.186.198.198

例: option 60 ascii "cisco ap c1240"

option 43 hex string : 這個option主要用來指定wireless controller的ip位址,要用16進製表示,

寫法:type + number + ip address : 

其中type為:241 (hex f1) ;

number是指controller 的位址數量×4 ;

ip address: 轉換為16進製制,

例: 假如有兩個controller,位址為10.126.126.2 和 10.127.127.2 ,則option值為: f1080a7e7e020a7ff02

hex f1 + 08 + 0a7e7e020a7ff02  

pxeclient 遠端安裝系統 dhcp option:

next-server ip : 指定tftp server 位址;

例: next-server 10.18.1.2

boot file : 啟動檔案。

例: boot file pxelinux.0

xpath常用介紹

介紹下什麼是xpath 1.xpath使用路徑表示式在xml和html中進行導航 2.xpath中包含了一些標準函式庫 3.xpath是乙個w3c的標準 xpath中可以像css的選擇器一樣使用,能夠在頁面頁面當中選擇出來想要選擇的元素 下面列出了一些xpath的常用的選擇 article 選取所有...

常用表單介紹

1.extjs文字框 普通文字框之間的對比 var textfield new ext.textfield a za z0 9 可以使用正則來做驗證 regextext 使用者名稱不合法 必須以字母開頭,長度6 12位 驗證錯誤之後的提示資訊 width 300,寬度 height 300,高度 e...

go test常用介紹

package main import testing fmt func testprint t testing.t fmt.println ret func testprint2 t testing.t ret fmt.println ret func testall t testing.t fu...