H3C·ÓÉÆ÷³£Óûù±¾ÅäÖÃÃüÁî
[Quidway]sysname router_name?ÃüÃû·ÓÉÆ÷(»ò½»»»»ú) [Quidway]delete?ɾ³ýFlash ROMÖеÄÅäÖà [Quidway]save?½«ÅäÖÃдÈëFlash ROM [Quidway]interface serial 0?½øÈë½Ó¿ÚÅäÖÃģʽ [Quidway]quit?Í˳ö½Ó¿Úģʽµ½ÏµÍ³ÊÓͼ [Quidway]shutdown/undo shutdown?¹Ø±Õ/ÖØÆô½Ó¿Ú
[Quidway]ip address ip_address subnet_mask?Ϊ½Ó¿ÚÅäÖÃIPµØÖ·ºÍ×ÓÍøÑÚÂë [Quidway]display version?ÏÔʾVRP°æ±¾ºÅ
[Quidway]display current-configuration?ÏÔʾϵͳÔËÐÐÅäÖÃÐÅÏ¢ [Quidway]display interfaces?ÏÔʾ½Ó¿ÚÅäÖÃÐÅÏ¢ [Quidway]display ip routing?ÏÔʾ·Óɱí [Quidway]ping ip_address?²âÊÔÍøÂçÁ¬Í¨ÐÔ
[Quidway]tracert ip_address?²âÊÔÊý¾Ý°ü´ÓÖ÷»úµ½Ä¿µÄµØËù¾¹ýµÄÍø¹Ø [Quidway]debug all?´ò¿ªËùÓе÷ÊÔÐÅÏ¢ [Quidway]undo debug all?¹Ø±ÕËùÓе÷ÊÔÐÅÏ¢ [Quidway]info-center enable?¿ªÆôµ÷ÊÔÐÅÏ¢Êä³ö¹¦ÄÜ [Quidway]info-center console dubugging?½«µ÷ÊÔÐÅÏ¢Êä³öµ½PC
[Quidway]info-center monitor dubugging?½«µ÷ÊÔÐÅÏ¢Êä³öµ½TelnetÖն˻òÑÆÖÕ¶Ë »»»úÅäÖÃÃüÁî¾ÙÀý(´óÀ¨ºÅ{}ÖеÄÑ¡ÏîΪµ¥Ñ¡ÏбÌå×Ö²¿·ÖΪ²ÎÊýÖµ [Quidway]super password password?ÐÞ¸ÄÌØȨģʽ¿ÚÁî [Quidway]sysname switch_name?ÃüÃû½»»»»ú(»ò· [Quidway]interface ethernet 0/1?½øÈë½Ó¿ÚÊÓͼ [Quidway]quit?Í˳öϵͳÊÓͼ
[Quidway-Ethernet0/1]duplex {half|full|auto}?ÅäÖýӿÚË«¹¤¹¤ [Quidway-Ethernet0/1]speed {10|100|auto}?ÅäÖýӿÚËÙÂÊ [Quidway-Ethernet0/1]flow-control?¿ªÆôÁ÷¿ØÖÆ
[Quidway-Ethernet0/1]mdi {across|normal|auto}?ÅäÖÃMDI/MDIX [Quidway-Ethernet0/1]shutdown/undo shutdown?¹Ø±Õ/ÖØÆô¶Ë¿Ú
VLAN»ù±¾ÅäÖÃÃüÁî(ÒÔQuidway S3026ΪÀý) [Quidway]vlan 3?´´½¨²¢½øÈëVLANÅäÖÃģʽ£¬È±Ê¡Ê±ÏµÍ³½« ËùÓж˿ڼÓÈëVLAN 1£¬Õâ¸ö¶Ë¿Ú¼È²»Äܱ»´´½¨Ò²²»Äܱ»É¾³ý¡£ [Quidway]undo vlan 3?ɾ³ýÒ»¸öVLAN
[Quidway-vlan3]port ethernet 0/1 to ethernet 0/4?¸øVLANÔö¼Ó/ɾ³ýÒÔÌ«Íø½Ó¿Ú
[Quidway-Ethernet0/2]port access vlan 3?½«±¾½Ó¿Ú¼ÓÈëµ½Ö¸¶¨VLAN id [Quidway-Ethernet0/2]port link-type {access|trunk|hybrid}?ÉèÖö˿ڹ¤×÷·½Ê½£¬access(ȱʡ)²»Ö§³Ö802.1qÖ¡µÄ´«ËÍ£¬¶øtrunkÖ§³Ö(ÓÃÓÚSwitch¼ä»¥Á¬)£¬hybridºÍtrunkµÄÇø±ðÔÚÓÚ?trunk
Ö»ÔÊÐíȱʡVLANµÄ±¨ÎÄ·¢ËÍʱ²»´ò±êÇ©£¬¶øhybridÔÊÐí¶à¸öVLAN±¨ÎÄ·¢ËÍʱ²»´ò±êÇ©¡£ ¶Ë¿Ú¾ÛºÏÅäÖÃÃüÁî
[Quidway]link-aggregation ethernet 0/7 to ethernet 0/10 {ingress|both}?ÅäÖÃ¶Ë¿Ú¾ÛºÏ Port_num1Ϊ¶Ë¿Ú¾ÛºÏ×éµÄÆðʼ¶Ë¿ÚºÅ£¬Port_num2ΪÖÕÖ¹¶Ë¿ÚºÅ ingressΪ½Ó¿ÚÈ븺ºÉ·Öµ£·½Ê½£¬bothΪ½Ó¿Ú³ö¸ººÉ·Öµ£·½Ê½¡£ STP»ù±¾ÅäÖÃÃüÁî
[Quidway]stp {enable|disable}?¿ªÆô/¹Ø±Õ?STP?¹¦ÄÜ£¬Ä¬ÈϹرգ¬¿ªÆôºóËùÓж˿ڶ¼²ÎÓëSTP?¼ÆËã¡£ [Quidway-Ethernet0/3]stp disable?¹Ø±ÕÖ¸¶¨½Ó¿ÚÉϵÄSTP¹¦ÄÜ£¬ÈçijЩÍøÂç²»´æÔÚ»·Â·¿ÉÒԹرÕSTP¡£ PPPÅäÖÃÃüÁî
[Quidway-Serial0]link-protocol ppp?·â×°PPPÐÒé
[Quidway-Serial0]ppp authentication-mode {pap|chap}?ÉèÖÃÑéÖ¤ÀàÐÍ
[Quidway]local-user username password {simple|cipher} password?ÅäÖÃÓû§Áбí - PAPÑéÖ¤ÅäÖÃ: Ö÷ÑéÖ¤·½
[Quidway]local-user username password {simple|cipher} password?ÅäÖÃÓû§Áбí [Quidway-Serial0]ppp authentication-mode pap ±»ÑéÖ¤·½
[Quidway-Serial0]ppp pap local-user username password {simple|cipher} password - CHAPÑéÖ¤ÅäÖÃ: Ö÷ÑéÖ¤·½
[Quidway]local-user username password {simple|cipher} password?ÅäÖñ»ÑéÖ¤·½Óû§Áбí [Quidway-Serial0]ppp chap host hostname?ÅäÖñ¾µØÃû³Æ [Quidway-Serial0]ppp authentication-mode chap ±»ÑéÖ¤·½
[Quidway]local-user username password {simple|cipher} password?ÅäÖÃÖ÷ÑéÖ¤·½Óû§Áбí [Quidway-Serial0]ppp chap user username?ÅäÖñ¾µØÃû³Æ MPÅäÖÃÃüÁî
[Quidway-Serial0]ppp mp?·â×°MPÐÒé
[Quidway]ppp mp user username bind virtual-template number?½¨Á¢Óû§ÓëÐéÄâÄ£°åµÄ¶ÔÓ¦¹Øϵ [Quidway]interface virtual-template number?ÅäÖÃÐéÄâ½Ó¿ÚÄ£°å [Quidway]ppp mp max-bind number?ÉèÖÃÐéÄâÄ£°å×î´ó°ó¶¨Êý(1-100) Ö¡ÖмÌÅäÖÃÃüÁî
[Quidway-Serial0]link-protocol fr {mfr|ietf|nonstandard}?·â×°Ö¡ÖмÌÐÒé:IETF¡¢Cisco¼æÈÝ
[Quidway-Serial0]fr interface-type {dte|dce|nni}?ÅäÖÃÖ¡Öм̽ӿÚÀàÐÍ£¬NNIΪ֡Öм̽»»»»úÖ®¼äµÄ½Ó¿Ú¡£ÈôÅäΪDCE»òNNI£¬ÔòÐëÏÈʹÄÜfr switching¡£
[Quidway-Serial0]fr lmi type {q933a|ansi|cisco-compatible}?ÅäÖÃLMIÐÒéÀàÐÍ
[Quidway-Serial0]fr dlci dlci_number?ÅäÖÃÒ»Ìõ±¾µØÐéµç·ºÅ
[Quidway-Serial0]fr map {ip|ipx} protocol-address dlci dlci_number?½¨Á¢±¾µØDLCIµ½¶Ô¶ËÐÒéµØÖ·µÄÓ³Éä [Quidway-Serial0]fr inarp [ip|ipx] [dlci_number]?ÅäÖÃInverse ARP¶¯Ì¬Ó³Éä [Quidway]interface type number.subinterface_number?´´½¨²¢½øÈë×Ó½Ó¿ÚÅäÖÃģʽ RIPÐÒéÅäÖÃÃüÁî
[Quidway]display rip?ÏÔʾRIPÅäÖÃÐÅÏ¢ [Quidway]rip?Æô¶¯²¢½øÈëRIPÅäÖÃģʽ
[Quidway-rip]network {network_number|all}?ÔÚÖ¸¶¨ÍøÂçÉÏʹÄÜRIP [Quidway-rip]peer ip_address?ÅäÖñ¨ÎĵĶ¨µã´«ËÍ
[Quidway-Ethernet0]rip version {1|2 [bcast|mcast]}?Ö¸¶¨RIP°æ±¾¼°´«ËÍ·½Ê½ [Quidway-Serial0]rip work?Ö¸¶¨½Ó¿Ú¹¤×÷״̬(ͬrip input,rip output) [Quidway-rip]auto-summary?ÅäÖÃRIP-2·ÓɾۺÏ
[Quidway-Serial0]rip authentication simple password?ÅäÖÃRIP-2Ã÷ÎÄÈÏÖ¤ÃÜÂë [Quidway-Serial0]rip authentication md5 key-string string?ÅäÖÃRIP-2 MD5ÃÜÎÄÈÏÖ¤ÃÜÂë´® [Quidway-Serial0]rip authentication md5 type {nonstandard-compatible|usual}?Ö¸¶¨MD5ÀàÐÍ [Quidway]debugging rip packet?´ò¿ªRIPµ÷ÊÔ¿ª¹Ø [Quidway]info-center console?½«µ÷ÊÔÐÅÏ¢Êä³öµ½PC ¾²Ì¬Â·ÓÉÅäÖÃÃüÁî
[Quidway]ip route ip_address subnet_mask {interface_name|gateway_address} [preference preference_value] [reject|black_bone]
[ÃüÁî˵Ã÷] reject:ÈκÎÈ¥Íù¸ÃÄ¿µÄµØµÄ±¨Îľù±»¶ªÆú£¬Í¨ÖªÔ´Ö÷»ú²»¿É´ï¡£ black_bone:ÈκÎÈ¥Íù¸ÃÄ¿µÄµØµÄ±¨Îľù±»¶ªÆú£¬²»Í¨ÖªÔ´Ö÷»ú¡£
µ±Ö»ÓÐÏÂÒ»ÌøµÄ½Ó¿ÚÊÇPPP»òHDLC½Ó¿Ú²ÅÄÜдinterface_name£¬ÈçSerial0£¬·ñÔòÖ»ÄÜдgateway_address(ÏÂÒ»ÌøµØÖ·)¡£
[ÃüÁî¾ÙÀý] [Quidway]ip [Quidway]ip [Quidway]ip
[Quidway]ipÅäÖÃȱʡ·ÓÉ¡£ OSPFÅäÖÃÃüÁî
[Quidway]router id ip_address?ÅäÖÃRouter ID [Quidway]ospf enable?ÆôÓÃOSPFÐÒé
[Quidway-Serial0]ospf enable area area_id?ÅäÖõ±Ç°½Ó¿ÚËùÊôµÄOSPFÇøÓò
HC·ÓÉÆ÷³£Óûù±¾ÅäÖÃÃüÁî
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)