首页 > 其他分享 >浮动路由及负载均衡

浮动路由及负载均衡

时间:2024-01-25 15:33:06浏览次数:29  
标签:浮动 负载 00 default domain agent scheme local 路由

拓扑:

配置:

查看代码

[R1]dis current-configuration 
[V200R003C00]
#
 sysname R1
#
 board add 0/1 2SA 
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface Serial1/0/0
 link-protocol ppp
 ip address 10.0.12.1 255.255.255.0 
#
interface Serial1/0/1
 link-protocol ppp
 ip address 10.0.13.1 255.255.255.0 
#
interface GigabitEthernet0/0/0
 ip address 192.168.10.254 255.255.255.0 
#
interface GigabitEthernet0/0/1
 shutdown
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 192.168.20.0 255.255.255.0 10.0.13.3
ip route-static 192.168.20.0 255.255.255.0 10.0.12.2 preference 100
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
查看代码
 [R2]dis current-configuration 
[V200R003C00]
#
 sysname R2
#
 board add 0/1 2SA 
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface Serial1/0/0
 link-protocol ppp
 ip address 10.0.12.2 255.255.255.0 
#
interface Serial1/0/1
 link-protocol ppp
 ip address 10.0.23.2 255.255.255.0 
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 192.168.10.0 255.255.255.0 10.0.12.1
ip route-static 192.168.20.0 255.255.255.0 10.0.23.3
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
查看代码
 [R3]dis current-configuration 
[V200R003C00]
#
 sysname R3
#
 board add 0/1 2SA 
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
aaa 
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default 
 domain default_admin 
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
firewall zone Local
 priority 15
#
interface Serial1/0/0
 link-protocol ppp
 ip address 10.0.23.3 255.255.255.0 
#
interface Serial1/0/1
 link-protocol ppp
 ip address 10.0.13.3 255.255.255.0 
#
interface GigabitEthernet0/0/0
 ip address 192.168.20.254 255.255.255.0 
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 192.168.10.0 255.255.255.0 10.0.13.1
ip route-static 192.168.10.0 255.255.255.0 10.0.23.2 preference 100
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return

标签:浮动,负载,00,default,domain,agent,scheme,local,路由
From: https://www.cnblogs.com/gaoshuai010107/p/17987267

相关文章

  • svelte路由01
    1、about.svelte页面a、使用 use:link 方式<script>import{link}from'svelte-spa-router';</script><div>这里是about关于我们</div><div><ahref="/home"use:link>进入首页</a></div>......
  • Uni-app页面路由的五种写法
    uni.navigateTo(OBJECT)uni.redirectTo(OBJECT)uni.reLaunch(OBJECT)uni.switchTab(OBJECT)uni.navigateBack(OBJECT) 概要代码展示在最后,可以在应用中感受这几种不同方法的不同页面路由的方式有很多,在项目中遇到不同的跳转需求,就需要使用不同的跳转方法,下面介绍一下不......
  • nginx 配置文件(路由转发)
    #usernobody;worker_processes1;#error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;#pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;defau......
  • 路由
    路由api.router.pas///<author>2024-1-25</author>unitapi.router;interfaceusesglobal,net.CrossHttpServer,yn.log,Classes,StrUtils,SysUtils;typeTMyProc=procedure(req:TRequest;res:TResponse)ofobject;procedurerouter(con......
  • 静态路由基本配置
    拓扑:配置:查看代码[R1]discurrent-configuration[V200R003C00]#sysnameR1#boardadd0/12SA#snmp-agentlocal-engineid800007DB03000000000000snmp-agent#clocktimezoneChina-Standard-Timeminus08:00:00#portallocal-serverloadportalpage.......
  • gin框架路由讲解
     点击关注......
  • angular 16 路由守卫更新
    在angular16中守卫使用方式进行了更新,route守卫被弃用(取消了CanActivate的使用),新增了功能性守卫(CanActivateFn),支持inject注入,官网提供了一个新的类型exportdeclaretypeCanDeactivateFn<T>=(component:T,currentRoute:ActivatedRouteSnapshot,currentState:Route......
  • thinkphp 资源路由
    资源路由usethink\facade\Route;//资源路由thinkphp提供了一个命令方便开发者快速生成一个资源控制器//执行phpthinkmake:controllerBlogBlog是控制器类文件名字//标识index类型get路由blog//标识create类型get路由blog/create//标识save类型......
  • thinkphp 路由分组 url生成
    路由分组route/app.php//路由分组相同规则的路由方一起分组//Route::group('blog',function(){//Route::rule(':id','blog/index');//Route::rule('index','blog/login');//});//或者//Route::group(function(){/......
  • 重写SpringCloudGateway路由查找算法,性能提升100倍!
    如果你也在做SpringCloudGateway网关开发,希望这篇文章能给你带来一些启发背景先说背景,某油项目,通过SpringCloudGateway配置了1.6万个路由规则,实际接口调用过程中,会偶现部分接口从发起请求到业务应用处理间隔了大概5秒的时间,经排查后发现是SpringCloudGateway底层在查找对应的R......