首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Arista添加了多个路线图匹配接口?

Arista添加了多个路线图匹配接口?
EN

Network Engineering用户
提问于 2020-12-15 15:48:10
回答 1查看 351关注 0票数 3

在西斯科,我可以做下面的事

代码语言:javascript
复制
route-map abc permit 10 
 match interface Vlan1 Vlan2 Vlan3
 set metric-type type-1

但似乎在Arista上我只能添加一个匹配接口,如何添加多个接口匹配?

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2020-12-15 19:37:18

创建多个条目,并检查每个条目,直到找到匹配项为止,类似于ACL的工作方式:

代码语言:javascript
复制
route-map abc permit 10 
 match interface Vlan1
 set metric-type type-1
!
route-map abc permit 20 
 match interface Vlan2
 set metric-type type-1
!
route-map abc permit 30 
 match interface Vlan3
 set metric-type type-1
!
票数 5
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/71558

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档