DevTech101

DevTech101

How to install and configure an EVS switch

pkg install evs rad-evs-controller

Configure the EVS switch

evsadm set-prop -p controller=ssh://evsuser@app1.domain.com
evsadm set-controlprop -p l2-type=vlan (default)
evsadm set-controlprop -p vlan-range=1-4096
evsadm set-controlprop -h app1 -p uplink-port=aggr1
evsadm set-controlprop -h app2 -p uplink-port=aggr1
evsadm set-controlprop -h app3 -p uplink-port=aggr1

evsadm show-controlprop -p l2-type,vlan-range,uplink-port

Set network tag

evsadm create-evs -T app -p vlanid=20 wapp
evsadm add-ipnet -T app -p subnet=10.10.10.0/23 app/app
evsadm show-ipnet

Set network IP

evsadm add-vport -T app -p ipaddr=10.10.10.51 app/vport1
evsadm show-ipnet
evsadm show-vport

Check EVS status

evsadm
evsadm show-evs -L

How to use for zones

make sure to add in zonecfg

set tenet=app
add anet
set evs=app
set vport=a1

Set Zone EVS port

evsadm add-vport -T app -p ipaddr=10.10.10.51 app/a1

Note: This extra step is not needed

dladm create-vnic -t -T app -c app/vport1 a1

To see all evs + vports

evsadm show-evs -o all

To add all zones to the EVS switch

for i in {1..8};do echo evsadm add-vport -T app -p ipaddr=10.10.10.7${i} app/a2${i};done
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: