H3C DRNI配置

  1. DRNI系统配置

     drni role priority 1              //值越小优先级越高,优先级高的为主设备
     drni system-mac xxxx-xxxx-xxxx    //DR设备的系统MAC地址必须相同,配置主交换机的桥MAC,通过disp device manuinfo查看
     drni system-number 1              //DR 系统中不同 DR 设备的系统编号必须不同
     drni system-priority 123          //DR 系统中所有 DR 设备的系统优先级必须相同
     drni restore-delay 180  //配置延迟恢复时间,从设备加入DR系统时进行 MAC 地址表项等信息同步的最大时间
    
  2. Keepalive链路配置

    interface Ten-GigabitEthernet1/0/51
     port link-mode route
     combo enable fiber
     ip address 1.1.1.1 255.255.255.252
     
     drni keepalive ip destination 1.1.1.2 source 1.1.1.1 
     drni mad exclude interface Ten-GigabitEthernet1/0/51  //配置Keepalive链路接口为保留接口
    
  3. Peer-link配置(IPL)

    # 配置聚合
    interface Bridge-Aggregation100
     link-aggregation mode dynamic
     port m-lag peer-link 1
    
    # 将接口加入聚合组
    interface Ten-GigabitEthernet1/0/50
     port link-mode bridge
     combo enable fiber
     port link-aggregation group 100
     
    # 配置聚合接口放通业务vlan
    interface Bridge-Aggregation100
     port link-type trunk
     undo port trunk permit vlan 1
     port trunk permit vlan 2 to 4094
     
    
  4. 业务接口配置

    interface Bridge-Aggregation1
     link-aggregation mode dynamic
     port drni group 1
     
    interface GigabitEthernet1/0/1
     port link-mode bridge
     combo enable fiber
     port link-aggregation group 1
    
    
  5. 查看DR系统配置状态

    [SW1]display drni keepalive
    Neighbor keepalive link status (cause): Up
    Neighbor is alive for: 419 s 435 ms
    Keepalive packet transmission status:
      Sent: Successful
      Received: Successful
    Last received keepalive packet information:
      Source IP address: 1.1.1.2
      Time: 2024/08/08 16:37:52
      Action: Accept
    
    M-LAG keepalive parameters:
    Destination IP address: 1.1.1.2
    Source IP address: 1.1.1.1
    Keepalive UDP port : 6400
    Keepalive VPN name : N/A
    Keepalive interval : 1000 ms
    Keepalive timeout  : 5 sec
    Keepalive hold time: 3 sec
    
    [SW1]display drni summary
    Flags: A -- Aggregate interface down, B -- No peer M-LAG interface configured
           C -- Configuration consistency check failed
    
    Peer-link interface: BAGG100
    Peer-link interface state (cause): UP
    Keepalive link state (cause): UP
    
    
    
    
    
posted @ 2024-11-01 15:01  墨耘  阅读(140)  评论(0)    收藏  举报