• 全部
  • 經驗案例
  • 典型配置
  • 技術公告
  • FAQ
  • 漏洞說明
  • 全部
  • 全部
  • 大數據引擎
  • 知了引擎
產品線
搜索
取消
案例類型
發布者
是否解決
是否官方
時間
搜索引擎
匹配模式
高級搜索

策略路由不生效流量統計未發出

2024-11-13提問
  • 0關注
  • 0收藏,820瀏覽
粉絲:1人 關注:1人

問題描述:

客戶反饋當前設備做了策略路由,然後抓包發現,流量是按照靜態路由走了。之前做的策略路由都是沒有問題的,但是這個新增的策略路由無法生效

查看acl資源是正常的

<DC-CORE>dis qos-acl resource

Interfaces: XGE1/0/1 to XGE1/0/48, HGE1/0/49

            HGE1/0/50, HGE1/0/51

            HGE1/0/52, HGE1/0/53

            HGE1/0/54 (slot 1)

---------------------------------------------------------------------

Type             Total      Reserved   Configured Remaining  Usage

---------------------------------------------------------------------

TTI ACL          512        0          0          512        0%

IPCL0 ACL        2048       21         408        1619       20%

IPCL1 ACL        256        0          0          256        0%

IPCL2 ACL        256        32         0          224        12%

IPCL0 Counter    4096       19         408        3669       10%

IPCL1 Counter    1024       0          0          1024       0%

IPCL2 Counter    1024       30         0          994        2%

EPCL ACL         256        0          0          256        0%

EPCL Counter     1024       0          0          1024       0%

IPCL Meter       3072       2          0          3070       0%

EPCL Meter       4608       0          0          4608       0%

 

Interfaces: XGE2/0/1 to XGE2/0/48, HGE2/0/49

            HGE2/0/50, HGE2/0/51

            HGE2/0/52, HGE2/0/53

            HGE2/0/54 (slot 2)

---------------------------------------------------------------------

Type             Total      Reserved   Configured Remaining  Usage

---------------------------------------------------------------------

TTI ACL          512        0          0          512        0%

IPCL0 ACL        2048       21         408        1619       20%

IPCL1 ACL        256        0          0          256        0%

IPCL2 ACL        256        32         0          224        12%

IPCL0 Counter    4096       19         408        3669       10%

IPCL1 Counter    1024       0          0          1024       0%

IPCL2 Counter    1024       30         0          994        2%

EPCL ACL         256        0          0          256        0%

EPCL Counter     1024       0          0          1024       0%

IPCL Meter       3072       2          0          3070       0%

EPCL Meter       4608       0          0          4608       0%

 

 

 

acl advanced 3011

rule 0 permit ip source 172.29.98.212 0 destination 222.9.9.193 0

rule 5 permit ip source 222.9.9.193 0 destination 172.29.98.212 0

 

acl advanced 3010

rule 0 permit ip source 172.29.98.212 0 destination 222.9.9.193 0

 

policy-based-route pbr98test permit node 10

if-match acl 3010

apply next-hop 172.29.99.2

 

interface Vlan-interface98

ip address 172.29.98.1 255.255.255.0

ip policy-based-route pbr98test

 

[DC-CORE]dis arp 172.29.99.2

  Type: S-Static   D-Dynamic   O-Openflow   R-Rule   M-Multiport  I-Invalid

IP address      MAC address    VLAN/VSI name Interface                Aging Type

172.29.99.2     a41a-3af4-201b 99            BAGG2                    796   D

 

[DC-CORE]dis arp 172.29.98.212

  Type: S-Static   D-Dynamic   O-Openflow   R-Rule   M-Multiport  I-Invalid

IP address      MAC address    VLAN/VSI name Interface                Aging Type

172.29.98.212   0050-5690-ef49 98            BAGG11                   1142  D

 

Aggregate Interface: Bridge-Aggregation2

Aggregation Mode: Static

Loadsharing Type: Shar

Management VLANs: None

  Port             Status  Priority Oper-Key

  XGE1/0/2(R)      S       32768    1

  XGE2/0/2         S       32768    1

Aggregate Interface: Bridge-Aggregation11

Aggregation Mode: Static

Loadsharing Type: Shar

Management VLANs: None

  Port             Status  Priority Oper-Key

  XGE1/0/11(R)     S       32768    11

  XGE2/0/11        S       32768    11

 

[DC-CORE]dis qos policy interface

Interface: Ten-GigabitEthernet1/0/2

  Direction: Outbound

  Policy: 1

   Classifier: 1

     Operator: AND

     Rule(s) :

      If-match acl 3011

     Behavior: 1

      Accounting enable:

        0 (Packets)

 

Interface: Ten-GigabitEthernet1/0/11

  Direction: Outbound

  Policy: 1

   Classifier: 1

     Operator: AND

     Rule(s) :

      If-match acl 3011

     Behavior: 1

      Accounting enable:

        3 (Packets)

 

Interface: Ten-GigabitEthernet2/0/2

  Direction: Outbound

  Policy: 1

   Classifier: 1

     Operator: AND

     Rule(s) :

      If-match acl 3011

     Behavior: 1

      Accounting enable:

        0 (Packets)

 

Interface: Ten-GigabitEthernet2/0/11

  Direction: Outbound

  Policy: 1

   Classifier: 1

     Operator: AND

     Rule(s) :

      If-match acl 3011

     Behavior: 1

      Accounting enable:

        0 (Packets)

2 個回答
粉絲:2人 關注:1人

看配置很多PBR都指定的下一跳是172.29.99.2,這些PBR都是能正常匹配的是嗎

 看著不像資源不夠

#

policy-based-route lab permit node 10

if-match acl 3900

apply next-hop 172.29.99.2

#

policy-based-route lab-97 deny node 5

if-match acl name dc-localnet

#

policy-based-route lab-97 permit node 10

if-match acl name lab-97

apply next-hop 172.29.99.2

#

暫無評論

粉絲:17人 關注:0人

policy-based-route  pbr98test   permit node 200

在加一條空策略

暫無評論

編輯答案

你正在編輯答案

如果你要對問題或其他回答進行點評或詢問,請使用評論功能。

分享擴散:

提出建議

    +

親~登錄後才可以操作哦!

確定

親~檢測到您登陸的賬號未在http://hclhub.h3c.com進行注冊

注冊後可訪問此模塊

跳轉hclhub

你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作

舉報

×

侵犯我的權益 >
對根叔社區有害的內容 >
辱罵、歧視、挑釁等(不友善)

侵犯我的權益

×

泄露了我的隱私 >
侵犯了我企業的權益 >
抄襲了我的內容 >
誹謗我 >
辱罵、歧視、挑釁等(不友善)
騷擾我

泄露了我的隱私

×

您好,當您發現根叔知了上有泄漏您隱私的內容時,您可以向根叔知了進行舉報。 請您把以下內容通過郵件發送到pub.zhiliao@h3c.com 郵箱,我們會盡快處理。
  • 1. 您認為哪些內容泄露了您的隱私?(請在郵件中列出您舉報的內容、鏈接地址,並給出簡短的說明)
  • 2. 您是誰?(身份證明材料,可以是身份證或護照等證件)

侵犯了我企業的權益

×

您好,當您發現根叔知了上有關於您企業的造謠與誹謗、商業侵權等內容時,您可以向根叔知了進行舉報。 請您把以下內容通過郵件發送到 pub.zhiliao@h3c.com 郵箱,我們會在審核後盡快給您答複。
  • 1. 您舉報的內容是什麼?(請在郵件中列出您舉報的內容和鏈接地址)
  • 2. 您是誰?(身份證明材料,可以是身份證或護照等證件)
  • 3. 是哪家企業?(營業執照,單位登記證明等證件)
  • 4. 您與該企業的關係是?(您是企業法人或被授權人,需提供企業委托授權書)
我們認為知名企業應該坦然接受公眾討論,對於答案中不準確的部分,我們歡迎您以正式或非正式身份在根叔知了上進行澄清。

抄襲了我的內容

×

原文鏈接或出處

誹謗我

×

您好,當您發現根叔知了上有誹謗您的內容時,您可以向根叔知了進行舉報。 請您把以下內容通過郵件發送到pub.zhiliao@h3c.com 郵箱,我們會盡快處理。
  • 1. 您舉報的內容以及侵犯了您什麼權益?(請在郵件中列出您舉報的內容、鏈接地址,並給出簡短的說明)
  • 2. 您是誰?(身份證明材料,可以是身份證或護照等證件)
我們認為知名企業應該坦然接受公眾討論,對於答案中不準確的部分,我們歡迎您以正式或非正式身份在根叔知了上進行澄清。

對根叔社區有害的內容

×

垃圾廣告信息
色情、暴力、血腥等違反法律法規的內容
政治敏感
不規範轉載 >
辱罵、歧視、挑釁等(不友善)
騷擾我
誘導投票

不規範轉載

×

舉報說明