Ðû²¼Ê±¼ä£º 2008Äê07ÔÂ30ÈÕ
PRO CfgÊÇIntel(R) PRO LAN adapters(10/100/100)ºÍIntel Advanced Network Services (iANS)µÄ¼ì²âºÍÅäÖù¤¾ß¡£ËüÔËÐÐÔÚIntel 32-bit¼Ü¹¹ÉÏlinux Çé¿öÖеÄIntel e100,e1000ºÍiANSÉ豸¡£Õâ¸ö¹¤¾ß°üÀ¨Á½²¿·Ö£ºdaemon PRO CfgdºÍPRO CfgÃüÁîÐй¤¾ß¡£daemon Ó¦¸ÃÔËÐÐÔÚ±»ÖÎÀíµÄ»úеÉÏ£¬ÃüÁîÐй¤¾ßÓ¦¸ÃÔËÐÐÔÚÖÎÀíµÄ»úеÉÏ¡£ÖÎÀíµÄ»úе¿ÉÒÔÊÇͬһ±»ÖÎÀíµÄ»úе»òÊÇÔ¶³ÌµÄ»úе¡£
Ò»¡¢×°ÖÃ PROCfgd
1.¿½±´Îļþµ½ÄãÑ¡ÔñµÄĿ¼£¬°ÑÏÂÁÐÎļþ·Åµ½Í¬Ò»Ä¿Â¼Ï£º
procfgd-x.x.x.tar.gz (x.x.x Ö¸°æ±¾ºÅ)
libxerces-c1_6_0.tar.gz (xerces XML-parser library. Ö»ÓÐÔÚϵͳûÓÐ×°ÖÃÏàӦЧÀÍʱÐèҪװÖÃ)¡£
2.Untar Îļþprocfgd-x.x.x.tar.gz :
tar xzvf procfgd-x.x.x.tar.gz
»á·ºÆð procfgd-x.x.xĿ¼¡£
3.¸Ä±äĿ¼µ½procfgd-x.x.x µÄĿ¼£º
cd procfgd-x.x.x
ÔÚĿ¼ÖÐÓÐÈçϵÄÎļþ£º
INSTALL
procfgd
procfgd_adduser
procfgd.1
README
ldistrib.txt
LICENSE.txt
LICENSE.net-snmp.txt
LICENSE.xerces.txt
4.¼üÈ룺
./INSTALL
INSTALL½Å±¾»áuntarÐëÒªµÄtarÀàÐÍÎļþ²¢¿½±´ÏÂÁÐÎļþµ½Ö¸¶¨Ä¿Â¼£º
procfgd (the server application) ºÍ procfgd_adduser -- /usr/sbin
procfgd.1 (the man page) --ĬÈ쵀 man Ŀ¼
the licenses, README, and ldistrib.txt files --
/usr/share/doc/procfgd-
5.
×¢Ò⣺Ҫ¸Ä±äPRO LAN¿¨»òiANSµÄÅäÖã¬PRO CfgdÐèÒªÒ»¸ö·ÇĬÈϵÄÓû§ÃûºÍÃÜÂë¡£ÅäÖÃÓû§Çë¼ì²ìÒÔϵÚÁùÏî¡£
³ÌÐòĬÈÏÔËÐÐÔÚ58086¶Ë¿Ú¡£Èç¹ûÕâ¸ö¶Ë¿Ú±»Õ¼ÓûòÈç¹ûPRO CfgdÒѾÒѾÔÚĬÈ϶˿ÚÔËÐУ¬»á·ºÆðÏÂÁйýʧÐÅÏ¢£º
init_master_agent: Invalid local port (Address already in use) Server
Exiting with code 1
ΪÁËÔËÐÐЧÀÍÆ÷ÔÚ¿ÉÑ¡µÄ¶Ë¿Ú£¬Ê¹ÓÃ-pÑ¡Ï
procfgd -p
6.
ADDUSER
×¢Ò⣺µ¥Ö»¶ÁÓû§ÔÚPRO CfgЧÀÍÖÐÊÇÓÐĬÈÏÅäÖõġ£ÒªÊǼòµ¥¼ì²ìÅäÖõÄÐÅÏ¢ÊDz»±ØÓû§ÃûºÍÃÜÂëµÄ£¬Ö»ÒªÄ¬ÈϵÄÓû§ÃûºÍÃÜÂ루username=procfgd, password=pRoCfGdPaSs£©ÒѾÏÔʾÔÚÏàÓ¦µÄλÖá£
¶þ¡¢×°ÖÃ PROCfg
1.¿½±´ÏÂÁÐÎļþµ½ÄãÑ¡¶¨µÄĿ¼
procfg-x.x.x.tar.gz (x.x.x Ö¸°æ±¾ºÅ)
2.Untar Îļþprocfg-x.x.x.tar.gz
tar xzvf procfg-x.x.x.tar.gz
»á·ºÆðprocfg-x.x.x Ŀ¼¡£
3.¸Ä±ä·¾¶µ½procfg-x.x.xĿ¼£º
cd procfg-x.x.x
ÔÚĿ¼ÏÂÓÐÏÂÁеÄÎļþ£º
INSTALL
procfg
procfg.1
README
ldistrib.txt
LICENSE.txt
LICENSE.net-snmp.txt
4.¼üÈ룺 ./INSTALL
INSTALL½Å±¾¿½±´ÏÂÁÐÎļþµ½Ö¸¶¨Â·¾¶£º
procfg (the server application) -- /usr/sbin
procfg.1 (the man page) -- µ½Ä¬ÈϵÄman·¾¶
the licenses, README, and ldistrib.txt files--
/usr/share/doc/procfg-
ÔËÐÐprocfg
Object(s)¿ÉÒÔÊǽӿÚÃû³Æ(ethx)£¬teamÃû³Æ£¬»ò½Ó¿ÚÁбí»òÒ»×éteamÃû³Æ£¨eth0 eth1 ...£©¡£
ÿ¸öswitch×îºÃÓÐÒ»¸ö³¤Ò»µãÃû×Ö¡£¿ÉÒÔ¼ì²ìmanÃüÁîÐеÄÃèÊöÀ´ÅÌÎÊÏêϸÐÅÏ¢¡£
Switches£¨¿ª¹Ø±äÁ¿£©
-p
-h
-U
username ºÍ password ±ØÐëÔÚЧÀÍÖÐÌáÇ°ÉèÖú㨼ì²ì×°Öò¿·Ö£©¡£Èç¹ûÄãûÓнç˵ username »ò password£¬Ä¬ÈÏʹÓà username: procfgd£¬ password: pRoCfGdPaSs¡£
×¢Ò⣺ĬÈϵÄusername½ö±»'get' ²Ù×÷ÊÚȨʹÓá£
-t
-f
"Force mode"¡£ ÃüÁî²»»á¸ø¿Í»§ÒÔÌáʾ¡£
ΪÁËÔÊÐí·ÇĬÈϵÄÓû§ÔÚдÿ¸öÃüÁîÐÐÊäÈëÓû§ÃûºÍÃÜÂ룬»òÉú´æÒÔÉϵÄÖµµÄ¸Ä±ä£¬´´Á¢Ò»¸öÃûΪprocfg.confµÄÅäÖÃÎļþ¡£°ÑÎļþ·ÅÔÚprocfgĿ¼(~/.procfg/procfg.conf)ϵĸùĿ¼¡£Õâ¸öÎļþ¿ÉÒÔ°üÀ¨ÐµÄÓû§Ãû£¬ÃÜÂ룬¶Ë¿Ú£¬Ö÷»úÃû£¬force-mode»òtimeout¡£ÐµÄÉèÖÃÐèÒªÖØÆô±»±£´æÏÂÀ´¡£ÒÔÏÂÊÇprocfg.confÎļþµÄÀý×Ó£º
username anyone
password anyonepassword
port 1012
hostname localhost
force
timeout 20
×¢Ò⣺ÅäÖÃÎļþ²»ÔÊÐí ÔÚÈκÎswitchesºóÃæ°üÀ¨¿Õ¸ñ¡£
ËÄ¡¢Team/VLANÃüÁîÐÐÅäÖãº
addmem
addteam
[-c
[-g ]
addvlans
×¢Ò⣺Èç¹ûVLAN IDÔÚÁбíÏÔʾÁËÁ½´ÎÌåÏÖ±¬·¢¹ýʧ¡£
delmem
delteam
delvlans
restore
´ÓÖ÷»úÉϻָ´Ò»¸öÍøÂçÅäÖá£ÅäÖôÓ/etc/procfgd·¾¶ÏµÄÎļþÀ´»Ö¸´¡£Ä¬ÈϵÄÎļþÃûΪsaved_conf.procfgd¡£
save
Éú´æÄ¿Ç°Ö÷»úÉϵÄÍøÂçÅäÖá£Îļþ´æÓÚ /etc/procfgd·¾¶Ï¡£Ä¬ÈϵÄÎļþÃûΪsaved_conf.procfgd.