首页 > 其他分享 >Set Next-Hop IP Address

Set Next-Hop IP Address

时间:2023-02-19 22:57:45浏览次数:38  
标签:ip Set recursive IP Address next hop address

The infrastructure provided by CEF or process switching performs the recursion to the next-hop IP address. The configuration sequence, which affects routing, is as follows:

1. Next-hop

2. Next-hop recursive

3. Interface

4. Default next-hop

5. Default interface

If both a next-hop and a recursive next-hop IP address are present in the same route-map entry, the next-hop is used. If the next-hop is not available, the recursive next-hop is used. If the recursive next-hop is not available and no other IP address is present, the packet is routed using the default routing table; it is not dropped. If the packet is supposed to be dropped, use the set ip next-hop command with the recursive keyword followed by a set interface null0 configuration.

Perform this task to set the IP address for the recursive next-hop router.

Prerequisites

If loadsharing is required, CEF loadsharing should be configured for per-packet or per-destination loadsharing. Loadbalancing should be done over all equal-cost routes to the subnet that have been configured by the set ip next-hop recursive command.

This functionality should be available in centralized and distributed systems.

Restrictions

Only one recursive next-hop IP address is supported per route-map entry.

SUMMARY STEPS

1. enable

2. configure terminal

3. access-list access-list-number {deny | permit} source [source-wildcard] [log]

4. route-map map-tag

5. set ip next-hop ip-address

6. set ip next-hop {ip-address [...ip-address] | recursive ip-address}

7. match ip address access-list-number

8. end

https://www.cisco.com/en/US/docs/ios/iproute_pi/configuration/guide/iri_prb_rec_next_hop_external_docbase_0900e4b1810fe58b_4container_external_docbase_0900e4b181525fed.html

标签:ip,Set,recursive,IP,Address,next,hop,address
From: https://www.cnblogs.com/MomentsLee/p/17135852.html

相关文章

  • DVWA靶场实战(十四)——JavaScript
    DVWA靶场实战(十四)五、JavaScript:1.漏洞原理:这里的JavaScript其实是JavaScriptAttack也就是JS攻击。JavaScript是一种基于对象和事件驱动的、并具有安全性能的脚本......
  • JavaScript知识汇总
    1JavaScript功能直接写入HTML输出流(在HTML输出中使用document.write,如在文档加载后使用该方法会覆盖整个文档)对事件进行响应(如鼠标事件、键盘事件等)改变HTML内......
  • The Number of Good Subsets
    TheNumberofGoodSubsetsYouaregivenanintegerarray nums .Wecallasubsetof nums good ifitsproductcanberepresentedasaproductofoneormo......
  • 【JavaScript】17_debug,立即执行函数 与 严格模式
    14、debug<script>//debugger//在代码中打了一个断点console.log(a)//2vara=1console.log(a)//1fu......
  • 【JavaScript】18_面向对象,类与属性
    1、面向对象面向对象编程(OOP)程序是干嘛的?程序就是对现实世界的抽象(照片就是对人的抽象)对象是干嘛的?一个事物抽象到程序中后就变成了对象在程序的世界中,一切皆对象面向对象......
  • Count the Number of Square-Free Subsets
    CounttheNumberofSquare-FreeSubsetsYouaregivenapositiveinteger0-indexed array nums .Asubsetofthearray nums issquare-free iftheproduct......
  • Leetcode题1两数之和 JavaScript语言
    1.两数之和方案一,暴力双循环读完题目,马上能想到的方案就是双循环,挨个排查,写出来也很快:vartwoSum=function(nums,target){constlen=nums.length;for......
  • JavaScript中深拷贝和浅拷贝有什么区别?如何实现深拷贝?
    前言大家好,我是CoderBin,本次讲讲深拷贝和浅拷贝有什么区别?以及如何实现深拷贝?。希望对大家有所帮助,谢谢!如果文中有不对、疑惑的地方,欢迎在评论区留言指正......
  • 苹果手机怎么备份到电脑上 苹果iPhone手机备份的数据怎么恢复
    随着苹果秋季发布会的召开,新的苹果手机和iOS16系统也一同问世。很多小伙伴已经迫不及待的想要升级iOS16系统来尝尝鲜,但是新的系统还是有着许多不稳定因素。因此在升级iOS......
  • #10108. 「一本通 3.7 练习 2」Ant Trip
     无向图一笔画需要多少次(欧拉路径的条数)  答案:奇数点的个数/2 这题需要维护联通块,用并查集即可 #include<iostream>#include<algorithm>#include<cstri......