华为设备bgp flowspec部署和确认

通过BGP的方式传递访问控制和限速信息,功能强大。可以用于防DDOS部署、网络特定报文计数等等。

配置方式如下:

宣告方r2

sys

flow-route test

if-match destination 192.168.0.1

apply traffic-rate 20000 /*限速


接收flowspec路由侧r1

在全局下使能 flowspec 统计功能

flowspec statistic enable

观察学习到的bgp流路由

dis bgp flow routing-table


BGP Local router ID is 3.3.3.3

Status codes: * - valid, > - best, d - damped, x - best external, a - add path,

h - history, i - internal, s - suppressed, S - Stale

Origin : i - IGP, e - EGP, ? - incomplete

RPKI validation codes: V - valid, I - invalid, N - not-found

Total Number of Routes: 1

* > ReIndex : 376833

Dissemination Rules:

Destination IP : 192.168.0.1/32

MED : 0 PrefVal : 0

LocalPref: 100

Path/Ogn : i

观察此路由流量情况

dis flowspec statistics 376833

ReIndex: 376833

Rule number: 1

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

Item Packets Bytes

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

Matched 80306 8308179

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

Last 30 seconds rate

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

Item pps bps

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

Matched 899 572864

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

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

Item Packets Bytes

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

Passed 0 0

Dropped 0 0

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

Last 30 seconds rate

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

Item pps bps

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

Passed 0 0

Dropped 0 0

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

展开阅读全文

页面更新:2024-02-16

标签:华为   报文   路由   全局   功能强大   流量   情况   方式   功能   设备   信息   网络

1 2 3 4 5

上滑加载更多 ↓
推荐阅读:
友情链接:
更多:

本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828  

© CopyRight 2020-2024 All Rights Reserved. Powered By 71396.com 闽ICP备11008920号-4
闽公网安备35020302034903号

Top