aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vrrp/setup.pg
blob: 6328448d79e176225f817a75f9fd991c4aa875fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
comment { simple debug CLI setup script w/ packet generator test vector }
set term page off
loop create
set int ip address loop0 192.168.1.1/24
set int state loop0 up

comment { Packet generator script. Src MAC 00:de:ad:be:ef:01 }
comment { Dst mac 01:ba:db:ab:be:01 ethtype 0800 }
packet-generator new {						\
    name simple							\
    limit 1							\
    size 128-128						\
    interface loop0						\
    node vrrp							\
    data {							\
        hex 0x00deadbeef0001badbabbe010800 			\
        incrementing 30						\
    }								\
}