华为路由器配置策略路由
2021/8/10 23:05:36
本文主要是介绍华为路由器配置策略路由,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
1.创建规则
[Switch] acl 3001 [Switch-acl-adv-3001] rule permit ip source 192.168.10.0 0.0.0.255 [Switch-acl-adv-3001] quit [Switch] acl 3002 [Switch-acl-adv-3002] rule permit ip source 192.168.20.0 0.0.0.255 [Switch-acl-adv-3002] quit
2.配置流分类
[Switch] traffic classifier c1 [Switch-classifier-c1] if-match acl 3001 [Switch-classifier-c1] quit [Switch] traffic classifier c2 [Switch-classifier-c2] if-match acl 3002 [Switch-classifier-c2] quit
3.配置流行为
[Switch] traffic behavior b1 [Switch-behavior-b1] redirect ip-nexthop 10.1.10.1 [Switch-behavior-b1] quit [Switch] traffic behavior b2 [Switch-behavior-b2] redirect ip-nexthop 10.1.20.1 [Switch-behavior-b2] quit
4.配置流策略
[Switch] traffic policy p1 [Switch-trafficpolicy-p1] classifier c1 behavior b1 [Switch-trafficpolicy-p1] classifier c2 behavior b2 [Switch-trafficpolicy-p1] quit
5.在入端口应用
[Switch] interface gigabitethernet 6/1/10 [Switch-GigabitEthernet6/1/10] traffic-policy p1 inbound [Switch-GigabitEthernet6/1/10] return
这篇关于华为路由器配置策略路由的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-22项目:远程温湿度检测系统
- 2024-12-21《鸿蒙HarmonyOS应用开发从入门到精通(第2版)》简介
- 2024-12-21后台管理系统开发教程:新手入门全指南
- 2024-12-21后台开发教程:新手入门及实战指南
- 2024-12-21后台综合解决方案教程:新手入门指南
- 2024-12-21接口模块封装教程:新手必备指南
- 2024-12-21请求动作封装教程:新手必看指南
- 2024-12-21RBAC的权限教程:从入门到实践
- 2024-12-21登录鉴权实战:新手入门教程
- 2024-12-21动态权限实战入门指南