当前位置:网站首页>2022-06-30 advanced network engineering (XIV) routing strategy - matching tools [ACL, IP prefix list], policy tools [filter policy]
2022-06-30 advanced network engineering (XIV) routing strategy - matching tools [ACL, IP prefix list], policy tools [filter policy]
2022-07-03 19:24:00 【A goose】
Matching tool
ACL( Access control list )
See
Relevant orders supplement
Use time-range Tool set time range
[R1]time-range qyt 8:30 to 17:30 working-day ACL--- Examples of matching time ranges
[R1-acl-basic-2000]rule 5 permit time-range qyt source 1.1.1.1 0 IP-Prefix List(IP The prefix list )
IP The prefix list (IP-Prefix List) Is the network address of the routing entry 、 Mask length as a filter for matching , It can be used when routing protocols publish and receive routes .
differ ACL,IP-Prefix List Can match at the same time IP Address prefix length and mask length , Enhanced the accuracy of matching .

1、ip-prefix-name: Address prefix list name
2、 Serial number : The sequence number of this match in the address prefix list , Match according to the sequence number from small to large
3、 action :permit/deny, The matching mode of the address prefix list is allow / Refuse , Represents a match / Mismatch
4、IP Network segment and mask : The network address matching the route , And limit the number of the first digits of the network address to be strictly matched
5、 Mask range : Match the route prefix length , Matching range of mask length mask-length<=greater-equal-value<=less-equal-value<=32.greater-equal Represents greater than or equal to ,less-equal-value Represents less than or equal to , The minimum value is the mask value set previously , The maximum value is 32. Indicates that the capture set mask value is up to 32 Mask range between .
Strategy tools
Filter-Policy( Filter - Strategy )
Filter-Policy( Filter - Strategy ) It is a very common routing information filtering tool , Be able to receive 、 Release 、 The introduced route is filtered , It can be applied to IS-IS、OSPF、BGP Such agreement .
See
2022-05-25 Advanced network engineering ( 7、 ... and )OSPF- Factors that affect the establishment of neighborhood relations 、 Route revocation 、 Route summary 、 Route filtering 、Silent-Interface、 Message authentication _ Goose blog -CSDN Blog _ospf Message authentication Route aggregation route aggregation is also called route aggregation , That is to aggregate a group of routes with the same prefix into one route , So as to reduce the size of routing table and optimize the utilization of equipment resources , We call this group of routes before convergence as fine routing or detailed routing , The route after aggregation is called aggregation route or aggregation route .OSPF The type of route summary is ABR Execute route summary : Perform route summary for routes between regions . stay ASBR Execute route summary : Perform route summary on the incoming external routes . stay NSSA Area ,ABR It's also execution ASBR A summary of the . It's right 7 After class aggregation, it is converted to 5 class . The relevant orders are in ABR Execute route summary [R1-ospf-1-https://blog.csdn.net/x629242/article/details/124624154#t62022-06-28 Advanced network engineering ( 13、 ... and )IS-IS- Route filtering 、 Route summary 、 authentication 、 influence ISIS The factors of establishing neighborhood relationship 、 Other commands and features _ Goose blog -CSDN Blog IS-IS The protocol and OSPF You can also filter routes , Filter in and out directions respectively . In direction out direction IS-IS The protocol and OSPF Route summary can also be carried out . The level added after the summary indicates the area to be published IS-IS Authentication is an authentication method based on the requirements of network security , By means of IS-IS The authentication field is added in the message to authenticate the message . When the local router receives the message sent by the remote router IS-IS message , If the authentication passwords do not match , Then discard the received message , To achieve the goal of self-protection . Interface authentication : Configure... In the interface view , Yes Level-1 and Level-2 Of Hello Message authentication . District
https://blog.csdn.net/x629242/article/details/125502592#t0 In addition to the above blog posts, you can call the matching tool ACL, You can also call the matching tool IP-Prefix List
for example
[R1]ip ip-prefix qyt index 5 permit 1.1.1.1 24 greater-equal 26 less-equal 30
[R1-ospf-1]filter-policy ip-prefix qyt export Route-Policy( route - Strategy )
Route-Policy It's a strategic tool , be used for Filter routing information , And for the filtered routing information Set routing properties .
One Route-Policy from One or more nodes (Node) constitute , Each node can be a series Conditional statements ( Matching condition ) as well as Execute statement ( Executive action ) Set , These sets are numbered from small to large .
Each node can contain multiple conditional statements . Between multiple conditional statements within a node The relationship is “ And ”, That is, only when all conditional statements are matched can the actions in this node be executed .
The relationship between nodes by “ or ”,route-policy Execute from small to large according to the node number and size , A node in the match will not continue to match downward .
Route-Policy The composition of
One Route-Policy Composed of one or more nodes .
for example
[R1]route-policy qyt permit node 5permit or deny: Appoint Route-Policy The matching mode of nodes is allow or deny .
node: Appoint Route-Policy Node number of . Integer form , The value range is 0~65535.
Each node includes multiple if-match and apply Clause .
for example
[R1-route-policy]if-match ip-prefix qyt
[R1-route-policy]apply cost 10if-match Clause : Define the matching criteria for this node .
apply Clause : Define the operation to be performed on the matched route .
notes :Route-Policy Can be Filter-Policy call
边栏推荐
- During MySQL installation, the download interface is empty, and the components to be downloaded are not displayed. MySQL installer 8.0.28.0 download interface is empty solution
- Web Security (VII) specific process of authentication with session cookie scheme
- Simple solution of physical backup and restore of Damon database
- 【LeetCode】【SQL】刷题笔记
- 2020 intermediate financial management (escort class)
- 第一章: 舍罕王失算
- 第一章: 舍罕王失算
- Webrtc[41] - Analysis of the establishment process of webrtc transmission channel
- Chapter 20: y= sin (x) /x, rambling coordinate system calculation, y= sin (x) /x with profile graphics, Olympic rings, ball rolling and bouncing, water display, rectangular optimization cutting, R que
- ActiveMQ的基础
猜你喜欢
![[leetcode] [SQL] notes](/img/8d/160a03b9176b8ccd8d52f59d4bb47f.png)
[leetcode] [SQL] notes

【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
![[free sharing] kotalog diary2022 plan electronic manual ledger](/img/ca/1ffbfcc16e3019261f70274a89c16f.jpg)
[free sharing] kotalog diary2022 plan electronic manual ledger

Ego planner code parsing Bspline_ Optimizer section (2)

PR 2021 quick start tutorial, how to create new projects and basic settings of preferences?

【水质预测】基于matlab模糊神经网络水质预测【含Matlab源码 1923期】

Chapter 2: 4-digit Kaplan number, search even digit Kaplan number, search n-digit 2-segment sum square number, m-digit ingenious square number without 0, specify the number to form a 7-digit square nu

What is the content of game modeling

2022.2.14 Li Kou - daily question - single element in an ordered array

This Chinese numpy quick look-up table is too easy!
随机推荐
PR FAQ: how to set PR vertical screen sequence?
Redis master-slave synchronization, clustering, persistence
第二章:求a,b的最大公约与最小公倍数经典求解,求a,b的最大公约与最小公倍数常规求解,求n个正整数的的最大公约与最小公倍数
Foundation of ActiveMQ
[water quality prediction] water quality prediction based on MATLAB Fuzzy Neural Network [including Matlab source code 1923]
Latex image rotates with title
【LeetCode】【SQL】刷题笔记
Nous avons fait une plateforme intelligente de règlement de détail
Analysis of dart JSON encoder and decoder
PyTorch中在反向传播前为什么要手动将梯度清零?
Webrtc[41] - Analysis of the establishment process of webrtc transmission channel
math_ Taylor formula
This Chinese numpy quick look-up table is too easy!
第二章:基于分解的求水仙花数,基于组合的求水仙花数, 兰德尔数,求[x,y]内的守形数,探求n位守形数,递推探索n位逐位整除数
Chapter 2: find the box array, complete number in the specified interval, and improve the complete number in the specified interval
Zhang Fei hardware 90 day learning notes - personal records on day 2, please see my personal profile / homepage for the complete
UE source code analysis: uccharactermovementcomponent - rootmotion
Verilog HDL continuous assignment statement, process assignment statement, process continuous assignment statement
Day10 ---- 强制登录, token刷新与jwt禁用
[leetcode] [SQL] notes