summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-08-08 23:10:23 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-08-11 18:42:01 +0200
commit9779e3f19368fe05199cddc3bc4029288c34be3f (patch)
tree75e82daeba86fefd735f98f29b2f23c9148df572 /doc
parentMerge pull request #953 from jbonor/nhrpd-fixes (diff)
downloadfrr-9779e3f19368fe05199cddc3bc4029288c34be3f.tar.xz
frr-9779e3f19368fe05199cddc3bc4029288c34be3f.zip
lib: add CLI token for 48-bit mac addresses
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/cli.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/cli.md b/doc/cli.md
index cfb4d629f..ef867362c 100644
--- a/doc/cli.md
+++ b/doc/cli.md
@@ -30,15 +30,17 @@ Characters allowed in each token type:
Tokens
------
* `WORD` -- A token that begins with +, -, or a lowercase letter. It is
- an unchanging part of the command and will only match itself.
- Example: "show ip bgp", every token is a WORD.
+ an unchanging part of the command and will only match itself.
+ Example: "show ip bgp", every token is a WORD.
* `IPV4` -- 'A.B.C.D', matches an IPv4 address.
* `IPV6` -- 'X:X::X:X', matches an IPv6 address.
* `IPV4_PREFIX` -- 'A.B.C.D/M', matches an IPv4 prefix in CIDR notation.
* `IPV6_PREFIX` -- 'X:X::X:X/M', matches an IPv6 prefix in CIDR notation.
+* `MAC` -- 'M:A:C', matches a 48-bit mac address
+* `MAC_PREFIX` -- 'M:A:C/M', matches a 48-bit mac address with a mask
* `VARIABLE` -- Begins with a capital letter. Matches any input.
* `RANGE` -- Numeric range delimited by parentheses, e.g. (-100 - 100) or
- (10-20). Will only match numbers in the range.
+ (10-20). Will only match numbers in the range.
Rules
-----