Shunze ¾Ç¶é >¸ê°T³]³Æ±M°Ï >Extreme & Enterasys > ¡m¤À¨É¡n°ÊºA¸ô¥Ñµ§°O «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡n°ÊºA¸ô¥Ñµ§°O¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

°ÊºA¸ô¥ÑRIP¡BOSPF»PIS-IS¥H«e¦b¤WCCNA®É¡A¦Ñ®v¦³»¡¹L¡C
¦ý®É¶¡¤[¤F¡A¥B¤§«á´N¨S¸I¹L¡A´X¥G§Ñ¥ú¤F¡I¡H
³Ìªñ¦³case·|¥Î¨ìmulticasting¡A¦Ómulticast¤S·|¥Î¨ìRIP/OSPF¡A
»°ºò¤Wºô§ä§ä¸ê®Æ¡A½Æ²ß¤@¤U¡ã



°ÊºA¸ô¥Ñ¥D­n¤À¬° Distance Vector »P Link State ¨âºØ¸ô¥Ñºtºâªk¡A
¨ä¤¤ Distance Vector ªº¥Nªí©Êprotocol¬°RIP¡A
¦Ó Link State ªº¥Nªí©Êprotocol¬°OSPF»PIS-IS¡C


Distance Vector ¸ô¥Ñºtºâªk»P Link State ¸ô¥Ñºtºâªk³Ì¤jªº¤£¦P¡A
¦b©ó Link State ºtºâªk¥u·|¶Ç»¼¤Ö³¡¤À§ó·sªº¸ô¥Ñ¸ê®Æ¡A¨Ã§â³o¼Ëªº§ó·s¸ê®Æ¶Ç»¼¨ì¦U­Ó¸ô¥Ñ¾¹³]³Æ¤º¡F
¦ý Distance Vector ¸ô¥Ñºtºâªk«h·|¶Ç»¼¾ã¥÷ªº¸ê®Æ¡A¦Ó¥B¥u·|¶Ç»¼µ¹¾Fªñªº¸ô¥Ñ¾¹³]³Æ¦Ó¤w¡C

§Y¨Ï¸ô¥Ñ¸ê®Æ¨S¦³¥ô¦óªº§ïÅÜ¡ADistance Vector ¤]·|±N¾ã¥÷¸ô¥Ñ¸ê®Æµo°e¥X¨Ó¡A
¦Ó³o¸Ì©Ò¿×ªº¾ã¥÷¸ô¥Ñ¸ê®Æ¡A«üªº´N¬Oµo°eºÝ¸ô¥Ñ¾¹³]³Æ¤¤ Routing Table ªº§¹¾ã¸ê®Æ¡A
·í¾Fªñªº¸ô¥Ñ¾¹³]³Æ¦¬¨ì³o¾ã¥÷¸ô¥Ñ¸ê®Æ«á¡A·|¶}©l¤ñ¸û¤wª¾ªº¸ô¥Ñ¸ô®|¡A¨Ã§â¦³§ó·s¹Lªº¸ê®Æ¦P¨B¦Ü¥»¦aºÝ¸ô¥Ñ¾¹³]³Æ¤¤¡A
¦]¬°³oºØ¤è¦¡³£·|°²³]±µ¦¬¨ìªº¸ê®Æ¤@©w¬O¤ñ¦Û¤vÁÙ­n·sªº¸ê®Æ¡A©Ò¥H³oºØ¤è¦¡³q±`¤]³QºÙ¬°¡uÁÁ¨¥¸ô¥Ñ¤è¦¡¡v(Routing by rumor)¡C
´N¬O¦]¬°³o¼ËÃþ¦ü¡u¥H³_¶Ç³_¡vªº¹B§@¤è¦¡¡A©Ò¥H·|²£¥Í«Ü¦h°ÝÃD¡C

¬°¦¹¡A¥X²{¤F±Ä¥Î Distance Vector ¸ô¥Ñºtºâªk©M Distance Vector ¸ô¥Ñºtºâªkªº²V¦X¦¡¸ô¥Ñ¨ó©w¡C
¦ÓCisco±MÄݪºEIGRP¸ô¥Ñ¨ó©w¥¿¬O¨Ï¥Î³oºØ²V¦X¦¡ªº§@ªk¡C


Link State ¸ô¥Ñºtºâªk«h¬O³q¹L¥D°Ê´ú¸Õ¾F±µ¸`ÂIªºª¬ºA¡A©w´Á¦a±N¬Û¾F¸`ÂIªºª¬ºA«H®§¶Ç°eµ¹©Ò¦³¸`ÂI¡A
¨C­Ó¸`ÂI³£¦³§¹¾ãªººôµ¸©Ý¼³«H®§¡AµM«á­pºâ¨ì¨C­Ó¸`ÂIªº³Ì¨Î¸ô®|¡C
¦Ó oscillation problem ¬O¦]¬°¦s¦b¦h­Ó¥æ³q«ü´§¤¤¤ß¦Ó³y¦¨ªº°ÝÃD¡C

¸Ñ¨M¤èªk¡GºÉ¥i¯à¦aµ½¥ÎÂù¼h¦¡ºô¸ô¬[ºc¡A¨Ã¥B¤Á³Î¦¨¦h­ÓArea¡A
³o¼Ë¨C­Ó Area ¤¤ªººô¸ô´N·|¤ñ¸û²³æ¡A¦P¤@­Ó Area ¤¤ªºLink-State ¸ô¥Ñºtºâªk­pºâ¦¸¼Æ¤]·|¤ñ¸û¤Ö¡A
¦Ó¥B Routing Table ©M¦UºØ¸ê®Æ®w¤¤ªº¸ê®Æµ§¼Æ¤]·|¤ñ¸û¤Ö¡A¦ý«e´£¬O³o¼Ëªººô¸ô³]­p·|¦³«Ü¦hªº­­¨î¡C


°Ñ¦Ò¸ê®Æ
ªL¦V¼Ýªº³¡¸¨®æ



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-08-07, 10:46 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nRIP (Routing Information Protocol)¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

*RIP is available on platforms with an Edge, Advanced Edge or Core license.

RIPªº³Ì¤jÀu¶Õ¦b©ó²³æ¡B©öŪ¡A®e©ö³¡¸p¡A¬O¤@­Ó¦æ¤§¦h¦~ªº¸ô¥Ñ¼Ð·Ç¡C

¦¹¥~¡A°£¤F¤W­z¶Ç»¼®É±N¾ã¥÷¸ô¥Ñ¸ê®Æµo§G¥X¨Ó¡A¦û¥Î¸û¤jÀW¼eªº¯ÊÂI¥~¡ARIPÁÙ¦³¥H¤U­­¨î¡A
¥]¬A¨Ó·½»P¥Øªº¶¡ªºhop¥u¯à¦³ 15 ­Ó¡A
¥H¤Î¸ô¥Ñªº­pºâ¬O¥Hhop count¡A¦Ó¤£¬Olink cost©Îdelay¡C
¦P®É¦b­pºâ¤W¬O¥H¥­­±¬[ºc¨Ó¦Ò¶q¡A¨S¦³areas©ÎBoundariesªº·§©À¡C


RIP¹w³]¨C30¬í©M¾F©~§ó·s¤@¦¸¡A·í¥þ°ì¸ô¥Ñ©Ý¼³§ïÅܮɤ]·|¶i¦æ§ó·s(triggered updates)¡C
¾F©~¦b¹w³]ªº180¬í¶g´Á¥¼¶i¦æ¸ê°T¥æ´«ªº¸Ü¡A·|³Qµø¬°¦¹³s½u¤w¤£¦s¦b¡C

¦¹¥~¡ARIP¦³ Split Horizon »P Poison Reverse ¨â­Ó¾÷¨î¨¾¤î¸ô¥Ñªí³Q¬r¤Æ¶Ã§ï¡C

RIPªº¸ô¥ÑªíùØ°O¿ýµÛ¥H¤U¸ê°T¡C

  • IP address of the destination network
  • Metric (hop count) to the destination network
  • IP address of the next router
  • Timer that tracks the amount of time since the entry was last updated


RIPµo®i¦Ü¤µ¡A¦@¦³¨â­Óª©¥»¡AV2¦V¤U¬Û®e©óV1¡FV2¬Û¸û©óV1¦h¤F¥H¤U¥\¯à¡C
  • Variable-length subnet masks (VLSMs).
  • Support for next-hop addresses, which allows for optimization of routes in certain environments.
  • Multicasting.(³o¬O¶¶¤l¦b±µ¤U¨Óªº¤u§@¦³¥i¯à¥Î¨ìªºªF¦è¡I)



³]©wRIPªº«ü¥O«Ü²³æ¡A¥u­n§â¹ïÀ³ªºVLAN¥[¤JRIP¡A³Ì«á¦A±Ò¥ÎRIP§Y¥i¡A¨ä«ü¥O¦p¤U¡C
configure rip add {vlan} [all | VLAN-Name]
enable rip
enable ipforwarding


±q¤W­z«ü¥O¥i¥H¬Ý¥X¡ARIP¬Obase on VLAN¡A
­Y¦³»Ý­n±N¹w³]¸ô¥Ñ¤]³z¹LRIP¶Ç°e¥X¥h¡A¨ä«ü¥O¦p¤U¡C
enable rip originate-default {always} cost <COST>

°Ñ¼Æalwaysªí¥Ü¤£½×default route¯à§_¨ì¹F¡A³£­n³z¹LRIP¨ó©w¶Ç°eµ¹Á{ªñRIP router¡C
Cost­È½d³ò¬°1-15¡C
¦ýRIP¥u¦³hop count¡A¨S¦³cost¡A©Ò¥H³o­Ócost¹ïÀ³ªº¬Ohop count¡F
­Y³]©w¬°15ªº¸Ü¡A¤w¹FRIP hop count³Ì¤j­È¡AµLªk¶Çµ¹Á{ªñRIP router...

±N¨ä¥¦ºØÃþªº¸ô¥Ñ¾É¤JRIP domain¡A¨ä«ü¥O¦p¤U¡C
enable rip export [bgp | direct | e-bgp | i-bgp | ospf | ospf-extern1 | ospf-extern2 | ospf-inter | ospfintra | static | isis | isis-level-1| isis-level-1-external | isis-level-2 | isis-level-2-external ] [cost <number> {tag <number>} | policy <policy-name>]

°±¤î±N¨ä¥¦ºØÃþªº¸ô¥Ñ¾É¤JRIP domain¡A¨ä«ü¥O¦p¤U¡C
disable rip export [bgp | direct | e-bgp | i-bgp | ospf | ospf-extern1 | ospf-extern2 | ospf-inter | ospfintra | static | isis | isis-level-1| isis-level-1-external | isis-level-2| isis-level-2-external ]


¬d¸ßRIPªº«ü¥O¦p¤U¡C
show rip interface


¡ô¥ÑFlagsÄæ¦ì¥i¥H¬d¬Ý­þ¨ÇVLAN¤w¥[¤JRIP¡C

¥t¥~¤]¥i¥H³z¹L¬d¬Ýrouting table¨Ó¬ÝRIPªº¸ô¥Ñ¡C
show iproute


¡ô­Y¬O±q¾F©~router©Ò¾Ç¨ìªºRIP¸ô¥Ñ¡A«h³Ì«e­±OriÄæ¦ì·|Åã¥Ü¤p¼g¦r¥À r¡C



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-08-07, 13:58 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nRIP½d¨Ò½m²ß¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¥Ü½dÀô¹Ò

  • ¨â¥xSwitch¤À§O«Ø¥ß¤T­ÓVLAN¡FV12/V13/V24»PV22/V23/V24¡C
    V12¬°172.16.16.0/24ºô¬q(SwitchA)
    V13¬°172.16.17.0/24ºô¬q(SwitchA)
    V22¬°192.168.1.0/24ºô¬q(SwitchB)
    V23¬°192.168.2.0/24ºô¬q(SwitchB)
    V24¬°10.0.0.0/24ºô¬q(SwitchA,B¦ê±µ)

  • SwitchA¤WPort 22¬°V12¡APort 23¬°V13¡APort 24¬°V24¡C
  • SwitchB¤WPort 22¬°V22¡APort 23¬°V23¡APort 24¬°V24¡C
  • SwitchB¤W¦³Default route 192.168.2.254



RIP³]©w
  1. «Ø¥ßVLAN
    SwitchA
    configure vlan default delete ports all
    create vlan V12
    configure vlan V12 tag 12
    configure vlan V12 add ports 22
    configure vlan V12 ipaddress 172.16.16.1/24

    create vlan V13
    configure vlan V13 tag 13
    configure vlan V13 add ports 23
    configure vlan V13 ipaddress 172.16.17.1/24

    create vlan V24
    configure vlan V24 tag 24
    configure vlan V24 add ports 24
    configure vlan V24 ipaddress 10.0.0.1/30

    SwitchB
    configure vlan default delete ports all
    create vlan V22
    configure vlan V22 tag 22
    configure vlan V22 add ports 22
    configure vlan V22 ipaddress 192.168.1.1/24

    create vlan V23
    configure vlan V23 tag 23
    configure vlan V23 add ports 23
    configure vlan V23 ipaddress 192.168.2.1/24

    create vlan V24
    configure vlan V24 tag 24
    configure vlan V24 add ports 24
    configure vlan V24 ipaddress 10.0.0.2/30


  2. ±Ò¥ÎRouting
    enable ipforwarding

    ¨âÃäswitch³£­n±Ò¥Îrouting¡A¥t¥~¦bSwitchB¤W±Ò¥Îdefault route«ü¦V192.168.2.254¡C
    configure iproute add default 192.168.2.254


  3. ¬[³]RIP
    SwitchA
    configure rip add vlan all
    enable rip

    RouterB
    configure rip add vlan all
    enable rip
    enable rip originate-default always cost 3


ª¬ºA¬d¬Ý
show rip interface


©óSwitchB¤W¬d¬Ý¡A¥iµo²{V22¡BV23»PV24§¡¤w¥[¤JRIP table¤¤¡C

show iproute


©óSwitchA¤WÀ˵ø¸ô¥Ñ¡Aµo²{¥ÑSwitchB©Ò¶Ç¹L¨Óªº¸ô¥Ñ192.168.1.0/24»P192.168.2.0/24¤w¥[¤J¸ô¥Ñªí¡F
¦¹¥~default route¤]«ü¦VSwitchB¤Wªº192.168.2.254¡AMetric¥Ñ³]©wªºcost 3¦A¥[1Åܦ¨4¡A²Å¦X¹w´Á¡ã



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-08-08, 23:23 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nOSPF (Open Shortest Path First)¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

*OSPF is available on platforms with an Advanced Edge or Core license.

OSPF¬°Link State Protocol¡ALink¬O«ürouter¦V¥~³sµ²ªº¤¶­±¡A¦ÓState¬O«ü¦¹router¤¶­±ªº¯S©Ê¤Î©M¨ä¬Û¾Frouter¶¡¤§Ãö«Y¡A
¨ä¤¤³Ì­«­nªº¡A´N¬O¨â­Ó router ¶¡ªº¶ZÂ÷¡C

¦bOSPF¤¤¡Arouter¶¡¥i¥H¤¬¬Û¶Ç°e¸ê°Tµ¹¹ï¤è¡A
¨C­Órouter¦b¦¬¶°¤F¨¬°÷¸ê°T¤§«á¡A´N¥i¥H«Ø¥ß°_¦Û¤vªº¡uºô¸ô¦a¹Ï¡v(Routing Table)¡A¶i¦Óª¾¹D­n©¹­þ­Ó¤è¦V¨«¤~¨ì±o¤F¥Øªº¦a¡C

¨ârouter¶¡ªº¶ZÂ÷§Ú­Ì¥i¥ÎMetric (©ÎCost)¨Ó¶q«×¡A¦ÓMetricªº©w¸q¦p¤U¡A

¤]´N¬O»¡¡AÀW¼e¶V¤jªº½u¸ô¨äMetric¶V¤p¡A¥iµø¬°¶ZÂ÷¶Vªñ¡C
¥h¨ì¥Øªººô¬q®É¡A­Y¦³¦h±ø¸ô¥Ñ¥i¿ï¡A¤]·|¦]Metricªº¤£¦P¡A¦Ó¦brouting¤W¦³µÛ¥ý«á¶¶§Çªº¤£¦P¡C

¬Û¸û©óRIP¯Âºé¥Hhop conut¨Ó­pºâ¡A¥B¨C±ø¸ô®|¤£¯à¶W¹L15Áûrouterªº­­¨î¡A
OSPF¦³µÛ¸û½ÆÂøªº­pºâ¡B¨ã¦³¸û¤j¼u©Ê¡A¥i¾A¥Î©ó¤j«¬ºô¸ô¡C
¦Ó³o¤@¾ã­Ó¤j«¬ºô¸ô¥i¥H§â¥¦¬Ý¦¨¤@­Ódomain¡A¤]´N¬OOSPF·§©À¤¤ªº¦Ûªv¨t²Î(Autonomous System)¡C

¦ý¦b¸û¤j«¬ªº¦Ûªv¨t²Î¤¤¡A¨ä­pºâªº³t«×·|¦]­n¥æ´«ªº°T®§¹L¦h¡A¾É­P¦¬ÀĤӺC¡C
¬°¸Ñ¨M¦¹°ÝÃD¡AOSPF±Ä¥Îhierarchical(¼h¯Å¦¡)ªººô¸ô¬[ºc¡A
¥ý¨Ì·Óºô¸ô¥»¨­ªº°Ï°ì©Ê¡A±N¤§¹º¤À¬°´X­Ó¸û¤pªºArea¡A¦bArea¤º³¡router·|¥æ´«©¼¦¹¶¡§¹¾ã°T®§¡A
¦Ó¦h­ÓArea¤§¶¡¦A±Ä¥Îsummarization(ºK­n)ªº¤è¦¡¨Ó¥æ´«¸ê°T¡C

Area¤º³¡ªºrouter¥s°µIR(Internal Router)¡A
¦Ó¦ì¦b°Ï°ìºô¸ôÃä¬É¡A­t³d»P¨ä¥¦°Ï°ìºô¸ô¥æ´«ºK­n°T®§ªºrouter¥s°µABR(Area Border Router)¡C

¦bOSPFªº©w¸q¤¤¡AArea¤S¤À¬°¥H¤U´XºØ¤£¦PÃþ«¬¡C

  • Backbone Area°©·F°Ï°ì
    ¦bOSPFºô¸ô¤¤¡A¥u­n¦³¤j©ó¤@­ÓªºArea¡A´N¥²»Ý¦³¤@­ÓBackbone Area¡A¨C¤@­ÓAreaªºABR©ó¦¹°Ï°ì¥æ´«¨ä¥¦°Ï°ìªººK­n¡C
    ¦bXOSªº³W½d¤W¡ABackbone Area¹w³]´N¦s¦b¡A¥BµLªk³Q§R°£©Î­×§ï¡FBackbone Area³Q©w¸q¬°Area 0.0.0.0¡C

  • Stub Area¥½µy°Ï°ì
    Stub Area¬O¤@ºØ³Ì¥½ºÝªº°Ï°ì¡A¥u©M¤@­ÓArea³s±µ(Backbone Area)¡C
    ¥~³¡ªº¸ô¥Ñ°T®§µLªk¶Ç¤J¦¹Stub Area¡A¥Î¥H´î¤Örouterªº¸ê·½®ø¯Ó¡C
    «Ø¥ßStub Areaªº«ü¥O¦p¤U¡C
    create ospf area <area-identifier>
    configure ospf area <area-identifier> stub [summary | nosummary] stub-default-cost <cost>

  • Not-So-Stubby-Areas¦¸¥½µy°Ï°ì
    ¦¸¥½µy°Ï°ì¸ò¥½µy°Ï°ì«ÜÃþ¦ü¡A¼W¥[¤F¥H¤U¯à¤O¡A
    ¥]¬A¥~³¡¸ô¥Ñ°T®§¥i¥H¶Ç¤J¦¹°Ï°ì¡A±o¨ìªº¥~³¡¸ô¥Ñ°T®§¥i¦A¶Ç»¼µ¹¨ä¥¦°Ï°ì(¥]§tBackbone Area)¡C
    «Ø¥ßNSSAªº«ü¥O¦p¤U¡C
    create ospf area <area-identifier>
    configure ospf area <area-identifier> nssa [summary | nosummary] stub-default-cost <cost> {translate}

  • Normal Area¤@¯ë°Ï°ì
    «DBackbone Area¡BStub Area¤ÎNSSAªº°Ï°ì¡C
    «Ø¥ßNormal Areaªº«ü¥O¦p¤U¡C(¨ä¹ê´N¬O¤£¦A¥[¤Wstub/nssaµ¥°Ñ¼Æ)
    create ospf area <area-identifier>


¦b¬[ºcOSPF®É¡A¥i¨Ì¥H¤U9­Ó¨BÆJ¨Ó¶i¦æ¡C
  1. Attach the physical connections.
  2. Create the VLANS.
  3. Configure the VLAN IP address
  4. Add ports, tagged or untagged.
  5. Enable IP Forwarding.
  6. Configure the RouterID for each router. (Recommended)
    configure ospf routerid [automatic | <router-identifier>]
    ­Y±Ä¥Îautomatic¡A«hswitch¤W³Ì¤jªºIP address·|³Q®³¨Ó°µ¬°router-identifier¨Ï¥Î¡C

  7. Create OSPF Areas as required.
    (Area 0.0.0.0 is already pre-configured on the switch.)
    create ospf area <area-identifier>
    configure ospf area <area-identifier> {Parameter}

  8. Configure the VLANs for OSPF and associate them with the correct area.
    configure ospf add vlan [all | <VLAN-Name>] area <area-identifier> {link-type [Auto | Broadcast | Point-to-point | Passive]}

  9. Enable OSPF globally on the switch.
    enable ospf


§Ú­Ì¦^¹LÀY¨Ó¬Ý¬ÝArea»PVLAN¶¡ªºlink-type¡C
configure ospf add vlan [all | <VLAN-Name>] area <area-identifier> {link-type [Auto | Broadcast | Point-to-point | Passive]}


¬°¤°»ò­n¯S§O¨Ó¬Ýlink-type¡H
¨º¬O¦]¬°Advanced Edge license¤Uªºrouter¥u¤ä´©4­Óactive OSPF VLAN interface (neighbor)¡F
¦ý­Y¬Opassive interface¡A«h¨S¦³­­¨î¡C
©Ò¥HAdvanced Edge licenseªºrouter¥i³z¹L Passive ªº¤è¦¡¨Ó³]©w­þ¨ÇVLAN­n¥[¤JOSPF¡A¦Ó­þ¨Ç¤S¤£­n¡F
³o¼Ë¥i¥H·À¤Ö¦û¥ÎOSPF neighborªº¼Æ¶q¡C


­Y­n­×§ïOSPF¥æ´«°T®§ªº¦UºØ®É¶¡°Ñ¼Æ¡A¥i¥Î¥H¤U«ü¥O¡C(«D¼Ð·Çªº³]©w·|¼vÅTOSPFªº¥i¾a©Ê¡A½Ð¤ÅÀH·N­×§ï¡I)
configure ospf area <area-identifier> timer <retransmit-interval> <transit-delay> <hello-interval> <dead-interval> {<wait-timer-interval>}
configure ospf virtual-link <router-identifier> <area-identifier> timer <retransmit-interval> <transitdelay> <hello-interval> <dead-interval>
configure ospf vlan [<vlan-name> | all] timer <retransmit-interval> <transit-delay> <hello-interval> <dead-interval> {<wait-timer-interval>}
retransmit-interval¹w³]­È¬O5¬í
transit-delay¹w³]­È¬O1¬í
hello-interval¹w³]­È¬O10¬í
dead-interval¹w³]­È¬O40¬í
wait-timer-interval¨S¦³¹w³]­È¡C­Y­n³]©w¡A»Ý¤j©óhello-interval¡C


¸òRIP¤@¼Ë¡AOSPF¤]¥i¥H±N¨ä¥¦ºØÃþªº¸ô¥Ñ¾É¤JOSPF¡A¨ä«ü¥O¦p¤U¡C
enable ospf export [bgp | direct | e-bgp | i-bgp | rip | static | isis | isis-level-1 | isis-level-1-external | isis-level-2 | isis-level-2-external] [cost <cost> type [ase-type-1 | ase-type-2] {tag <number>} | <policy-map>]

°±¤î±N¨ä¥¦ºØÃþªº¸ô¥Ñ¾É¤JOSPF¡A¨ä«ü¥O¦p¤U¡C
disable ospf export [bgp | direct | e-bgp | i-bgp | rip | static | isis | isis-level-1| isis-level-1-external | isis-level-2 | isis-level-2-external]


¬d¬ÝOSPF Area°t¸m¡A¨ä«ü¥O¦p¤U¡C
show ospf area {detail | <area-identifier>}

¬d¬ÝOSPF Interface°t¸m¡A¨ä«ü¥O¦p¤U¡C
show ospf interfaces {vlan <vlan-name> | area <area-identifier> | enabled}

¬d¬Ýlink-state database¡A¨ä«ü¥O¦p¤U¡C
show ospf lsdb {detail | stats} {area [<area-identifier> | all]} {{lstype} [<lstype> | all]} {lsid <lsidaddress>{<lsid-mask>}} {routerid <routerid-address> {<routerid-mask>}} {interface[[<ipaddress>{<ip-mask>} | <ipNetmask>] | vlan <vlan-name>]}



°Ñ¦Ò¸ê®Æ
¸ô¥Ñ¨ó©w¤Îºô¸ô¬[ºc¬ãªR
How to Configure OSPF Extreme Network Switch



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-08-27, 16:09 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR