新聞資訊
了解故障案例及產(chǎn)品資訊
新聞資訊News
相關(guān)產(chǎn)品Related Product
SDH設(shè)備和網(wǎng)管在運用于通過路由器跨網(wǎng)段連接時,網(wǎng)元側(cè)和網(wǎng)管側(cè)參數(shù)需要正確設(shè)置。以下是常用設(shè)置和查詢命令:
1、網(wǎng)元基本參數(shù)的設(shè)置和查詢:
設(shè)置網(wǎng)元IP:cm-set-ip:ipaddress;
查詢網(wǎng)元IP:cm-get-ip;
設(shè)置子網(wǎng)掩碼:cm-set-submask:submask;
查詢子網(wǎng)掩碼:cm-get-submask;
設(shè)置網(wǎng)關(guān):cm-set-gateway:gateway;
查詢網(wǎng)關(guān):cm-get-gateway;
增加靜態(tài)路由:cm-add-lanroute:destination ip address,gateway,submask(目的側(cè)掩碼);刪除靜態(tài)路由:cm-del-lanroute:destination ip address;
查詢當前路由表信息:cm-get-iproute;
2、網(wǎng)管側(cè)基本參數(shù)設(shè)置和查詢:
查看網(wǎng)卡IP設(shè)置信息:ipconfig /all;
查看網(wǎng)卡路由表信息:route print;
添加以太網(wǎng)路由:route ADD (destination ip address) MASK (mask) (gateway);括號內(nèi)的參數(shù)分別為需要添加的路由的目的IP地址,子網(wǎng)掩碼和網(wǎng)關(guān)。