summaryrefslogtreecommitdiff
path: root/docs/interfaces/wirelessmodem.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 10:56:42 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 10:56:52 +0200
commit252f15753af4dc75d22d5c2cdcfbe66e4d8b5f00 (patch)
treeeb9282619449455fe6d0bdf213b84dcb3f35d8ec /docs/interfaces/wirelessmodem.rst
parenta2dda44e6d93932c58d9672f221566ba19c7441f (diff)
downloadvyos-documentation-252f15753af4dc75d22d5c2cdcfbe66e4d8b5f00.tar.gz
vyos-documentation-252f15753af4dc75d22d5c2cdcfbe66e4d8b5f00.zip
wwan: add op-mode commands
Diffstat (limited to 'docs/interfaces/wirelessmodem.rst')
-rw-r--r--docs/interfaces/wirelessmodem.rst32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/interfaces/wirelessmodem.rst b/docs/interfaces/wirelessmodem.rst
index 8fd776be..71f8df28 100644
--- a/docs/interfaces/wirelessmodem.rst
+++ b/docs/interfaces/wirelessmodem.rst
@@ -82,3 +82,35 @@ is assembled into a :ref:`pc-engines-apu4`.
Operation
=========
+
+.. opcmd:: show interfaces wirelessmodem <interface>
+
+ Retrive interface information from given WWAN interface.
+
+ .. code-block:: none
+
+ vyos@vyos:~$ show interfaces wirelessmodem wlm0
+ wlm0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master black state UNKNOWN group default qlen 3
+ link/ppp
+ inet 10.26.238.93 peer 10.64.64.64/32 scope global wlm0
+ valid_lft forever preferred_lft forever
+ Description: baaar
+
+ RX: bytes packets errors dropped overrun mcast
+ 38 5 0 0 0 0
+ TX: bytes packets errors dropped carrier collisions
+ 217 8 0 0 0 0
+
+.. opcmd:: show interfaces wirelessmodem <interface> statistics
+
+ Retrive interface statistics from given WWAN interface.
+
+ .. code-block:: none
+
+ vyos@vyos:~$ show interfaces wirelessmodem wlm0 statistics
+ IN PACK VJCOMP VJUNC VJERR | OUT PACK VJCOMP VJUNC NON-VJ
+ 38 5 0 0 0 | 217 8 0 0 8
+
+.. opcmd:: show interfaces wirelessmodem <interface> log
+
+ Displays log information for a WWAN interface.