OminiSwitch configuration

OminiSwitch

session time

set the session timeout to a big number, otherwise it expires from time to time.
session timeout cli 596523
write terminal : show all configuration
show xxx : show specific configuration.

port configuration.

interfaces 1/1 speed 1000
interfaces 1/1 admin up
show interfaces 1/1

no interfaces 1/1 speed 1000

vlan configuration

vlan 101 name "llp dhcp vlan"
vlan 101 port default 1/2 :untag port
vlan 101 802.1q 1/3 : tag port
no vlan 101 : remove vlan.

ip interface configuration

create a L3 interface on a vlan 15.
ip interface "llp_vcm" address 20.0.0.2 vlan 15
no ip interface "llp_vcm"

dual-tag vlan

ethernet-service svlan 121
ethernet-service service-name "llp vcm oam" svlan 121
ethernet-service svlan 121 nni 1/1 : nni port is dual tag port.

dual-tag vlan sap w/ cvlan

ethernet-service sap 11 service-name "llp vcm oam"
ethernet-service sap 11 cvlan 15
ethernet-service sap 11 uni 1/3

dual-tag vlan sap w any cvlan or untag.

ethernet-service sap 12 service-name "llp vcm oam"
ethernet-service sap 12 uni 1/5
ethernet-service sap 12 cvlan all

for DHCP-relay UDP Relay :

ip helper per-vlan only
ip helper address 10.0.0.1 vlan 15 (this is the vlan, dhcp request comes from)
ip helper forward delay 0
ip helper maximum hops 5
ip helper agent-information policy keep

routing configuration

ip static-route 10.0.0.0/8 gateway 10.0.0.1 metric 1
ip static-route 20.0.0.0/8 gateway 20.0.0.1 metric 1

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 7,965评论 0 0
  • 简介 用简单的话来定义tcpdump,就是:dump the traffic on a network,根据使用者...
    保川阅读 11,184评论 1 13
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,179评论 19 139
  • 装载自http://sdnhub.cn/index.php/openv-switch-full-guide/ 1 ...
    ximitc阅读 11,331评论 0 11
  • 天气:多云转阴 地点:新巢 “不要以为我们一天在外面呆到很晚是玩,好耍,长大得了。”嗯,弟弟半玩笑半认真的说完破门...
    一颗李阅读 1,180评论 0 0

友情链接更多精彩内容