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

你可能感兴趣的:(OminiSwitch configuration)