Yeah, it looks as if your BusyBox does not support the xfrm subcommand.
Either try to update to a more recent BusyBox or install setkey
from the ipsec-tools package instead:

  setkey -D is similar to ip xfrm state

and

  setkey -DP similar to ip xfrm policy

Regards

Andreas

Jessie Liu wrote:
> Hi Andreas,
>  
>    ip route list works fine on my target board. but ip xfrm state did
> not work.
>  
> When I type "ip xfrm state",
> it shows the following messages:
>  
> BusyBox v1.10.1 (2009-09-28 15:09:16 CST) multi-call binary
>  
> Usage ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}
>  
> 
> 
> --- *09/9/30 (三),Andreas Steffen /<[email protected]>/*
> 寫道:
> 
> 
>     寄件者: Andreas Steffen <[email protected]>
>     主旨: Re: [strongSwan] ip xfrm state / ip xfrm policy
>     收件者: "Jessie Liu" <[email protected]>
>     副本: [email protected]
>     日期: 2009年9月30日,三,下午12:32
> 
>     Hi Jessie,
> 
>     in the past there are some embedded platform which did not implement
>     the ip xfrm command. Does e.g. "ip route list" work? If not then the
>     whole iproute2 package is missing and you must install it first.
> 
>     Regards
> 
>     Andreas
> 
>     Jessie Liu wrote:
>     > Hi all,
>     >  I'am trying to use " ip xfrm state " and " ip xfrm policy " command.
>     > But I couldn't use that command to show information. There is no
>     such command!
>     > What else should I add in kernel config?
>     > I already have xfrm4_tunnel.ko and xfrm_user.ko, but still cannot
>     use that command.
>     > 
>     > Thanks a lot. ^_______^

======================================================================
Andreas Steffen                         [email protected]
strongSwan - the Linux VPN Solution!                www.strongswan.org

Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to