¡°2013ÄêÈ«¹úְҵԺУ¼¼ÄÜ´óÈü¡±¸ßÖ°×é¡°H3C?ÆóÏ뱡±¼ÆËã»úÍøÂçÓ¦ÓþºÈüÈüÌâA¾í
ppp chap user chapuser2
ip address 37.2.2.22 255.255.255.252
Branch1:
interface Serial2/0 link-protocol ppp
ppp chap user chapuser1
ppp chap password cipher aabbcc ip address 37.2.2.21 255.255.255.252
(2).papµ¥ÏòÑéÖ¤
HQ-admin£º
local-user papuser
password cipher aabbcc service-type ppp interface Serial1/0 link-protocol ppp
ppp authentication-mode pap
ip address 37.2.2.18 255.255.255.252
Branch2:
interface Serial2/0 link-protocol ppp
ppp pap local-user papuser password cipher aabbcc ip address 37.2.2.17 255.255.255.252
£¨3).pap Óëchap µÄµ¥ÏòÑéÖ¤
Branch1:
local-user chapuser3 password cipher aabbcc service-type ppp interface Serial1/0 link-protocol ppp
ppp authentication-mode pap ppp chap user chapuser3
ppp chap password cipher aabbcc
Branch2:
local-user chapuser3 password cipher aabbcc service-type ppp interface Serial1/0 link-protocol ppp
ppp authentication-mode chap
µÚ 9 Ò³ ¹² 88 Ò³
¡°2013ÄêÈ«¹úְҵԺУ¼¼ÄÜ´óÈü¡±¸ßÖ°×é¡°H3C?ÆóÏ뱡±¼ÆËã»úÍøÂçÓ¦ÓþºÈüÈüÌâA¾í
ppp pap local-user papuser2 password cipher aabbcc
£¨4£©.´®¿ÚpppÐÉÌ»ñÈ¡ipµØÖ·
Branch1:
interface Serial1/0
ip address ppp-negotiate
Branch2:
interface Serial1/0
ppp ipcp dns 202.101.172.35 remote address 37.2.2.26 (5).´®¿ÚpppÐÉÌ»ñÈ¡dnsµØÖ·
Branch1:
interface Serial1/0 ppp ipcp dns request
Branch2:
interface Serial1/0
ppp ipcp dns 202.101.172.35
4¡¢Ô°Çø½»»»ÍøÁ´Â·¿É¿¿ÐÔÅäÖÃ
£¨1£©ÎªÁËÔö¼ÓÔ°ÇøÍøºËÐĽ»»»ÍøÂçµÄÊý¾Ýת·¢ÄÜÁ¦£¬ÒªÇóʵʩÏà¹ØÁ´Â·»ã¾Û·½°¸£¬¾ßÌåÐèÇóÈçÏ£º
1CORE1ÓëCORE2Ö®¼äÒÔ¼°CORE1ÓëCORE3Ö®¼äÒªÇó²ÉÓöþ²ãÁ´Â·»ã¾Û£¬Ê¹Óþ²Ì¬LACP¡ð
·½Ê½¡£²¢ÇÒÒªÇó°´ÕÕ±¨ÎĵÄÔ´MACµØÖ·ºÍÄ¿µÄMACµØÖ·½øÐлã¾Û¸ºÔØ·Öµ£µÄ·½Ê½£¬À´ÊµÏÖÊý¾ÝÁ÷Á¿ÔÚ¸÷³ÉÔ±¶Ë¿Ú¼äµÄ¸ºÔØ·Öµ£¡£
2 Core2ÓëCore3Ö®¼äÒªÇó²ÉÓÃÈý²ãÁ´Â·»ã¾Û£¬Ê¹Óö¯Ì¬·½Ê½¡£²¢ÇÒÒªÇó°´ÕÕ±¨ÎĵÄÔ´¡ð
IPµØÖ·ºÍÄ¿µÄIPµØÖ·½øÐлã¾Û¸ºÔØ·Öµ£µÄ·½Ê½£¬À´ÊµÏÖÊý¾ÝÁ÷Á¿ÔÚ¸÷³ÉÔ±¶Ë¿Ú¼äµÄ·Öµ£¡£ 3ΪÁËÍøÂç¹ÜÀíÔ±¿ÉÒÔ¼°Ê±»ñÏ¤Ô°Çø½»»»ÍøÂçÉ豸¶Ë¿Ú±ä»¯×´Ì¬£¬ÒªÇó¿ªÆô¡ð
µÚ 10 Ò³ ¹² 88 Ò³
CORE2¡¢
CORE3Ö®¼ä»ã¾Û½Ó¿ÚÁ´Â·×´Ì¬±ä»¯Trap¹¦ÄÜ£¬Ê¹»ã¾Û½Ó¿ÚÔÚÁ´Â·×´Ì¬·¢Éú¸Ä±äʱ¿ÉÉú³É
¡°2013ÄêÈ«¹úְҵԺУ¼¼ÄÜ´óÈü¡±¸ßÖ°×é¡°H3C?ÆóÏ뱡±¼ÆËã»úÍøÂçÓ¦ÓþºÈüÈüÌâA¾í
¶Ë¿ÚLink upºÍLink downµÄTrap±¨ÎÄ¡£ ¾ßÌåÃüÁî
£¨1£© ¡ð1 CORE1£ºinterface Bridge-Aggregation 1 Interface E1/0/11
port link-aggregation group 1 Interface E1/0/12
port link-aggregation group 1 interface Bridge-Aggregation 1 Port link-type trunk
Port trunk permit vlan 10 110 120
interface Bridge-Aggregation 2 Interface E1/0/13
port link-aggregation group 2 Interface E1/0/14
port link-aggregation group 2 interface Bridge-Aggregation 2 Port link-type trunk
Port trunk permit vlan 10 110 120
CORE2£ºinterface Bridge-Aggregation 1 Interface E1/0/11
port link-aggregation group 1 Interface E1/0/12
port link-aggregation group 1 interface Bridge-Aggregation 1 Port link-type trunk
Port trunk permit vlan 10 110 120
CORE3£ºinterface Bridge-Aggregation 2 Interface E1/0/13
port link-aggregation group 2 Interface E1/0/14
port link-aggregation group 2 interface Bridge-Aggregation 2 Port link-type trunk
Port trunk permit vlan 10 110 120 ¡ð2
[CORE1]link-aggregation load-sharing mode source-mac destination-mac [CORE2]link-aggregation load-sharing mode source-mac destination-mac [CORE3]link-aggregation load-sharing mode source-mac destination-mac ¡ð1 CORE2£ºinterface Bridge-Aggregation 3
µÚ 11 Ò³ ¹² 88 Ò³
¡°2013ÄêÈ«¹úְҵԺУ¼¼ÄÜ´óÈü¡±¸ßÖ°×é¡°H3C?ÆóÏ뱡±¼ÆËã»úÍøÂçÓ¦ÓþºÈüÈüÌâA¾í
Link-aggregation mode dynamic Interface E1/0/23
port link-aggregation group 3 Interface E1/0/24
port link-aggregation group 3 interface Bridge-Aggregation 3 Port link-type trunk
CORE3£ºinterface Bridge-Aggregation 3 Link-aggregation mode dynamic Interface E1/0/23
port link-aggregation group 3 Interface E1/0/24
port link-aggregation group 3 interface Bridge-Aggregation 3 Port link-type trunk ¡ð2
[CORE1]link-aggregation load-sharing mode source-ip destination-ip [CORE2]link-aggregation load-sharing mode source-ip destination-ip [CORE3]link-aggregation load-sharing mode source-ip destination-ip (3)
[CORE2]snmp-agent trap enable stantard linkup linkdown [CORE3]snmp-agent trap enable stantard linkup linkdown
£¨2£©ÎªÁ˽µµÍµ¥ÏòÁ´Â·¹ÊÕ϶ÔÔ°Çø½»»»ÍøÂçµÄÓ°Ï죬ҪÇóCORE1ÓëCORE2¡¢CORE3Ö®¼äµÄÁ´Â·ÅäÖÿªÆôÏà¹ØDLDPµ¥ÏòÁ´Â·¼ì²â¼¼Êõ¡£ ¾ßÌåÐèÇóÈçÏ£º
1ÒªÇóÏà¹ØÍøÂçÉ豸DLDPÁÚ¾Ó±íÏîÀÏ»¯Ê±Äܹ»Ö÷¶¯Ì½²âÁÚ¾ÓÊÇ·ñ´æÔÚ¡£ ¡ð
2ÒªÇóʹDLDP¼ì²âµ½µ¥ÏòÁ´Â·¹ÊÕϺóÍ¨ÖªÍøÂç¹ÜÀíÔ±£¬ÈÃÍøÂç¹ÜÀíÔ±ÊÖ¹¤¹Ø±Õ¹ÊÕ϶ˡð¿Ú¡£
3Ϊ·ÀÖ¹ÍøÂç¹¥»÷ºÍ¶ñÒâ̽²â£¬ÒªÇóÆôÓÃÃ÷ÎÄDLDP±¨ÎÄÈÏÖ¤£¬ÃÜÂëΪaabbcc¡£ ¡ð
4Ϊ±ÜÃâÁ´Â·¶¶¶¯Ôì³ÉDLDPÁÚ¾ÓÐÅÏ¢·¹ö£¬ÒªÇó½«DelayDown¶¨Ê±Æ÷³¬Ê±Ê±¼äÉ趨Ϊ3¡ðÃë¡£ ¾ßÌåÃüÁî
[CORE1]:dldp enable
Interface e1/0/11 Dldp enable Interface e1/0/12
µÚ 12 Ò³ ¹² 88 Ò³