Skip to content

Commit 4b45fff

Browse files
committed
cli: add missing ipv6 commands available already for ipv4
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent fc0567e commit 4b45fff

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/klish-plugin-infix/xml/infix.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,18 @@
519519
</ACTION>
520520

521521
<SWITCH name="optional" min="0">
522+
<COMMAND name="brief" help="Simplified (human-readable) output" mode="switch">
523+
<ACTION sym="script" in="tty" out="tty" interrupt="true">
524+
ip -color -6 -br addr | sort -V | sed 's/@dsa[0-9]/ /' |pager
525+
</ACTION>
526+
</COMMAND>
527+
528+
<COMMAND name="detailed" help="Detailed (full) output" mode="switch">
529+
<ACTION sym="script" in="tty" out="tty" interrupt="true">
530+
ip -color -6 -d addr |pager
531+
</ACTION>
532+
</COMMAND>
533+
522534
<COMMAND name="route" help="Show IPv6 routing table" mode="switch">
523535
<ACTION sym="script" in="tty" out="tty" interrupt="true">
524536
show routes ipv6 |pager

0 commit comments

Comments
 (0)