
MNL-0641-01 Rev A3
ECO-4823
Effective: 04 Oct 16
Page 75 of 107
show erps [ <groups> ] [ detail | statistics ]
The show erps command is a bit more complex: ‘show’ and ‘erps’ are mandatory, but the remaining
parameters and keywords are optional. You can enter group IDs and optionally specify either ‘statistics’ or
‘detail’. This example shows how the command is used.
! Show short-form ERPS (Ethernet Ring Protection Switching) information for all
! instances:
SWI2210-XXXX# show erps
...
! Show statistics for all instances:
SWI2210-XXXX# show erps statistics
...
! Show details for all instances:
SWI2210-XXXX# show erps detail
...
! You cannot show details and statistics at the same time. If you try, an error message:
! is displayed.
SWI2210-XXXX# show erps detail statistics
^
% Invalid word detected at '^' marker.
! Show details for specific set of instances:
SWI2210-XXXX# show erps 1-6 detail
...
Additional Syntax Elements
The syntax is more complex if the command allows sequences of multiple optionals, such as
[a] [b] [c]
.
Each of a, b, c can be included or omitted, e.g., “a c” is valid, as is no input at all.
Order is not im
portant, e.g., “a c” and “c a” are equivalent.
Each optional can be used only once, not repeated.
There are variations:
Group of optionals of which at least one must be present:
{ [a] [b] [c] }*1
Group of optionals where one or more has a fixed position:
[a] {[b]} [c]
{[b]}
says that ‘b’ is optional, but if it is present then it must follow after ‘a’ (if ‘a’ is present) and it
must come before ‘c’ (if ‘c’ is present).
For example, assume a command with this syntax:
a [b] [c] { d | e } {[f] [g]}*1
Valid input examples are:
‘a d f’, because ‘b’ and ‘c’ are optional, ‘d’ is picked instead of ‘e’, and ‘f’ is chosen as the
mandatory optional.
‘a d f g’, because ‘b’ and ‘c’ are optional, ‘d’ is picked instead of ‘e’, and both ‘f’ and ‘g’ are chosen
in the final group of optional.
‘a c b e g’, because the ‘b’ and 'c' can be in any order, ‘e’ is picked instead of ‘d’, and ‘g’ is chosen
for the mandatory optional.
Содержание Parvus SWI-22-10-01
Страница 8: ...Parvus SWI 22 10 Curtiss Wright Page 8 of 107 MNL 0641 01 Rev A3 ECO 4823 Effective 04 Oct 16 ...
Страница 25: ...MNL 0641 01 Rev A3 ECO 4823 Effective 04 Oct 16 Page 25 of 107 7 end 8 copy running config startup config ...
Страница 107: ...MNL 0641 01 Rev A3 ECO 4823 Effective 04 Oct 16 Page 107 of 107 ...