Hi Jow,

Thanks a lot for the reply. I have tried the switch command but getting
failed response as below:
root@openwrt:/# swconfig dev switch0 port 1 get link
failed
root@openwrt:/# swconfig dev switch0 port 2 get link
failed
root@openwrt:/# swconfig dev switch0 port 3 get link
failed
root@openwrt:/# swconfig dev switch0 port 4 get link
failed

Do i need to change the /etc/config/network file which i share in previous
mail.


One more thing, the switch command below both are same, then how will get
to know differentiate between WAN and LAN.
WAN:
swconfig dev switch0 port 1 get link

LAN:
swconfig dev switch0 port 1 get link

Could you please guide, as I newbie to this.

Regards,
Afkar


On Wed, Oct 28, 2015 at 11:29 PM, Jo-Philipp Wich <j...@openwrt.org> wrote:

> Hi Afkar,
>
> WAN:
>
> swconfig dev switch0 port 1 get link
>
> LAN:
>
> swconfig dev switch0 port 1 get link
> swconfig dev switch0 port 2 get link
> swconfig dev switch0 port 3 get link
> swconfig dev switch0 port 4 get link
>
>
> ~ Jow
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to