Hi,

The help text can be displayed with '?' rather than 'help':
vpp# lcp create ?
  lcp create                               lcp create
<sw_if_index>|<if-name> host-if <host-if-name> netns <namespace> [tun]

When you ran 'lcp create 1', you got a different error message than you did
with the rest of your commands. That suggests that 1 is a valid
sw_if_index. The command 'lcp create 1 host-if ens1f1np1' may work. Since
you got an error when you tried other commands using 'e0', e0 is probably
not a valid interface in your VPP instance. What interfaces are displayed
by 'show interface'?

Thanks,
-Matt


On Wed, Sep 7, 2022 at 5:32 PM Paweł Staszewski <pstaszew...@itcare.pl>
wrote:

> Hi
>
>
> Was trying linux-cp vpp and the problem is that i cant create any
> interface with lcp because any command is like this:
>
> vpp# lcp create
> vpp# lcp create help
> lcp create: unknown input `'
> vpp# lcp create default
> lcp create: unknown input `'
> vpp# lcp create
> vpp# lcp create1
> lcp: unknown input `create1'
> vpp# lcp create
> vpp# lcp create  1
> lcp create: host interface name required
> vpp# lcp create  e0 host-if ens1f1np1
> lcp create: unknown input `'
> vpp# lcp create  e0 host-if
> lcp create: unknown input `'
> vpp# lcp create  e0 host-if
> lcp create: unknown input `'
> vpp# lcp create  e0  host-if
> lcp create: unknown input `'
> vpp# lcp create  e0  host-if
> lcp create: unknown input `'
> vpp# lcp create  e0  host-if
> lcp create: unknown input `'
> vpp# lcp create "e0"
> lcp create: unknown input `'
> vpp# lcp create 'e0'
> lcp create: unknown input `'
> vpp# lcp create 'e0' host-if 'abc'
> lcp create: unknown input `'
> vpp# lcp create  e0 host-if ens1f1np1
> lcp create: unknown input `'
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21861): https://lists.fd.io/g/vpp-dev/message/21861
Mute This Topic: https://lists.fd.io/mt/93536468/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to