综合实验(一)
  1D6o7E39IQo1 2023年11月02日 28 0
核心交换机配置
[SW1]stp root primary    ## 设置核心交换机为根交换机
STP开销配置固定值
#### 查看开销值
[SW1]display stp interface Eth-Trunk 2
-------[CIST Global Info][Mode MSTP]-------
CIST Bridge         :32768.4c1f-cc85-3085
Config Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC      :32768.4c1f-cc17-2895 / 10000
CIST RegRoot/IRPC   :32768.4c1f-cc85-3085 / 0
CIST RootPortId     :128.25
BPDU-Protection     :Disabled
TC or TCN received  :212
TC count per hello  :0
STP Converge Mode   :Normal 
Time since last TC  :0 days 0h:25m:23s
Number of TC        :100
Last TC occurred    :Eth-Trunk6
----[Port25(Eth-Trunk2)][FORWARDING]----
 Port Protocol       :Enabled
 Port Role           :Root Port
 Port Priority       :128
 Port Cost(Dot1T )   :Config=auto / Active=10000
 Designated Bridge/Port   :32768.4c1f-cc17-2895 / 128.25
 Port Edged          :Config=default / Active=disabled
 Point-to-point      :Config=auto / Active=true
 Transit Limit       :147 packets/hello-time
 Protection Type     :None
 Port STP Mode       :MSTP 
 Port Protocol Type  :Config=auto / Active=dot1s
 BPDU Encapsulation  :Config=stp / Active=stp
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 20
 TC or TCN send      :47
 TC or TCN received  :0
 BPDU Sent           :48             
          TCN: 0, Config: 0, RST: 0, MST: 48
 BPDU Received       :1608             
          TCN: 0, Config: 0, RST: 0, MST: 1608
### 修改开销值
[SW1]int Eth-Trunk 2
[SW1-Eth-Trunk2]stp cost 10000
服务器接入交换机配置边缘端口
[Huawei]display int brief
[Huawei]port-group group-member e0/0/1 to e0/0/22 
[Huawei-port-group]stp edged-port enable 
[SW2]display stp brief 
 MSTID  Port                        Role  STP State     Protection
   0    Ethernet0/0/1               DESI  FORWARDING      NONE
   0    Ethernet0/0/2               DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/2        DESI  FORWARDING      NONE
用户侧接入交换机配置边缘接口
[SW3]display int brief
[SW3]port-group group-member e0/0/1 to e0/0/22
[SW3-port-group]stp edged-port enable
[SW3]display stp brief 
 MSTID  Port                        Role  STP State     Protection
   0    Ethernet0/0/3               DESI  FORWARDING      NONE
   0    Ethernet0/0/4               DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/1        ROOT  FORWARDING      NONE
   0    GigabitEthernet0/0/2        ALTE  DISCARDING      NONE
核心交换机配置捆绑
[SW1]int Eth-Trunk 2
[SW1-Eth-Trunk2]trunkport gi 0/0/1 to 0/0/2
Info: This operation may take a few seconds. Please wait for a moment....done.
[SW1]display eth-trunk 2
Eth-Trunk2's state information is:
WorkingMode: NORMAL         Hash arithmetic: According to SIP-XOR-DIP         
Least Active-linknumber: 1  Max Bandwidth-affected-linknumber: 8              
Operate status: up          Number Of Up Port In Trunk: 2                     
--------------------------------------------------------------------------------
PortName                      Status      Weight 
GigabitEthernet0/0/1          Up          1      
GigabitEthernet0/0/2          Up          1
服务器交换机配置捆绑
[SW2]int Eth-Trunk 2
[SW2-Eth-Trunk2]trunkport gi0/0/1
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW2-Eth-Trunk2]trunkport gi0/0/2
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW2]display eth-trunk 2
Eth-Trunk2's state information is:
WorkingMode: NORMAL         Hash arithmetic: According to SIP-XOR-DIP         
Least Active-linknumber: 1  Max Bandwidth-affected-linknumber: 8              
Operate status: up          Number Of Up Port In Trunk: 2                     
--------------------------------------------------------------------------------
PortName                      Status      Weight 
GigabitEthernet0/0/1          Up          1      
GigabitEthernet0/0/2          Up          1 
....
[SW1]int Eth-Trunk 6
[SW1-Eth-Trunk6]mode lacp-static 
[SW1-Eth-Trunk6]trunk	
[SW1-Eth-Trunk6]trunkport gi 0/0/10 to 0/0/11
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW1-Eth-Trunk6]quit
[SW1]display eth-trunk 6
Eth-Trunk6's state information is:
Local:
LAG ID: 6                   WorkingMode: STATIC                               
Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP         
System Priority: 32768      System ID: 4c1f-cc85-3085                         
Least Active-linknumber: 1  Max Active-linknumber: 8                          
Operate status: up          Number Of Up Port In Trunk: 2                     
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/10  Selected 1GE      32768   11     1585    10111100  1     
GigabitEthernet0/0/11  Selected 1GE      32768   12     1585    10111100  1     

Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState

GigabitEthernet0/0/10  32768    4c1f-ccaf-10f3  32768   2      1585    10111100
GigabitEthernet0/0/11  32768    4c1f-ccaf-10f3  32768   3      1585    10111100
用户侧接入交换机配置捆绑
[SW3]int Eth-Trunk 3
[SW3-Eth-Trunk3]trunkport gi 0/0/1 to 0/0/2
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW3-Eth-Trunk3]quit
[SW3]display eth-trunk 3
Eth-Trunk3's state information is:
WorkingMode: NORMAL         Hash arithmetic: According to SIP-XOR-DIP         
Least Active-linknumber: 1  Max Bandwidth-affected-linknumber: 8              
Operate status: up          Number Of Up Port In Trunk: 2                     
--------------------------------------------------------------------------------
PortName                      Status      Weight 
GigabitEthernet0/0/1          Up          1      
GigabitEthernet0/0/2          Up          1    
....
[SW6]int Eth-Trunk 6
[SW6-Eth-Trunk6]mode lacp-static 
[SW6-Eth-Trunk6]trunkport gi 0/0/1 to 0/0/2
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW6-Eth-Trunk6]quit
[SW6]display eth-trunk 
Eth-Trunk6's state information is:
Local:
LAG ID: 6                   WorkingMode: STATIC                               
Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP         
System Priority: 32768      System ID: 4c1f-ccaf-10f3                         
Least Active-linknumber: 1  Max Active-linknumber: 8                          
Operate status: down        Number Of Up Port In Trunk: 0                     
--------------------------------------------------------------------------------
ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/1   Unselect 1GE      32768   2      1585    10100010  1     
GigabitEthernet0/0/2   Unselect 1GE      32768   3      1585    10100010  1     

Partner:
--------------------------------------------------------------------------------
ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState
GigabitEthernet0/0/1   0        0000-0000-0000  0       0      0       10100011
GigabitEthernet0/0/2   0        0000-0000-0000  0       0      0       10100011


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

上一篇: web前端开发理论解析 下一篇: 删除eth-trunk
  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  1D6o7E39IQo1   2023年11月02日   32   0   0 ETH-TRUNKvlanifsvi
  eo9lmrKcoG9P   2023年12月06日   11   0   0 HCIPSTPRSTP置位
  1D6o7E39IQo1   2023年11月02日   43   0   0 ETH-TRUNK
  1D6o7E39IQo1   2023年11月02日   29   0   0 ETH-TRUNKlacp-staticSTP
  1D6o7E39IQo1   2023年11月02日   29   0   0 INSTANCEMSTISTPMSTPBPDU
STP
  1D6o7E39IQo1   2023年11月02日   58   0   0 STP
  1D6o7E39IQo1   2023年11月02日   27   0   0 ETH-TRUNK路由
  1D6o7E39IQo1   2023年11月02日   19   0   0 ETH-TRUNKleastmax
  1D6o7E39IQo1   2023年11月02日   30   0   0 ETH-TRUNK交换机
1D6o7E39IQo1
作者其他文章 更多

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13