2019-01-31 08:06:53 +00:00
|
|
|
vty_transcript_test> list
|
|
|
|
...
|
|
|
|
multi0 (one|two|three)
|
|
|
|
multi1 ([one]|[two]|[three])
|
2019-01-31 07:13:31 +00:00
|
|
|
multi2 [(one|two|three)]
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi0 ?
|
|
|
|
one 1
|
|
|
|
two 2
|
|
|
|
three 3
|
|
|
|
|
|
|
|
vty_transcript_test> multi0 one
|
|
|
|
ok argc=1 one
|
|
|
|
|
|
|
|
vty_transcript_test> multi0 two
|
|
|
|
ok argc=1 two
|
|
|
|
|
|
|
|
vty_transcript_test> multi0 o
|
2019-06-12 12:47:48 +00:00
|
|
|
ok argc=1 one
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi0 t
|
2019-06-11 19:19:46 +00:00
|
|
|
% Ambiguous command.
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi0 th
|
2019-06-12 12:47:48 +00:00
|
|
|
ok argc=1 three
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi0
|
|
|
|
% Command incomplete.
|
|
|
|
|
|
|
|
vty_transcript_test> multi1 ?
|
|
|
|
[one] 1
|
|
|
|
[two] 2
|
|
|
|
[three] 3
|
|
|
|
|
|
|
|
vty_transcript_test> multi1 one
|
|
|
|
ok argc=1 one
|
|
|
|
|
|
|
|
vty_transcript_test> multi1 two
|
|
|
|
ok argc=1 two
|
|
|
|
|
|
|
|
vty_transcript_test> multi1 o
|
2019-06-12 12:47:48 +00:00
|
|
|
ok argc=1 one
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi1 t
|
2019-06-11 19:19:46 +00:00
|
|
|
% Ambiguous command.
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi1 th
|
2019-06-12 12:47:48 +00:00
|
|
|
ok argc=1 three
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi1
|
2019-01-31 07:14:26 +00:00
|
|
|
ok argc=0
|
2019-01-31 08:06:53 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi1 [one]
|
|
|
|
% Unknown command.
|
2019-01-31 07:13:31 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi2 ?
|
|
|
|
[one] 1
|
|
|
|
[two] 2
|
|
|
|
[three] 3
|
|
|
|
|
|
|
|
vty_transcript_test> multi2 one
|
|
|
|
ok argc=1 one
|
|
|
|
|
|
|
|
vty_transcript_test> multi2 two
|
|
|
|
ok argc=1 two
|
|
|
|
|
|
|
|
vty_transcript_test> multi2
|
|
|
|
ok argc=0
|
2019-05-31 17:10:44 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi0 thr
|
2019-06-12 12:47:48 +00:00
|
|
|
ok argc=1 three
|
2019-05-31 17:10:44 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi1 on
|
2019-06-12 12:47:48 +00:00
|
|
|
ok argc=1 one
|
2019-05-31 17:10:44 +00:00
|
|
|
|
|
|
|
vty_transcript_test> multi2 t
|
2019-06-11 19:19:46 +00:00
|
|
|
% Ambiguous command.
|
2019-06-12 16:34:34 +00:00
|
|
|
|
|
|
|
vty_transcript_test> single0 one
|
|
|
|
ok argc=1 one
|
|
|
|
|
|
|
|
vty_transcript_test> single0 on
|
2019-06-12 16:35:46 +00:00
|
|
|
ok argc=1 one
|
2019-06-12 16:34:34 +00:00
|
|
|
|
|
|
|
vty_transcript_test> single0
|
|
|
|
ok argc=0
|
2020-10-06 19:47:52 +00:00
|
|
|
|
|
|
|
vty_transcript_test> show vty-attributes
|
|
|
|
Global attributes:
|
|
|
|
. This command is deprecated
|
|
|
|
. This command is hidden
|
|
|
|
. This command applies immediately
|
|
|
|
. This command applies on VTY node exit
|
|
|
|
Library specific attributes:
|
|
|
|
A This command applies on ASP restart
|
|
|
|
Application specific attributes:
|
|
|
|
u Unbelievable: not able to be believed; unlikely to be true
|
|
|
|
m Magnificent: impressively beautiful, elaborate, or extravagant
|
|
|
|
w Wonderful: inspiring delight, pleasure, or admiration
|
|
|
|
n Intentionally unused attribute, ignore me
|
|
|
|
|
|
|
|
vty_transcript_test> en
|
|
|
|
vty_transcript_test# configure terminal
|
|
|
|
vty_transcript_test(config)# attribute-test
|
|
|
|
|
|
|
|
vty_transcript_test(config-attr-test)# list
|
|
|
|
...
|
|
|
|
foo-immediate
|
|
|
|
foo-node-exit
|
|
|
|
app-unbelievable
|
|
|
|
app-magnificent
|
|
|
|
app-wonderful
|
|
|
|
app-unbelievable-magnificent
|
|
|
|
app-unbelievable-wonderful
|
|
|
|
|
|
|
|
vty_transcript_test(config-attr-test)# list with-flags
|
|
|
|
...
|
|
|
|
... foo-immediate
|
|
|
|
... foo-node-exit
|
|
|
|
u.. app-unbelievable
|
|
|
|
.m. app-magnificent
|
|
|
|
..w app-wonderful
|
|
|
|
um. app-unbelievable-magnificent
|
|
|
|
u.w app-unbelievable-wonderful
|