Oracle® Switch ES2-72 和 Oracle Switch ES2-64 配置指南

退出打印视图

更新时间: 2015 年 4 月
 
 

配置 LA

此任务介绍了如何配置和测试在交换机目标上运行的 SEFOS 的 LA 转发功能。

有关此任务的拓扑,请参见Switching Feature Topology

  1. 配置初始设置。

    请参见Configure Initial Settings

  2. 在 SEFOS-1 上创建一个“端口-通道”组 100 并链接组中的端口。
    SEFOS-1# configure terminal
    SEFOS-1(config)# set port-channel enable
    SEFOS-1(config)# interface port-channel 100
    SEFOS-1(config-if)# no shutdown
    SEFOS-1(config-if)# exit
    SEFOS-1(config)# interface range xl-ethernet 0/1-2
    SEFOS-1(config-if)# no shutdown
    SEFOS-1(config-if)# channel-group 100 mode active
    SEFOS-1(config-if)# exit
    SEFOS-1(config)# vlan 101
    SEFOS-1(config-vlan)# ports xl-ethernet 0/1-2 port-channel 
    SEFOS-1(config-vlan)# ports xl-ethernet 0/25-26 port-channel 100 untagged xl-ethernet 0/25-26 port-channel 100
    
  3. 在 SEFOS-2 上重复Step 2
  4. 验证 VLAN 成员关系。
    SEFOS-1# show vlan
    Vlan database
    -------------
    Vlan ID : 101
    Member Ports : X10/25,X10/26,po100
    Untagged Ports : X10/25,X10/26,po100
    Forbidden Ports : None
    Reflective-Relay : Disabled
    Name :
    Status : Other
    
  5. 验证 SEFOS-1 上的 STP 端口状态。
    SEFOS-1# show spanning-tree
    Root Id         Priority   32768
                    Address    00:14:4f:6c:69:ee
                    Cost       0
                    Port       0 [0]
                    Max age 20 Sec, forward delay 15 Sec
                    Hello Time 2 Sec
     
    MST00
     
    Spanning tree Protocol has been enabled
     
    MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
    Bridge Id       Priority  32768
                    Address  00:14:4f:6c:69:ee
                    Max age is 20 sec, forward delay is 15 sec
                    Hello Time is 2 sec
                    Dynamic Path Cost is Disabled
                    Dynamic Path Cost Lag-Speed Change is Disabled
    Name              Role         State        Cost     Prio   Type
    ----              ----         -----        ----     ----   ------
     
    X10/25 		          Designated	     Forwarding   2000      128     	P2P
    X10/26           		Designated     Forwarding   2000      128     	P2P
    po100 		           Designated 	    Forwarding   2000      128     	P2P
    ...
    
  6. 持续从主机 A 对主机 C 执行 ping 命令。

    在通信转发期间不应当有任何数据丢失。

  7. 验证端口通道摘要。
    SEFOS-1# show etherchannel summary
     
    Port-channel Module Admin Status is enabled
    Port-channel Module Oper Status is enabled
    Port-channel System Identifier is  00:14:4f:6c:69:ee
     
    Flags:
    D - down             P - in port-channel
    I - stand-alone      H - Hot-standby (LACP only)
    AD - Admin Down      AU - Admin Up
    OD - Operative Down  OU - Operative Up
     
    Number of channel-groups in use: 1
    Number of aggregators: 1
     
    Group  Port-channel        Protocol   Ports
    -------------------------------------------------------------------------
    100    Po100(P)[AU,OD]     LACP       X10/1(P),X10/2(P)
    ...
    
  8. 关闭端口 xl-ethernet 0/1 并验证端口通道摘要
    SEFOS-1# configure terminal
    SEFOS-1(config)# int xl 0/1
    SEFOS-1(config-if)# shut
    SEFOS-1(config-if)# end
    SEFOS-1# show etherchannel summary
     
    Port-channel Module Admin Status is enabled
    Port-channel Module Oper Status is enabled
    Port-channel System Identifier is  00:14:4f:6c:69:ee
     
    Flags:
    D - down             P - in port-channel
    I - stand-alone      H - Hot-standby (LACP only)
    AD - Admin Down      AU - Admin Up
    OD - Operative Down  OU - Operative Up
     
    Number of channel-groups in use: 1
    Number of aggregators: 1
     
    Group  Port-channel        Protocol   Ports
    -----------------------------------------------------------------
    100    Po100(P)[AU,OD]     LACP       X10/1(D),X10/2(P)
    ...
    

    如果通信流经端口通道组,则 LA 已正确配置。

相关信息