26
2024
06
16:53:59

NetEngine AR5700, AR6700, AR8000 V600R022C00 配置指南-QoS配置



推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

https://support.huawei.com/enterprise/zh/doc/EDOC1100262544/1ae22159

举例:配置智能策略路由

组网需求

图13-4所示,CPE1和CPE2之间已部署SD-WAN EVPN传输网络MPLS和Internet,MPLS专线作为主用链路,Internet链路作为备用链路。CPE之间的业务要求链路时延不超过100ms,抖动时间不超过50ms,丢包率不超过5‰,且综合度量指标不超过200。CPE1和Site连接的物理接口Interface1上使能应用识别功能,并绑定站点中的VPN实例。

图13-4 配置智能策略路由组网图

本例中interface1代表10GE0/0/1


配置思路

  1. 配置区分业务流的应用组。

  2. 新建业务模板并绑定应用组。

  3. 新建策略模板并绑定业务模板。

  4. 配置链路切换指标。

  5. 配置策略关联链路。

  6. 配置策略应用到站点中的VPN实例。

操作步骤

  1. 配置区分业务流的应用组。


    <HUAWEI> system-view[HUAWEI] sysname CPE1[CPE1] interface 10ge 0/0/1[CPE1-10GE0/0/1] ip binding vpn-instance vpn1[CPE1-10GE0/0/1] ip address 10.1.1.1 24[CPE1-10GE0/0/1] quit[CPE1] interface 10ge 0/0/1[CPE1--10GE0/0/1] sa enable[CPE1--10GE0/0/1] quit[CPE1] application-group name chat[CPE1-application-group-chat] add application welink[CPE1-application-group-chat] quit


  2. 新建业务模板并绑定应用组。


    [CPE1] smart-policy-route[CPE1-smart-policy-route] service-map map1[CPE1-smart-policy-route-service-map-smap] match application-group chat[CPE1-smart-policy-route-service-map-smap] quit


  3. 配置策略模板。


    [CPE1-smart-policy-route] spr-policy node 1[CPE1-smart-policy-route-spr-policy-node-1] binding service-map map1


  4. 配置链路切换指标。


    [CPE1-smart-policy-route-spr-policy-node-1] delay threshold 100[CPE1-smart-policy-route-spr-policy-node-1] jitter threshold 50[CPE1-smart-policy-route-spr-policy-node-1] loss threshold 5[CPE1-smart-policy-route-spr-policy-node-1] cmi threshold 200


  5. 配置策略关联链路。


    [CPE1-smart-policy-route-spr-policy-node-1] link transport-network mpls[CPE1-smart-policy-route-spr-policy-node-1-link-tn-mpls] link-role master[CPE1-smart-policy-route-spr-policy-node-1-link-tn-mpls] link-priority 1[CPE1-smart-policy-route-spr-policy-node-1-link-tn-mpls] quit[CPE1-smart-policy-route-spr-policy-node-1] link transport-network internet[CPE1-smart-policy-route-spr-policy-node-1-link-tn-internet] link-role backup[CPE1-smart-policy-route-spr-policy-node-1-link-tn-internet] link-priority 1[CPE1-smart-policy-route-spr-policy-node-1-link-tn-internet] quit


  6. 策略模板与站点中的VPN实例绑定。


    [CPE1-smart-policy-route-spr-policy-node-1] apply-to vpn-instance vpn1


检查配置结果

  1. 在CPE1上执行命令display smart-policy-route spr-policy all查看策略模板配置信息。

    <CPE1> display smart-policy-route spr-policy all--------------------------------------------------------------------------------
    SPR-policy Info:
      PolicyNode       :  1         
      PolicyPriority   :  1         
      SwitchBack       :  enable    
      DefaultAction    :  forward   
      TimeRange        :  -         
      TimeRangeStatus  :  -         
    Threshold Info:
      Loss             :  5         
      Delay            :  100       
      Jitter           :  50        
      CMI              :  200       
    Service Map Info:
      ServiceMapID     :  1         
      ServiceMapName   :  map1      
      Match content:      
      MatchType : OnlyAppGroup       AppGroup  : chat                
    Link Info:
      Master TransportNetwork(1) :
        TNId    TNName          Priority        SRv6Path
        1       MPLS            1
      Backup TransportNetwork(1) :
        TNId    TNName          Priority        SRv6Path
        2       Internet        1
    --------------------------------------------------------------------------------
    Number of SPR-policy: 1
    --------------------------------------------------------------------------------
  2. 在CPE1上执行命令display smart-policy-route spr-instance all查看生成的智能策略路由实例以及最终选路结果。

    <CPE1> display smart-policy-route spr-instance all     --------------------------------------------------------------------------------
    SPR-policy Info:
      PolicyNode         :  1
      PolicyPriority     :  1
      SwitchBack         :  enable
      DefaultAction      :  forward
      RoutingMode        :  path-prefer
      TimeRange          :  -
      TimeRangeStatus    :  -
    Site Info:
      SiteID             :  29
    VPN Info:(VPN-List lists only the first eight VPN instances.)
      VPN-Number         :  1
      VPN-List           :  vpn1
    Threshold Info:
      Loss               :  5
      Delay              :  100
      Jitter             :  50
      CMI                :  200
    Service Map Info:
      ServiceMapID       :  1
      ServiceMapName     :  map1
      Match content:
        MatchType : OnlyAppGroup       AppGroup : chat
    LinkPath Info:
      MasterLink(1):
        ConnectionID     :  2               TnId           :  100
        Auxiliary        :  False           Priority       :  1
        PathPriority     :  0               Interface      :  10GE0/0/2
      BackupLink(1):           
        ConnectionID     :  1               TnId           :  200
        Auxiliary        :  False           Priority       :  1
        PathPriority     :  0               Interface      :  10GE0/0/3
    Chosen Path Info:
      BestLinkPath : ConnectionID 2
    --------------------------------------------------------------------------------
    Number of spr-instance: 1
    --------------------------------------------------------------------------------

配置脚本

CPE1配置脚本

# 
 sysname CPE1 
#
interface 10GE0/0/1
 ip binding vpn-instance vpn1
 ip address 10.1.1.1 24
 sa enable
#
application-group name chat 
 add application welink 
# 
smart-policy-route 
 service-map map1 
  match application-group chat 
 spr-policy node 1 
  priority 1 
  binding service-map map1 
  loss threshold 5 
  jitter threshold 50 
  delay threshold 100 
  cmi threshold 200 
  link transport-network internet id 1
   link-role backup 
   link-priority 1 
  link transport-network mpls id 1
   link-role master 
   link-priority 1 
  apply-to vpn-instance vpn1 
#


本文链接:https://hqyman.cn/post/6808.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您的IP地址是: