From cfaa84339fba06ae45ce8685a01e975898cc7c2f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 20 Nov 2019 07:43:59 +0100 Subject: wireless: add operational commands --- docs/interfaces/wireless.rst | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/interfaces/wireless.rst b/docs/interfaces/wireless.rst index 29c4ae4c..406e6685 100644 --- a/docs/interfaces/wireless.rst +++ b/docs/interfaces/wireless.rst @@ -12,7 +12,7 @@ There are three modes of operation for a wireless interface: * :abbr:`WAP (Wireless Access-Point)` provides network access to connecting stations if the physical hardware supports acting as a WAP - + * A station acts as a Wi-Fi client accessing the network through an available WAP @@ -28,7 +28,7 @@ regulatory domain with the country code of your locaion. .. option:: set system wifi-regulatory-domain DE Configure system wide Wi-Fi regulatory domain. A reboot is required for this - change to be enabled. + change to be enabled. Configuring Access-Point ^^^^^^^^^^^^^^^^^^^^^^^^ @@ -116,4 +116,34 @@ Resulting in } ssid TEST type station - } \ No newline at end of file + } + +Operational Commands +^^^^^^^^^^^^^^^^^^^^ + +.. option:: show interfaces wireless info + +Use this command to view operational status and wireless-specific information +about all wireless interfaces. + +.. code-block:: sh + + vyos@vyos:~$ show interfaces wireless info + Interface Type SSID Channel + mon.wlan0 monitor ? ? + wlan0 AP testing 3 + +.. option:: show interfaces wireless detail + +Use this command to view operational status and detailes wireless-specific +information about all wireless interfaces. + +.. code-block:: sh + + vyos@vyos:~$ show interfaces wireless detail + wlan0: mtu 1500 qdisc pfifo_fast state DOWN0 + link/ether 00:21:91:d1:18:ca brd ff:ff:ff:ff:ff:ff + RX: bytes packets errors dropped overrun mcast + 0 0 0 0 0 0 + TX: bytes packets errors dropped carrier collisions + 0 0 0 0 0 0 \ No newline at end of file -- cgit v1.2.3