aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/memif_create_cross_horiz.vat
blob: 40ff2c30fc6353f33c21645f7a23e3f99937590c (plain)
1
2
3
4
5
6
7
8
create memif socket id {sid1} filename {socket1}
create interface memif id {mid1} socket-id {sid1} master

set int state memif{sid1}/{mid1} up
set int state {if_name} up

set interface l2 xconnect {if_name} memif{sid1}/{mid1}
set interface l2 xconnect memif{sid1}/{mid1} {if_name}