I have corrected my commands (ethernet-input -> l2-learn)
classify table l2-input-miss-next input-node error-drop mask l2 src
vpp# classify session l2-input-hit-next input-node l2-learn table-index 1
match l2 src 90:e2:ba:d6:24:5d

That's my fault.

2017-05-18 16:16 GMT+05:00 Vitaly I <zsj...@gmail.com>:

> Hi,
>
> I try to create test input and output l2 classify with one interface (show
> ver
> vpp v17.04-release)
> vpp# set int state TenGigabitEthernet6/0/0 up
> vpp# loopback create-interface mac 11:22:33:11:22:33
> loop0
> vpp# set int state loop0 up
> vpp# set int ip address loop0 2.2.2.2/30
> vpp# set int l2 bridge TenGigabitEthernet6/0/0 88
> vpp# set int l2 bridge loop0 88 bvi
> vpp# classify table l2-output-miss-next output-node error-drop mask l2 dst
> vpp# classify session l2-output-hit-next output-node interface-output
> table-index 0 match l2 dst 90:e2:ba:d6:24:5d
> vpp# set int l2 output classify intfc TenGigabitEthernet6/0/0 ip4-table 0
> vpp# classify table l2-input-miss-next input-node error-drop mask l2 src
> vpp# classify session l2-input-hit-next input-node ethernet-input
> table-index 1 match l2 src 90:e2:ba:d6:24:5d
> vpp# set int l2 input classify intfc TenGigabitEthernet6/0/0 ip4-table 1
> vpp# Aborted (core dumped)
>
> Maybe I made a mistake in the instructions. This is probably the wrong
> behavior.
>
> Thanks.
>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to