Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

½»»»»úÈýÖֶ˿ÚģʽAccess¡¢HybridºÍTrunkµÄÀí½â

untag¾ÍÊÇÆÕͨµÄethernet±¨ÎÄ£¬ÆÕͨPC»úµÄÍø¿¨ÊÇ¿ÉÒÔʶ±ðÕâÑùµÄ±¨ÎĽøÐÐͨѶ£»
tag±¨ÎĽṹµÄ±ä»¯ÊÇÔÚÔ´macµØÖ·ºÍÄ¿µÄmacµØÖ·Ö®ºó£¬¼ÓÉÏÁË4bytesµÄvlanÐÅÏ¢£¬Ò²¾ÍÊÇvlan tagÍ·£»Ò»°ãÀ´ËµÕâÑùµÄ±¨ÎÄÆÕͨPC»úµÄÍø¿¨ÊDz»ÄÜʶ±ðµÄ
ÏÂͼ˵Ã÷ÁË802.1Q·â×°tag±¨ÎÄÖ¡½á¹¹
´ø802.1QµÄÖ¡ÊÇÔÚ±ê×¼ÒÔÌ«ÍøÖ¡ÉϲåÈëÁË4¸ö×ֽڵıêʶ¡£ÆäÖаüº¬£º
2¸ö×Ö½ÚµÄЭÒé±êʶ·û£¨TPID)£¬µ±Ç°ÖÃ0x8100µÄ¹Ì¶¨Öµ£¬±íÃ÷¸ÃÖ¡´øÓÐ802.1QµÄ±ê¼ÇÐÅÏ¢¡£
2¸ö×ֽڵıê¼Ç¿ØÖÆÐÅÏ¢£¨TCI£©£¬°üº¬ÁËÈý¸öÓò¡£
PriorityÓò£¬Õ¼3bits£¬±íʾ±¨ÎĵÄÓÅÏȼ¶£¬È¡Öµ0µ½7£¬7Ϊ×î¸ßÓÅÏȼ¶£¬0Ϊ×îµÍÓÅÏȼ¶¡£¸ÃÓò±»802.1p²ÉÓá£
¹æ·¶¸ñʽָʾ·û£¨CFI)Óò£¬Õ¼1bit£¬0±íʾ¹æ·¶¸ñʽ£¬Ó¦ÓÃÓÚÒÔÌ«Íø£»1±íʾ·Ç¹æ·¶¸ñʽ£¬Ó¦ÓÃÓÚToken Ring¡£
VLAN IDÓò£¬Õ¼12bit£¬ÓÃÓÚ±êʾVLANµÄ¹éÊô¡£
ÒÔÌ«Íø¶Ë¿ÚÓÐÈýÖÖÁ´Â·ÀàÐÍ£ºAccess¡¢HybridºÍTrunk¡£
AccessÀàÐ͵Ķ˿ÚÖ»ÄÜÊôÓÚ1¸öVLAN£¬Ò»°ãÓÃÓÚÁ¬½Ó¼ÆËã»úµÄ¶Ë¿Ú£»
TrunkÀàÐ͵Ķ˿ڿÉÒÔÔÊÐí¶à¸öVLANͨ¹ý£¬¿ÉÒÔ½ÓÊպͷ¢ËͶà¸öVLANµÄ±¨ÎÄ£¬Ò»°ãÓÃÓÚ½»»»»úÖ®¼äÁ¬½ÓµÄ¶Ë¿Ú£»
HybridÀàÐ͵Ķ˿ڿÉÒÔÔÊÐí¶à¸öVLANͨ¹ý£¬¿ÉÒÔ½ÓÊպͷ¢ËͶà¸öVLANµÄ±¨ÎÄ£¬¿ÉÒÔÓÃÓÚ½»»»»úÖ®¼äÁ¬½Ó£¬Ò²¿ÉÒÔÓÃÓÚÁ¬½ÓÓû§µÄ¼ÆËã»ú¡£
Hybrid¶Ë¿ÚºÍTrunk¶Ë¿ÚÔÚ½ÓÊÕÊý¾Ýʱ£¬´¦Àí·½·¨ÊÇÒ»ÑùµÄ£¬Î¨Ò»²»Í¬Ö®´¦ÔÚÓÚ·¢ËÍÊý¾Ýʱ£ºHybrid¶Ë¿Ú¿ÉÒÔÔÊÐí¶à¸öVLANµÄ±¨ÎÄ·¢ËÍʱ²»´ò±êÇ©£¬¶øTrunk¶Ë¿ÚÖ»ÔÊÐíȱʡVLANµÄ±¨ÎÄ·¢ËÍʱ²»´ò±êÇ©¡£
ÔÚÕâÀïÏÈÒªÏò´ó¼Ò²ûÃ÷¶Ë¿ÚµÄȱʡVLANÕâ¸ö¸ÅÄî
Access¶Ë¿ÚÖ»ÊôÓÚ1¸öVLAN£¬ËùÒÔËüµÄȱʡVLAN¾ÍÊÇËüËùÔÚµÄVLAN£¬²»ÓÃÉèÖã»
Hybrid¶Ë¿ÚºÍTrunk¶Ë¿ÚÊôÓÚ¶à¸öVLAN£¬ËùÒÔÐèÒªÉèÖÃȱʡVLAN ID¡£È±Ê¡Çé¿öÏ£¬Hybrid¶Ë¿ÚºÍTrunk¶Ë¿ÚµÄȱʡVLANΪVLAN 1
µ±¶Ë¿Ú½ÓÊÕµ½²»´øVLAN TagµÄ±¨Îĺó£¬Ôò½«±¨ÎÄת·¢µ½ÊôÓÚȱʡVLANµÄ¶Ë¿Ú£¨Èç¹ûÉèÖÃÁ˶˿ڵÄȱʡVLAN ID£©¡£µ±¶Ë¿Ú·¢ËÍ´øÓÐVLAN TagµÄ±¨ÎÄʱ£¬Èç¹û¸Ã±¨ÎĵÄVLAN IDÓë¶Ë¿ÚȱʡµÄVLAN IDÏàͬ£¬Ôòϵͳ½«È¥µô±¨ÎĵÄVLAN Tag£¬È»ºóÔÙ·¢Ë͸ñ¨ÎÄ¡£
×¢£º¶ÔÓÚ»ªÎª½»»»»úȱʡVLAN±»³ÆΪ“Pvid Vlan”£¬¶ÔÓÚ˼¿Æ½»»»»úȱʡVLAN±»³ÆΪ“Native Vlan”½»»»»ú½Ó¿Ú³öÈëÊý¾Ý´¦Àí¹ý³ÌÈçÏ£º
Acess¶Ë¿ÚÊÕ±¨ÎÄ:
ÊÕµ½Ò»¸ö±¨ÎÄ,ÅжÏÊÇ·ñÓÐVLANÐÅÏ¢£ºÈç¹ûûÓÐÔò´òÉ϶˿ڵÄPVID£¬²¢½øÐн»»»×ª·¢,Èç¹ûÓÐÔòÖ±½Ó¶ªÆú£¨È±Ê¡£©
Acess¶Ë¿Ú·¢±¨ÎÄ£º
½«±¨ÎĵÄVLANÐÅÏ¢°þÀ룬ֱ½Ó·¢ËͳöÈ¥   
£¨ËùÒÔ£¬Access¶Ë¿Ú¿ÉÒÔʵÏÖͬһ½


Ïà¹ØÎĵµ£º

AccessÊý¾Ý²Ù×÷Update·½·¨

using System.Data.OleDb; //ÕâÀïÒªÒýÓÃOleDb¿Õ¼ä
public partial class addInfo : System.Web.UI.Page
{
    //Êý¾Ý¿âÁ¬½Ó×Ö·û´®
    static string strCon = @"provider = Microsoft.Jet.OLEDB.4.0;Data source = |DataDirectory|gyMDB.mdb";
    //ÒÔÉÏ·½·¨ÎªÁ¬½ÓACC ......

Éý»ªÌṩÖÕÉíÃâ·ÑASP+access PHP+mysqlÐéÄâÖ÷»ú

Éý»ªÌṩÖÕÉíÃâ·ÑASP+access PHP+mysqlÐéÄâÖ÷»ú
Ò»£ºÉý»ªÍøÂç¿Æ¼¼ÓÐÏÞ¹«Ë¾,ÓëÉý»ªÍ¬ÔÚÕ¾³¤ÖÕÉíÃâ·Ñ¿Õ¼ä·ö³Ö¼Æ»®.
1¡¢×ð¾´µÄÓû§ÄúºÃ,Ò²ÐíÄú»¹ÔÚΪÿÄêÒ»½»µÄ¿Õ¼ä·ÑÓ÷¢³î,Ò²ÐíÄúÏë»ñµÃÒ»¸ö¸üÓÅÖʵĿռäÈ´²»ÏëͶÈëÌ«¶à,´ÓÏÖÔÚÆð ÕâЩÎÊÌ⽫ӭÈжø½â→Éý»ªÍøÂç←ÓëÉý»ªÍ¬ÔÚÕ¾³¤·ö³Ö¼Æ»®È«ÃæÆô¶¯¡£
2¡¢Ã»ÓÐ×¢²á¹«Ë¾ ......

ASP.NETµÄACCESSÊý¾Ý¿â²Ù×÷Àà

//private string datapatch = ConfigurationSettings.AppSettings["acessconn"];//Êý¾Ý¿âµØÖ· 
private string datapatch = "db/global.asa";//Êý¾Ý¿âµØÖ· 
/// 
/// È¡µÃdataset 
// 
/// ²éѯÓï¾ä 
/// 
public DataSet GetDataSet(string Commandtext) 
{&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ