advertisement
IE200 Series
INDUSTRIAL MANAGED P
O
E+ SWITCHES
IE200-6FT-80
IE200-6FP-80
IE200-6GT-80
IE200-6GP-80
Command Reference for
AlliedWare Plus™ Version 5.4.6-2.x
C613-50135-01 Rev A
Acknowledgments
This product includes software developed by the University of California, Berkeley and its contributors.
Copyright ©1982, 1986, 1990, 1991, 1993 The Regents of the University of California.
All rights reserved.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. For information about this see www.openssl.org/
Copyright ©1998-2008 The OpenSSL Project. All rights reserved.
This product includes software licensed under v2 and v3 of the GNU General Public License, available from: www.gnu.org/licenses/ gpl2.html
and www.gnu.org/licenses/gpl.html
respectively.
Source code for all GPL licensed software in this product can be obtained from the Allied Telesis GPL Code Download Center at: www.alliedtelesis.com/support/
Allied Telesis is committed to meeting the requirements of the open source licenses including the GNU General Public License (GPL) and will make all required source code available.
If you would like a copy of the GPL source code contained in Allied Telesis products, please send us a request by registered mail including a check for US$15 to cover production and shipping costs and a CD with the GPL code will be mailed to you.
GPL Code Request
Allied Telesis Labs (Ltd)
PO Box 8011
Christchurch
New Zealand
Allied Telesis, AlliedWare Plus, Allied Telesis Management Framework, EPSRing, SwitchBlade, VCStack, and VCStack Plus are trademarks or registered trademarks in the United States and elsewhere of Allied Telesis, Inc.
Microsoft and Internet Explorer are registered trademarks of Microsoft Corporation. All other product names, company names, logos or other designations mentioned herein may be trademarks or registered trademarks of their respective owners.
2017 Allied Telesis, Inc.
All rights reserved. No part of this publication may be reproduced without prior written permission from Allied Telesis, Inc.
Allied Telesis, Inc. reserves the right to make changes in specifications and other information contained in this document without prior written notice. The information provided herein is subject to change without notice. In no event shall Allied Telesis, Inc. be liable for any incidental, special, indirect, or consequential damages whatsoever, including but not limited to lost profits, arising out of or related to this manual or the information contained herein, even if Allied Telesis, Inc. has been advised of, known, or should have known, the possibility of such damages.
Contents
C613-50135-01 Rev A
Setup and Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
CLI Navigation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
configure terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
disable (Privileged Exec mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
enable (Privileged Exec mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
show history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
File and Configuration Management Commands . . . . . . . . . . . . . . . 68
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
autoboot enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
boot config-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
boot config-file backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
boot system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
boot system backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
cd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
copy (filename) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
copy current-software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
copy debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
copy running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
copy startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
copy zmodem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
create autoboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
delete debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
edit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
edit (filename) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
3
C613-50135-01 Rev A
erase startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
ip tftp source-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94
ipv6 tftp source-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
mkdir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
move debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
pwd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
rmdir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
show autoboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
show boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
show file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
show file systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
show running-config interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
show startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
show version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
write file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
write memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
write terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
User Access Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
clear line console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
clear line vty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
enable password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
enable secret . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
exec-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
flowcontrol hardware (asyn/console) . . . . . . . . . . . . . . . . . . . . . . . . 129
length (asyn) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
privilege level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
security-password history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
security-password forced-change . . . . . . . . . . . . . . . . . . . . . . . . . . 136
security-password lifetime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
security-password minimum-categories . . . . . . . . . . . . . . . . . . . . . . 138
security-password minimum-length . . . . . . . . . . . . . . . . . . . . . . . . . 139
security-password reject-expired-pwd . . . . . . . . . . . . . . . . . . . . . . . 140
security-password warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
service advanced-vty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
service password-encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
service telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
service terminal-length (deleted) . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
show privilege . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
show security-password configuration . . . . . . . . . . . . . . . . . . . . . . . 147
show security-password user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
show telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
show users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
telnet server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
terminal length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
terminal resize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
4
Chapter 6:
C613-50135-01 Rev A
GUI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
atmf topology-gui enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
gui-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
log event-host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
service http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
show http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
System Configuration and Monitoring Commands . . . . . . . . . . . . 163
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
banner exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
banner login (system) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
banner motd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
clock set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
clock summer-time date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
clock summer-time recurring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
clock timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
continuous-reboot-prevention . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
ecofriendly led . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
findme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
findme trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
no debug all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
reload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
show clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
show continuous-reboot-prevention . . . . . . . . . . . . . . . . . . . . . . . . 190
show cpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
show cpu history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
show debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
show ecofriendly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
show interface memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
show memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
show memory allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
show memory history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
show memory pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
show memory shared . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
show process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
show reboot history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
show router-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
show system environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
show system interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
show system mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
show system serialnumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
show tech-support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
speed (asyn) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
system territory (deprecated) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
terminal monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
undebug all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Pluggables and Cabling Commands . . . . . . . . . . . . . . . . . . . . . . 223
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
5
C613-50135-01 Rev A
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
show system pluggable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
show system pluggable detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
show system pluggable diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . 229
Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
clear exception log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
clear log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
clear log buffered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
clear log permanent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
default log buffered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
default log console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
default log email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
default log host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
default log monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
default log permanent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
log buffered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
log buffered (filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
log buffered exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
log buffered size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
log console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
log console (filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
log console exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
log email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
log email (filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
log email exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
log email time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
log facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
log host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
log host (filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
log host exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
log host source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
log host time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
log monitor (filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
log monitor exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
log permanent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
log permanent (filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
log permanent exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
log permanent size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
log-rate-limit nsm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
log trustpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
show counter log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
show exception log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
show log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
show log config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
show log permanent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
show running-config log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Scripting Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
activate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
6
C613-50135-01 Rev A
echo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
wait . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
description (interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
interface (to configure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
mru jumbo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
show interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
show interface brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
show interface memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
show interface status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Port Mirroring Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
mirror interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
show mirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
show mirror interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Interface Testing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
clear test interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
service test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
test interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
Alarm Monitoring Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
alarm facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
debug alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
show alarm settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
show debugging alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
show facility-alarm status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Layer Two Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Switching Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
backpressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
clear loop-protection counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
clear mac address-table dynamic . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
clear mac address-table static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
clear port counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
debug loopprot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
debug platform packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
flowcontrol (switch port) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
linkflap action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
loop-protection loop-detect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
loop-protection action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
7
C613-50135-01 Rev A
loop-protection action-delay-time . . . . . . . . . . . . . . . . . . . . . . . . . . 362
loop-protection timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
mac address-table acquire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
mac address-table ageing-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
mac address-table logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
mac address-table static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
platform hwfilter-size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
platform stop-unreg-mc-flooding . . . . . . . . . . . . . . . . . . . . . . . . . . 369
platform vlan-stacking-tpid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
show debugging loopprot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
show debugging platform packet . . . . . . . . . . . . . . . . . . . . . . . . . . 374
show flowcontrol interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
show interface err-disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
show interface switchport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
show loop-protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
show mac address-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
show platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
show platform classifier statistics utilization brief . . . . . . . . . . . . . . . . . 383
show platform port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
show storm-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
storm-control level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
thrash-limiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
undebug loopprot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
undebug platform packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
port-vlan-forwarding-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
private-vlan association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
show port-vlan-forwarding-priority . . . . . . . . . . . . . . . . . . . . . . . . . 401
show vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
show vlan access-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
show vlan classifier group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
show vlan classifier group interface . . . . . . . . . . . . . . . . . . . . . . . . . 405
show vlan classifier interface group . . . . . . . . . . . . . . . . . . . . . . . . . 406
show vlan classifier rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
show vlan filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
show vlan private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
switchport access vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
switchport enable vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
switchport mode access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
switchport mode private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
switchport mode private-vlan trunk promiscuous . . . . . . . . . . . . . . . . 414
switchport mode private-vlan trunk secondary . . . . . . . . . . . . . . . . . . 416
switchport mode trunk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
switchport private-vlan host-association . . . . . . . . . . . . . . . . . . . . . . 419
switchport private-vlan mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
switchport trunk allowed vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
switchport trunk native vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
switchport vlan-stacking (double tagging) . . . . . . . . . . . . . . . . . . . . . 425
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
8
C613-50135-01 Rev A
switchport voice dscp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
switchport voice vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
switchport voice vlan priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
vlan access-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
vlan classifier activate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
vlan classifier group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
vlan classifier rule ipv4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
vlan classifier rule proto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
vlan database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
vlan filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Spanning Tree Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
clear spanning-tree statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
clear spanning-tree detected protocols (RSTP and MSTP) . . . . . . . . . . . 444
debug mstp (RSTP and STP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
instance priority (MSTP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
instance vlan (MSTP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
region (MSTP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
revision (MSTP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
show debugging mstp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
show spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
show spanning-tree brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
show spanning-tree mst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
show spanning-tree mst config . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
show spanning-tree mst detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
show spanning-tree mst detail interface . . . . . . . . . . . . . . . . . . . . . . 464
show spanning-tree mst instance . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
show spanning-tree mst instance interface . . . . . . . . . . . . . . . . . . . . 467
show spanning-tree mst interface . . . . . . . . . . . . . . . . . . . . . . . . . . 468
show spanning-tree mst detail interface . . . . . . . . . . . . . . . . . . . . . . 469
show spanning-tree statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
show spanning-tree statistics instance . . . . . . . . . . . . . . . . . . . . . . . 473
show spanning-tree statistics instance interface . . . . . . . . . . . . . . . . . 474
show spanning-tree statistics interface . . . . . . . . . . . . . . . . . . . . . . . 476
show spanning-tree vlan range-index . . . . . . . . . . . . . . . . . . . . . . . . 478
spanning-tree autoedge (RSTP and MSTP) . . . . . . . . . . . . . . . . . . . . . 479
spanning-tree bpdu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
spanning-tree cisco-interoperability (MSTP) . . . . . . . . . . . . . . . . . . . . 482
spanning-tree edgeport (RSTP and MSTP) . . . . . . . . . . . . . . . . . . . . . 483
spanning-tree enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
spanning-tree errdisable-timeout enable . . . . . . . . . . . . . . . . . . . . . . 486
spanning-tree errdisable-timeout interval . . . . . . . . . . . . . . . . . . . . . 487
spanning-tree force-version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
spanning-tree forward-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
spanning-tree guard root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
spanning-tree hello-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
spanning-tree link-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
spanning-tree max-age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
spanning-tree max-hops (MSTP) . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
spanning-tree mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
spanning-tree mst configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
9
C613-50135-01 Rev A
spanning-tree mst instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
spanning-tree mst instance path-cost . . . . . . . . . . . . . . . . . . . . . . . . 498
spanning-tree mst instance priority . . . . . . . . . . . . . . . . . . . . . . . . . 500
spanning-tree mst instance restricted-role . . . . . . . . . . . . . . . . . . . . . 501
spanning-tree mst instance restricted-tcn . . . . . . . . . . . . . . . . . . . . . 503
spanning-tree path-cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
spanning-tree portfast (STP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
spanning-tree portfast bpdu-filter . . . . . . . . . . . . . . . . . . . . . . . . . . 507
spanning-tree portfast bpdu-guard . . . . . . . . . . . . . . . . . . . . . . . . . 509
spanning-tree priority (bridge priority) . . . . . . . . . . . . . . . . . . . . . . . 511
spanning-tree priority (port priority) . . . . . . . . . . . . . . . . . . . . . . . . . 512
spanning-tree restricted-role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
spanning-tree restricted-tcn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
spanning-tree transmit-holdcount . . . . . . . . . . . . . . . . . . . . . . . . . . 515
undebug mstp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
Link Aggregation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
clear lacp counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
debug lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
lacp global-passive-mode enable . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
lacp port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
lacp system-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
lacp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
show debugging lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
show diagnostic channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
show etherchannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530
show etherchannel detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
show etherchannel summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
show lacp sys-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
show lacp-counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
show port etherchannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
show static-channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
static-channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
undebug lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
Power over Ethernet Commands . . . . . . . . . . . . . . . . . . . . . . . . 540
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
clear power-inline counters interface . . . . . . . . . . . . . . . . . . . . . . . . 542
debug power-inline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543
power-inline allow-legacy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
power-inline description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
power-inline enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
power-inline hanp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
power-inline max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
power-inline priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
power-inline usage-threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
power-inline wattage max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
service power-inline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
show debugging power-inline . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
show power-inline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
10
C613-50135-01 Rev A
show power-inline counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
show power-inline interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
show power-inline interface detail . . . . . . . . . . . . . . . . . . . . . . . . . . 565
GVRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
clear gvrp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
debug gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
gvrp (interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
gvrp dynamic-vlan-creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
gvrp enable (global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
gvrp registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
gvrp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576
show debugging gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
show gvrp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
show gvrp machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579
show gvrp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
show gvrp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
Layer Three, Switching and Routing . . . . . . . . . . . . . . . . . . . . . . 582
IP Addressing and Protocol Commands . . . . . . . . . . . . . . . . . . . . 583
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583
arp-aging-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584
arp (IP address MAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
arp log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586
arp-reply-bc-dmac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
clear arp-cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
debug ip packet interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
ip address (IP Addressing and Protocol) . . . . . . . . . . . . . . . . . . . . . . . 593
ip gratuitous-arp-link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
ip unreachables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599
show arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
show debugging ip packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602
show ip interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 604
show ip sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605
show ip traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
tcpdump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614
traceroute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615
undebug ip packet interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616
Domain Name Service (DNS) Commands . . . . . . . . . . . . . . . . . . . 617
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617
ip domain-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618
ip domain-lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619
ip domain-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620
ip name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
show hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
show ip domain-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
show ip domain-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
show ip name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
11
C613-50135-01 Rev A
IPv6 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
clear ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
ipv6 address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629
ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630
ipv6 nd raguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 631
ipv6 neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
ipv6 unreachables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
ping ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
show ipv6 interface brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636
show ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
traceroute ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638
Static Routing Commands for Management Purposes . . . . . . . . . . 639
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
show ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641
show ip route database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
show ip route summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644
Multicast Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645
IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 646
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646
clear ip igmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648
clear ip igmp group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
clear ip igmp interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650
debug igmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
ip igmp flood specific-query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 652
ip igmp maximum-groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
ip igmp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655
ip igmp snooping fast-leave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 656
ip igmp snooping mrouter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657
ip igmp snooping querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658
ip igmp snooping report-suppression . . . . . . . . . . . . . . . . . . . . . . . . 659
ip igmp snooping routermode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660
ip igmp snooping tcn query solicit . . . . . . . . . . . . . . . . . . . . . . . . . . 662
ip igmp static-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664
ip igmp trusted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666
ip igmp version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
show debugging igmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668
show ip igmp groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
show ip igmp interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
show ip igmp snooping mrouter . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
show ip igmp snooping routermode . . . . . . . . . . . . . . . . . . . . . . . . . 674
show ip igmp snooping statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
undebug igmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
MLD Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
clear ipv6 mld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679
clear ipv6 mld group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
12
C613-50135-01 Rev A
clear ipv6 mld interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681
debug mld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682
ipv6 mld access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
ipv6 mld immediate-leave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
ipv6 mld limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
ipv6 mld snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
ipv6 mld snooping fast-leave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
ipv6 mld snooping mrouter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
ipv6 mld snooping querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
ipv6 mld snooping report-suppression . . . . . . . . . . . . . . . . . . . . . . . 693
ipv6 mld static-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
show debugging mld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
show ipv6 mld groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
show ipv6 mld interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
show ipv6 mld snooping mrouter . . . . . . . . . . . . . . . . . . . . . . . . . . 700
show ipv6 mld snooping statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 701
Access and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
IPv4 Hardware Access Control List (ACL) Commands . . . . . . . . . . . 703
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
access-list (numbered hardware ACL for ICMP) . . . . . . . . . . . . . . . . . . 708
access-list (numbered hardware ACL for IP packets) . . . . . . . . . . . . . . . 711
access-list (numbered hardware ACL for IP protocols) . . . . . . . . . . . . . . 714
access-list (numbered hardware ACL for MAC addresses) . . . . . . . . . . . 718
access-list (numbered hardware ACL for TCP or UDP) . . . . . . . . . . . . . . 720
access-list hardware (named hardware ACL) . . . . . . . . . . . . . . . . . . . . 723
(named hardware ACL: ICMP entry) . . . . . . . . . . . . . . . . . . . . . . . . . 725
(named hardware ACL: IP packet entry) . . . . . . . . . . . . . . . . . . . . . . . 729
(named hardware ACL: IP protocol entry) . . . . . . . . . . . . . . . . . . . . . . 733
(named hardware ACL: MAC entry) . . . . . . . . . . . . . . . . . . . . . . . . . . 738
(named hardware ACL: TCP or UDP entry) . . . . . . . . . . . . . . . . . . . . . 741
commit (IPv4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744
show access-list (IPv4 Hardware ACLs) . . . . . . . . . . . . . . . . . . . . . . . 745
show interface access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
IPv4 Software Access Control List (ACL) Commands . . . . . . . . . . . . 748
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748
access-list extended (named) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
access-list (extended numbered) . . . . . . . . . . . . . . . . . . . . . . . . . . . 759
(access-list extended ICMP filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . 761
(access-list extended IP filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 763
(access-list extended IP protocol filter) . . . . . . . . . . . . . . . . . . . . . . . 766
(access-list extended TCP UDP filter) . . . . . . . . . . . . . . . . . . . . . . . . . 770
access-list standard (named) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
access-list (standard numbered) . . . . . . . . . . . . . . . . . . . . . . . . . . . 774
(access-list standard named filter) . . . . . . . . . . . . . . . . . . . . . . . . . . 776
(access-list standard numbered filter) . . . . . . . . . . . . . . . . . . . . . . . . 778
clear ip prefix-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
ip prefix-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
maximum-access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
13
C613-50135-01 Rev A
show access-list (IPv4 Software ACLs) . . . . . . . . . . . . . . . . . . . . . . . . 784
show ip access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786
vty access-class (numbered) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 787
IPv6 Hardware Access Control List (ACL) Commands . . . . . . . . . . . 788
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788
commit (IPv6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
ipv6 access-list (named IPv6 hardware ACL) . . . . . . . . . . . . . . . . . . . . 791
(named IPv6 hardware ACL: ICMP entry) . . . . . . . . . . . . . . . . . . . . . . 793
(named IPv6 hardware ACL: IPv6 packet entry) . . . . . . . . . . . . . . . . . . 797
(named IPv6 hardware ACL: IP protocol entry) . . . . . . . . . . . . . . . . . . 800
(named IPv6 hardware ACL: TCP or UDP entry) . . . . . . . . . . . . . . . . . . 805
ipv6 traffic-filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 808
show ipv6 access-list (IPv6 Hardware ACLs) . . . . . . . . . . . . . . . . . . . . 810
IPv6 Software Access Control List (ACL) Commands . . . . . . . . . . . . 811
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811
ipv6 access-list standard (named) . . . . . . . . . . . . . . . . . . . . . . . . . . . 813
(ipv6 access-list standard filter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 815
show ipv6 access-list (IPv6 Software ACLs) . . . . . . . . . . . . . . . . . . . . . 817
vty ipv6 access-class (named) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818
QoS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819
class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821
class-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822
default-action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
description (QoS policy-map) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 824
egress-rate-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825
match access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 826
match cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828
match dscp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 829
match eth-format protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 830
match mac-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 833
match tcp-flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 834
match vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835
mls qos cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
mls qos enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 837
mls qos map cos-queue to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
mls qos map premark-dscp to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
no police . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
police single-rate action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
policy-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
priority-queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
remark new-cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
service-policy input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
show class-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 847
show mls qos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848
show mls qos interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
show mls qos maps cos-queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
show mls qos maps premark-dscp . . . . . . . . . . . . . . . . . . . . . . . . . . 852
show platform classifier statistics utilization brief . . . . . . . . . . . . . . . . . 853
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
14
C613-50135-01 Rev A
show policy-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
trust dscp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
wrr-queue weight queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 856
802.1X Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
dot1x accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 860
dot1x authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 861
debug dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 862
dot1x control-direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 863
dot1x eap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 865
dot1x eapol-version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
dot1x initialize interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
dot1x initialize supplicant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 869
dot1x keytransmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
dot1x max-auth-fail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
dot1x max-reauth-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873
dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 875
dot1x timeout tx-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
show debugging dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 879
show dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 880
show dot1x diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883
show dot1x interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
show dot1x sessionstatistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
show dot1x statistics interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 891
show dot1x supplicant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892
show dot1x supplicant interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 894
undebug dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 897
Authentication Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 898
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 898
auth auth-fail vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 901
auth critical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 903
auth dynamic-vlan-creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 904
auth guest-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 907
auth guest-vlan forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 910
auth host-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 912
auth log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 914
auth max-supplicant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 916
auth profile (Global Configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . 918
auth profile (Interface Configuration) . . . . . . . . . . . . . . . . . . . . . . . . 919
auth reauthentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 920
auth roaming disconnected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
auth roaming enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 923
auth supplicant-ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
auth supplicant-mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 927
auth timeout connect-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
auth timeout quiet-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 932
auth timeout reauth-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
auth timeout server-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 935
auth timeout supp-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
auth two-step enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 939
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
15
C613-50135-01 Rev A
auth-mac accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 942
auth-mac authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
auth-mac enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 944
auth-mac method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 946
auth-mac password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948
auth-mac reauth-relearning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 949
auth-mac username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 950
auth-web accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 951
auth-web authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 952
auth-web enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
auth-web forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 955
auth-web max-auth-fail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 958
auth-web method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 960
auth-web-server blocking-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 961
auth-web-server dhcp ipaddress . . . . . . . . . . . . . . . . . . . . . . . . . . . 962
auth-web-server dhcp lease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 963
auth-web-server dhcp-wpad-option . . . . . . . . . . . . . . . . . . . . . . . . . 964
auth-web-server host-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 965
auth-web-server intercept-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . 966
auth-web-server ipaddress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 967
auth-web-server page language . . . . . . . . . . . . . . . . . . . . . . . . . . . 968
auth-web-server login-url . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969
auth-web-server page logo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 970
auth-web-server page sub-title . . . . . . . . . . . . . . . . . . . . . . . . . . . . 971
auth-web-server page success-message . . . . . . . . . . . . . . . . . . . . . . 972
auth-web-server page title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 973
auth-web-server page welcome-message . . . . . . . . . . . . . . . . . . . . . 974
auth-web-server ping-poll enable . . . . . . . . . . . . . . . . . . . . . . . . . . 975
auth-web-server ping-poll failcount . . . . . . . . . . . . . . . . . . . . . . . . . 976
auth-web-server ping-poll interval . . . . . . . . . . . . . . . . . . . . . . . . . . 977
auth-web-server ping-poll reauth-timer-refresh . . . . . . . . . . . . . . . . . 978
auth-web-server ping-poll timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 979
auth-web-server port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 980
auth-web-server redirect-delay-time . . . . . . . . . . . . . . . . . . . . . . . . 981
auth-web-server redirect-url . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 982
auth-web-server session-keep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 983
auth-web-server ssl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 984
auth-web-server ssl intercept-port . . . . . . . . . . . . . . . . . . . . . . . . . . 985
copy proxy-autoconfig-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 986
copy web-auth-https-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 987
description (Authentication Profile) . . . . . . . . . . . . . . . . . . . . . . . . . 988
erase proxy-autoconfig-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 989
erase web-auth-https-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 990
platform mac-vlan-hashing-algorithm . . . . . . . . . . . . . . . . . . . . . . . . 991
show auth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 992
show auth diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 994
show auth interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 996
show auth sessionstatistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999
show auth statistics interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1000
show auth supplicant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1001
show auth supplicant interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 1004
show auth two-step supplicant brief . . . . . . . . . . . . . . . . . . . . . . . . 1005
show auth-web-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1006
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
16
C613-50135-01 Rev A
show auth-web-server page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1007
show proxy-autoconfig-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1008
AAA Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1009
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1009
aaa accounting auth-mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1011
aaa accounting auth-web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1013
aaa accounting commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1015
aaa accounting dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1017
aaa accounting login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1019
aaa accounting update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1022
aaa authentication auth-mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1024
aaa authentication auth-web . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1026
aaa authentication dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1028
aaa authentication enable default group tacacs+ . . . . . . . . . . . . . . . 1030
aaa authentication enable default local . . . . . . . . . . . . . . . . . . . . . . 1032
aaa authentication login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1033
aaa authorization commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1035
aaa authorization config-commands . . . . . . . . . . . . . . . . . . . . . . . . 1037
aaa group server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1038
aaa local authentication attempts lockout-time . . . . . . . . . . . . . . . . . 1040
aaa local authentication attempts max-fail . . . . . . . . . . . . . . . . . . . . 1041
aaa login fail-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1042
accounting login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1043
authorization commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
clear aaa local user lockout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1046
debug aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
login authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1048
proxy-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1049
radius-secure-proxy aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1050
server (radsecproxy-aaa) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051
server mutual-authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1053
server name-check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1054
server trustpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1055
show aaa local user locked . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1057
show aaa server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1058
show debugging aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
show radius server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1060
undebug aaa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
RADIUS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063
auth radius send nas-identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . 1064
auth radius send service-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1065
deadtime (RADIUS server group) . . . . . . . . . . . . . . . . . . . . . . . . . . 1066
debug radius . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1067
ip radius source-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1068
radius-server deadtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1069
radius-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1070
radius-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073
radius-server retransmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1074
radius-server timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1076
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
17
C613-50135-01 Rev A
server (Server Group) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1078
show debugging radius . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1080
show radius . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1081
show radius statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1084
undebug radius . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1085
Public Key Infrastructure Commands . . . . . . . . . . . . . . . . . . . . 1086
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1086
crypto key generate rsa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1087
crypto key zeroize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1088
crypto pki authenticate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089
crypto pki enroll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1090
crypto pki enroll user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1091
crypto pki export pem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1093
crypto pki export pkcs12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
crypto pki import pem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1096
crypto pki import pkcs12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1098
crypto pki trustpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1099
enrollment (trustpoint configuration mode) . . . . . . . . . . . . . . . . . . . 1100
fingerprint (trustpoint configuration mode) . . . . . . . . . . . . . . . . . . . 1101
no crypto pki certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1103
rsakeypair (trustpoint configuration mode) . . . . . . . . . . . . . . . . . . . 1104
show crypto key mypubkey rsa . . . . . . . . . . . . . . . . . . . . . . . . . . . 1105
show crypto pki certificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1106
show crypto pki enrollment user . . . . . . . . . . . . . . . . . . . . . . . . . . 1108
show crypto pki trustpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1109
subject-name (trustpoint configuration) . . . . . . . . . . . . . . . . . . . . . 1110
TACACS+ Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1112
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1112
authorization commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1113
aaa authorization commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1115
aaa authorization config-commands . . . . . . . . . . . . . . . . . . . . . . . . 1117
ip tacacs source-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1118
show tacacs+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1119
tacacs-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1121
tacacs-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1123
tacacs-server timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1124
DHCP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 1125
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1125
arp security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1127
arp security violation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1128
clear arp security statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1130
clear ip dhcp snooping binding . . . . . . . . . . . . . . . . . . . . . . . . . . . 1131
clear ip dhcp snooping statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 1132
debug arp security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133
debug ip dhcp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1134
ip dhcp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1135
ip dhcp snooping agent-option . . . . . . . . . . . . . . . . . . . . . . . . . . . 1136
ip dhcp snooping agent-option allow-untrusted . . . . . . . . . . . . . . . . 1137
ip dhcp snooping agent-option circuit-id vlantriplet . . . . . . . . . . . . . 1138
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
18
C613-50135-01 Rev A
ip dhcp snooping agent-option remote-id . . . . . . . . . . . . . . . . . . . . 1139
ip dhcp snooping binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1140
ip dhcp snooping database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1141
ip dhcp snooping delete-by-client . . . . . . . . . . . . . . . . . . . . . . . . . 1142
ip dhcp snooping delete-by-linkdown . . . . . . . . . . . . . . . . . . . . . . 1143
ip dhcp snooping max-bindings . . . . . . . . . . . . . . . . . . . . . . . . . . 1144
ip dhcp snooping subscriber-id . . . . . . . . . . . . . . . . . . . . . . . . . . . 1145
ip dhcp snooping trust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1146
ip dhcp snooping verify mac-address . . . . . . . . . . . . . . . . . . . . . . . 1147
ip dhcp snooping violation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1148
ip source binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1149
service dhcp-snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1151
show arp security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1153
show arp security interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1154
show arp security statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1156
show debugging arp security . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1158
show debugging ip dhcp snooping . . . . . . . . . . . . . . . . . . . . . . . . 1159
show ip dhcp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160
show ip dhcp snooping acl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
show ip dhcp snooping agent-option . . . . . . . . . . . . . . . . . . . . . . . 1164
show ip dhcp snooping binding . . . . . . . . . . . . . . . . . . . . . . . . . . 1166
show ip dhcp snooping interface . . . . . . . . . . . . . . . . . . . . . . . . . . 1168
show ip dhcp snooping statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 1170
show ip source binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
Network Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1174
Ethernet Protection Switched Ring (EPSRing™) Commands . . . . . . 1175
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175
debug epsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1177
epsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178
epsr configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179
epsr datavlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1180
epsr enhancedrecovery enable . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181
epsr mode master controlvlan primary port . . . . . . . . . . . . . . . . . . . 1182
epsr mode transit controlvlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1183
epsr priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1184
epsr state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1185
epsr trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1186
show debugging epsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1187
show epsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1188
show epsr common segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1193
show epsr config-check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1194
show epsr <epsr-instance> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1195
show epsr <epsr-instance> counters . . . . . . . . . . . . . . . . . . . . . . . 1196
show epsr counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1197
show epsr summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1198
undebug epsr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1199
RRP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 1200
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1200
ip rrp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1201
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
19
C613-50135-01 Rev A
show ip rrp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1202
Network Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1203
Allied Telesis Management Framework™ (AMF) Commands . . . . . . 1204
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1204
atmf area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1208
atmf area password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1210
atmf backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1212
atmf backup area-masters delete . . . . . . . . . . . . . . . . . . . . . . . . . . 1213
atmf backup area-masters enable . . . . . . . . . . . . . . . . . . . . . . . . . 1214
atmf backup area-masters now . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
atmf backup area-masters synchronize . . . . . . . . . . . . . . . . . . . . . . 1216
atmf backup bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217
atmf backup delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1218
atmf backup enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1219
atmf backup guests delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1220
atmf backup guests enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1221
atmf backup guests now . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1222
atmf backup guests synchronize . . . . . . . . . . . . . . . . . . . . . . . . . . 1223
atmf backup now . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1224
atmf backup redundancy enable . . . . . . . . . . . . . . . . . . . . . . . . . . 1226
atmf backup server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1227
atmf backup stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1229
atmf backup synchronize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1230
atmf cleanup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1231
atmf controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1232
atmf distribute firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1233
atmf domain vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1235
atmf enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1237
atmf group (membership) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1238
atmf guest-class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1240
atmf log-verbose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1242
atmf management subnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1243
atmf management vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1245
atmf master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1246
atmf mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1247
atmf network-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1248
atmf provision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1249
atmf provision node clone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1250
atmf provision node configure boot config . . . . . . . . . . . . . . . . . . . 1252
atmf provision node configure boot system . . . . . . . . . . . . . . . . . . . 1253
atmf provision node create . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1254
atmf provision node delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1256
atmf provision node license-cert . . . . . . . . . . . . . . . . . . . . . . . . . . 1258
atmf provision node locate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1260
atmf reboot-rolling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1261
atmf recover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1265
atmf recover guest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1267
atmf recover led-off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1268
atmf remote-login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1269
atmf restricted-login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1271
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
20
atmf select-area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1273
atmf virtual-link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1274
atmf working-set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1276
clear atmf links statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1278
debug atmf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1279
debug atmf packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1281
discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1284
erase factory-default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1286
http-enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1287
modeltype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1289
show atmf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1290
show atmf area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1294
show atmf area guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1297
show atmf area guests-detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1299
show atmf area nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1301
show atmf area nodes-detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1303
show atmf area summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1305
show atmf backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1306
show atmf backup area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1310
show atmf backup guest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1312
show atmf detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1314
show atmf group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1316
show atmf group members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1318
show atmf guest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1320
show atmf links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1322
show atmf links detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1324
show atmf links guest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1333
show atmf links statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336
show atmf memory (deprecated) . . . . . . . . . . . . . . . . . . . . . . . . . . 1339
show atmf nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1340
show atmf provision nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1342
show atmf tech . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1343
show atmf virtual-links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1346
show atmf working-set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1348
show debugging atmf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1349
show debugging atmf packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1350
show running-config atmf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1351
switchport atmf-agentlink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1352
switchport atmf-arealink remote-area . . . . . . . . . . . . . . . . . . . . . . . 1353
switchport atmf-crosslink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1355
switchport atmf-guestlink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1357
switchport atmf-link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1359
type atmf node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1360
undebug atmf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1363
username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1364
Dynamic Host Configuration Protocol (DHCP) Commands . . . . . . . 1366
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1366
ip address dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1367
show counter dhcp-client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1369
show dhcp lease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1370
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
21
C613-50135-01 Rev A
DHCP for IPv6 (DHCPv6) Commands . . . . . . . . . . . . . . . . . . . . . 1372
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1372
clear counter ipv6 dhcp-client . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373
clear ipv6 dhcp client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1374
ipv6 address dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1375
show counter ipv6 dhcp-client . . . . . . . . . . . . . . . . . . . . . . . . . . . 1376
show ipv6 dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1378
show ipv6 dhcp interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1379
NTP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1380
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1380
ntp access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1381
ntp authenticate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1382
ntp authentication-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1383
ntp broadcastdelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1384
ntp discard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1385
ntp master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1386
ntp peer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1387
ntp restrict . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1389
ntp server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391
ntp source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1393
ntp trusted-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1395
show counter ntp (deprecated) . . . . . . . . . . . . . . . . . . . . . . . . . . . 1396
show ntp associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1397
show ntp counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1399
show ntp counters associations . . . . . . . . . . . . . . . . . . . . . . . . . . . 1401
show ntp status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1403
SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1404
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1404
debug snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1406
show counter snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1407
show debugging snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1411
show running-config snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1412
show snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1413
show snmp-server community . . . . . . . . . . . . . . . . . . . . . . . . . . . 1414
show snmp-server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1415
show snmp-server user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1416
show snmp-server view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1417
snmp trap link-status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1418
snmp trap link-status suppress . . . . . . . . . . . . . . . . . . . . . . . . . . . 1420
snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1422
snmp-server community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1424
snmp-server contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1425
snmp-server enable trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1426
snmp-server engineID local . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1428
snmp-server engineID local reset . . . . . . . . . . . . . . . . . . . . . . . . . . 1430
snmp-server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1431
snmp-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1433
snmp-server legacy-ifadminstatus . . . . . . . . . . . . . . . . . . . . . . . . . 1435
snmp-server location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1436
snmp-server source-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1437
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
22
C613-50135-01 Rev A
snmp-server startup-trap-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . 1438
snmp-server user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439
snmp-server view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1442
undebug snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
LLDP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
clear lldp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446
clear lldp table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1447
debug lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1448
lldp faststart-count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1450
lldp holdtime-multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1451
lldp management-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1452
lldp med-notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1453
lldp med-tlv-select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1454
lldp non-strict-med-tlv-order-check . . . . . . . . . . . . . . . . . . . . . . . . 1457
lldp notification-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1458
lldp notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1459
lldp port-number-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1460
lldp reinit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1461
lldp run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1462
lldp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1463
lldp tlv-select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1464
lldp transmit receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1466
lldp tx-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1467
location civic-location configuration . . . . . . . . . . . . . . . . . . . . . . . . 1468
location civic-location identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . 1472
location civic-location-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1473
location coord-location configuration . . . . . . . . . . . . . . . . . . . . . . . 1474
location coord-location identifier . . . . . . . . . . . . . . . . . . . . . . . . . . 1476
location coord-location-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1477
location elin-location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1478
location elin-location-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1479
show debugging lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1480
show lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1482
show lldp interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1484
show lldp local-info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1486
show lldp neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1491
show lldp neighbors detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1493
show lldp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1497
show lldp statistics interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1499
show location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1501
SMTP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1503
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1503
debug mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1504
delete mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1505
mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1506
mail from . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1507
mail smtpserver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1508
show counter mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1509
show mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1510
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
23
C613-50135-01 Rev A
undebug mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1511
RMON Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1512
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1512
rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1513
rmon collection history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1515
rmon collection stats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1516
rmon event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1517
show rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1518
show rmon event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1519
show rmon history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1521
show rmon statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1523
Secure Shell (SSH) Commands . . . . . . . . . . . . . . . . . . . . . . . . . 1525
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1525
banner login (SSH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1527
clear ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1528
crypto key destroy hostkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1529
crypto key destroy userkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1530
crypto key generate hostkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1531
crypto key generate userkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1532
crypto key pubkey-chain knownhosts . . . . . . . . . . . . . . . . . . . . . . . 1533
crypto key pubkey-chain userkey . . . . . . . . . . . . . . . . . . . . . . . . . . 1535
debug ssh client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1537
debug ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1538
service ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1539
show banner login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1541
show crypto key hostkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1542
show crypto key pubkey-chain knownhosts . . . . . . . . . . . . . . . . . . . 1543
show crypto key pubkey-chain userkey . . . . . . . . . . . . . . . . . . . . . . 1544
show crypto key userkey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1545
show running-config ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1546
show ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1548
show ssh client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1550
show ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1551
show ssh server allow-users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1553
show ssh server deny-users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1554
ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1555
ssh client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1557
ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1559
ssh server allow-users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1561
ssh server authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1563
ssh server deny-users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1565
ssh server max-auth-tries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1567
ssh server resolve-host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1568
ssh server scp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1569
ssh server sftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1570
undebug ssh client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1571
undebug ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1572
Trigger Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1573
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1573
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
24
active (trigger) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1575
day . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1576
debug trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1578
description (trigger) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1579
repeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1580
script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1581
show debugging trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1583
show running-config trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1584
show trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1585
test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1590
time (trigger) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1591
trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1593
trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1594
trigger activate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1595
type atmf node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1596
type cpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1599
type interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1600
type memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1601
type periodic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1602
type ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1603
type reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1604
type time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1605
type usb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1606
undebug trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1607
Ping-Polling Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1608
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1608
active (ping-polling) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1610
clear ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1611
critical-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1612
debug ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1613
description (ping-polling) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1614
fail-count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1615
ip (ping-polling) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1616
length (ping-poll data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1617
normal-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1618
ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1619
sample-size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1620
show counter ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1622
show ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1624
source-ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1628
timeout (ping polling) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1630
up-count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1631
undebug ping-poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1632
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
25
List of Commands
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
26
C613-50135-01 Rev A
aaa authentication enable default group tacacs+ . . . . . . . . . . . . . . . . . . . . . . . .1030
access-list (numbered hardware ACL for IP packets). . . . . . . . . . . . . . . . . . . . . . . 711
access-list (numbered hardware ACL for IP protocols) . . . . . . . . . . . . . . . . . . . . . 714
access-list (numbered hardware ACL for MAC addresses) . . . . . . . . . . . . . . . . . 718
access-list (numbered hardware ACL for TCP or UDP) . . . . . . . . . . . . . . . . . . . . . 720
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
27
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
28
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
29
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
30
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
31
C613-50135-01 Rev A
clear spanning-tree detected protocols (RSTP and MSTP) . . . . . . . . . . . . . . . . . 444
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
32
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
33
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
34
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
35
C613-50135-01 Rev A
ip dhcp snooping agent-option allow-untrusted. . . . . . . . . . . . . . . . . . . . . . . . .1137
ip dhcp snooping agent-option circuit-id vlantriplet . . . . . . . . . . . . . . . . . . . . .1138
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
36
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
37
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
38
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
39
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
40
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
41
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
42
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
43
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
44
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
45
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
46
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
47
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
48
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
49
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
50
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
51
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
52
C613-50135-01 Rev A
switchport mode private-vlan trunk promiscuous. . . . . . . . . . . . . . . . . . . . . . . . . 414
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
53
C613-50135-01 Rev A
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
54
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
55
Part 1: Setup and Troubleshooting
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
56
1
CLI Navigation
Commands
Introduction
Overview This chapter provides an alphabetical reference for the commands used to navigate between different modes. This chapter also provides a reference for the help and show commands used to help navigate within the CLI.
Command List •
•
•
•
•
•
•
•
•
disable (Privileged Exec mode)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
57
CLI N AVIGATION C OMMANDS
CONFIGURE TERMINAL
configure terminal
Overview This command enters the Global Configuration command mode.
Syntax configure terminal
Mode Privileged Exec
Example To enter the Global Configuration command mode (note the change in the command prompt), enter the command: awplus# configure terminal awplus(config)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
58
CLI N AVIGATION C OMMANDS
DISABLE (P RIVILEGED E XEC MODE )
disable (Privileged Exec mode)
Overview This command exits the Privileged Exec mode, returning the prompt to the User
Exec mode. To end a session, use the exit command.
Syntax disable
Mode Privileged Exec
Example To exit the Privileged Exec mode, enter the command: awplus# disable awplus>
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
59
CLI N AVIGATION C OMMANDS
DO
do
Overview This command lets you to run User Exec and Privileged Exec mode commands when you are in any configuration mode.
Syntax do < command >
Parameter Description
< command > Specify the command and its parameters.
Mode Any configuration mode
Example awplus# configure terminal awplus(config)# do ping 192.0.2.23
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
60
CLI N AVIGATION C OMMANDS
ENABLE (P RIVILEGED E XEC MODE )
enable (Privileged Exec mode)
Overview This command enters the Privileged Exec mode and optionally changes the privilege level for a session. If a privilege level is not specified then the maximum privilege level (15) is applied to the session. If the optional privilege level is omitted then only users with the maximum privilege level can access Privileged Exec mode without providing the password as specified by the
or
enable secret commands. If no password is specified then only users with the maximum
privilege level set with the
command can assess Privileged Exec mode.
Syntax enable [< privilege-level >]
Parameter
< privilege
- level >
Description
Specify the privilege level for a CLI session in the range < 1-15 >, where
15 is the maximum privilege level, 7 is the intermediate privilege level and 1 is the minimum privilege level. The privilege level for a user must match or exceed the privilege level set for the CLI session for the user to access Privileged Exec mode. Privilege level for a user is configured by
Mode User Exec
Usage Many commands are available from the Privileged Exec mode that configure operating parameters for the device, so you should apply password protection to the Privileged Exec mode to prevent unauthorized use. Passwords can be encrypted but then cannot be recovered. Note that non-encrypted passwords are shown in plain text in configurations.
The username command sets the privilege level for the user. After login, users are
given access to privilege level 1. Users access higher privilege levels with the
enable (Privileged Exec mode) command. If the privilege level specified is higher
than the users configured privilege level specified by the
then the user is prompted for the password for that level.
Note that a separate password can be configured for each privilege level using the
enable secret commands from the Global Configuration
mode. The
service password-encryption command encrypts passwords
configured by the enable password and the
commands, so passwords are not shown in plain text in configurations.
Example The following example shows the use of the enable command to enter the
Privileged Exec mode (note the change in the command prompt).
awplus> enable awplus#
The following example shows the enable command enabling access the
Privileged Exec mode for users with a privilege level of 7 or greater. Users with a privilege level of 7 or greater do not need to enter a password to access Privileged
Exec mode. Users with a privilege level 6 or less need to enter a password to access
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
61
CLI N AVIGATION C OMMANDS
ENABLE (P RIVILEGED E XEC MODE )
Privilege Exec mode. Use the
command or the
commands to set the password to enable access to Privileged Exec mode.
awplus> enable 7 awplus#
Related
Commands
disable (Privileged Exec mode)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
62
CLI N AVIGATION C OMMANDS
END
end
Overview This command returns the prompt to the Privileged Exec command mode from any other advanced command mode.
Syntax end
Mode All advanced command modes, including Global Configuration and Interface
Configuration modes.
Example The following example shows the use of the end command to return to the
Privileged Exec mode directly from Interface mode.
awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# end awplus#
Related
Commands
disable (Privileged Exec mode)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
63
CLI N AVIGATION C OMMANDS
EXIT
exit
Overview This command exits the current mode, and returns the prompt to the mode at the previous level. When used in User Exec mode, the exit command terminates the session.
Syntax exit
Mode All command modes, including Global Configuration and Interface Configuration modes.
Example The following example shows the use of the exit command to exit Interface mode, and return to Configure mode.
awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# exit awplus(config)#
Related
Commands
disable (Privileged Exec mode)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
64
CLI N AVIGATION C OMMANDS
HELP
help
Overview This command displays a description of the AlliedWare Plus™ OS help system.
Syntax help
Mode All command modes
Example To display a description on how to use the system help, use the command: awplus# help
Output Figure 1-1: Example output from the help command
When you need help at the command line, press '?'.
If nothing matches, the help list will be empty. Delete characters until entering a '?' shows the available options.
Enter '?' after a complete parameter to show remaining valid
command parameters (e.g. 'show ?').
Enter '?' after part of a parameter to show parameters that complete the typed letters (e.g. 'show ip?').
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
65
CLI N AVIGATION C OMMANDS
LOGOUT
logout
Overview This command exits the User Exec or Privileged Exec modes and ends the session.
Syntax logout
Mode User Exec and Privileged Exec
Example To exit the User Exec mode, use the command: awplus# logout
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
66
CLI N AVIGATION C OMMANDS
SHOW HISTORY
show history
Overview This command lists the commands entered in the current session. The history buffer is cleared automatically upon reboot.
The output lists all command line entries, including commands that returned an error.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show history
Mode User Exec and Privileged Exec
Example To display the commands entered during the current session, use the command: awplus# show history
Output Figure 1-2: Example output from the show history command
1 en
2 show ru
3 conf t
4 route-map er deny 3
5 exit
6 ex
7 di
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
67
2
File and
Configuration
Management
Commands
Introduction
This chapter provides an alphabetical reference of AlliedWare Plus™ OS file and configuration management commands.
Filename Syntax and Keyword
Usage
Many of the commands in this chapter use the placeholder “filename” to represent the name and location of the file that you want to act on. The following table explains the syntax of the filename for each different type of file location.
When you copy a file...
Copying in local
Flash memory
Use this syntax: Example: flash:[/][< directory >/]< filename > To specify a file in the configs directory in Flash: flash:configs/example.cfg
Copying to or from a USB storage device
Copying with
HTTP usb:[/][< directory >/]< filename > To specify a file in the top-level directory of the USB stick: usb:example.cfg
http://[[< username >:< password >]@]
{< hostname >|< host-ip >}[/< filepath
>]/< filename >
To specify a file in the configs directory on the server: http://www.company.com/configs/exa mple.cfg
Copying with TFTP tftp://[[< location >]/< directory >]
/< filename >
To specify a file in the top-level directory of the server: tftp://172.1.1.1/example.cfg
Copying with SCP scp://< username >@< location >[/< dir ectory >][/< filename >]
To specify a file in the configs directory on the server, logging on as user “bob”: e.g. scp://[email protected]/configs/example
.cfg
Copying with SFTP sftp://[[< location >]/< directory >]
/< filename >
To specify a file in the top-level directory of the server: sftp://10.0.0.5/example.cfg
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
68
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
Valid characters The filename and path can include characters from up to four categories. The categories are:
1) uppercase letters: A to Z
2) lowercase letters: a to z
3) digits: 0 to 9
4) special symbols: most printable ASCII characters not included in the previous three categories, including the following characters:
•
•
•
•
•
•
•
•
.
-
'
/
_
@
"
*
•
• :
~
• ?
Do not use spaces, parentheses or the + symbol within filenames. Use hyphens or underscores instead.
Syntax for directory listings
A leading slash (/) indicates the root of the current filesystem location.
In commands where you need to specify the local filesystem’s Flash base directory, you may use flash or flash: or flash:/ . For example, these commands are all the same:
•
•
• dir flash dir flash: dir flash:/
Similarly, you can specify the USB storage device base directory with usb or usb: or usb:/
You cannot name a directory or subdirectory flash , nvs , usb , card , tftp , scp , sftp or http.
These keywords are reserved for tab completion when using various file commands.
Command List •
•
•
•
boot config-file backup ” on page 74
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
69
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ boot system backup ” on page 77
“ copy (filename) ” on page 79
“ copy current-software ” on page 81
“ copy running-config ” on page 83
“ copy startup-config ” on page 84
“ create autoboot ” on page 86
“ edit (filename) ” on page 92
“ erase startup-config ” on page 93
“ ip tftp source-interface ” on page 94
“ ipv6 tftp source-interface ” on page 95
“ show file systems ” on page 105
“ show running-config ” on page 107
“ show running-config interface ” on page 110
“ show startup-config ” on page 112
“ write terminal ” on page 116
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
70
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
AUTOBOOT ENABLE
autoboot enable
Overview This command enables the device to restore a release file and/or a configuration file from external media, such as a USB storage device.
When the Autoboot feature is enabled, the device looks for a special file called autoboot.txt
on the external media. If this file exists, the device will check the key and values in the file and recover the device with a new release file and/or configuration file from the external media. An example of a valid autoboot.txt
file is shown in the following figure.
Figure 2-1: Example autoboot.txt file
[AlliedWare Plus]
Copy_from_external_media_enabled=yes
Boot_Release=IE200-5.4.6I-0.1.rel
Boot_Config=network1.cfg
Use the no variant of this command to disable the Autoboot feature.
Syntax autoboot enable no autoboot enable
Default The Autoboot feature operates the first time the device is powered up in the field, after which the feature is disabled by default.
Mode Global Configuration
Example To enable the Autoboot feature, use the command: awplus# configure terminal awplus# configure terminal awplus(config)# no autoboot enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
71
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
BOOT CONFIG FILE
boot config-file
Overview Use this command to set the configuration file to use during the next boot cycle.
Use the no variant of this command to remove the configuration file.
Syntax boot config-file < filepath-filename > no boot config-file
Parameter Description
<filepath-filename> Filepath and name of a configuration file.
The specified configuration file must exist in the specified filesystem.
Valid configuration files must have a .
cfg extension.
Mode Global Configuration
Usage You can only specify that the configuration file is on a USB storage device if there is a backup configuration file already specified in Flash. If you attempt to set the configuration file on a USB storage device and a backup configuration file is not specified in Flash, the following error message is displayed:
% Backup configuration files must be stored in the flash filesystem
For an explanation of the configuration fallback order, see the File Management
Feature Overview and Configuration Guide .
Examples To run the configuration file “branch.cfg” stored on the device’s Flash filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot config-file flash:/branch.cfg
To stop running the configuration file “branch.cfg” stored on the device’s Flash filesystem when the device boots up, use the commands: awplus# configure terminal awplus(config)# no boot config-file flash:/branch.cfg
To run the configuration file “branch.cfg” stored on the switch’s USB storage device filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot config-file usb:/branch.cfg
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
72
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
BOOT CONFIG FILE
To stop running the configuration file “branch.cfg” stored on the switch’s USB storage device filesystem when the device boots up, use the commands: awplus# configure terminal awplus(config)# no boot config-file usb:/branch.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
73
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
BOOT CONFIG FILE BACKUP
boot config-file backup
Overview Use this command to set a backup configuration file to use if the main configuration file cannot be accessed.
Use the no variant of this command to remove the backup configuration file.
Syntax boot config-file backup < filepath-filename > no boot config-file backup
Parameter Description
<filepath-filename> Filepath and name of a backup configuration file.
Backup configuration files must be in the Flash filesystem.
Valid backup configuration files must have a .
cfg extension.
backup The specified file is a backup configuration file.
Mode Global Configuration
Usage For an explanation of the configuration fallback order, see the File Management
Feature Overview and Configuration Guide .
Examples To set the configuration file backup.cfg
as the backup to the main configuration file, use the commands: awplus# configure terminal awplus(config)# boot config-file backup flash:/backup.cfg
To remove the configuration file backup.cfg
as the backup to the main configuration file, use the commands: awplus# configure terminal awplus(config)# no boot config-file backup flash:/backup.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
74
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
BOOT SYSTEM
boot system
Overview Use this command to set the release file to load during the next boot cycle.
Use the no variant of this command to remove the release file as the boot file.
Syntax boot system < filepath-filename > no boot system
Parameter Description
<filepath-filename> Filepath and name of a release file.
The specified release file must exist and must be stored in the root directory of the specified filesystem.
Valid release files must have a .
rel extension.
Mode Global Configuration
Usage You can only specify that the release file is on a USB storage device if there is a backup release file already specified in Flash. If you attempt to set the release file on a USB storage device and a backup release file is not specified in Flash, the following error message is displayed:
% A backup boot image must be set before setting a current boot image on USB storage device
Examples To run the release file IE200-5.4.6I-0.1.rel stored on the device’s Flash filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot system flash:/IE200-5.4.6I-0.1.rel
To remove the release file IE200-5.4.6I-0.1.rel stored on the device’s Flash filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# no boot system flash:/IE200-5.4.6I-0.1.rel
To run the release file IE200-5.4.6I-0.1.rel stored on the switch’s USB storage device filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot system usb:/IE200-5.4.6I-0.1.rel
To remove the release file IE200-5.4.6I-0.1.rel stored on the switch’s USB storage device filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot system usb:/IE200-5.4.6I-0.1.rel
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
75
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
BOOT SYSTEM
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
76
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
BOOT SYSTEM BACKUP
boot system backup
Overview Use this command to set a backup release file to load if the main release file cannot be loaded.
Use the no variant of this command to remove the backup release file as the backup boot file.
Syntax boot system backup < filepath-filename > no boot system backup
Parameter Description
<filepath-filename> Filepath and name of a backup release file.
Backup release files must be in the Flash filesystem.
Valid release files must have a .
rel extension.
backup The specified file is a backup release file.
Mode Global Configuration
Examples To specify the file IE200-5.4.5I-2.1.rel as the backup to the main release file, use the commands: awplus# configure terminal awplus(config)# boot system backup flash:/IE200-5.4.5I-2.1.rel
To remove the file IE200-5.4.5I-2.1.rel as the backup to the main release file, use the commands: awplus# configure terminal awplus(config)# no boot system backup flash:/IE200-5.4.5I-2.1.rel
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
77
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
CD
cd
Overview This command changes the current working directory.
Syntax cd < directory-name >
Parameter Description
<directory-name> Name and path of the directory.
Mode Privileged Exec
Example To change to the directory called images , use the command: awplus# cd images
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
78
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY ( FILENAME )
copy (filename)
Overview This command copies a file. This allows you to:
•
•
•
• copy files from your device to a remote device copy files from a remote device to your device copy files stored on Flash memory to or from a different memory type, such as a USB storage device create two copies of the same file on your device
Syntax copy < source-name > < destination-name >
Parameter Description
<source-name>
The filename and path of the source file. See Introduction on page 68 for valid syntax.
<destination-name> The filename and path for the destination file. See
Introduction on page 68 for valid syntax.
Mode Privileged Exec
Examples To use TFTP to copy the file bob.key into the current directory from the remote server at 10.0.0.1, use the command: awplus# copy tftp://10.0.0.1/bob.key bob.key
To use SFTP to copy the file new.cfg into the current directory from a remote server at 10.0.1.2, use the command: awplus# copy sftp://10.0.1.2/new.cfg bob.key
To use SCP with the username “beth” to copy the file old.cfg into the directory config_files on a remote server that is listening on TCP port 2000, use the command: awplus# copy scp://beth@serv:2000/config_files/old.cfg old.cfg
To copy the file newconfig.cfg onto your device’s Flash from a USB storage device, use the command: awplus# copy usb:/newconfig.cfg flash:/newconfig.cfg
To copy the file newconfig.cfg to a USB storage device from your device’s Flash, use the command: awplus# copy flash:/newconfig.cfg usb:/newconfig.cfg
To copy the file config.cfg into the current directory from a USB storage device, and rename it to configtest.cfg, use the command: awplus# copy usb:/config.cfg configtest.cfg
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
79
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY ( FILENAME )
To copy the file config.cfg into the current directory from a remote file server, and rename it to configtest.cfg, use the command: awplus# copy fserver:/config.cfg configtest.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
80
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY CURRENT SOFTWARE
copy current-software
Overview This command copies the AlliedWare Plus™ OS software that the device has booted from, to a destination file. Specify whether the destination is Flash or USB when saving the software to the local filesystem.
Syntax copy current-software < destination-name >
Parameter Description
<destination-name> The filename and path where you would like the current running-release saved. This command creates a file if no file exists with the specified filename. If a file already exists, then the CLI prompts you before overwriting the file. See
Introduction on page 68 for valid syntax.
Mode Privileged Exec
Example To copy the current software as installed in the working directory with the file name my-release.rel
, use the command: awplus# copy current-software my-release.rel
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
81
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY DEBUG
copy debug
Overview This command copies a specified debug file to a destination file. Specify whether the destination is Flash or USB when saving the software to the local filesystem.
Syntax copy debug {< destination-name >|debug|flash|nvs|scp|tftp|usb}
{< source-name >|debug|flash|nvs|scp|tftp|usb}
Parameter Description
<destination-name> The filename and path where you would like the debug output saved. See
Introduction on page 68 for valid syntax.
<source-name> The filename and path where the debug output originates.
See Introduction on page 68 for valid syntax.
Mode Privileged Exec
Example To copy debug output to a USB storage device with a filename “my-debug”, use the following command: awplus# copy debug usb:my-debug
Output Figure 2-2: CLI prompt after entering the copy debug command
Enter source file name []:
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
82
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY RUNNING CONFIG
copy running-config
Overview This command copies the running-config to a destination file, or copies a source file into the running-config. Commands entered in the running-config do not survive a device reboot unless they are saved in a configuration file.
Syntax copy < source-name > running-config copy running-config [< destination-name >] copy running-config startup-config
Parameter
< source-name >
Description
The filename and path of a configuration file. This must be a valid configuration file with a .
cfg filename extension.
Specify this when you want the script in the file to become the new running-config. See
valid syntax.
< destination-name > The filename and path where you would like the current running-config saved. This command creates a file if no file exists with the specified filename. If a file already exists, then the CLI prompts you before overwriting the file. See
Introduction on page 68 for valid syntax. If you do not
specify a file name, the device saves the running-config to a file called default.cfg.
startup-config Copies the running-config into the file set as the current startup-config file.
Mode Privileged Exec
Examples To copy the running-config into the startup-config, use the command: awplus# copy running-config startup-config
To copy the file layer3.cfg
into the running-config , use the command: awplus# copy layer3.cfg running-config
To use SCP to copy the running-config as current.cfg
to the remote server listening on TCP port 2000, use the command: awplus# copy running-config scp://user@server:2000/config_files/current.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
83
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY STARTUP CONFIG
copy startup-config
Overview This command copies the startup-config script into a destination file, or alternatively copies a configuration script from a source file into the startup-config file.
Syntax copy < source-name > startup-config copy startup-config < destination-name >
Parameter
<source-name>
Description
The filename and path of a configuration file. This must be a valid configuration file with a .
cfg filename extension.
Specify this to copy the script in the file into the startup- config file. Note that this does not make the copied file the new startup file, so any further changes made in the configuration file are not added to the startup-config file unless you reuse this command. See
<destination-name> The destination and filename that you are saving the startup- config as. This command creates a file if no file exists with the specified filename. If a file already exists, then the CLI prompts you before overwriting the file. See
Introduction on page 68 for valid syntax.
Mode Privileged Exec
Examples To copy the file Layer3.cfg
to the startup-config , use the command: awplus# copy Layer3.cfg startup-config
To copy the startup-config as the file oldconfig.cfg
in the current directory, use the command: awplus# copy startup-config oldconfig.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
84
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
COPY ZMODEM
copy zmodem
Overview This command allows you to copy files using ZMODEM using Minicom. ZMODEM works over a serial connection and does not need any interfaces configured to do a file transfer.
Syntax copy < source-name > zmodem copy zmodem
Parameter
<source-name>
Description
The filename and path of the source file. See
Introduction on page 68 for valid syntax.
Mode Privileged Exec
Example To copy the local file asuka.key
using ZMODEM, use the command: awplus# copy asuka.key zmodem
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
85
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
CREATE AUTOBOOT
create autoboot
Overview Use this command to create an autoboot.txt
file on external media. This command will automatically ensure that the keys and values that are expected in this file are correct. After the file is created the create autoboot command will copy the current release and configuration files across to the external media. The external media is then available to restore a release file and/or a configuration file to the device.
Syntax create autoboot usb
Mode Privileged Exec
Example To create an autoboot.txt file on a USB storage device, use the command: awplus# create autoboot usb
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
86
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
DELETE
delete
Overview This command deletes files or directories.
Syntax delete [force] [recursive] < filename >
Parameter Description force Ignore nonexistent filenames and never prompt before deletion.
recursive Remove the contents of directories recursively.
< filename >
The filename and path of the file to delete. See Introduction on page
Mode Privileged Exec
Examples To delete the file temp.cfg
from the current directory, use the command: awplus# delete temp.cfg
To delete the read-only file one.cfg
from the current directory, use the command: awplus# delete force one.cfg
To delete the directory old_configs , which is not empty, use the command: awplus# delete recursive old_configs
To delete the directory new_configs , which is not empty, without prompting if any read-only files are being deleted, use the command: awplus# delete force recursive new_configs
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
87
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
DELETE DEBUG
delete debug
Overview Use this command to delete a specified debug output file.
Syntax delete debug < source-name >
Parameter
<source-name>
Description
The filename and path where the debug output originates.
See Introduction on page 68 for valid URL syntax.
Mode Privileged Exec
Example To delete debug output, use the following command: awplus# delete debug
Output Figure 2-3: CLI prompt after entering the delete debug command
Enter source file name []:
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
88
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
DIR
dir
Overview This command lists the files on a filesystem. If no directory or file is specified then this command lists the files in the current working directory.
Syntax dir [all] [recursive] [sort [reverse] [name|size|time]]
[< filename >|debug|flash|nvs|usb]
Parameter all recursive sort reverse name size time
< filename >
Description
List all files.
List the contents of directories recursively.
Sort directory listing.
Sort using reverse order.
Sort by name.
Sort by size.
Sort by modification time (default).
The name of the directory or file. If no directory or file is specified, then this command lists the files in the current working directory.
Debug root directory
Flash memory root directory
NVS memory root directory
USB storage device root directory debug flash nvs usb
Mode Privileged Exec
Examples To list the files in the current working directory, use the command: awplus# dir
To list the non-hidden files in the root of the Flash filesystem, use the command: awplus# dir flash
To list all the files in the root of the Flash filesystem, use the command: awplus# dir all flash:
To list recursively the files in the Flash filesystem, use the command: awplus# dir recursive flash:
To list the files in alphabetical order, use the command: awplus# dir sort name
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
89
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
DIR
To list the files by size, smallest to largest, use the command: awplus# dir sort reverse size
To sort the files by modification time, oldest to newest, use the command: awplus# dir sort reverse time
Output Figure 2-4: Example output from the dir command awplus#dir
630 -rw- May 19 2016 23:36:31 example.cfg
23652123 -rw- May 17 2016 03:41:18 IE200-5.4.6I-0.1.rel
149 -rw- Feb 9 2016 00:40:35 exception.log
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
90
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
EDIT
edit
Overview This command opens a text file in the AlliedWare Plus™ text editor. Once opened you can use the editor to alter to the file.
If a filename is specified and it already exists, then the editor opens it in the text editor.
If no filename is specified, the editor prompts you for one when you exit it.
Before starting the editor make sure your terminal, terminal emulation program, or
Telnet client is 100% compatible with a VT100 terminal. The editor uses VT100 control sequences to display text on the terminal.
For more information about using the editor, including control sequences, see the
File Management Feature Overview and Configuration Guide .
Syntax edit [< filename >]
Parameter
<filename>
Description
Name of a file in the local Flash filesystem.
Mode Privileged Exec
Examples To create and edit a new text file, use the command: awplus# edit
To edit the existing configuration file myconfig.cfg
stored on your device’s
Flash memory, use the command: awplus# edit myconfig.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
91
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
EDIT ( FILENAME )
edit (filename)
Overview This command opens a remote text file as read-only in the AlliedWare Plus™ text editor.
Before starting the editor make sure your terminal, terminal emulation program, or
Telnet client is 100% compatible with a VT100 terminal. The editor uses VT100 control sequences to display text on the terminal.
Syntax edit < filename >
Parameter
<filename>
Description
The filename and path of the remote file. See
Introduction on page 68 for valid syntax.
Mode Privileged Exec
Example To view the file bob.key
stored in the security directory of a TFTP server, use the command: awplus# edit tftp://security/bob.key
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
92
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
ERASE STARTUP CONFIG
erase startup-config
Overview This command deletes the file that is set as the startup-config file, which is the configuration file that the system runs when it boots up.
At the next restart, the device loads the default configuration file, default.cfg. If default.cfg no longer exists, then the device loads with the factory default configuration. This provides a mechanism for you to return the device to the factory default settings.
Syntax erase startup-config
Mode Privileged Exec
Example To delete the file currently set as the startup-config, use the command: awplus# erase startup-config
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
93
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
IP TFTP SOURCE INTERFACE
ip tftp source-interface
Overview Use this command to manually specify the IP address that all TFTP requests originate from. This is useful in network configurations where TFTP servers only accept requests from certain devices, or where the server cannot dynamically determine the source of the request.
Use the no variant of this command to stop specifying a source.
Syntax ip tftp source-interface [ <interface> | <ip-add> ] no ip tftp source-interface
Parameter
<interface>
<ip-add>
Description
The VLAN that TFTP requests originate from. The device will use the IP address of this interface as its source IP address.
The IP address that TFTP requests originate from, in dotted decimal format
Default There is no default source specified.
Mode Global Configuration
Usage This command is helpful in network configurations where TFTP traffic needs to traverse point-to-point links or subnets within your network, and you do not want to propagate those point-to-point links through your routing tables.
In those circumstances, the TFTP server cannot dynamically determine the source of the TFTP request, and therefore cannot send the requested data to the correct device. Specifying a source interface or address enables the TFTP server to send the data correctly.
Example To specify that TFTP requests originate from the IP address 192.0.2.1, use the following commands: awplus# configure terminal awplus(config)# ip tftp source-interface 192.0.2.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
94
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
IPV 6 TFTP SOURCE INTERFACE
ipv6 tftp source-interface
Overview Use this command to manually specify the IPv6 address that all TFTP requests originate from. This is useful in network configurations where TFTP servers only accept requests from certain devices, or where the server cannot dynamically determine the source of the request.
Use the no variant of this command to stop specifying a source.
Syntax ipv6 tftp source-interface [ <interface> | <ipv6-add> ] no ipv6 tftp source-interface
Parameter
<interface>
<ipv6-add>
Description
The VLAN that TFTP requests originate from. The device will use the IPv6 address of this interface as its source IPv6 address.
The IPv6 address that TFTP requests originate from, in the format x:x::x:x, for example, 2001:db8::8a2e:7334.
Default There is no default source specified.
Mode Global Configuration
Usage This command is helpful in network configurations where TFTP traffic needs to traverse point-to-point links or subnets within your network, and you do not want to propagate those point-to-point links through your routing tables.
In those circumstances, the TFTP server cannot dynamically determine the source of the TFTP request, and therefore cannot send the requested data to the correct device. Specifying a source interface or address enables the TFTP server to send the data correctly.
Example To specify that TFTP requests originate from the IPv6 address 2001:db8::8a2e:7334, use the following commands: awplus# configure terminal awplus(config)# ipv6 tftp source-interface 2001:db8::8a2e:7334
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
95
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
MKDIR
mkdir
Overview This command makes a new directory.
Syntax mkdir < name >
Parameter
<name>
Description
The name and path of the directory that you are creating.
Mode Privileged Exec
Usage You cannot name a directory or subdirectory flash , nvs , usb , card , tftp , scp , sftp or http.
These keywords are reserved for tab completion when using various file commands.
Example To make a new directory called images in the current directory, use the command: awplus# mkdir images
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
96
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
MOVE
move
Overview This command renames or moves a file.
Syntax move < source-name > < destination-name >
Parameter
<source-name>
Description
The filename and path of the source file. See
Introduction on page 68 for valid syntax.
<destination-name> The filename and path of the destination file. See
Introduction on page 68 for valid syntax.
Mode Privileged Exec
Examples To rename the file temp.cfg
to startup.cfg
, use the command: awplus# move temp.cfg startup.cfg
To move the file temp.cfg
from the root of the Flash filesystem to the directory myconfigs , use the command: awplus# move temp.cfg myconfigs/temp.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
97
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
MOVE DEBUG
move debug
Overview This command moves a specified debug file to a destination debug file.
Syntax move debug {< destination-name >|debug|flash|nvs|usb}
Parameter Description
<destination-name> The filename and path where you would like the debug
output moved to. See Introduction on page 68 for valid
syntax.
Mode Privileged Exec
Example To move debug output onto a USB storage device with a filename “my-debug”, use the following command: awplus# move debug usb:my-debug
Output Figure 2-5: CLI prompt after entering the move debug command
Enter source file name []:
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
98
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
PWD
pwd
Overview This command prints the current working directory.
Syntax pwd
Mode Privileged Exec
Example To print the current working directory, use the command: awplus# pwd
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
99
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
RMDIR
rmdir
Overview This command removes a directory. This command only works on empty directories, unless you specify the optional force keyword.
Syntax rmdir [force] < name >
Parameter force
< name >
Description
Optional keyword that allows you to delete directories that are not empty and contain files or subdirectories.
The name and path of the directory.
Mode Privileged Exec
Examples To remove the directory “images” from the top level of the Flash filesystem, use the command: awplus# rmdir flash:/images
To create a directory called “level1” containing a subdirectory called “level2”, and then force the removal of both directories, use the commands: awplus# mkdir level1 awplus# mkdir level1/level2 awplus# rmdir force level1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
100
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW AUTOBOOT
show autoboot
Overview This command displays the Autoboot configuration and status.
Syntax show autoboot
Mode Privileged Exec
Example To show the Autoboot configuration and status, use the command: awplus# show autoboot
Output Figure 2-6: Example output from the show autoboot command awplus#show autoboot
Autoboot configuration
-------------------------------------------------------------------------------
Autoboot status : enabled
USB file autoboot.txt exists : yes
Restore information on USB
Autoboot enable in autoboot.txt : yes
Restore release file : IE200-5.4.6I-0.1.rel
(file exists)
Restore configuration file : network_1.cfg (file exists)
Figure 2-7: Example output from the show autoboot command when an external media source is not present awplus#show autoboot
Autoboot configuration
-------------------------------------------------------------------------------
Autoboot status : disabled
External media source : media not found.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
101
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW BOOT
show boot
Overview This command displays the current boot configuration. We recommend that the currently running release is set as the current boot image.
Syntax show boot
Mode Privileged Exec
Example To show the current boot configuration, use the command: awplus# show boot
Output Figure 2-8: Example output from the show boot command when the current boot config is on a USB storage device
awplus#show boot
Boot configuration
---------------------------------------------------------------
Current software : IE200-5.4.6I-0.1.rel
Current boot image : usb:/IE200-5.4.6I-0.1.rel
Backup boot image : flash:/IE200-5.4.5I-2.1.rel
Default boot config: flash:/default.cfg
Current boot config: usb:/my.cfg (file exists)
Backup boot config: flash:/backup.cfg (file not found)
Autoboot status : enabled
Table 1: Parameters in the output of the show boot command
Parameter
Backup boot image
Description
Current software The current software release that the device is using.
Current boot image The boot image currently configured for use during the next boot cycle.
The boot image to use during the next boot cycle if the device cannot load the main image.
Default boot config
The default startup configuration file. The device loads this configuration script if no file is set as the startup- config file.
Current boot config
The configuration file currently configured as the startup-config file. The device loads this configuration file during the next boot cycle if this file exists.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
102
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW BOOT
Table 1: Parameters in the output of the show boot command (cont.)
Parameter Description
Backup boot config The configuration file to use during the next boot cycle if the main configuration file cannot be loaded.
Autoboot status The status of the Autoboot feature; either enabled or disabled.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
103
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW FILE
show file
Overview This command displays the contents of a specified file.
Syntax show file < filename >
Parameter
<filename>
Description
Name of a file on the local Flash filesystem, or name and directory path of a file.
Mode Privileged Exec
Example To display the contents of the file oldconfig.cfg
, which is in the current directory, use the command: awplus# show file oldconfig.cfg
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
104
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW FILE SYSTEMS
show file systems
Overview This command lists the filesystems and their utilization information where appropriate.
Syntax show file systems
Mode Privileged Exec
Examples To display the filesystems, use the command: awplus# show file systems
Output Figure 2-9: Example output from the show file systems command awplus#show file systems
Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail
------------------------------------------------------------------
63.0M 28.5M flash rw flash: static local Y
- - system rw system: virtual local
10.0M 9.8M debug rw debug: static local Y
499.0K 431.0K nvs rw nvs: static local Y
- - tftp rw tftp: - network
- - scp rw scp: - network
- - sftp ro sftp: - network
- - http ro http: - network
- - rsync rw rsync: - network -
Table 2: Parameters in the output of the show file systems command
Parameter
Size (B)
Available
Free (B)
Type
Flags
Description
The total memory available to this filesystem. The units are given after the value and are M for Megabytes or k for kilobytes.
The total memory free within this filesystem. The units are given after the value and are M for Megabytes or k for kilobytes.
The memory type used for this filesystem; one of: flash system nvs tftp scp sftp http.
The file setting options: rw (read write), ro (read only).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
105
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW FILE SYSTEMS
Table 2: Parameters in the output of the show file systems command (cont.)
Parameter
Prefixes
S/V/D
Lcl / Ntwk
Avail
Description
The prefixes used when entering commands to access the filesystems; one of: flash system nvs tftp scp sftp http.
The memory type: static, virtual, dynamic.
Whether the memory is located locally or via a network connection.
Whether the memory is accessible: Y (yes), N (no), - (not applicable)
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
106
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW RUNNING CONFIG
show running-config
Overview This command displays the current configuration of your device. Its output includes all non-default configuration. The default settings are not displayed.
NOTE
: You can control the output by entering | or > at the end of the command:
•
•
• To display only lines that contain a particular word, enter:
| include < word>
To start the display at the first line that contains a particular word, enter:
| begin < word>
To save the output to a file, enter:
> < filename>
Syntax show running-config [full|< feature >]
Parameter full
< feature >
Description
Display the running-config for all features. This is the default setting, so it is the same as entering show running-config .
Display only the configuration for a single feature. The features available depend on your device and will be some of the following list: access-list antivirus application as-path as-path access-list atmf
ACL configuration
Antivirus configuration
Application configuration
Autonomous system path filter configuration
Configuration of ACLs for AS path filtering bgp community-list crypto dhcp
Allied Telesis Management Framework configuration
Border Gateway Protocol (BGP) configuration
Community-list configuration
Security-specific configuration
DHCP configuration dpi entity firewall interface
Deep Packet Inspection configuration
Entity configuration
Firewall configuration
Interface configuration. See show running-config interface for further
options.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
107
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW RUNNING CONFIG
Parameter Description ip ip pim dense-mode ip pim sparse-mode ip route ip-reputation ips ipsec ipv6 ipv6 access-list ipv6 mroute ipv6 prefix-list ipv6 route isakmp key chain l2tp-profile lldp log malware-protection nat power-inline policy-based-routing pppoe-ac prefix-list route-map router router-id security-password snmp ssh
Internet Protocol (IP) configuration
PIM-DM configuration
PIM-SM configuration
IP static route configuration
IP Reputation configuration
IPS configuration
Internet Protocol Security (IPSec) configuration
Internet Protocol version 6 (IPv6) configuration
IPv6 ACL configuration
IPv6 multicast route configuration
IPv6 prefix list configuration
IPv6 static route configuration
Internet Security Association Key
Management Protocol (ISAKMP) configuration
Authentication key management configuration
L2TP tunnel profile configuration
LLDP configuration
Logging utility configuration
Malware protection configuration
Network Address Translation configuration
Power over Ethernet (PoE) configuration
Policy-based routing (PBR) configuration
PPPoE access concentrator configuration
Prefix-list configuration
Route-map configuration
Router configuration
Configuration of the router identifier for this system
Strong password security configuration
SNMP configuration
Secure Shell configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
108
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW RUNNING CONFIG
Parameter Description switch web-control
Switch configuration
Web Control configuration
Mode Privileged Exec and Global Configuration
Example To display the current configuration of your device, use the command: awplus# show running-config
Output Figure 2-10: Example output from show running-config
awplus#show running-config
!
service password-encryption
!
no banner motd
!
username manager privilege 15 password 8 $1$bJoVec4D$JwOJGPr7YqoExA0GVasdE0
!
service telnet no service telnet ipv6
!
no clock timezone
!
no snmp-server ipv6
!
ip domain-lookup
!
!
spanning-tree mode rstp
!
no ipv6 mld snooping
!
no spanning-tree rstp enable
!
interface port1.0.1-1.0.6
switchport
switchport mode access
!
interface vlan1
shutdown
!
line con 0
!
end
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
109
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW RUNNING CONFIG INTERFACE
show running-config interface
Overview This command displays the current configuration of one or more interfaces on the device.
Syntax show running-config interface [< interface-list >] [dot1x|ip igmp|ip multicast|ip pim dense-mode|ip pim sparse-mode|ipv6 rip|lacp|mstp|ospf|rip|rstp|stp]
Parameter
< interface-list > dot1x lacp ip igmp ip multicast mstp rstp stp
Description
The interfaces or ports to display information about. An interface-list can be:
• a VLAN (e.g. vlan2), a LAN port (e.g. port1.0.4), a static channel group (e.g. sa2) or a dynamic (LACP) channel group (e.g. po2)
• a continuous range of VLANs, ports, static channel groups or dynamic (LACP) channel groups, separated by a hyphen (e.g. vlan2-8, or port1.0.1-1.0.4, or sa1-2, or po1-2)
• a comma-separated list of the above (e.g. vlan2,vlan20-30). Do not mix interface types in a list.
The specified interfaces must exist.
Displays running configuration for 802.1X port authentication for the specified interfaces.
Displays running configuration for LACP (Link Aggregation
Control Protocol) for the specified interfaces.
Displays running configuration for IGMP (Internet Group
Management Protocol) for the specified interfaces.
Displays running configuration for general multicast settings for the specified interfaces.
Displays running configuration for MSTP (Multiple
Spanning Tree Protocol) for the specified interfaces.
Displays running configuration for RSTP (Rapid Spanning
Tree Protocol) for the specified interfaces.
Displays running configuration for STP (Spanning Tree
Protocol) for the specified interfaces.
Mode Privileged Exec and Global Configuration
Default Displays information for all protocols on all interfaces
Examples To display the current running configuration of your device for ports 1 to 4, use the command: awplus# show running-config interface port1.0.1-port1.0.4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
110
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW RUNNING CONFIG INTERFACE
To display the current running configuration of a device for VLAN 1, use the command: awplus# show running-config interface vlan1
To display the current running configuration of a device for VLANs 1 and 3-5, use the command: awplus# show running-config interface vlan1,vlan3-vlan5
Output Figure 2-11: Example output from a show running-config interface port1.0.2
command awplus#show running-config interface port1.0.2
!
interface port1.0.2
switchport
switchport mode access
!
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
111
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW STARTUP CONFIG
show startup-config
Overview This command displays the contents of the start-up configuration file, which is the file that the device runs on start-up.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show startup-config
Mode Privileged Exec
Example To display the contents of the current start-up configuration file, use the command: awplus# show startup-config
Output Figure 2-12: Example output from the show startup-config command awplus#show startup-config
!
service password-encryption
!
no banner motd
!
username manager privilege 15 password 8 $1$bJoVec4D$JwOJGPr7YqoExA0GVasdE0
!
no service ssh
!
service telnet
!
service http
!
no clock timezone
.
.
.
line con 0 line vty 0 4
!
end
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
112
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
SHOW VERSION
show version
Overview This command displays the version number and copyright details of the current
AlliedWare Plus™ OS your device is running.
Syntax show version
Mode User Exec and Privileged Exec
Example To display the version details of your currently installed software, use the command: awplus# show version
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
113
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
WRITE FILE
write file
Overview This command copies the running-config into the file that is set as the current startup-config file. This command is a synonym of the write memory and copy running-config startup-config commands.
Syntax write [file]
Mode Privileged Exec
Example To write configuration data to the start-up configuration file, use the command: awplus# write file
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
114
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
WRITE MEMORY
write memory
Overview This command copies the running-config into the file that is set as the current startup-config file. This command is a synonym of the write file and copy running-config startup-config commands.
Syntax write [memory]
Mode Privileged Exec
Example To write configuration data to the start-up configuration file, use the command: awplus# write memory
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
115
F ILE AND C ONFIGURATION M ANAGEMENT C OMMANDS
WRITE TERMINAL
write terminal
Overview This command displays the current configuration of the device. This command is a synonym of the
Syntax write terminal
Mode Privileged Exec
Example To display the current configuration of your device, use the command: awplus# write terminal
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
116
3
User Access
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure user access.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
flowcontrol hardware (asyn/console)
security-password forced-change
security-password minimum-categories
security-password minimum-length
security-password reject-expired-pwd
service terminal-length (deleted) ” on page 145
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
117
U SER A CCESS C OMMANDS
•
•
•
•
•
•
•
•
•
•
“ show privilege ” on page 146
“ show security-password configuration ” on page 147
“ show security-password user ” on page 148
“ terminal length ” on page 153
“ terminal resize ” on page 154
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
118
U SER A CCESS C OMMANDS
CLEAR LINE CONSOLE
clear line console
Overview This command resets a console line. If a terminal session exists on the line then the terminal session is terminated. If console line settings have changed then the new settings are applied.
Syntax clear line console 0
Mode Privileged Exec
Example To reset the console line (asyn), use the command: awplus# clear line console 0 awplus# % The new settings for console line 0 have been applied
Related
Commands
flowcontrol hardware (asyn/console)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
119
U SER A CCESS C OMMANDS
CLEAR LINE VTY
clear line vty
Overview This command resets a VTY line. If a session exists on the line then it is closed.
Syntax clear line vty < 0-32 >
Parameter
< 0-32 >
Description
Line number
Mode Privileged Exec
Example To reset the first VTY line, use the command: awplus# clear line vty 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
120
U SER A CCESS C OMMANDS
ENABLE PASSWORD
enable password
Overview
command to modify or create a password to be used, and use the no
command to remove the password.
command is an alias for the enable password
command, and the no
command is an alias for the no
enable password command. Issuing a
no
command removes a password configured with the
command. The enable password command is
shown in the running and startup configurations. Note that if the
command is entered then enable password is shown in the configuration.
Syntax enable password [ <plain> |8 <hidden> |level <1-15> 8 <hidden> ] no enable password [level <1-15> ]
Parameter
< plain >
8
< hidden > level
Description
Specifies the unencrypted password.
Specifies a hidden password will follow.
Specifies the hidden encrypted password. Use an encrypted password for better security where a password crosses the network or is stored on a TFTP server.
Privilege level <1-15>. Level for which the password applies. You can specify up to 16 privilege levels, using numbers 1 through 15. Level 1 is normal EXEC-mode user privileges for User Exec mode. If this argument is not specified in the command or the no variant of the command, the privilege level defaults to 15 (enable mode privileges) for Privileged Exec mode. A privilege level of 7 can be set for intermediate CLI security.
Default The privilege level for enable password is level 15 by default. Previously the default was level 1.
Mode Global Configuration
Usage This command enables the Network Administrator to set a password for entering the Privileged Exec mode when using the
command. There are three methods to enable a password. In the examples below, for each method, note that the configuration is different and the configuration file output is different, but the password string to be used to enter the Privileged Exec mode with the enable command is the same ( mypasswd ).
A user can now have an intermediate CLI security level set with this command for privilege level 7 to access all the show commands in Privileged Exec mode and all the commands in User Exec mode, but not any configuration commands in
Privileged Exec mode.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
121
U SER A CCESS C OMMANDS
ENABLE PASSWORD
command is an alias for the enable secret
command and one password per privilege level is allowed using these commands.
Do not assign one password to a privilege level with enable password
and another password to a privilege level with
enable secret commands. Do not use both on the same level.
Using plain passwords
The plain password is a clear text string that appears in the configuration file as configured.
awplus# configure terminal awplus(config)# enable password mypasswd awplus(config)# end
This results in the following show output: awplus#show run
Current configuration: hostname awplus enable password mypasswd
!
interface lo
Using encrypted passwords
You can configure an encrypted password using the service password-encryption
command. First, use the enable password command to specify the string that you want to use as a password ( mypasswd ). Then, use the
service password-encryption command to encrypt the specified string (
mypasswd ). The advantage of using an encrypted password is that the configuration file does not show mypasswd , it will only show the encrypted string fU7zHzuutY2SA .
awplus# configure terminal awplus(config)# enable password mypasswd awplus(config)# service password-encryption awplus(config)# end
This results in the following show output: awplus#show run
Current configuration: hostname awplus enable password 8 fU7zHzuutY2SA service password-encryption
!
interface lo
Using hidden passwords
You can configure an encrypted password using the HIDDEN parameter ( 8 ) with the
command. Use this method if you already know the encrypted string corresponding to the plain text string that you want to use as a
password. It is not required to use the service password-encryption
command for
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
122
U SER A CCESS C OMMANDS
ENABLE PASSWORD this method. The output in the configuration file will show only the encrypted string, and not the text string.
awplus# configure terminal awplus(config)# enable password 8 fU7zHzuutY2SA awplus(config)# end
This results in the following show output: awplus#show run
Current configuration: hostname awplus enable password 8 fU7zHzuutY2SA
!
interface lo
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
123
U SER A CCESS C OMMANDS
ENABLE SECRET
enable secret
Overview
command to modify or create a password to be used, and use the no
enable secret command to remove
the password.
command is an alias for the enable password
command, and the no
command is an alias for the no
enable password command. Issuing a
no
command removes a password configured with the
command. The enable password command is
shown in the running and startup configurations. Note that if the
command is entered then enable password is shown in the configuration
Syntax enable secret [ <plain> |8 <hidden> |level <0-15> 8 <hidden> ] no enable secret [level <1-15> ]
Parameter
< plain >
8
< hidden > level
Description
Specifies the unencrypted password.
Specifies a hidden password will follow.
Specifies the hidden encrypted password. Use an encrypted password for better security where a password crosses the network or is stored on a TFTP server.
Privilege level <1-15>. Level for which the password applies. You can specify up to 16 privilege levels, using numbers 1 through 15. Level 1 is normal EXEC-mode user privileges for User Exec mode. If this argument is not specified in the command or the no variant of the command, the privilege level defaults to 15 (enable mode privileges) for Privileged Exec mode. A privilege level of 7 can be set for intermediate CLI security.
Default The privilege level for enable secret is level 15 by default.
Mode Global Configuration
Usage This command enables the Network Administrator to set a password for entering the Privileged Exec mode when using the
command. There are three methods to enable a password. In the examples below, for each method, note that the configuration is different and the configuration file output is different, but the password string to be used to enter the Privileged Exec mode with the enable command is the same ( mypasswd ).
A user can have an intermediate CLI security level set with this command for privilege level 7 to access all the show commands in Privileged Exec mode and all the commands in User Exec mode, but not any configuration commands in
Privileged Exec mode.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
124
U SER A CCESS C OMMANDS
ENABLE SECRET
command is an alias for the enable password
command and one password per privilege level is allowed using these commands.
Do not assign one password to a privilege level with enable password
and another password to a privilege level with
enable secret commands. Do not use both on the same level.
Using plain passwords
The plain password is a clear text string that appears in the configuration file as configured.
awplus# configure terminal awplus(config)# enable secret mypasswd awplus(config)# end
This results in the following show output: awplus#show run
Current configuration: hostname awplus enable password mypasswd
!
interface lo
Using encrypted passwords
Configure an encrypted password using the service password-encryption
command. First, use the enable password command to specify the string that you want to use as a password ( mypasswd ). Then, use the
service password-encryption command to encrypt the specified string (
mypasswd ). The advantage of using an encrypted password is that the configuration file does not show mypasswd , it will only show the encrypted string fU7zHzuutY2SA .
awplus# configure terminal awplus(config)# enable secret mypasswd awplus(config)# service password-encryption awplus(config)# end
This results in the following show output: awplus#show run
Current configuration: hostname awplus enable password 8 fU7zHzuutY2SA service password-encryption
!
interface lo
Using hidden passwords
Configure an encrypted password using the HIDDEN parameter ( 8 ) with the enable password command. Use this method if you already know the encrypted string corresponding to the plain text string that you want to use as a password. It
is not required to use the service password-encryption command for this method.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
125
U SER A CCESS C OMMANDS
ENABLE SECRET
The output in the configuration file will show only the encrypted string, and not the text string: awplus# configure terminal awplus(config)# enable secret 8 fU7zHzuutY2SA awplus(config)# end
This results in the following show output: awplus#show run
Current configuration: hostname awplus enable password 8 fU7zHzuutY2SA
!
interface lo
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
126
U SER A CCESS C OMMANDS
EXEC TIMEOUT
exec-timeout
Overview This command sets the interval your device waits for user input from either a console or VTY connection. Once the timeout interval is reached, the connection is dropped. This command sets the time limit when the console or VTY connection automatically logs off after no activity.
The no variant of this command removes a specified timeout and resets to the default timeout (10 minutes).
Syntax exec-timeout { <minutes> } [ <seconds> ] no exec-timeout
Parameter
<minutes>
<seconds>
Description
<0-35791> Required integer timeout value in minutes
<0-2147483> Optional integer timeout value in seconds
Default The default for the exec-timeout command is 10 minutes and 0 seconds
( exec-timeout 10 0 ).
Mode Line Configuration
Usage This command is used set the time the telnet session waits for an idle VTY session, before it times out. An exec-timeout 0 0 setting will cause the telnet session to wait indefinitely. The command exec-timeout 0 0 is useful while configuring a device, but reduces device security.
If no input is detected during the interval then the current connection resumes. If no connections exist then the terminal returns to an idle state and disconnects incoming sessions.
Examples To set VTY connections to timeout after 2 minutes, 30 seconds if there is no response from the user, use the following commands: awplus# configure terminal awplus(config)# line vty 0 32 awplus(config-line)# exec-timeout 2 30
To reset the console connection to the default timeout of 10 minutes 0 seconds if there is no response from the user, use the following commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# no exec-timeout
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
127
U SER A CCESS C OMMANDS
EXEC TIMEOUT
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
128
U SER A CCESS C OMMANDS
FLOWCONTROL HARDWARE ( ASYN / CONSOLE )
flowcontrol hardware (asyn/console)
Overview Use this command to enable RTS/CTS (Ready To Send/Clear To Send) hardware flow control on a terminal console line (asyn port) between the DTE (Data Terminal
Equipment) and the DCE (Data Communications Equipment).
Syntax flowcontrol hardware no flowcontrol hardware
Mode Line Configuration
Default Hardware flow control is disabled by default.
Usage Hardware flow control makes use of the RTS and CTS control signals between the
DTE and DCE where the rate of transmitted data is faster than the rate of received data. Flow control is a technique for ensuring that a transmitting entity does not overwhelm a receiving entity with data. When the buffers on the receiving device are full, a message is sent to the sending device to suspend the transmission until the data in the buffers has been processed.
Hardware flow control can be configured on terminal console lines (e.g. asyn0). For
Reverse Telnet connections, hardware flow control must be configured to match on both the Access Server and the Remote Device. For terminal console sessions, hardware flow control must be configured to match on both the DTE and the DCE.
Settings are saved in the running configuration. Changes are applied after reboot, clear line console, or after closing the session.
Use show running-config and show startup-config commands to view hardware flow control settings that take effect after reboot for a terminal console line. See the show running-config command output: awplus#show running-config
!
line con 1
speed 9600
mode out 2001
flowcontrol hardware
!
•
•
•
Note that line configuration commands do not take effect immediately. Line configuration commands take effect after one of the following commands or events: issuing a issuing a clear line console reboot command
command logging out of the current session
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
129
U SER A CCESS C OMMANDS
FLOWCONTROL HARDWARE ( ASYN / CONSOLE )
Examples To enable hardware flow control on terminal console line asyn0, use the commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# flowcontrol hardware
To disable hardware flow control on terminal console line asyn0, use the commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# no flowcontrol hardware
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
130
U SER A CCESS C OMMANDS
LENGTH ( ASYN )
length (asyn)
Overview Use this command to specify the number of rows of output that the device will display before pausing, for the console or VTY line that you are configuring.
The no variant of this command restores the length of a line (terminal session) attached to a console port or to a VTY to its default length of 22 rows.
Syntax length <0-512 > no length
Parameter
<0-512>
Description
Number of lines on screen. Specify 0 for no pausing.
Mode Line Configuration
Default The length of a terminal session is 22 rows. The no length command restores the default.
Usage If the output from a command is longer than the length of the line the output will be paused and the ‘–More–’ prompt allows you to move to the next screen full of data.
A length of 0 will turn off pausing and data will be displayed to the console as long as there is data to display.
Examples To set the terminal session length on the console to 10 rows, use the command: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# length 10
To reset the terminal session length on the console to the default (22 rows), use the command: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# no length
To display output to the console continuously, use the command: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# length 0
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
131
U SER A CCESS C OMMANDS
LINE
line
Overview Use this command to enter line configuration mode for the specified VTYs or the console. The command prompt changes to show that the device is in Line
Configuration mode.
Syntax line vty <first-line> [ <last-line> ]
Parameter Description
<first-line> <0-32> Specify the first line number.
<last-line> <0-32> Specify the last line number.
console vty
The console terminal line(s) for local access.
Virtual terminal for remote console access.
Mode Global Configuration
Usage In Line Configuration mode, you can configure console and virtual terminal
settings, including setting speed (asyn)
, and authentication (
) or accounting ( accounting login ) method
lists.
To change the console (asyn) port speed, use this line command to enter Line
Configuration mode before using the
speed (asyn) command. Set the console
speed (Baud rate) to match the transmission rate of the device connected to the console (asyn) port on your device.
Note that line configuration commands do not take effect immediately. Line configuration commands take effect after one of the following commands or events:
•
•
• issuing a clear line console command issuing a reboot command logging out of the current session
Examples To enter Line Configuration mode in order to configure all VTYs, use the commands: awplus# configure terminal awplus(config)# line vty 0 32 awplus(config-line)#
To enter Line Configuration mode to configure the console (asyn 0) port terminal line, use the commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
132
U SER A CCESS C OMMANDS
LINE
Related
Commands
flowcontrol hardware (asyn/console)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
133
U SER A CCESS C OMMANDS
PRIVILEGE LEVEL
privilege level
Overview This command sets a privilege level for VTY or console connections. The configured privilege level from this command overrides a specific user’s initial privilege level at the console login.
Syntax privilege level <1-15 >
Mode Line Configuration
Usage You can set an intermediate CLI security level for a console user with this command by applying privilege level 7 to access all show commands in Privileged Exec and all User Exec commands. However, intermediate CLI security will not show configuration commands in Privileged Exec.
Examples To set the console connection to have the maximum privilege level, use the following commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# privilege level 15
To set all VTY connections to have the minimum privilege level, use the following commands: awplus# configure terminal awplus(config)# line vty 0 5 awplus(config-line)# privilege level 1
To set all VTY connections to have an intermediate CLI security level, to access all show commands, use the following commands: awplus# configure terminal awplus(config)# line vty 0 5 awplus(config-line)# privilege level 7
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
134
U SER A CCESS C OMMANDS
SECURITY PASSWORD HISTORY
security-password history
Overview This command specifies the number of previous passwords that are unable to be reused. A new password is invalid if it matches a password retained in the password history.
The no variant of the command disables this feature.
Syntax security-password history < 0-15 > no security-password history
Parameter
<0-15>
Description
The allowable range of previous passwords to match against. A value of 0 will disable the history functionality and is equivalent to the no security-password history command. If the history functionality is disabled, all users’ password history is reset and all password history is lost.
Default The default history value is 0 , which will disable the history functionality.
Mode Global Configuration
Examples To restrict reuse of the three most recent passwords, use the command: awplus# configure terminal awplus(config)# security-password history 3
To allow the reuse of recent passwords, use the command: awplus# configure terminal awplus(config)# no security-password history
Related
Commands
security-password forced-change
security-password minimum-categories
security-password minimum-length
security-password reject-expired-pwd
security-password
show security-password configuration
135 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
U SER A CCESS C OMMANDS
SECURITY PASSWORD FORCED CHANGE
security-password forced-change
Overview This command specifies whether or not a user is forced to change an expired password at the next login. If this feature is enabled, users whose passwords have expired are forced to change to a password that must comply with the current password security rules at the next login.
Note that to use this command, the lifetime feature must be enabled with the
security-password lifetime command and the reject-expired-pwd feature must be
disabled with the
security-password reject-expired-pwd command.
The no variant of the command disables this feature.
Syntax security-password forced-change no security-password forced-change
Default The forced-change feature is disabled by default.
Mode Global Configuration
Example To force a user to change their expired password at the next login, use the command: awplus# configure terminal awplus(config)# security-password forced-change
Related
Commands
security-password minimum-categories
security-password minimum-length
security-password reject-expired-pwd
security-password
show security-password configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
136
U SER A CCESS C OMMANDS
SECURITY PASSWORD LIFETIME
security-password lifetime
Overview This command enables password expiry by specifying a password lifetime in days.
Note that when the password lifetime feature is disabled, it also disables the
security-password forced-change
command and the
command.
The no variant of the command disables this feature.
Syntax security-password lifetime < 0-1000 > no security-password lifetime
Parameter
<0-1000>
Description
Password lifetime specified in days. A value of 0 will disable lifetime functionality and the password will never expire. This is equivalent to the no security-password lifetime command.
Default The default password lifetime is 0 , which will disable the lifetime functionality.
Mode Global Configuration
Example To configure the password lifetime to 10 days, use the command: awplus# configure terminal awplus(config)# security-password lifetime 10
Related
Commands
security-password forced-change
security-password minimum-categories
security-password minimum-length
security-password reject-expired-pwd
security-password
show security-password configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
137
U SER A CCESS C OMMANDS
SECURITY PASSWORD MINIMUM CATEGORIES
security-password minimum-categories
Overview This command specifies the minimum number of categories that the password must contain in order to be considered valid. The password categories are:
•
•
•
• uppercase letters: A to Z lowercase letters: a to z digits: 0 to 9 special symbols: all printable ASCII characters not included in the previous three categories. The question mark (?) cannot be used as it is reserved for help functionality.
Note that to ensure password security, the minimum number of categories should align with the lifetime selected, i.e. the fewer categories specified the shorter the lifetime specified.
Syntax security-password minimum-categories < 1-4 >
Parameter
<1-4>
Description
Number of categories the password must satisfy, in the range 1 to 4.
Default The default number of categories that the password must satisfy is 1 .
Mode Global Configuration
Example To configure the required minimum number of character categories to be 3 , use the command: awplus# configure terminal awplus(config)# security-password minimum-categories 3
Related
Commands
security-password forced-change
security-password minimum-length
security-password reject-expired-pwd
security-password
show security-password configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
138
U SER A CCESS C OMMANDS
SECURITY PASSWORD MINIMUM LENGTH
security-password minimum-length
Overview This command specifies the minimum allowable password length. This value is checked against when there is a password change or a user account is created.
Syntax security-password minimum-length < 1-23 >
Parameter
<1-23>
Description
Minimum password length in the range from 1 to 23.
Default The default minimum password length is 1 .
Mode Global Configuration
Example To configure the required minimum password length as 8 , use the command: awplus# configure terminal awplus(config)# security-password minimum-length 8
Related
Commands
security-password forced-change
security-password minimum-categories
security-password reject-expired-pwd
security-password
show security-password configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
139
U SER A CCESS C OMMANDS
SECURITY PASSWORD REJECT EXPIRED PWD
security-password reject-expired-pwd
Overview This command specifies whether or not a user is allowed to login with an expired password. Users with expired passwords are rejected at login if this functionality is enabled. Users then have to contact the Network Administrator to change their password.
CAUTION
: Once all users’ passwords are expired you are unable to login to the device again if the security-password reject-expired-pwd command has been executed. You will have to reboot the device with a default configuration file, or load an earlier software version that does not have the security password feature.
We recommend you never have the command line “security-password reject-expired-pwd” in a default config file.
Note that when the reject-expired-pwd functionality is disabled and a user logs on with an expired password, if the forced-change feature is enabled with
security-password forced-change
command, a user may have to change the password during login depending on the password lifetime specified by the
command.
The no variant of the command disables this feature.
Syntax security-password reject-expired-pwd no security-password reject-expired-pwd
Default The reject-expired-pwd feature is disabled by default.
Mode Global Configuration
Example To configure the system to reject users with an expired password, use the command: awplus# configure terminal awplus(config)# security-password reject-expired-pwd
Related
Commands
security-password forced-change
security-password minimum-categories
security-password minimum-length
security-password
show security-password configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
140
U SER A CCESS C OMMANDS
SECURITY PASSWORD WARNING
security-password warning
Overview This command specifies the number of days before the password expires that the user will receive a warning message specifying the remaining lifetime of the password.
Note that the warning period cannot be set unless the lifetime feature is enabled with the
command.
The no variant of the command disables this feature.
Syntax security-password warning < 0-1000 > no security-password warning
Parameter
<0-1000>
Description
Warning period in the range from 0 to 1000 days. A value 0 disables the warning functionality and no warning message is displayed for expiring passwords. This is equivalent to the no security-password warning command. The warning period must be less than, or equal
to, the password lifetime set with the security-password lifetime
command.
Default The default warning period is 0 , which disables warning functionality.
Mode Global Configuration
Example To configure a warning period of three days, use the command: awplus# configure terminal awplus(config)# security-password warning 3
Related
Commands
security-password forced-change
security-password minimum-categories
security-password minimum-length
security-password reject-expired-pwd
security-password
show security-password configuration
141 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
U SER A CCESS C OMMANDS
SERVICE ADVANCED VTY
service advanced-vty
Overview This command enables the advanced-vty help feature. This allows you to use TAB completion for commands. Where multiple options are possible, the help feature displays the possible options.
The no service advanced-vty command disables the advanced-vty help feature.
Syntax service advanced-vty no service advanced-vty
Default The advanced-vty help feature is enabled by default.
Mode Global Configuration
Examples To disable the advanced-vty help feature, use the command: awplus# configure terminal awplus(config)# no service advanced-vty
To re-enable the advanced-vty help feature after it has been disabled, use the following commands: awplus# configure terminal awplus(config)# service advanced-vty
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
142
U SER A CCESS C OMMANDS
SERVICE PASSWORD ENCRYPTION
service password-encryption
Overview Use this command to enable password encryption. This is enabled by default.
When password encryption is enabled, the device displays passwords in the running config in encrypted form instead of in plain text.
Use the no service password-encryption command to stop the device from displaying newly-entered passwords in encrypted form. This does not change the display of existing passwords.
Syntax service password-encryption no service password-encryption
Mode Global Configuration
Example awplus# configure terminal awplus(config)# service password-encryption
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
143
U SER A CCESS C OMMANDS
SERVICE TELNET
service telnet
Overview Use this command to enable the telnet server. The server is enabled by default.
Enabling the telnet server starts the device listening for incoming telnet sessions on the configured port.
The server listens on port 23, unless you have changed the port by using the
Use the no variant of this command to disable the telnet server. Disabling the telnet server will stop the device listening for new incoming telnet sessions.
However, existing telnet sessions will still be active.
Syntax service telnet [ip|ipv6] no service telnet [ip|ipv6]
Default The IPv4 and IPv6 telnet servers are enabled by default.
The configured telnet port is TCP port 23 by default.
Mode Global Configuration
Examples To enable both the IPv4 and IPv6 telnet servers, use the following commands: awplus# configure terminal awplus(config)# service telnet
To enable the IPv6 telnet server only, use the following commands: awplus# configure terminal awplus(config)# service telnet ipv6
To disable both the IPv4 and IPv6 telnet servers, use the following commands: awplus# configure terminal awplus(config)# no service telnet
To disable the IPv6 telnet server only, use the following commands: awplus# configure terminal awplus(config)# no service telnet ipv6
Related
Commands
144 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
U SER A CCESS C OMMANDS
SERVICE TERMINAL LENGTH ( DELETED )
service terminal-length (deleted)
Overview This command has been deleted in Software Version 5.4.5-0.1 and later.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
145
U SER A CCESS C OMMANDS
SHOW PRIVILEGE
show privilege
Overview This command displays the current user privilege level, which can be any privilege level in the range <1-15>. Privilege levels <1-6> allow limited user access (all User
Exec commands), privilege levels <7-14> allow restricted user access (all User Exec commands plus Privileged Exec show commands). Privilege level 15 gives full user access to all Privileged Exec commands.
Syntax show privilege
Mode User Exec and Privileged Exec
Usage A user can have an intermediate CLI security level set with this command for privilege levels <7-14> to access all show commands in Privileged Exec mode and all commands in User Exec mode, but no configuration commands in Privileged
Exec mode.
Example To show the current privilege level of the user, use the command: awplus# show privilege
Output Figure 3-1: Example output from the show privilege command awplus#show privilege
Current privilege level is 15 awplus#disable awplus>show privilege
Current privilege level is 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
146
U SER A CCESS C OMMANDS
SHOW SECURITY PASSWORD CONFIGURATION
show security-password configuration
Overview This command displays the configuration settings for the various security password rules.
Syntax show security-password configuration
Mode Privileged Exec
Example To display the current security-password rule configuration settings, use the command: awplus# show security-password configuration
Output Figure 3-2: Example output from the show security-password configuration command
Security Password Configuration
Minimum password length ............................ 8
Minimum password character categories to match ..... 3
Number of previously used passwords to restrict..... 4
Password lifetime .................................. 30 day(s)
Warning period before password expires ........... 3 day(s)
Reject expired password at login ................... Disabled
Force changing expired password at login ......... Enabled
Related
Commands
security-password
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
147
U SER A CCESS C OMMANDS
SHOW SECURITY PASSWORD USER
show security-password user
Overview This command displays user account and password information for all users.
Syntax show security-password user
Mode Privileged Exec
Example To display the system users’ remaining lifetime or last password change, use the command: awplus# show security-password user
Output Figure 3-3: Example output from the show security-password user command
User account and password information
UserName Privilege Last-PWD-Change Remaining-lifetime
--------------------------------------------------------------- manager 15 4625 day(s) ago No Expiry bob15 15 0 day(s) ago 30 days ted7 7 0 day(s) ago No Expiry mike1 1 0 day(s) ago No Expiry
Related
Commands
security-password
show security-password configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
148
U SER A CCESS C OMMANDS
SHOW TELNET
show telnet
Overview This command shows the Telnet server settings.
Syntax show telnet
Mode User Exec and Privileged Exec
Example To show the Telnet server settings, use the command: awplus# show telnet
Output Figure 3-4: Example output from the show telnet command
Telnet Server Configuration
-----------------------------------------------------------
Telnet server : Enabled
Protocol : IPv4,IPv6
Port : 23
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
149
U SER A CCESS C OMMANDS
SHOW USERS
show users
Overview This command shows information about the users who are currently logged into the device.
Syntax show users
Mode User Exec and Privileged Exec
Example To show the users currently connected to the device, use the command: awplus# show users
Output Figure 3-5: Example output from the show users command
Line User Host(s) Idle Location Priv Idletime Timeout con 0 manager idle 00:00:00 ttyS0 15 10 N/A vty 0 bob idle 00:00:03 172.16.11.3 1 0 5
Table 1: Parameters in the output of the show users command
Parameter
Line
User
Host(s)
Idle
Location
Priv
Idletime
Timeout
Description
Console port user is connected to.
Login name of user.
Status of the host the user is connected to.
How long the host has been idle.
URL location of user.
The privilege level in the range 1 to 15, with 15 being the highest.
The time interval the device waits for user input from either a console or VTY connection.
The time interval before a server is considered unreachable.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
150
U SER A CCESS C OMMANDS
TELNET
telnet
Overview Use this command to open a telnet session to a remote device.
Syntax telnet { <hostname> |[ip] <ipv4-addr >|[ipv6] <ipv6-addr >}
[< port >]
Parameter
< hostname > ip
<ipv4-addr> ipv6
<ipv6-addr>
< port >
Description
The host name of the remote system.
Keyword used to specify the IPv4 address or host name of a remote system.
An IPv4 address of the remote system.
Keyword used to specify the IPv6 address of a remote system
Placeholder for an IPv6 address in the format x:x::x:x , for example, 2001:db8::8a2e:7334
Specify a TCP port number (well known ports are in the range 1-
1023, registered ports are 1024-49151, and private ports are 49152-
65535).
Mode User Exec and Privileged Exec
Examples To connect to TCP port 2602 on the device at 10.2.2.2, use the command: awplus# telnet 10.2.2.2 2602
To connect to the telnet server host.example
, use the command: awplus# telnet host.example
To connect to the telnet server host.example
on TCP port 100 , use the command: awplus# telnet host.example 100
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
151
U SER A CCESS C OMMANDS
TELNET SERVER
telnet server
Overview This command enables the telnet server on the specified TCP port. If the server is already enabled then it will be restarted on the new port. Changing the port number does not affect the port used by existing sessions.
Syntax telnet server { <1-65535> |default}
Parameter
<1-65535> default
Description
The TCP port to listen on.
Use the default TCP port number 23.
Mode Global Configuration
Example To enable the telnet server on TCP port 2323, use the following commands: awplus# configure terminal awplus(config)# telnet server 2323
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
152
U SER A CCESS C OMMANDS
TERMINAL LENGTH
terminal length
Overview Use the terminal length command to specify the number of rows of output that the device will display before pausing, for the currently-active terminal only.
Use the terminal no length command to remove the length specified by this command. The default length will apply unless you have changed the length for
some or all lines by using the length (asyn) command.
Syntax terminal length < length > terminal no length [< length >]
Parameter
< length >
Description
<0-512> Number of rows that the device will display on the currently-active terminal before pausing.
Mode User Exec and Privileged Exec
Examples The following example sets the number of lines to 15: awplus# terminal length 15
The following example removes terminal length set previously: awplus# terminal no length
Related
Commands terminal resize
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
153
U SER A CCESS C OMMANDS
TERMINAL RESIZE
terminal resize
Overview Use this command to automatically adjust the number of rows of output on the console, which the device will display before pausing, to the number of rows configured on the user’s terminal.
Syntax terminal resize
Mode User Exec and Privileged Exec
Usage When the user’s terminal size is changed, then a remote session via SSH or TELNET adjusts the terminal size automatically. However, this cannot normally be done automatically for a serial or console port. This command automatically adjusts the terminal size for a serial or console port.
Examples The following example automatically adjusts the number of rows shown on the console: awplus# terminal resize
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
154
U SER A CCESS C OMMANDS
USERNAME
username
Overview This command creates or modifies a user to assign a privilege level and a password.
NOTE : The default username privilege level of 1 is not shown in running-config output.
Any username privilege level that has been modified from the default is shown.
Syntax username < name > privilege <1-15> [password [8] < password >] username < name > password [8] < password > no username < name >
Parameter
< name > privilege password
Description
The login name for the user. Do not use punctuation marks such as single quotes (‘ ‘), double quotes (“ “), or colons ( : ) with the user login name.
The user’s privilege level. Use the privilege levels to set the access rights for each user.
<1-15> A privilege level: either 1-14 (limited access) or 15 (full access). A user with privilege level 1-14 can only access higher privilege levels if an
has been configured for the level the user tries to access and the user enters that password.
A user at privilege level 1 can access the majority of show commands. A user at privilege level 7 can access the majority of show commands including platform show commands. Privilege
Level 15 (to access the Privileged Exec command mode) is required to access configuration commands as well as show commands in
Privileged Exec.
A password that the user must enter when logging in.
8 Specifies that you are entering a password as a string that has already been encrypted, instead of entering a plain-text password.
The running-config displays the new password as an encrypted string even if password encryption is turned off.
Note that the user enters the plain-text version of the password when logging in.
< password > The user’s password. The password can be up to 23 characters in length and include characters from up to four categories. The password categories are:
• uppercase letters: A to Z
• lowercase letters: a to z
• digits: 0 to 9
• special symbols: all printable ASCII characters not included in the previous three categories. The question mark ? cannot be used as it is reserved for help functionality.
Mode Global Configuration
Default The privilege level is 1 by default. Note the default is not shown in running-config output.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
155
U SER A CCESS C OMMANDS
USERNAME
Usage An intermediate CLI security level (privilege level 7 to privilege level 14) allows a
CLI user access to the majority of show commands, including the platform show commands that are available at privilege level 1 to privilege level 6. Note that some show commands, such as show running-configuration and show startup-configuration , are only available at privilege level 15.
Examples To create the user “bob” with a privilege level of 15, for all show commands including show running-configuration and show startup-configuration and to access configuration commands in Privileged Exec command mode, and the password “bobs_secret”, use the commands: awplus# configure terminal awplus(config)# username bob privilege 15 password bobs_secret
To create a user “junior_admin” with a privilege level of 7, which will have intermediate CLI security level access for most show commands, and the password
“show_only”, use the commands: awplus# configure terminal awplus(config)# username junior_admin privilege 7 password show_only
Related
Commands
security-password minimum-categories
security-password minimum-length
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
156
4
GUI Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure the GUI. For more information, see the Getting Started with Alliedware Plus
Command List •
•
•
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
157
GUI C OMMANDS
ATMF TOPOLOGY GUI ENABLE
atmf topology-gui enable
Overview Use this command to enable the operation of AMF Vista Manager on the Master device.
Use the no variant of this command to disable this feature.
Syntax atmf topology-gui enable no atmf topology-gui enable
Default By default the GUI support will not be enabled on AMF Master devices. An AMF
Controller device will have the GUI enabled by default. Regular nodes (not master or controller) will always have it disabled.
Mode Global Configuration mode
Usage This command is run from an AMF Master node. Topology information about your network is displayed in the GUI. For example; Node Name, status (i.e. link state, node status and recovery status), Role (i.e. Master or Controller) and IP address.
Example To enable AMF Vista Manager on Node1, use the following commands:
Node1# configure terminal
Node1(config)# atmf topology-gui enable
To disable AMF Vista Manager on Node1, use the following commands:
Node1# configure terminal
Node1(config)# no atmf topology-gui enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
158
GUI C OMMANDS
GUI TIMEOUT
gui-timeout
Overview Use this command to configure an idle timeout period for a GUI session. The time can be set in minutes and/or seconds.
Use the no variant of this command to disable the GUI session idle timeout.
Syntax gui-timeout <minutes> [ <seconds> ] no gui-timeout
Parameter
<minutes>
<seconds>
Description
Specifies the idle time in minutes from 0 through 35791
Specifies the idle time in seconds from 0 through 2147483
Default Disabled
Mode Global Configuration
Usage The GUI uses the configured timeout period (set in either minutes and/or seconds) to determine when a GUI session should be closed. Once the GUI timeout has expired, you will need to login to reactivate your session.
To enter seconds only, enter 0 for minutes, followed by a space, and then enter the seconds.
If the GUI timeout is disabled, a GUI session will remain active until you terminate it. No idle time will be configured.
The same timeout period will apply to all GUI sessions logged into a specific device.
Examples Use this command to configure the GUI timeout period for 3 minutes and 30 seconds for a GUI session.
awplus# gui-timeout 3 30
Use this command to configure the GUI timeout period for 0 minutes and 61 seconds for a GUI session.
awplus# gui-timeout 0 61
Use this command to disable the GUI timeout period.
awplus# no gui-timeout
Output Figure 4-1: Example output from gui-timeout awplus#configure terminal awplus(config)#gui-timeout 3 30
The new gui-timeout settings [3 min 30 sec] will apply to new sessions only
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
159
GUI C OMMANDS
LOG EVENT HOST
log event-host
Overview Use this command to set up an external host to log AMF topology events through
Vista Manager. This command is run on the Master device.
Use the no variant of this command to disable log events through Vista Manager.
Syntax log event-host [< ipv4-addr >|< ipv6-addr >] atmf-topology-event no log event-host [< ipv4-addr >|< ipv6-addr >] atmf-topology-event
Parameter
<ipv4-addr>
<ipv6-addr>
Description ipv4 address of the event host ipv6 address of the event host
Default Log events are disabled by default.
Mode Global Configuration
Usage Event hosts are set so syslog sends the messages out as they come.
NOTE
: There is a difference between log event and log host messages:
•
• Log event messages are sent out as they come by syslog
Log host messages are set to wait for a number of messages (20) to send them out together for traffic optimization.
Example To enable Node 1 to log event messages from host ipv6 address 192.0.2.31, use the following commands:
Node1# configure terminal
Node1(config)# log event-host 192.0.2.31 atmf-topology-event
To disable Node 1 to log event messages from host ipv6 address 192.0.2.31, use the following commands:
Node1# configure terminal
Node1(config)# no log event-host 192.0.2.31 atmf-topology-event
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
160
GUI C OMMANDS
SERVICE HTTP
service http
Overview Use this command to enable the HTTP (Hypertext Transfer Protocol) service. This service, which is enabled by default, is required to support the AlliedWare Plus™
GUI Java applet on a Java enabled browser.
Use the no variant of this command to disable the HTTP feature.
Syntax service http no service http
Default Enabled
Mode Global Configuration
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
161
GUI C OMMANDS
SHOW HTTP
show http
Overview This command shows the HTTP server settings.
Syntax show http
Mode User Exec and Privileged Exec
Example To show the HTTP server settings, use the command: awplus# show http
Output Figure 4-2: Example output from the show http command awplus#show http
HTTP Server Configuration
-----------------------------------------------------------
HTTP server : Enabled
Port : 80
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
162
5
System
Configuration and
Monitoring
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands for configuring and monitoring the system.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
continuous-reboot-prevention ” on page 177
show continuous-reboot-prevention
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
163
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ show ecofriendly ” on page 197
“ show interface memory ” on page 198
“ show memory allocations ” on page 202
“ show memory history ” on page 204
“ show memory pools ” on page 205
“ show memory shared ” on page 206
“ show reboot history ” on page 209
“ show router-id ” on page 210
“ show system environment ” on page 212
“ show system interrupts ” on page 213
“ show system mac ” on page 214
“ show system serialnumber ” on page 215
“ show tech-support ” on page 216
“ system territory (deprecated) ” on page 220
“ terminal monitor ” on page 221
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
164
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
BANNER EXEC
banner exec
Overview This command configures the User Exec mode banner that is displayed on the console after you login. The banner exec default command restores the User Exec banner to the default banner. Use the no banner exec command to disable the
User Exec banner and remove the default User Exec banner.
Syntax banner exec < banner-text> banner exec default no banner exec
Default By default, the AlliedWare Plus™ version and build date is displayed at console login, such as:
AlliedWare Plus (TM) 5.4.6-1 09/30/16 00:44:25
Mode Global Configuration
Examples To configure a User Exec mode banner after login (in this example, to tell people to use the enable command to move to Privileged Exec mode), enter the following commands:
awplus#configure terminal
awplus(config)#banner exec Use enable to move to Priv Exec mode
awplus(config)#exit awplus#exit awplus login: manager
Password:
Use enable to move to Priv Exec mode awplus>
To restore the default User Exec mode banner after login, enter the following commands:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
165
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
BANNER EXEC
awplus#configure terminal
awplus(config)#banner exec default
awplus(config)#exit awplus#exit awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59 awplus>
To remove the User Exec mode banner after login, enter the following commands:
awplus#configure terminal
awplus(config)#no banner exec
awplus(config)#exit
awplus#exit
awplus login: manager
Password: awplus>
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
166
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
BANNER LOGIN ( SYSTEM )
banner login (system)
Overview This command configures the login banner that is displayed on the console when you login. The login banner is displayed on all connected terminals. The login banner is displayed after the MOTD (Message-of-the-Day) banner and before the login username and password prompts.
Use the no banner login command to disable the login banner.
Syntax banner login no banner login
Default By default, no login banner is displayed at console login.
Mode Global Configuration
Examples To configure a login banner of “Authorised users only” to be displayed when you login, enter the following commands:
awplus#configure terminal
awplus(config)#banner login
Type CNTL/D to finish.
Authorised users only
awplus(config)#exit
awplus#exit
authorised users only
awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59 awplus>
To remove the login banner, enter the following commands:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
167
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
BANNER LOGIN ( SYSTEM )
awplus#configure terminal
awplus(config)#no banner login
awplus(config)#exit
awplus#exit
awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59 awplus>
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
168
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
BANNER MOTD
banner motd
Overview Use this command to create or edit the text MotD (Message-of-the-Day) banner displayed before login. The MotD banner is displayed on all connected terminals.
The MotD banner is useful for sending messages that affect all network users, for example, any imminent system shutdowns.
Use the no variant of this command to delete the MotD banner.
Syntax banner motd <motd-text> no banner motd
Parameter Description
<motd-text> The text to appear in the Message of the Day banner.
Default By default, the device displays the AlliedWare Plus™ OS version and build date when you login.
Mode Global Configuration
Examples To configure a MotD banner of “System shutdown at 6pm today” to be displayed when you log in, enter the following commands:
awplus>enable
awplus#configure terminal
awplus(config)#banner motd System shutdown at 6pm today
awplus(config)#exit
awplus#exit
System shutdown at 6pm today
awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59
To delete the login banner, enter the following commands:
169 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
BANNER MOTD
awplus>enable
awplus#configure terminal
awplus(config)#no banner motd
awplus(config)#exit
awplus#exit
awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59 awplus>
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
170
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CLOCK SET
clock set
Overview This command sets the time and date for the system clock.
Syntax clock set <hh:mm:ss> <day> <month>
<year >
Parameter
<hh:mm:ss>
<day>
<month>
<year>
Description
Local time in 24-hour format
Day of the current month, from 1 to 31
The first three letters of the current month
Current year, from 2000 to 2035
Mode Privileged Exec
Usage Configure the timezone before setting the local time. Otherwise, when you change the timezone, the device applies the new offset to the local time.
NOTE
: If Network Time Protocol (NTP) is enabled, then you cannot change the time or date using this command. NTP maintains the clock automatically using an external time source. If you wish to manually alter the time or date, you must first disable NTP.
Example To set the time and date on your system to 2pm on the 2nd of October 2016, use the command: awplus# clock set 14:00:00 2 oct 2016
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
171
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CLOCK SUMMER TIME DATE
clock summer-time date
Overview This command defines the start and end of summertime for a specific year only, and specifies summertime’s offset value to Standard Time for that year.
The no variant of this command removes the device’s summertime setting. This clears both specific summertime dates and recurring dates (set with the
clock summer-time recurring command).
By default, the device has no summertime definitions set.
Syntax clock summer-time <timezone-name> date < start-day >
< start-month > < start-year > < start-time > < end-day > < end-month >
< end-year > < end-time > < 1-180 > no clock summer-time
Parameter Description
<timezone-name> A description of the summertime zone, up to 6 characters long.
date Specifies that this is a date-based summertime setting for just the specified year.
<start-day>
<start-month>
Day that the summertime starts, from 1 to 31.
First three letters of the name of the month that the summertime starts.
<start-year>
<start-time>
Year that summertime starts, from 2000 to 2035.
Time of the day that summertime starts, in the 24-hour time format HH:MM.
<end-day>
<end-month>
Day that summertime ends, from 1 to 31.
First three letters of the name of the month that the summertime ends.
<end-year>
<end-time>
Year that summertime ends, from 2000 to 2035.
Time of the day that summertime ends, in the 24-hour time format HH:MM.
<1-180> The offset in minutes.
Mode Global Configuration
Examples To set a summertime definition for New Zealand using NZST (UTC+12:00) as the standard time, and NZDT (UTC+13:00) as summertime, with the summertime set to begin on the 25th of September 2016 and end on the 2nd of April 2017: awplus(config)# clock summer-time NZDT date 25 sep 2:00 2016 2 apr 2:00 2017 60
To remove any summertime settings on the system, use the command: awplus(config)# no clock summer-time
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
172
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CLOCK SUMMER TIME DATE
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
173
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CLOCK SUMMER TIME RECURRING
clock summer-time recurring
Overview This command defines the start and end of summertime for every year, and specifies summertime’s offset value to Standard Time.
The no variant of this command removes the device’s summertime setting. This
By default, the device has no summertime definitions set.
Syntax clock summer-time <timezone-name> recurring < start-week >
< start-day > < start-month > < start-time > < end-week > < end-day >
< end-month > < end-time > < 1-180 > no clock summer-time
Parameter
<timezone- name> recurring
Description
A description of the summertime zone, up to 6 characters long.
Specifies that this summertime setting applies every year from now on.
<start-week> Week of the month when summertime starts, in the range 1-5. The value 5 indicates the last week that has the specified day in it for the specified month. For example, to start summertime on the last
Sunday of the month, enter 5 for <start-week> and sun for
<start-day> .
<start-day> Day of the week when summertime starts. Valid values are mon, tue, wed, thu, fri, sat or sun.
<start-month> First three letters of the name of the month that summertime starts.
<start-time> Time of the day that summertime starts, in the 24-hour time format HH:MM.
<end-week> Week of the month when summertime ends, in the range 1-5. The value 5 indicates the last week that has the specified day in it for the specified month. For example, to end summertime on the last
Sunday of the month, enter 5 for <end-week> and sun for <end- day> .
<end-day> Day of the week when summertime ends. Valid values are mon, tue, wed, thu, fri, sat or sun.
<end-month> First three letters of the name of the month that summertime ends.
<end-time> Time of the day that summertime ends, in the 24-hour time format
HH:MM.
<1-180> The offset in minutes.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
174
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CLOCK SUMMER TIME RECURRING
Mode Global Configuration
Examples To set a summertime definition for New Zealand using NZST (UTC+12:00) as the standard time, and NZDT (UTC+13:00) as summertime, with summertime set to start on the last Sunday in September, and end on the 1st Sunday in April, use the command: awplus(config)# clock summer-time NZDT recurring 5 sun sep 2:00
1 sun apr 2:00 60
To remove any summertime settings on the system, use the command: awplus(config)# no clock summer-time
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
175
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CLOCK TIMEZONE
clock timezone
Overview This command defines the device’s clock timezone. The timezone is set as a offset to the UTC.
The no variant of this command resets the system time to UTC.
By default, the system time is set to UTC.
Syntax clock timezone <timezone-name> {minus|plus}
[< 0-13 >|< 0-12 >:< 00-59 >] no clock timezone
Parameter
<timezone-name> minus orplus
<0-13>
<0-12>:<00-59>
Description
A description of the timezone, up to 6 characters long.
The direction of offset from UTC. The minus option indicates that the timezone is behind UTC. The plus option indicates that the timezone is ahead of UTC.
The offset in hours or from UTC.
The offset in hours or from UTC.
Mode Global Configuration
Usage Configure the timezone before setting the local time. Otherwise, when you change the timezone, the device applies the new offset to the local time.
Examples To set the timezone to New Zealand Standard Time with an offset from UTC of +12 hours, use the command: awplus(config)# clock timezone NZST plus 12
To set the timezone to Indian Standard Time with an offset from UTC of +5:30 hours, use the command: awplus(config)# clock timezone IST plus 5:30
To set the timezone back to UTC with no offsets, use the command: awplus(config)# no clock timezone
Related
Commands
176 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CONTINUOUS REBOOT PREVENTION
continuous-reboot-prevention
Overview Use this command to enable and to configure the continuous reboot prevention feature. Continuous reboot prevention allows the user to configure the time period during which reboot events are counted, the maximum number of times the switch can reboot within the specified time period, referred to as the threshold, and the action to take if the threshold is exceeded.
This command is available with Software Version 5.4.3A-1.x and later.
Use the no variant of this command to disable the continuous reboot prevention feature or to return the period , threshold and action parameters to the defaults.
Syntax continuous-reboot-prevention enable continuous-reboot-prevention [period < 0-604800 >] [threshold
< 1-10 >] [action [linkdown|logonly|stopreboot]] no continuous-reboot-prevention enable no continuous-reboot-prevention [period] [threshold] [action]}
Parameter enable period threshold action
Description
Enable the continuous reboot prevention feature.
Set the period of time in which reboot events are counted.
< 0-604800 > Period value in seconds. The default is 600.
Set the maximum number of reboot events allowed in the specified period.
< 1-10 > Threshold value. The default is 1.
Set the action taken if the threshold is exceeded.
linkdown Reboot procedure continues and all switch ports stay link-down. The reboot event is logged. This is the default action.
logonly Reboot procedure continues normally and the reboot event is logged.
stopreboot Reboot procedure stops until the user enters the key ”c” via the CLI. Normal reboot procedure then continues and the reboot event is logged.
Default Continuous reboot prevention is disabled by default. The default period value is
600, the default threshold value is 1 and the default action is linkdown.
Mode Global Configuration
Usage Note that user-initiated reboots via the CLI, and software version auto-synchronization reboots, are not counted toward the threshold value.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
177
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
CONTINUOUS REBOOT PREVENTION
Examples To enable continuous reboot prevention, use the commands: awplus# configure terminal awplus(config)# continuous-reboot-prevention enable
To set the period to 500 and action to stopreboot, use the commands: awplus# configure terminal awplus(config)# continuous-reboot-prevention period 500 action stopreboot
To return the period and action to the defaults and keep the continuous reboot prevention feature enabled, use the commands: awplus# configure terminal awplus(config)# no continuous-reboot-prevention period action
To disable continuous reboot prevention, use the commands: awplus# configure terminal awplus(config)# no continuous-reboot-prevention enable
Related
Commands
show continuous-reboot-prevention
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
178
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
ECOFRIENDLY LED
ecofriendly led
Overview Use this command to enable the eco-friendly LED (Light Emitting Diode) feature, which turns off power to the port LEDs. Power to the system status LED is not disabled.
Use the no variant of this command to disable the eco-friendly LED feature.
Syntax ecofriendly led no ecofriendly led
Default The eco-friendly LED feature is disabled by default.
Mode Global Configuration
Usage When the eco-friendly LED feature is enabled, a change in port status will not affect the display of the associated LED. When the eco-friendly LED feature is disabled and power is returned to port LEDs, the LEDs will correctly show the current state of the ports.
For an example of how to configure a trigger to turn off power to port LEDs, see the
Triggers Feature Overview and Configuration Guide .
Examples To enable the eco-friendly LED feature which turns off power to all port LEDs, use the following commands: awplus# configure terminal awplus(config)# ecofriendly led
To disable the eco-friendly LED feature, use the following command: awplus# configure terminal awplus(config)# no ecofriendly led
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
179
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
FINDME
findme
Overview Use this command to physically locate a specific device from a group of similar devices. Activating the command causes a selected number of port LEDs to alternately flash green then amber (if that device has amber LEDs) at a rate of 1 Hz.
Use the no variant of this command to deactivate the Find Me feature prior to the timeout expiring.
Syntax findme [interface < port-list >] [timeout < duration >] no findme
Parameter timeout < duration >
Description interface <port-list> The ports to flash. The port list can be:
• a switch port, e.g. port1.0.4
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-1.0.4
• a comma-separated list of ports and port ranges, e.g. port1.0.1,port1.0.5-1.0.6
.
How long the LEDs flash, in seconds, in the range 5 to
3600 seconds.
Default By default all port LEDs flash for 60 seconds.
Mode Privileged Exec
Usage Running the findme command causes the device’s port LEDs to flash. An optional timeout parameter specifies the flash behavior duration. Normal LED behavior is restored automatically after either the default time, or a specified time has elapsed, or a no findme command is used. You can specify which interface or interfaces are flashed with the optional interface parameter.
Example To activate the Find Me feature for the default duration (60 seconds) on all ports, use the following command: awplus# findme
To activate the Find Me feature for 120 seconds on all ports, use the following command: awplus# findme timeout 120
To activate the Find Me feature for the default duration (60 seconds) on switch port interfaces port1.0.2 through port1.0.4, use the following command: awplus# findme interface port1.0.2-1.0.4
In the example above, ports 2 to 4 will flash 4 times and then all ports will flash twice. Each alternate flash will be amber (if that device has amber LEDs). This pattern will repeat until timeout (default or set) or no findme commands are used.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
180
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
FINDME
To deactivate the Find Me feature, use the following command: awplus# no findme
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
181
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
FINDME TRIGGER
findme trigger
Overview When this command is enabled, the LED flashing functionality of the find-me command is applied whenever any or all of the selected parameter conditions is detected.
Use the no variant to remove the findme trigger function for the selected parameter.
Syntax findme trigger {all|loopprot|thrash-limit} no findme trigger {all|loopprot|thrash-limit}
Parameter all loopprot thrash-limit
Description
Enable the find-me function whenever any of the listed parameter conditions are detected
Enable the findme function whenever a loop protection condition is detected.
Enable the findme function whenever a MAC address thrash-limiting condition is detected.
Default The findme trigger function is disabled.
Mode Global config
Usage Note that findme trigger is not available if you have set the switch to take the following actions in response to an event:
•
• For loop detection, the actions log-only and
For MAC address thrash-limiting, the actions none learn-disable and none .
Example To enable action LED flashing for the loop protection function: awplus# findme trigger loopprot
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
182
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
HOSTNAME
hostname
Overview This command sets the name applied to the device as shown at the prompt. The hostname is:
•
•
displayed in the output of the show system command
displayed in the CLI prompt so you know which device you are configuring
• stored in the MIB object sysName
Use the no variant of this command to revert the hostname setting to its default.
For devices that are not part of an AMF network, the default is “awplus”.
Syntax hostname <hostname > no hostname [ <hostname >]
Parameter Description
<hostname> Specifies the name given to a specific device. This is also referred to as the Node name in AMF output screens.
Default awplus
Mode Global Configuration
Usage Within an AMF network, any device without a user-defined hostname will automatically be assigned a name based on its MAC address.
To efficiently manage your network using AMF, we strongly advise that you devise a naming convention for your network devices and apply an appropriate hostname to each device.
The name must also follow the rules for ARPANET host names. The name must start with a letter, end with a letter or digit, and use only letters, digits, and hyphens.
Refer to RFC 1035.
Example To set the system name to HQ-Sales , use the command: awplus# configure terminal awplus(config)# hostname HQ-Sales
This changes the prompt to:
HQ-Sales(config)#
To revert to the default hostname awplus , use the command:
HQ-Sales(config)# no hostname
This changes the prompt to: awplus(config)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
183
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
HOSTNAME
NOTE
: When AMF is configured, running the no hostname command will apply a hostname that is based on the MAC address of the device node, for example, node_0000_5e00_5301 .
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
184
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
NO DEBUG ALL
no debug all
Overview This command disables the debugging facility for all features on your device. This stops the device from generating any diagnostic debugging messages.
The debugging facility is disabled by default.
Syntax no debug all [ipv6|dot1x|nsm]
Parameter dot1x ipv6 nsm
Description
Turns off all debugging for IEEE 802.1X port-based network access- control.
Turns off all debugging for IPv6 (Internet Protocol version 6).
Turns off all debugging for the NSM (Network Services Module).
Mode Global Configuration and Privileged Exec
Example To disable debugging for all features, use the command: awplus# no debug all
To disable all 802.1X debugging, use the command: awplus# no debug all dot1x
To disable all IPv6 debugging, use the command: awplus# no debug all ipv6
To disable all NSM debugging, use the command: awplus# no debug all nsm
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
185
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
REBOOT
reboot
Overview This command halts the device and performs a cold restart (also known as reload).
It displays a confirmation request before restarting.
Syntax reboot reload
Mode Privileged Exec
Usage The reboot and reload commands perform the same action.
Examples To restart the device, use the command: awplus# reboot reboot system? (y/n): y
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
186
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
RELOAD
reload
Overview
This command performs the same function as the reboot command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
187
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CLOCK
show clock
Overview This command displays the system’s current configured local time and date. It also displays other clock related information such as timezone and summertime configuration.
Syntax show clock
Mode User Exec and Privileged Exec
Example To display the system’s current local time, use the command: awplus# show clock
Output Figure 5-1: Example output from the show clock command for a device using
New Zealand time
Local Time: Mon, 17 Oct 2016 13:56:06 +1200
UTC Time: Mon, 17 Oct 2016 01:56:06 +0000
Timezone: NZST
Timezone Offset: +12:00
Summer time zone: NZDT
Summer time starts: Last Sunday in September at 02:00:00
Summer time ends: First Sunday in April at 02:00:00
Summer time offset: 60 mins
Summer time recurring: Yes
Table 1: Parameters in the output of the show clock command
Parameter
Summer time recurring
Description
Local Time
UTC Time
Timezone
Timezone Offset
Current local time.
Current UTC time.
The current configured timezone name.
Number of hours offset to UTC.
Summer time zone The current configured summertime zone name.
Summer time starts Date and time set as the start of summer time.
Summer time ends Date and time set as the end of summer time.
Summer time offset Number of minutes that summer time is offset from the system’s timezone.
Whether the device will apply the summer time settings every year or only once.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
188
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CLOCK
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
189
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CONTINUOUS REBOOT PREVENTION
show continuous-reboot-prevention
Overview This command displays the current continuous reboot prevention configuration.
Syntax show continuous-reboot-prevention
Mode User Exec and Privileged Exec
Examples To show the current continuous reboot prevention configuration, use the command: awplus# show continuous-reboot-prevention
Output Figure 5-2: Example output from the show continuous-reboot-prevention command
--------------------------------------------
Continuous reboot prevention
-------------------------------------------- status=disabled period=600 threshold=1 action=linkdown
--------------------------------------------
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
190
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CPU
show cpu
Overview This command displays a list of running processes with their CPU utilization.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show cpu [sort {thrds|pri|sleep|runtime}]
Parameter sort
Description
Changes the sorting order using the following fields. If you do not specify a field, then the list is sorted by percentage CPU utilization.
thrds pri sleep runtime
Sort by the number of threads.
Sort by the process priority.
Sort by the average time sleeping.
Sort by the runtime of the process.
Mode User Exec and Privileged Exec
Examples To show the CPU utilization of current processes, sorting them by the number of threads the processes are using, use the command: awplus# show cpu sort thrds
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
191
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CPU
Output Figure 5-3: Example output from show cpu
CPU averages:
1 second: 12%, 20 seconds: 2%, 60 seconds: 2%
System load averages:
1 minute: 0.03, 5 minutes: 0.02, 15 minutes: 0.00
Current CPU load:
userspace: 6%, kernel: 4%, interrupts: 1% iowaits: 0%
user processes
==============
pid name thrds cpu% pri state sleep% runtime
1544 hostd 1 2.8 20 run 0 120
1166 exfx 17 1.8 20 sleep 0 3846
1284 aisexec 44 0.9 -2 sleep 0 2606
1 init 1 0.0 20 sleep 0 120
9772 sh 1 0.0 20 sleep 0 0
9773 corerotate 1 0.0 20 sleep 0 0
853 syslog-ng 1 0.0 20 sleep 0 356
859 klogd 1 0.0 20 sleep 0 1
910 inetd 1 0.0 20 sleep 0 3
920 portmap 1 0.0 20 sleep 0 0
931 crond 1 0.0 20 sleep 0 1
1090 openhpid 11 0.0 20 sleep 0 233
1111 hpilogd 1 0.0 20 sleep 0 0
1240 hsl 1 0.0 20 sleep 0 79
1453 authd 1 0.0 20 sleep 0 85
...
Table 2: Parameters in the output of the show cpu command
Parameter
CPU averages
System load averages
Current CPU load pid name thrds cpu% pri state
Description
Average CPU utilization for the periods stated.
The average number of processes waiting for CPU time for the periods stated.
Current CPU utilization specified by load types.
Identifier number of the process.
A shortened name for the process
Number of threads in the process.
Percentage of CPU utilization that this process is consuming.
Process priority state.
Process state; one of “run”, “sleep”, “zombie”, and “dead”.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
192
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CPU
Table 2: Parameters in the output of the show cpu command (cont.)
Parameter sleep% runtime
Description
Percentage of time that the process is in the sleep state.
The time that the process has been running for, measured in jiffies. A jiffy is the duration of one tick of the system timer interrupt.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
193
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CPU HISTORY
show cpu history
Overview This command prints a graph showing the historical CPU utilization.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show cpu history
Mode User Exec and Privileged Exec
Usage This command’s output displays three graphs of the percentage CPU utilization:
•
•
• per second for the last minute, then per minute for the last hour, then per 30 minutes for the last 30 hours.
Examples To display a graph showing the historical CPU utilization of the device, use the command: awplus# show cpu history
Output Figure 5-4: Example output from the show cpu history command
Per second CPU load history
100
90
80
70
60
50
40
30
20 *
10 ******************************************* ****************
|....|....|....|....|....|....|....|....|....|....|....|....
Oldest Newest
CPU load% per second (last 60 seconds)
* = average CPU load%
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
194
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW CPU HISTORY
Per minute CPU load history
100
90
80
70
60 +
50
40
30
20 ++ +++++++++ +++++++ ++++ + ++++++ ++++ +++ +++++ +++++++++
10 ************************************************************
|....|....|....|....|....|....|....|....|....|....|....|....
Oldest Newest
CPU load% per minute (last 60 minutes)
* = average CPU load%, + = maximum
Per (30) minute CPU load history
100
90
80
70 +
60
50
40
30
20
10 ***
|....|....|....|....|....|....|....|....|....|....|....|....
Oldest Newest
CPU load% per 30 minutes (last 60 values / 30 hours)
* = average, - = minimum, + = maximum
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
195
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW DEBUGGING
show debugging
Overview This command displays information for all debugging options.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging
Default This command runs all the show debugging commands in alphabetical order.
Mode User Exec and Privileged Exec
Usage This command displays all debugging information, similar to the way the
show tech-support command displays all show output for use by Allied Telesis
authorized service personnel only.
Example To display all debugging information, use the command: awplus# show debugging
Output Figure 5-5: Example output from the show debugging command awplus#show debugging
AAA debugging status:
Authentication debugging is off
Accounting debugging is off
% DHCP Snooping service is disabled
802.1X debugging status:
EPSR debugging status:
EPSR Info debugging is off
EPSR Message debugging is off
EPSR Packet debugging is off
EPSR State debugging is off
IGMP Debugging status:
IGMP Decoder debugging is off
IGMP Encoder debugging is off
...
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
196
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW ECOFRIENDLY
show ecofriendly
Overview This command displays the switch’s eco-friendly configuration status. The
configuration status are shown in the
output.
Syntax show ecofriendly
Mode Privileged Exec and Global Configuration
Example To display the switch’s eco-friendly configuration status, use the following command: awplus# show ecofriendly
Output Figure 5-6: Example output from the show ecofriendly command awplus#show ecofriendly
Front panel port LEDs normal
Energy efficient ethernet
Port Name Configured Status port1.0.1 Port 1 off port1.0.2 off off port1.0.3 off port1.0.4 Port 4 off port1.0.5 off
...
Table 3: Parameters in the output of the show ecofriendly command
Parameter normal off
Port
Name
Configured
Status
Description
The eco-friendly LED feature is disabled and port LEDs show the current state of the ports. This is the default setting.
The eco-friendly LED feature is enabled and power to the port LEDs is disabled.
Displays the port number as assigned by the switch.
Displays the port name if a name is configured for a port number.
Because LPI is not supported, this entry always shows
“off” or a dash (-).
Because LPI is not supported, this entry always shows
“off” or a dash (-).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
197
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW INTERFACE MEMORY
show interface memory
Overview This command displays the shared memory used by either all interfaces, or the specified interface or interfaces. The output is useful for diagnostic purposes by
Allied Telesis authorized service personnel.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show interface memory show interface < port-list > memory
Parameter Description
<port-list> Display information about only the specified port or ports. The port list can be:
• a switch port (e.g. port1.0.4), a static channel group (e.g. sa2) or a dynamic (LACP) channel group (e.g. po2)
• a continuous range of ports separated by a hyphen (e.g. port1.0.1-1.0.4, or sa1-2, or po1-2)
• a comma-separated list of ports and port ranges (e.g. port1.0.1,port1.0.4-1.0.6). Do not mix switch ports, static channel groups, and dynamic (LACP) channel groups in the same list.
Mode User Exec and Privileged Exec
Example To display the shared memory used by all interfaces, use the command: awplus# show interface memory
To display the shared memory used by port1.0.1 and port1.0.5 to port1.0.6, use the command: awplus# show interface port1.0.1,port1.0.5-1.0.6 memory
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
198
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW INTERFACE MEMORY
Output Figure 5-7: Example output from the show interface memory command awplus#show interface memory
Vlan blocking state shared memory usage
--------------------------------------------
Interface shmid Bytes Used nattch Status port1.0.1 393228 512 1 port1.0.2 458766 512 1 port1.0.3 360459 512 1 port1.0.4 524304 512 1 port1.0.5 491535 512 1 port1.0.6 557073 512 1
...
lo 425997 512 1 po1 1179684 512 1 po2 1212453 512 1 sa3 1245222 512 1
Figure 5-8: Example output from show interface <port-list> memory for a list of interfaces awplus#show interface port1.0.1,port1.0.5-1.0.6 memory
Vlan blocking state shared memory usage
--------------------------------------------
Interface shmid Bytes Used nattch Status port1.0.1 393228 512 1 port1.0.5 491535 512 1 port1.0.6 557073 512 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
199
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY
show memory
Overview This command displays the memory used by each process that is currently running
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show memory [sort {size|peak|stk}]
Parameter sort
Description
Changes the sorting order for the list of processes. If you do not specify this, then the list is sorted by percentage memory utilization.
size Sort by the amount of memory the process is currently using.
peak Sort by the amount of memory the process is currently using.
stk Sort by the stack size of the process.
Mode User Exec and Privileged Exec
Example To display the memory used by the current running processes, use the command: awplus# show memory
Output Figure 5-9: Example output from show memory
awplus#show memory sort stk
RAM total: 124384 kB; free: 64236 kB; buffers: 15888 kB user processes
==============
pid name mem% size(kB) peak(kB) data(kB) stk(kB) virt(kB)
490 openhpid 1.5 1988 7480 1308 528 6704
578 hsl 7.1 8940 29312 5148 312 21052
18986 imish 1.3 1660 13668 3876 172 13668
18931 imish 3.6 4548 13668 3876 172 13668
576 imi 4.6 5772 14532 4428 144 14532
572 nsm 4.9 6128 15092 4480 140 15092
574 hostd 1.6 2048 8116 1876 140 8116
586 cntrd 2.5 3168 12140 3288 140 12136
606 sflowd 2.8 3564 12336 3408 140 12336
610 authd 3.0 3808 12604 3472 140 12604
616 mstpd 3.1 3856 12652 3480 140 12652
...
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
200
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY
Table 4: Parameters in the output of the show memory command
Parameter name mem% size peak
RAM total free buffers pid data stk
Description
Total amount of RAM memory free.
Available memory size.
Memory allocated kernel buffers.
Identifier number for the process.
Short name used to describe the process.
Percentage of memory utilization the process is currently using.
Amount of memory currently used by the process.
Greatest amount of memory ever used by the process.
Amount of memory used for data.
The stack size.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
201
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY ALLOCATIONS
show memory allocations
Overview This command displays the memory allocations used by processes.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show memory allocations [ <process> ]
Parameter
<process>
Description
Displays the memory allocation used by the specified process.
Mode User Exec and Privileged Exec
Example To display the memory allocations used by all processes on your device, use the command: awplus# show memory allocations
Output Figure 5-10: Example output from the show memory allocations command awplus#show memory allocations
Memory allocations for imi
----------------------------
Current 15093760 (peak 15093760)
Statically allocated memory:
- binary/exe : 1675264
- libraries : 8916992
- bss/global data : 2985984
- stack : 139264
Dynamically allocated memory (heap):
- total allocated : 1351680
- in use : 1282440
- non-mmapped : 1351680
.
.
.
- maximum total allocated : 1351680
- total free space : 69240
- releasable : 68968
- space in freed fastbins : 16
Context
filename:line allocated freed
+ lib.c:749 484
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
202
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY ALLOCATIONS
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
203
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY HISTORY
show memory history
Overview This command prints a graph showing the historical memory usage.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show memory history
Mode User Exec and Privileged Exec
Usage This command’s output displays three graphs of the percentage memory utilization:
•
•
• per second for the last minute, then per minute for the last hour, then per 30 minutes for the last 30 hours.
Examples To show a graph displaying the historical memory usage, use the command: awplus# show memory history
Output Figure 5-11: Example output from the show memory history command
Per minute memory utilization history
100
90
80
70
60
50
40*************************************************************
30
20
10
|....|....|....|....|....|....|....|....|....|....|....|....
Oldest Newest
Memory utilization% per minute (last 60 minutes)
* = average memory utilisation%.
...
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
204
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY POOLS
show memory pools
Overview This command shows the memory pools used by processes.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show memory pools [ <process> ]
Parameter
<process>
Description
Displays the memory pools used by the specified process.
Mode User Exec and Privileged Exec
Example To shows the memory pools used by processes, use the command: awplus# show memory pools
Output Figure 5-12: Example output from the show memory pools command awplus#show memory pools
Memory pools for imi
---------------------
Current 15290368 (peak 15290368)
Statically allocated memory:
- binary/exe : 1675264
- libraries : 8916992
- bss/global data : 2985984
- stack : 139264
.
.
.
Dynamically allocated memory (heap):
- total allocated : 1548288
- in use : 1479816
- non-mmapped : 1548288
- maximum total allocated : 1548288
- total free space : 68472
- releasable : 68200
- space in freed fastbins : 16
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
205
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW MEMORY SHARED
show memory shared
Overview This command displays shared memory allocation information. The output is useful for diagnostic purposes by Allied Telesis authorized service personnel.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show memory shared
Mode User Exec and Privileged Exec
Example To display information about the shared memory allocation used on the device, use the command: awplus# show memory shared
Output Figure 5-13: Example output from the show memory shared command awplus#show memory shared
Shared Memory Status
-------------------------
Segment allocated = 39
Pages allocated = 39
Pages resident = 11
Shared Memory Limits
-------------------------
Maximum number of segments = 4096
Maximum segment size (kbytes) = 32768
Maximum total shared memory (pages) = 2097152
Minimum segment size (bytes) = 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
206
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW PROCESS
show process
Overview This command lists a summary of the current running processes.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show process [sort {cpu|mem}]
Parameter sort
Description
Changes the sorting order for the list of processes.
cpu mem
Sorts the list by the percentage of CPU utilization.
Sorts the list by the percentage of memory utilization.
Mode User Exec and Privileged Exec
Examples To show a graph displaying the historical memory usage, use the command: awplus# show memory history
Example To display a summary of the current running processes, use the command: awplus# show process
Output Figure 5-14: Example output from the show process command
CPU averages:
1 second: 8%, 20 seconds: 5%, 60 seconds: 5%
System load averages:
1 minute: 0.04, 5 minutes: 0.08, 15 minutes: 0.12
Current CPU load:
userspace: 9%, kernel: 9%, interrupts: 0% iowaits: 0%
RAM total: 514920 kB; free: 382600 kB; buffers: 16368 kB user processes
============== pid name thrds cpu% mem% pri state sleep%
962 pss 12 0 6 25 sleep 5
1 init 1 0 0 25 sleep 0
797 syslog-ng 1 0 0 16 sleep 88
...
kernel threads
============== pid name cpu% pri state sleep%
71 aio/0 0 20 sleep 0
3 events/0 0 10 sleep 98
...
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
207
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW PROCESS
Table 5: Parameters in the output from the show process command
Parameter Description
CPU averages Average CPU utilization for the periods stated.
System load averages
The average number of processes waiting for CPU time for the periods stated.
Current CPU load
RAM total free
Current CPU utilization specified by load types
Total memory size.
Available memory.
buffers pid name thrds cpu% mem% pri state sleep%
Memory allocated to kernel buffers.
Identifier for the process.
Short name to describe the process.
Number of threads in the process.
Percentage of CPU utilization that this process is consuming.
Percentage of memory utilization that this process is consuming.
Process priority.
Process state; one of “run”, “sleep”, “stop”, “zombie”, or “dead”.
Percentage of time the process is in the sleep state.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
208
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW REBOOT HISTORY
show reboot history
Overview Use this command to display the device’s reboot history.
The history is stored in NVS memory, so it will be lost after a power cycle.
Syntax show reboot history
Mode User Exec and Privileged Exec
Example To show the reboot history, use the command: awplus# show reboot history
Output Figure 5-15: Example output from the show reboot history command
awplus#show reboot history
<date> <time> <type> <description>
----------------------------------------------
2016-10-10 01:42:04 Expected User Request
2016-10-10 01:35:31 Expected User Request
2016-10-10 01:16:25 Unexpected Rebooting due to critical process (network/nsm) failure!
2016-10-10 01:11:04 Unexpected Rebooting due to critical process (network/nsm) failure!
2016-10-09 19:56:16 Expected User Request
2016-10-09 19:51:20 Expected User Request
Table 6: Parameters in the output from the show reboot history command
Parameter
Unexpected
Description
A non-intended reboot.
The reboot is counted by the continuous reboot prevention feature, as long as the reboot occurred in the time period specified for continuous reboot prevention.
Expected A planned or user-triggered reboot.
The reboot is not counted by the continuous reboot prevention feature.
Continuous reboot prevention
A continuous reboot prevention event has occurred. The action taken is configured with the continuous-reboot- prevention command. The next time period during which reboot events are counted begins from this event.
User request User initiated reboot via the CLI.
Related
Commands
show continuous-reboot-prevention
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
209
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW ROUTER ID
show router-id
Overview Use this command to show the Router ID of the current system.
Syntax show router-id
Mode User Exec and Privileged Exec
Example To display the Router ID of the current system, use the command: awplus# show router-id
Output Figure 5-16: Example output from the show router-id command awplus>show router-id
Router ID: 10.55.0.2 (automatic)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
210
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW SYSTEM
show system
Overview This command displays general system information about the device, including the hardware, installed, memory, and software versions loaded. It also displays location and contact details when these have been set.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show system
Mode User Exec and Privileged Exec
Example To display configuration information, use the command: awplus# show system
Output Figure 5-17: Example output from show system
awplus#show system
System Status Tue Jan 10 08:42:16 2016
Board ID Bay Board Name Rev Serial number
-------------------------------------------------------------------------------
Base 410 AT-IE200-6GP A-0 ATNLAB4040302338
-------------------------------------------------------------------------------
RAM: Total: 252888 kB Free: 144744 kB
Flash: 63.0MB Used: 24.2MB Available: 38.8MB
--------------------------------------------------------------------------------
Environment Status : Normal
Uptime : 0 days 00:08:53
Bootloader version : IE200/1.0_31
Current software : IE200-5.4.6-1.5.rel
Software version : 5.4.6-1.5
Build date : Fri Sep 30 05:35:20 UTC 2016
Current boot config: flash:/default.cfg (file exists)
System Name
awplus
System Contact
System Location
Related
Commands
211 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW SYSTEM ENVIRONMENT
show system environment
Overview This command displays the current environmental status of your device and any attached PSU, XEM, or other expansion option. The environmental status covers information about temperatures, fans, and voltage.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show system environment
Mode User Exec and Privileged Exec
Example To display the system’s environmental status, use the command: awplus# show system environment
Output Figure 5-18: Example output from the show system environment command awplus#show system environment
Environment Monitoring Status
Overall Status: Normal
Resource ID: 1 Name: at-IE200-6GP
ID Sensor (Units) Reading Low Limit High Limit Status
1 Almmon: LED output (Bit) 0 0 0 Ok
2 Almmon: relay output (Bit) 0 0 0 Ok
3 Temp: Local (Degrees C) 58 85(Hyst) 95 Ok
4 Contact Input 1 Yes - - Ok
5 Relay Output 1 Yes - - Ok
6 PSU Power Output 1 Yes - - Ok
7 PSU Power Output 2 No - - Ok
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
212
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW SYSTEM INTERRUPTS
show system interrupts
Overview Use this command to display the number of interrupts for each IRQ (Interrupt
Request) used to interrupt input lines on a PIC (Programmable Interrupt Controller) on your device.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show system interrupts
Mode User Exec and Privileged Exec
Example To display information about the number of interrupts for each IRQ in your device, use the command: awplus# show system interrupts
Output Figure 5-19: Example output from the show system interrupts command awplus#show sys interrupts
CPU0 CPU1
0: 43182 13284 BCM63xx Enabled 0 IPI
7: 146712 149073 BCM63xx Enabled 0 timer
8: 0 0 BCM63xx Enabled 0 brcm_8
10: 0 311 BCM63xx_no_unmask Enabled 0 serial
13: 1 0 BCM63xx Enabled 0 ohci_hcd:usb2
15: 1 0 BCM63xx Enabled 0 ehci_hcd:usb1
...
ERR: 0
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
213
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW SYSTEM MAC
show system mac
Overview This command displays the physical MAC address of the device.
Syntax show system mac
Mode User Exec and Privileged Exec
Example To display the physical MAC address enter the following command: awplus# show system mac
Output Figure 5-20: Example output from the show system mac command awplus#show system mac eccd.6d9d.4eed (system)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
214
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW SYSTEM SERIALNUMBER
show system serialnumber
Overview This command shows the serial number information for the device.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show system serialnumber
Mode User Exec and Privileged Exec
Example To display the serial number information for the device, use the command: awplus# show system serialnumber
Output Figure 5-21: Example output from the show system serial number command awplus#show system serialnumber
45AX5300X
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
215
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW TECH SUPPORT
show tech-support
Overview This command generates system and debugging information for the device and saves it to a file.
You can optionally limit the command output to display only information for a given protocol or feature. The features available depend on your device and will be a subset of the features listed in the table below.
The command generates a large amount of output, which is saved to a file in compressed format. The output file name can be specified by outfile option. If the output file already exists, a new file name is generated with the current time stamp.
If the output filename does not end with “.gz”, then “.gz” is appended to the filename. Since output files may be too large for Flash on the device we recommend saving files to external memory or a TFTP server whenever possible to avoid device lockup. This method is not likely to be appropriate when running the working set option of AMF across a range of physically separated devices.
Syntax show tech-support
{[all|atmf|auth|bgp|card|dhcpsn|epsr|firewall|igmp|ip|ipv6|mld
|openflow|ospf|ospf6|pim|rip|ripng|stack|stp|system|tacacs+| update]} [outfile < filename >]
Parameter all atmf auth bgp card dhcpsn epsr firewall igmp ip ipv6 mld openflow ospf ospf6 pim rip
Description
Display full information
Display ATMF-specific information
Display authentication-related information
Display BGP-related information
Display Chassis Card specific information
Display DHCP Snooping specific information
Display EPSR specific information
Display firewall specific information
Display IGMP specific information
Display IP specific information
Display IPv6 specific information
Display MLD specific information
Display information related to OpenFlow
Display OSPF related information
Display OSPF6 specific information
Display PIM related information
RIP related information
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
216
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SHOW TECH SUPPORT
Parameter ripng stack stp system tacacs+ update
Description
Display RIPNG specific information
Display stacking device information
Display STP specific information
Display general system information
Display TACACS+ information
Display resource update specific information
|
>
>>
Output modifier
Output redirection
Output redirection (append) outfile Output file name
< filename > Specifies a name for the output file. If no name is specified, this file will be saved as: tech-support.txt.gz.
Default Captures all information for the device.
By default the output is saved to the file ‘tech-support.txt.gz’ in the current directory. If this file already exists in the current directory then a new file is generated with the time stamp appended to the file name, for example
‘tech-support20161009.txt.gz’, so the previous file is retained.
Usage This command is useful for collecting a large amount of information about all protocols or specific protocols on your device so that it can then be analyzed for troubleshooting purposes. The output of this command can be provided to technical support staff when reporting a problem.
Mode Privileged Exec
Examples To produce the output needed by technical support staff, use the command: awplus# show tech-support
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
217
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SPEED ( ASYN )
speed (asyn)
Overview This command changes the console speed from the device. Note that a change in console speed is applied for subsequent console sessions. Exit the current session
to enable the console speed change using the clear line console command.
CAUTION : The bootloader on an IE200-6 Series switch always runs at 9600 Baud. If you change the baud rate, you will be unable to access to the bootloader.
Syntax speed < console-speed-in-bps >
Parameter Description
< console-speed-in-bps > Console speed Baud rate in bps (bits per second).
1200
2400
9600
1200 Baud
2400 Baud
9600 Baud
19200
38400
57600
115200
19200 Baud
38400 Baud
57600 Baud
115200 Baud
Default The default console speed baud rate is 9600 bps.
Mode Line Configuration
Usage This command is used to change the console (asyn) port speed. Set the console speed to match the transmission rate of the device connected to the console (asyn) port on your device.
Example To set the terminal console (asyn0) port speed from the device to 57600 bps, then exit the session, use the commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# speed 57600 awplus(config-line)# exit awplus(config)# exit awplus# exit
Then log in again to enable the change: awplus login:
Password: awplus>
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
218
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SPEED ( ASYN )
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
219
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
SYSTEM TERRITORY ( DEPRECATED )
system territory (deprecated)
Overview This command has been deprecated in Software Version 5.4.4-0.1 and later. It now has no effect.
It is no longer useful to specify a system territory, so there is no alternative command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
220
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
TERMINAL MONITOR
terminal monitor
Overview Use this command to display debugging output on a terminal.
To display the cursor after a line of debugging output, press the Enter key.
Use the command terminal no monitor to stop displaying debugging output on the terminal, or use the timeout option to stop displaying debugging output on the terminal after a set time.
Syntax terminal monitor [< 1-60 >] terminal no monitor
Parameter
< 1-60 >
Description
Set a timeout between 1 and 60 seconds for terminal output.
Default Disabled
Mode User Exec and Privileged Exec
Examples To display debugging output on a terminal, enter the command: awplus# terminal monitor
To specify timeout of debugging output after 60 seconds, enter the command: awplus# terminal monitor 60
To stop displaying debugging output on the terminal, use the command: awplus# terminal no monitor
Related
Commands
All debug commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
221
S YSTEM C ONFIGURATION AND M ONITORING C OMMANDS
UNDEBUG ALL
undebug all
Overview This command applies the functionality of the
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
222
6
Pluggables and
Cabling Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure and monitor Pluggables and Cabling, including:
• Optical Digital Diagnostic Monitoring (DDM) to help find fiber issues when links go down
For more information, see the Pluggables and Cabling Feature Overview and
Configuration Guide .
Command List •
•
•
“ show system pluggable ” on page 224
“ show system pluggable detail ” on page 226
“ show system pluggable diagnostics ” on page 229
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
223
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE
show system pluggable
Overview This command displays brief pluggable transceiver information showing the pluggable type, the pluggable serial number, and the pluggable port on the device. Different types of pluggable transceivers are supported in different models of device. See your Allied Telesis dealer for more information about the models of pluggables that your device supports.
Syntax show system pluggable [< port-list >]
Parameter Description
<port-list> The ports to display information about. The port list can be:
• a switch port (e.g. port1.0.6)
• a continuous range of ports separated by a hyphen (e.g. port1.0.5-1.0.6)
• a comma-separated list of ports and port ranges (e.g. port1.0.5,port1.0.6)
Mode User Exec and Privileged Exec
Example To display brief information about all installed pluggable transceivers, use the command: awplus# show system pluggable
Output Figure 6-1: Example output from show system pluggable
awplus#show system pluggable
System Pluggable Information
Port Vendor Device Serial Number Datecode Type
-------------------------------------------------------------------------------
1.0.5 ATI AT-TN-P015-A A04840R131700049 130422 BASE-BX10
1.0.6 ATI AT-SPFXBD-LC-15 A03947R074700751 07112601 BASE-BX10
--------------------------------------------------------------------------------
Example To display information about the pluggable transceiver installed in port1.0.5, use the command: awplus# show system pluggable port1.0.5
Output Figure 6-2: Example output from show system pluggable port1.0.5
System Pluggable Information
Port Manufacturer Device Serial Number Datecode Type
-------------------------------------------------------------------------------
1.0.5 ATI AT-TN-P015-A A04840R131700049 130422 BASE-BX10
--------------------------------------------------------------------------------
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
224
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE
Table 1: Parameters in the output from the show system pluggable command
Parameter
Port
Vendor Name
Device Name
Description
Specifies the vendor’s name for the installed pluggable transceiver.
Specifies the vendor’s name for the installed pluggable transceiver.
Specifies the device name for the installed pluggable transceiver.
Device Type
Serial Number
Manufacturing Datecode Specifies the manufacturing datecode for the installed pluggable transceiver. Checking the manufacturing datecode with the vendor may be useful when determining Laser Diode aging issues.For more information, see ”How To Troubleshoot Fiber and
Pluggable Issues” in the “Getting Started with AlliedWare
Plus” Feature Overview and Configuration Guide .
SFP Laser Wavelength Specifies the laser wavelength of the installed pluggable transceiver.
Datecode
Specifies the device type for the installed pluggable transceiver.
Specifies the serial number for the installed pluggable transceiver.
Device Type
Specifies the manufacturing datecode for the installed pluggable transceiver. Checking the manufacturing datecode with the vendor may be useful when determining Laser Diode aging issues. For more information, see ”How To Troubleshoot Fiber and
Pluggable Issues” in the “Getting Started with AlliedWare
Plus” Feature Overview and Configuration Guide .
Specifies the device type for the installed pluggable transceiver
Related
Commands
show system pluggable diagnostics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
225
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE DETAIL
show system pluggable detail
Overview This command displays detailed pluggable transceiver information showing the pluggable type, the pluggable serial number, and the pluggable port on the device. Different types of pluggable transceivers are supported in different models of device. See your Allied Telesis dealer for more information about the models of pluggables that your device supports.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show system pluggable [< port-list >] detail
Parameter Description
<port-list> The ports to display information about. The port list can be:
• a switch port (e.g. port1.0.6)
• a continuous range of ports separated by a hyphen (e.g. port1.0.5-1.0.6)
• a comma-separated list of ports and port ranges (e.g. port1.0.5,port1.0.6)
Mode User Exec and Privileged Exec
Usage In addition to the information about pluggable transceivers displayed using the
show system pluggable command (port, manufacturer, serial number,
manufacturing datecode, and type information), the show system pluggable detail command displays the following information:
•
•
•
•
SFP Laser Wavelength : Specifies the laser wavelength of the installed pluggable transceiver
Single mode Fiber : Specifies the link length supported by the pluggable transceiver using single mode fiber
OM1 (62.5
μ m) Fiber : Specifies the link length, in meters (m) or kilometers
(km) supported by the pluggable transceiver using 62.5 micron multi-mode fiber.
OM2 (50 μ m) Fiber : Specifies the link length (in meters or kilometers) supported by the pluggable transceiver using 50 micron multi-mode fiber.
• Diagnostic Calibration : Specifies whether the pluggable transceiver supports DDM or DOM Internal or External Calibration.
– Internal is displayed if the pluggable transceiver supports DDM or
DOM Internal Calibration.
–
–
External is displayed if the pluggable transceiver supports DDM or
DOM External Calibration.
a dash (-) is displayed if neither Internal Calibration or External
Calibration is supported.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
226
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE DETAIL
• Power Monitoring : Displays the received power measurement type, which can be either OMA (Optical Module Amplitude) or Avg (Average Power) measured in μW.
NOTE
: For parameters that are not supported or not specified, a hyphen is displayed instead.
Example To display detailed information about the pluggable transceivers installed in a particular port on the device, use a command like: awplus# show system pluggable port1.0.5 detail
To display detailed information about all the pluggable transceivers installed on the device, use the command: awplus# show system pluggable detail
Output Figure 6-3: Example output from the show system pluggable detail command for a specific port on a device awplus#show system pluggable port1.0.5 detail
System Pluggable Information Detail
Port1.0.5
==========
Vendor Name: ATI
Device Name: AT-SPTX
Device Revision: A
Device Type: 1000BASE-T
Serial Number: A123459071900003
Manufacturing Datecode: 07051101
SFP Laser Wavelength:
Link Length Supported
Single Mode Fiber :
OM1 (62.5um) Fiber:
OM2 (50um) Fiber :
Diagnostic Calibration:
Power Monitoring:
FEC BER support: -
Table 2: Parameters in the output from the show system pluggable detail command:
Parameter
Port
Vendor Name
Device Name
Description
Specifies the port the pluggable transceiver is installed in.
Specifies the vendor’s name for the installed pluggable transceiver.
Specifies the device name for the installed pluggable transceiver.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
227
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE DETAIL
Table 2: Parameters in the output from the show system pluggable detail command: (cont.)
Parameter
Device Revision
Device Type
Serial Number
Manufacturing
Datecode
SFP Laser Wavelength
Single Mode Fiber
OM1 (62.5um) Fiber
OM2 (50um) Fiber
Diagnostic Calibration
Power Monitoring
Description
Specifies the hardware revision code for the pluggable transceiver. This may be useful for troubleshooting because different devices may support different pluggable transceiver revisions.
Specifies the device type for the installed pluggable transceiver..
Specifies the serial number for the installed pluggable transceiver.
Specifies the manufacturing datecode for the installed pluggable transceiver. Checking the manufacturing datecode with the vendor may be useful when determining Laser Diode aging issues. For more information, see ”How To Troubleshoot Fiber and
Pluggable Issues” in the “Getting Started with AlliedWare
Plus” Feature Overview and Configuration Guide .
Specifies the laser wavelength of the installed pluggable transceiver.
Specifies the link length supported by the pluggable transceiver using single mode fiber.
Specifies the link length (in μm - micron) supported by the pluggable transceiver using 62.5 micron multi-mode fiber.
Specifies the link length (in μm - micron) supported by the pluggable transceiver using 50 micron multi-mode fiber.
Specifies whether the pluggable transceiver supports DDM or DOM Internal or External Calibration:
Internal is displayed if the pluggable transceiver supports
DDM or DOM Internal Calibration.
External is displayed if the pluggable transceiver supports
DDM or DOM External Calibration.
is displayed if neither Internal Calibration or External
Calibration is supported.
Displays the received power measurement type, which can be either OMA (Optical Module Amplitude) or Avg
(Average Power) measured in μW.
Related
Commands
show system pluggable diagnostics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
228
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE DIAGNOSTICS
show system pluggable diagnostics
Overview This command displays diagnostic information about SFP pluggable transceivers that support Digital Diagnostic Monitoring (DDM).
Different types of pluggable transceivers are supported in different models of device. See your device’s Datasheet for more information about the models of pluggables that your device supports.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show system pluggable [< port-list >] diagnostics
Parameter Description
<port-list> The ports to display information about. The port list can be:
• a switch port (e.g. port1.0.6)
• a continuous range of ports separated by a hyphen (e.g. port1.0.5-1.0.6)
• a comma-separated list of ports and port ranges (e.g. port1.0.5,port1.0.6)
Mode User Exec and Privileged Exec
Usage Modern optical SFP transceivers support Digital Diagnostics Monitoring (DDM) functions.
Diagnostic monitoring features allow you to monitor real-time parameters of the pluggable transceiver, such as optical output power, optical input power, temperature, laser bias current, and transceiver supply voltage. Additionally, RX
LOS (Loss of Signal) is shown when the received optical level is below a preset threshold. Monitor these parameters to check on the health of all transceivers, selected transceivers or a specific transceiver installed in a device.
Examples To display detailed information about all pluggable transceivers installed on a standalone device, use the command: awplus# show system pluggable diagnostics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
229
P LUGGABLES AND C ABLING C OMMANDS
SHOW SYSTEM PLUGGABLE DIAGNOSTICS
Output Figure 6-4: Example output from the show system pluggable diagnostics command on a device
awplus#show system pluggable diagnostics
System Pluggable Information Diagnostics
Port1.0.5 Status Alarms Warnings
Reading Alarm Max Min Warning Max Min
Temp: (Degrees C) 34.719 - 110.00 -45.00 - 95.000 -42.00
Vcc: (Volts) 3.282 - 3.600 3.000 - 3.500 3.050
Tx Bias: (mA) 23.024 - 80.000 2.000 - 70.000 3.000
Tx Power: (mW) 0.357 - 0.631 0.126 - 0.501 0.159
Rx Power: (mW) - Low 0.631 0.005 Low 0.501 0.006
Rx LOS: Rx Down
Table 3: Parameters in the output from the show system pluggables diagnostics command
Parameter Description
Temp (Degrees C) Shows the temperature inside the transceiver.
Vcc (Volts)
Tx Bias (mA)
Shows voltage supplied to the transceiver.
Shows current to the Laser Diode in the transceiver.
Tx Power (mW)
Rx Power (mW)
Rx LOS
Shows the amount of light transmitted from the transceiver.
Shows the amount of light received in the transceiver.
Rx Loss of Signal. This indicates whether:
• light is being received (Rx Up) and therefore the link is up, or
• light is not being received (Rx Down) and therefore the link is down
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
230
7
Logging Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure logging.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
log email (filter) ” on page 259
log email exclude ” on page 262
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
231
L OGGING C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ log email time ” on page 265
“ log host (filter) ” on page 271
“ log host exclude ” on page 274
“ log host source ” on page 277
“ log monitor (filter) ” on page 280
“ log monitor exclude ” on page 283
“ log permanent (filter) ” on page 287
“ log permanent exclude ” on page 290
“ log permanent size ” on page 293
“ log-rate-limit nsm ” on page 294
“ log trustpoint ” on page 296
“ show counter log ” on page 297
“ show exception log ” on page 298
“ show log config ” on page 301
“ show log permanent ” on page 303
“ show running-config log ” on page 304
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
232
L OGGING C OMMANDS
CLEAR EXCEPTION LOG
clear exception log
Overview This command resets the contents of the exception log, but does not remove the associated core files.
Syntax clear exception log
Mode Privileged Exec
Example awplus# clear exception log
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
233
L OGGING C OMMANDS
CLEAR LOG
clear log
Overview This command removes the contents of the buffered and permanent logs.
Syntax clear log
Mode Privileged Exec
Example To delete the contents of the buffered and permanent log use the command: awplus# clear log
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
234
L OGGING C OMMANDS
CLEAR LOG BUFFERED
clear log buffered
Overview This command removes the contents of the buffered log.
Syntax clear log buffered
Mode Privileged Exec
Example To delete the contents of the buffered log use the following commands: awplus# clear log buffered
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
235
L OGGING C OMMANDS
CLEAR LOG PERMANENT
clear log permanent
Overview This command removes the contents of the permanent log.
The permanent log is stored in NVS. On IE200-6 Series switches, files in NVS persist over a device restart but do not persist over a power cycle.
Syntax clear log permanent
Mode Privileged Exec
Example To delete the contents of the permanent log use the following commands: awplus# clear log permanent
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
236
L OGGING C OMMANDS
DEFAULT LOG BUFFERED
default log buffered
Overview This command restores the default settings for the buffered log stored in RAM. By default the size of the buffered log is 50 kB and it accepts messages with the severity level of “warnings” and above.
Syntax default log buffered
Default The buffered log is enabled by default.
Mode Global Configuration
Example To restore the buffered log to its default settings use the following commands: awplus# configure terminal awplus(config)# default log buffered
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
237
L OGGING C OMMANDS
DEFAULT LOG CONSOLE
default log console
Overview This command restores the default settings for log messages sent to the terminal
when a log console command is issued. By default all messages are sent to the
console when a log console command is issued.
Syntax default log console
Mode Global Configuration
Example To restore the log console to its default settings use the following commands: awplus# configure terminal awplus(config)# default log console
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
238
L OGGING C OMMANDS
DEFAULT LOG EMAIL
default log email
Overview This command restores the default settings for log messages sent to an email address. By default no filters are defined for email addresses. Filters must be defined before messages will be sent. This command also restores the remote syslog server time offset value to local (no offset).
Syntax default log email <email-address >
Parameter Description
<email-address> The email address to send log messages to
Mode Global Configuration
Example To restore the default settings for log messages sent to the email address [email protected]
use the following commands: awplus# configure terminal awplus(config)# default log email [email protected]
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
239
L OGGING C OMMANDS
DEFAULT LOG HOST
default log host
Overview This command restores the default settings for log sent to a remote syslog server.
By default no filters are defined for remote syslog servers. Filters must be defined before messages will be sent. This command also restores the remote syslog server time offset value to local (no offset).
Syntax default log host < ip-addr >
Parameter
< ip-addr >
Description
The IP address of a remote syslog server
Mode Global Configuration
Example To restore the default settings for messages sent to the remote syslog server with
IP address 10.32.16.21
use the following commands: awplus# configure terminal awplus(config)# default log host 10.32.16.21
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
240
L OGGING C OMMANDS
DEFAULT LOG MONITOR
default log monitor
Overview This command restores the default settings for log messages sent to the terminal
when a terminal monitor command is used.
Syntax default log monitor
Default
All messages are sent to the terminal when a terminal monitor
command is used.
Mode Global Configuration
Example To restore the log monitor to its default settings use the following commands: awplus# configure terminal awplus(config)# default log monitor
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
241
L OGGING C OMMANDS
DEFAULT LOG PERMANENT
default log permanent
Overview This command restores the default settings for the permanent log stored in NVS.
By default, the size of the permanent log is 50 kB and it accepts messages with the severity level of warnings and above.
The permanent log is stored in NVS. On IE200-6 Series switches, files in NVS persist over a device restart but do not persist over a power cycle.
Syntax default log permanent
Default The permanent log is enabled by default.
Mode Global Configuration
Example To restore the permanent log to its default settings use the following commands: awplus# configure terminal awplus(config)# default log permanent
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
242
L OGGING C OMMANDS
LOG BUFFERED
log buffered
Overview This command configures the device to store log messages in RAM. Messages stored in RAM are not retained on the device over a restart. Once the buffered log reaches its configured maximum allowable size old messages will be deleted to make way for new ones.
Syntax log buffered no log buffered
Default The buffered log is configured by default.
Mode Global Configuration
Examples To configured the device to store log messages in RAM use the following commands: awplus# configure terminal awplus(config)# log buffered
To configure the device to not store log messages in a RAM buffer use the following commands: awplus# configure terminal awplus(config)# no log buffered
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
243
L OGGING C OMMANDS
LOG BUFFERED ( FILTER )
log buffered (filter)
Overview Use this command to create a filter to select messages to be sent to the buffered log. Selection can be based on the priority/ severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
The no variant of this command removes the corresponding filter, so that the specified messages are no longer sent to the buffered log.
Syntax log buffered [level <level> ] [program <program-name> ] [facility
<facility> ] [msgtext <text-string> ] no log buffered [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Filter messages to the buffered log by severity level.
The minimum severity of message to send to the buffered log. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
4|warnings
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
Warning conditions
5|notices Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Filter messages to the buffered log by program. Include messages from a specified program in the buffered log.
The name of a program to log messages from, either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output: rsvp dot1x lacp stp rstp mstp imi
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
244
L OGGING C OMMANDS
LOG BUFFERED ( FILTER )
Parameter Description imish epsr rmon loopprot poe dhcpsn uucp cron authpriv ftp
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Filter messages to the buffered log by syslog facility.
< facility > Specify one of the following syslog facilities to include messages from in the buffered log: kern Kernel messages user mail
Random user-level messages
Mail system daemon auth syslog lpr news
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Select messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default By default the buffered log has a filter to select messages whose severity level is
“notices (5)” or higher. This filter may be removed using the no variant of this command.
Mode Global Configuration
Examples To add a filter to send all messages generated by EPSR that have a severity of notices or higher to the buffered log, use the following commands: awplus# configure terminal awplus(config)# log buffered level notices program epsr
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
245
L OGGING C OMMANDS
LOG BUFFERED ( FILTER )
To add a filter to send all messages containing the text “Bridging initialization” to the buffered log, use the following commands: awplus# configure terminal awplus(config)# log buffered msgtext Bridging initialization
To remove a filter that sends all messages generated by EPSR that have a severity of notices or higher to the buffered log, use the following commands: awplus# configure terminal awplus(config)# no log buffered level notices program epsr
To remove a filter that sends all messages containing the text “Bridging initialization” to the buffered log, use the following commands: awplus# configure terminal awplus(config)# no log buffered msgtext Bridging initialization
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
246
L OGGING C OMMANDS
LOG BUFFERED EXCLUDE
log buffered exclude
Overview Use this command to exclude specified log messages from the buffered log. You can exclude messages on the basis of:
•
•
•
• the priority/severity of the message the program that generated the message the logging facility used a sub-string within the message, or
• a combination of some or all of these.
Use the no variant of this command to stop excluding the specified messages.
Syntax log buffered exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log buffered exclude [level <level> ] [program
<program-name> ] [facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Exclude messages of the specified severity level.
The severity level to exclude. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
4|warnings
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
Warning conditions
5|notices Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Exclude messages from a specified program.
The name of a program. Either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp dot1x lacp stp rstp mstp
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
247
L OGGING C OMMANDS
LOG BUFFERED EXCLUDE
Parameter Description imi imish epsr rmon loopprot poe dhcpsn DHCP snooping (DHCPSN) facility Exclude messages from a syslog facility.
< facility > Specify one of the following syslog facilities to exclude messages from: kern user
Kernel messages
Random user-level messages mail daemon auth syslog lpr
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem news uucp cron authpriv ftp
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Exclude messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default No log messages are excluded
Mode Global configuration
Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log buffered exclude msgtext example of irrelevant message
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
248
L OGGING C OMMANDS
LOG BUFFERED EXCLUDE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
249
L OGGING C OMMANDS
LOG BUFFERED SIZE
log buffered size
Overview This command configures the amount of memory that the buffered log is permitted to use. Once this memory allocation has been filled old messages will be deleted to make room for new messages.
Syntax log buffered size < 50-250 >
Parameter
< 50-250 >
Description
Size of the RAM log in kilobytes
Mode Global Configuration
Example To allow the buffered log to use up to 100 kB of RAM use the following commands: awplus# configure terminal awplus(config)# log buffered size 100
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
250
L OGGING C OMMANDS
LOG CONSOLE
log console
Overview This command configures the device to send log messages to consoles. The console log is configured by default to send messages to the device’s main console port.
Use the no variant of this command to configure the device not to send log messages to consoles.
Syntax log console no log console
Mode Global Configuration
Examples To configure the device to send log messages use the following commands: awplus# configure terminal awplus(config)# log console
To configure the device not to send log messages in all consoles use the following commands: awplus# configure terminal awplus(config)# no log console
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
251
L OGGING C OMMANDS
LOG CONSOLE ( FILTER )
log console (filter)
Overview This command creates a filter to select messages to be sent to all consoles when the log console command is given. Selection can be based on the priority/severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
Syntax log console [level <level> ] [program <program-name> ] [facility
<facility> ] [msgtext <text-string> ] no log console [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Filter messages by severity level.
The minimum severity of message to send. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
4|warnings
5|notices
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Filter messages by program. Include messages from a specified program.
The name of a program to log messages from, either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output: rsvp dot1x lacp stp rstp mstp imi imish epsr rmon
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
252
L OGGING C OMMANDS
LOG CONSOLE ( FILTER )
Parameter Description loopprot Loop Protection poe dhcpsn
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Filter messages by syslog facility.
< facility > Specify one of the following syslog facilities to include messages from: kern Kernel messages user mail daemon auth syslog
Random user-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd lpr news uucp cron authpriv ftp
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Select messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default By default the console log has a filter to select messages whose severity level is critical or higher. This filter may be removed using the no variant of this command. This filter may be removed and replaced by filters that are more selective.
Mode Global Configuration
Examples To create a filter to send all messages containing the text “Bridging initialization” to console instances where the log console command has been entered, use the following commands: awplus# configure terminal awplus(config)# log console msgtext "Bridging initialization"
To remove a filter that sends all messages generated by EPSR that have a severity of notices or higher to consoles, use the following commands: awplus# configure terminal awplus(config)# no log console level notices program epsr
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
253
L OGGING C OMMANDS
LOG CONSOLE ( FILTER )
To remove a default filter that includes sending critical , alert and emergency level messages to the console, use the following commands: awplus# configure terminal awplus(config)# no log console level critical
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
254
L OGGING C OMMANDS
LOG CONSOLE EXCLUDE
log console exclude
Overview Use this command to prevent specified log messages from being sent to the console, when console logging is turned on. You can exclude messages on the basis of:
•
•
•
• the priority/severity of the message the program that generated the message the logging facility used a sub-string within the message, or
• a combination of some or all of these.
Use the no variant of this command to stop excluding the specified messages.
Syntax log console exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log console exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Exclude messages of the specified severity level.
The severity level to exclude. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
4|warnings
5|notices
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Exclude messages from a specified program.
The name of a program. Either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp dot1x lacp stp rstp
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
255
L OGGING C OMMANDS
LOG CONSOLE EXCLUDE
Parameter Description mstp imi imish epsr
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR) rmon loopprot poe dhcpsn
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Exclude messages from a syslog facility.
< facility > Specify one of the following syslog facilities to exclude messages from: kern Kernel messages user mail daemon auth syslog
Random user-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd lpr news uucp cron authpriv ftp
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Exclude messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default No log messages are excluded
Mode Global configuration
Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log console exclude msgtext example of irrelevant message
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
256
L OGGING C OMMANDS
LOG CONSOLE EXCLUDE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
257
L OGGING C OMMANDS
LOG EMAIL
log email
Overview This command configures the device to send log messages to an email address.
The email address is specified in this command.
Syntax log email <email-address>
Parameter Description
<email-address> The email address to send log messages to
Default By default no filters are defined for email log targets. Filters must be defined before messages will be sent.
Mode Global Configuration
Example To have log messages emailed to the email address [email protected]
use the following commands: awplus# configure terminal awplus(config)# log email [email protected]
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
258
L OGGING C OMMANDS
LOG EMAIL ( FILTER )
log email (filter)
Overview This command creates a filter to select messages to be sent to an email address.
Selection can be based on the priority/ severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
The no variant of this command configures the device to no longer send log messages to a specified email address. All configuration relating to this log target will be removed.
Syntax log email <email-address> [level <level> ] [program
<program-name> ] [facility <facility> ] [msgtext <text-string> ] no log email <email-address> [level <level> ] [program
<program-name> ] [facility <facility> ] [msgtext <text-string> ]
Parameter
<email- address> level
< level > program
< program- name >
Description
The email address to send logging messages to
Filter messages by severity level.
The minimum severity of message to send. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies System is unusable
1|alerts
2|critical
3|errors
4|warnings
5|notices
Action must be taken immediately
Critical conditions
Error conditions
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Filter messages by program. Include messages from a specified program.
The name of a program to log messages from, either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output: rsvp Resource Reservation Protocol (RSVP) dot1x lacp stp rstp mstp
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
259
L OGGING C OMMANDS
LOG EMAIL ( FILTER )
Parameter Description imi imish epsr rmon loopprot poe dhcpsn DHCP snooping (DHCPSN) facility Filter messages by syslog facility.
< facility > Specify one of the following syslog facilities to include messages from: kern user
Kernel messages
Random user-level messages mail daemon auth syslog lpr
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem news uucp cron authpriv ftp
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Select messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Mode Global Configuration
Examples To create a filter to send all messages generated by EPSR that have a severity of notices or higher to the email address [email protected], use the following commands: awplus# configure terminal awplus(config)# log email [email protected] level notices program epsr
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
260
L OGGING C OMMANDS
LOG EMAIL ( FILTER )
To create a filter to send all messages containing the text “Bridging initialization”, to the email address [email protected], use the following commands: awplus# configure terminal awplus(config)# log email [email protected] msgtext "Bridging initialization"
To create a filter to send messages with a severity level of informational and above to the email address [email protected], use the following commands: awplus# configure terminal awplus(config)# log email [email protected] level informational
To stop the device emailing log messages emailed to the email address [email protected], use the following commands: awplus# configure terminal awplus(config)# no log email [email protected]
To remove a filter that sends all messages generated by EPSR that have a severity of notices or higher to the email address [email protected], use the following commands: awplus# configure terminal awplus(config)# no log email [email protected] level notices program epsr
To remove a filter that sends messages with a severity level of informational and above to the email address [email protected], use the following commands: awplus# configure terminal awplus(config)# no log email [email protected] level informational
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
261
L OGGING C OMMANDS
LOG EMAIL EXCLUDE
log email exclude
Overview Use this command to prevent specified log messages from being emailed, when the device is configured to send log messages to an email address. You can exclude messages on the basis of:
•
•
•
• the priority/severity of the message the program that generated the message the logging facility used a sub-string within the message, or
• a combination of some or all of these.
Use the no variant of this command to stop excluding the specified messages.
Syntax log email exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log email exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Exclude messages of the specified severity level.
The severity level to exclude. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
4|warnings
5|notices
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Exclude messages from a specified program.
The name of a program. Either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp dot1x lacp stp rstp
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
262
L OGGING C OMMANDS
LOG EMAIL EXCLUDE
Parameter Description mstp imi imish epsr
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR) rmon loopprot poe dhcpsn
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Exclude messages from a syslog facility.
< facility > Specify one of the following syslog facilities to exclude messages from: kern Kernel messages user mail daemon auth syslog
Random user-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd lpr news uucp cron authpriv ftp
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Exclude messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default No log messages are excluded
Mode Global configuration
Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log email exclude msgtext example of irrelevant message
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
263
L OGGING C OMMANDS
LOG EMAIL EXCLUDE
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
264
L OGGING C OMMANDS
LOG EMAIL TIME
log email time
Overview This command configures the time used in messages sent to an email address. If the syslog server is in a different time zone to your device then the time offset can be configured using either the utc-offset parameter option keyword or the local-offset parameter option keyword, where utc-offset is the time difference from UTC (Universal Time, Coordinated) and local-offset is the difference from local time.
Syntax log email <email-address> time {local|local-offset|utc-offset
{plus|minus} <0-24> }
Parameter Description
<email-address> The email address to send log messages to time Specify the time difference between the email recipient and the device you are configuring.
local local-offset
The device is in the same time zone as the email recipient
The device is in a different time zone to the email recipient. Use the plus or minus keywords and specify the difference (offset) from local time of the device to the email recipient in hours.
utc-offset The device is in a different time zone to the email recipient. Use the plus or minus keywords and specify the difference (offset) from UTC time of the device to the email recipient in hours.
plus Negative offset (difference) from the device to the email recipient.
minus Positive offset (difference) from the device to the email recipient.
<0-24> World Time zone offset in hours
Default The default is local time.
Mode Global Configuration
Usage Use the local option if the email recipient is in the same time zone as this device.
Messages will display the time as on the local device when the message was generated.
Use the offset option if the email recipient is in a different time zone to this device.
Specify the time offset of the email recipient in hours. Messages will display the time they were generated on this device but converted to the time zone of the email recipient.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
265
L OGGING C OMMANDS
LOG EMAIL TIME
Examples To send messages to the email address [email protected]
in the same time zone as the device’s local time zone, use the following commands: awplus# configure terminal awplus(config)# log email [email protected] time local 0
To send messages to the email address [email protected]
with the time information converted to the time zone of the email recipient, which is 3 hours ahead of the device’s local time zone, use the following commands: awplus# configure terminal awplus(config)# log email [email protected] time local-offset plus
3
To send messages to the email address [email protected]
with the time information converted to the time zone of the email recipient, which is 3 hours behind the device’s UTC time zone, use the following commands: awplus# configure terminal awplus(config)# log email [email protected] time utc-offset minus
3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
266
L OGGING C OMMANDS
LOG FACILITY
log facility
Overview Use this command to specify an outgoing syslog facility. This determines where the syslog server will store the log messages.
Use the no variant of this command to remove the facility.
Syntax log facility
{kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|authpriv
|ftp|local0|local1|local2|local3|local4|local5|local6|local7} no log facility
Parameter kern user mail daemon auth syslog lpr news uucp cron authpriv ftp local0 local1 local2 local3 local4 local5 local6 local7
Description
Kernel messages
User-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by the syslog daemon
Line printer subsystem
Network news subsystem
UNIX-to-UNIX Copy Program subsystem
Clock daemon
Security/authorization (private) messages
FTP daemon
Local use 0
Local use 1
Local use 2
Local use 3
Local use 4
Local use 5
Local use 6
Local use 7
Default None (the outgoing syslog facility depends on the log message)
Mode Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
267
L OGGING C OMMANDS
LOG FACILITY
Example To specify a facility of local0, use the following commands: awplus# configure terminal awplus(config)# log facility local0
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
268
L OGGING C OMMANDS
LOG HOST
log host
Overview This command configures the device to send log messages to a remote syslog server via UDP port 514. The IP address of the remote server must be specified. By default no filters are defined for remote syslog servers. Filters must be defined before messages will be sent.
Use the no variant of this command to stop sending log messages to the remote syslog server.
Syntax log host < ipv4-addr> | <ipv6-addr > [secure] no log host < ipv4-addr> | <ipv6-addr >
Parameter Description
< ipv4-addr > Specify the source IPv4 address, in dotted decimal notation (A.B.C.D).
<ipv6-addr> Specify the source IPv6 address, in X:X::X:X notation.
secure Optional value to create a secure log destination
Mode Global Configuration
Usage Use the optional secure parameter to configure a secure syslog host. For secure hosts, syslog over TLS is used to encrypt the logs. The certificate received from the remote log server must have an issuer chain that terminates with the root CA certificate for any of the trustpoints that are associated with the application.
The remote server may also request that a certificate is transmitted from the local device. In this situation the first trustpoint added to the syslog application will be transmitted to the remote server.
Examples To configure the device to send log messages to a remote secure syslog server with
IP address 10.32.16.99
use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.99 secure
To stop the device from sending log messages to the remote syslog server with IP address 10.32.16.99
use the following commands: awplus# configure terminal awplus(config)# no log host 10.32.16.99
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
269
L OGGING C OMMANDS
LOG HOST
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
270
L OGGING C OMMANDS
LOG HOST ( FILTER )
log host (filter)
Overview This command creates a filter to select messages to be sent to a remote syslog server. Selection can be based on the priority/severity of the message, the program that generated the message, the logging facility used, a substring within the message or a combination of some or all of these.
The no variant of this command configures the device to no longer send log messages to a remote syslog server. The IP address of the syslog server must be specified. All configuration relating to this log target will be removed.
Syntax log host < ip-addr > [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log host < ip-addr > [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter
<ip-addr> level
< level > program
< program- name >
Description
The IP address of a remote syslog server.
Filter messages by severity level.
The minimum severity of message to send. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies System is unusable
1|alerts
2|critical
3|errors
4|warnings
5|notices
Action must be taken immediately
Critical conditions
Error conditions
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Filter messages by program. Include messages from a specified program.
The name of a program to log messages from, either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output: rsvp Resource Reservation Protocol (RSVP) dot1x lacp stp rstp mstp imi
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
271
L OGGING C OMMANDS
LOG HOST ( FILTER )
Parameter Description imish epsr rmon loopprot poe dhcpsn uucp cron authpriv ftp
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Filter messages by syslog facility.
< facility > Specify one of the following syslog facilities to include messages from: kern Kernel messages user mail
Random user-level messages
Mail system daemon auth syslog lpr news
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Select messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Mode Global Configuration
Examples To create a filter to send all messages generated by EPSR that have a severity of notices or higher to a remote syslog server with IP address 10.32.16.21, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.21 level notices program epsr
To create a filter to send all messages containing the text “Bridging initialization”, to a remote syslog server with IP address 10.32.16.21, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.21 msgtext "Bridging initialization"
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
272
L OGGING C OMMANDS
LOG HOST ( FILTER )
To create a filter to send messages with a severity level of informational and above to the syslog server with IP address 10.32.16.21, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.21 level informational
To remove a filter that sends all messages generated by EPSR that have a severity of notices or higher to a remote syslog server with IP address 10.32.16.21, use the following commands: awplus# configure terminal awplus(config)# no log host 10.32.16.21 level notices program epsr
To remove a filter that sends all messages containing the text “Bridging initialization”, to a remote syslog server with IP address 10.32.16.21, use the following commands: awplus# configure terminal awplus(config)# no log host 10.32.16.21 msgtext "Bridging initialization"
To remove a filter that sends messages with a severity level of informational and above to the syslog server with IP address 10.32.16.21, use the following commands: awplusawpluls# configure terminal awplus(config)# no log host 10.32.16.21 level informational
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
273
L OGGING C OMMANDS
LOG HOST EXCLUDE
log host exclude
Overview Use this command to prevent specified log messages from being sent to the
remote syslog server, when log host is enabled. You can exclude messages on the
basis of:
•
•
•
• the priority/severity of the message the program that generated the message the logging facility used a sub-string within the message, or
• a combination of some or all of these.
Use the no variant of this command to stop excluding the specified messages.
Syntax log host exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log host exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Exclude messages of the specified severity level.
The severity level to exclude. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
4|warnings
5|notices
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Exclude messages from a specified program.
The name of a program. Either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp dot1x lacp stp rstp
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
274
L OGGING C OMMANDS
LOG HOST EXCLUDE
Parameter Description mstp imi imish epsr
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR) rmon loopprot poe dhcpsn
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Exclude messages from a syslog facility.
< facility > Specify one of the following syslog facilities to exclude messages from: kern Kernel messages user mail daemon auth syslog
Random user-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd lpr news uucp cron authpriv ftp
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Exclude messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default No log messages are excluded
Mode Global configuration
Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log host exclude msgtext example of irrelevant message
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
275
L OGGING C OMMANDS
LOG HOST EXCLUDE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
276
L OGGING C OMMANDS
LOG HOST SOURCE
log host source
Overview Use this command to specify a source interface or IP address for the device to send syslog messages from. You can specify any one of an interface name, an IPv4 address or an IPv6 address.
This is useful if the device can reach the syslog server via multiple interfaces or addresses and you want to control which interface/address the device uses.
Use the no variant of this command to stop specifying a source interface or address.
Syntax log host source { <interface-name> | <ipv4-addr> | <ipv6-addr> } no log host source
Parameter
<ipv4-add>
Description
<interface-name> Specify the source interface name. You can enter a VLAN, eth interface or loopback interface.
Specify the source IPv4 address, in dotted decimal notation
(A.B.C.D).
<ipv6-add> Specify the source IPv6 address, in X:X::X:X notation.
Default None (no source is configured)
Mode Global Configuration
Example To send syslog messages from 192.168.1.1, use the commands: awplus# configure terminal awplus(config)# log host source 192.168.1.1
Related
Commands
277 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
L OGGING C OMMANDS
LOG HOST TIME
log host time
Overview This command configures the time used in messages sent to a remote syslog server. If the syslog server is in a different time zone to your device then the time offset can be configured using either the utc-offset parameter option keyword or the local-offset parameter option keyword, where utc-offset is the time difference from UTC (Universal Time, Coordinated) and local-offset is the difference from local time.
Syntax log host <email-address> time {local|local-offset|utc-offset
{plus|minus} <0-24> }
Parameter Description
<email-address> The email address to send log messages to time Specify the time difference between the email recipient and the device you are configuring.
local local-offset
The device is in the same time zone as the email recipient
The device is in a different time zone to the email recipient. Use the plus or minus keywords and specify the difference (offset) from local time of the device to the email recipient in hours.
utc-offset The device is in a different time zone to the email recipient. Use the plus or minus keywords and specify the difference (offset) from UTC time of the device to the email recipient in hours.
plus minus
<0-24>
Negative offset (difference) from the device to the syslog server.
Positive offset (difference) from the device to the syslog server.
World Time zone offset in hours
Default The default is local time.
Mode Global Configuration
Usage Use the local option if the remote syslog server is in the same time zone as the device. Messages will display the time as on the local device when the message was generated.
Use the offset option if the email recipient is in a different time zone to this device.
Specify the time offset of the remote syslog server in hours. Messages will display the time they were generated on this device but converted to the time zone of the remote syslog server.
Examples To send messages to the remote syslog server with the IP address 10.32.16.21
in the same time zone as the device’s local time zone, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.21 time local 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
278
L OGGING C OMMANDS
LOG HOST TIME
To send messages to the remote syslog server with the IP address 10.32.16.12
with the time information converted to the time zone of the remote syslog server, which is 3 hours ahead of the device’s local time zone, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.12 time local-offset plus 3
To send messages to the remote syslog server with the IP address 10.32.16.02
with the time information converted to the time zone of the email recipient, which is 3 hours behind the device’s UTC time zone, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.02 time utc-offset minus 3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
279
L OGGING C OMMANDS
LOG MONITOR ( FILTER )
log monitor (filter)
Overview This command creates a filter to select messages to be sent to the terminal when the
terminal monitor command is given. Selection can be based on the
priority/severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
Syntax log monitor [level <level> ] [program <program-name> ] [facility
<facility> ] [msgtext <text-string> ] no log monitor [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Filter messages by severity level.
The minimum severity of message to send. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
4|warnings
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
Warning conditions
5|notices Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Filter messages by program. Include messages from a specified program.
The name of a program to log messages from, either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output: rsvp dot1x lacp stp rstp mstp imi imish epsr
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
280
L OGGING C OMMANDS
LOG MONITOR ( FILTER )
Parameter Description rmon Remote Monitoring loopprot poe dhcpsn
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Filter messages by syslog facility.
< facility > Specify one of the following syslog facilities to include messages from: kern user mail daemon auth syslog lpr news uucp cron authpriv ftp
Kernel messages
Random user-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Select messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default By default there is a filter to select all messages. This filter may be removed and replaced by filters that are more selective.
Mode Global Configuration
Examples To create a filter to send all messages that are generated by authentication and have a severity of info or higher to terminal instances where the terminal monitor command has been given, use the following commands: awplus# configure terminal awplus(config)# log monitor level info program auth
To remove a filter that sends all messages generated by EPSR that have a severity of notices or higher to the terminal, use the following commands: awplus# configure terminal awplus(config)# no log monitor level notices program epsr
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
281
L OGGING C OMMANDS
LOG MONITOR ( FILTER )
To remove a default filter that includes sending everything to the terminal, use the following commands: awplus# configure terminal awplus(config)# no log monitor level debugging
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
282
L OGGING C OMMANDS
LOG MONITOR EXCLUDE
log monitor exclude
Overview Use this command to prevent specified log messages from being displayed on a
terminal, when terminal monitor
is enabled. You can exclude messages on the basis of:
•
•
•
• the priority/severity of the message the program that generated the message the logging facility used a sub-string within the message, or
• a combination of some or all of these.
Use the no variant of this command to stop excluding the specified messages.
Syntax log console exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log console exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Exclude messages of the specified severity level.
The severity level to exclude. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
4|warnings
5|notices
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Exclude messages from a specified program.
The name of a program. Either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp dot1x lacp stp rstp
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
283
L OGGING C OMMANDS
LOG MONITOR EXCLUDE
Parameter Description mstp imi imish epsr
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR) rmon loopprot poe dhcpsn
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Exclude messages from a syslog facility.
< facility > Specify one of the following syslog facilities to exclude messages from: kern Kernel messages user mail daemon auth syslog
Random user-level messages
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd lpr news uucp cron authpriv ftp
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Exclude messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default No log messages are excluded
Mode Global configuration
Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log monitor exclude msgtext example of irrelevant message
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
284
L OGGING C OMMANDS
LOG MONITOR EXCLUDE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
285
L OGGING C OMMANDS
LOG PERMANENT
log permanent
Overview This command configures the device to send permanent log messages to non-volatile storage (NVS) on the device. The content of the permanent log is retained over a reboot. Once the permanent log reaches its configured maximum allowable size old messages will be deleted to make way for new messages.
On IE200-6 Series switches, files in NVS persist over a device restart but do not persist over a power cycle.
The no variant of this command configures the device not to send any messages to the permanent log. Log messages will not be retained over a restart.
Syntax log permanent no log permanent
Mode Global Configuration
Examples To enable permanent logging use the following commands: awplus# configure terminal awplus(config)# log permanent
To disable permanent logging use the following commands: awplus# configure terminal awplus(config)# no log permanent
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
286
L OGGING C OMMANDS
LOG PERMANENT ( FILTER )
log permanent (filter)
Overview This command creates a filter to select messages to be sent to the permanent log.
Selection can be based on the priority/ severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
The permanent log is stored in NVS. On IE200-6 Series switches, files in NVS persist over a device restart but do not persist over a power cycle.
The no variant of this command removes the corresponding filter, so that the specified messages are no longer sent to the permanent log.
Syntax log permanent [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log permanent [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Filter messages sent to the permanent log by severity level.
The minimum severity of message to send. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
4|warnings
5|notices
Warning conditions
Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Filter messages by program. Include messages from a specified program.
The name of a program to log messages from, either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output: rsvp dot1x lacp stp rstp mstp imi
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
Integrated Management Interface (IMI)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
287
L OGGING C OMMANDS
LOG PERMANENT ( FILTER )
Parameter Description imish epsr rmon loopprot poe dhcpsn uucp cron authpriv ftp
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
DHCP snooping (DHCPSN) facility Filter messages by syslog facility.
< facility > Specify one of the following syslog facilities to include messages from: kern Kernel messages user mail
Random user-level messages
Mail system daemon auth syslog lpr news
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Select messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default By default the buffered log has a filter to select messages whose severity level is notices (5) or higher. This filter may be removed using the no variant of this command.
Mode Global Configuration
Examples To create a filter to send all messages generated by EPSR that have a severity of notices or higher to the permanent log use the following commands: awplus# configure terminal awplus(config)# log permanent level notices program epsr
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
288
L OGGING C OMMANDS
LOG PERMANENT ( FILTER )
To create a filter to send all messages containing the text “ Bridging initialization” , to the permanent log use the following commands: awplus# configure terminal awplus(config)# log permanent msgtext Bridging initialization
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
289
L OGGING C OMMANDS
LOG PERMANENT EXCLUDE
log permanent exclude
Overview Use this command to prevent specified log messages from being sent to the permanent log. You can exclude messages on the basis of:
•
•
•
• the priority/severity of the message the program that generated the message the logging facility used a sub-string within the message, or
• a combination of some or all of these.
Use the no variant of this command to stop excluding the specified messages.
Syntax log permanent exclude [level <level> ] [program <program-name> ]
[facility <facility> ] [msgtext <text-string> ] no log permanent exclude [level <level> ] [program
<program-name> ] [facility <facility> ] [msgtext <text-string> ]
Parameter level
< level > program
< program- name >
Description
Exclude messages of the specified severity level.
The severity level to exclude. The level can be specified as one of the following numbers or level names, where 0 is the highest severity and 7 is the lowest severity:
0|emergencies
1|alerts
2|critical
3|errors
4|warnings
System is unusable
Action must be taken immediately
Critical conditions
Error conditions
Warning conditions
5|notices Normal, but significant, conditions
6|informational Informational messages
7|debugging Debug-level messages
Exclude messages from a specified program.
The name of a program. Either one of the following predefined program names (not case-sensitive), or another program name (case-sensitive) that you find in the log output.
rsvp dot1x lacp stp rstp mstp
Resource Reservation Protocol (RSVP)
IEEE 802.1X Port-Based Access Control
Link Aggregation Control Protocol (LACP)
Spanning Tree Protocol (STP)
Rapid Spanning Tree Protocol (RSTP)
Multiple Spanning Tree Protocol (MSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
290
L OGGING C OMMANDS
LOG PERMANENT EXCLUDE
Parameter Description imi imish epsr rmon loopprot poe dhcpsn DHCP snooping (DHCPSN) facility Exclude messages from a syslog facility.
< facility > Specify one of the following syslog facilities to exclude messages from: kern user
Kernel messages
Random user-level messages mail daemon auth syslog lpr
Mail system
System daemons
Security/authorization messages
Messages generated internally by syslogd
Line printer subsystem news uucp cron authpriv ftp
Integrated Management Interface (IMI)
Integrated Management Interface Shell (IMISH)
Ethernet Protection Switched Rings (EPSR)
Remote Monitoring
Loop Protection
Power-inline (Power over Ethernet)
Network news subsystem
UUCP subsystem
Clock daemon
Security/authorization messages (private)
FTP daemon msgtext
< text- string >
Exclude messages containing a certain text string.
A text string to match (maximum 128 characters). This is case sensitive, and must be the last text on the command line.
Default No log messages are excluded
Mode Global configuration
Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log permanent exclude msgtext example of irrelevant message
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
291
L OGGING C OMMANDS
LOG PERMANENT EXCLUDE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
292
L OGGING C OMMANDS
LOG PERMANENT SIZE
log permanent size
Overview This command configures the amount of memory that the permanent log is permitted to use. Once this memory allocation has been filled old messages will be deleted to make room for new messages.
The permanent log is stored in NVS. On IE200-6 Series switches, files in NVS persist over a device restart but do not persist over a power cycle.
Syntax log permanent size < 50-250 >
Parameter
< 50-250 >
Description
Size of the permanent log in kilobytes
Mode Global Configuration
Example To allow the permanent log to use up to 100 kB of NVS use the following commands: awplus# configure terminal awplus(config)# log permanent size 100
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
293
L OGGING C OMMANDS
LOG RATE LIMIT NSM
log-rate-limit nsm
Overview This command limits the number of log messages generated by the device for a given interval.
Use the no variant of this command to revert to the default number of log messages generated by the device of up to 200 log messages per second.
Syntax log-rate-limit nsm messages < message-limit > interval
< time-interval > no log-rate-limit nsm
Parameter Description
< message-limit > <1-65535>
The number of log messages generated by the device.
< time-interval > <0-65535>
The time period for log message generation in 1/100 seconds.
If an interval of 0 is specified then no log message rate limiting is applied.
Default By default, the device will allow 200 log messages to be generated per second.
Mode Global Configuration
Usage Previously, if the device received a continuous stream of IGMP packets with errors, such as when a packet storm occurs because of a network loop, then the device generates a lot of log messages using more and more memory, which may ultimately cause the device to shutdown. This log rate limiting feature constrains the rate that log messages are generated by the device.
Note that if within the given time interval, the number of log messages exceeds the limit, then any excess log messages are discarded. At the end of the time interval, a single log message is generated indicating that log messages were discarded due to the log rate limit being exceeded.
Thus if the expectation is that there will be a lot of discarded log messages due to log rate limiting, then it is advisable to set the time interval to no less than 100, which means that there would only be one log message, indicating log excessive log messages have been discarded.
Examples To limit the device to generate up to 300 log messages per second, use the following commands: awplus# configure terminal awplus(config)# log-rate-limit nsm messages 300 interval 100
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
294
L OGGING C OMMANDS
LOG RATE LIMIT NSM
To return the device the default setting, to generate up to 200 log messages per second, use the following commands: awplus# configure terminal awplus(config)# no log-rate-limit nsm
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
295
L OGGING C OMMANDS
LOG TRUSTPOINT
log trustpoint
Overview This command adds one or more trustpoints to be used with the syslog application. Multiple trustpoints may be specified, or the command may be executed multiple times, to add multiple trustpoints to the application.
The no version of this command removes one or more trustpoints from the list of trustpoints associated with the application.
Syntax log trustpoint [< trustpoint-list >] no log trustpoint [< trustpoint-list >]
Parameter
<trustpoint-list>
Description
Specify one or more trustpoints to be added or deleted.
Default No trustpoints are created by default.
Mode Global Configuration
Usage The device certificate associated with first trustpoint added to the application will be transmitted to remote servers. The certificate received from the remote server must have an issuer chain that terminates with the root CA certificate for any of the trustpoints that are associated with the application.
If no trustpoints are specified in the command, the trustpoint list will be unchanged.
If no log trustpoint is issued without specifying any trustpoints, then all trustpoints will be disassociated from the application.
Example You can add multiple trustpoints by executing the command multiple times: awplus# configure terminal awplus(config)# log trustpoint trustpoint_1 awplus(config)# log trustpoint trustpoint_2
Alternatively, add multiple trustpoints with a single command: awplus(config)# log trustpoint trustpoint_2 trustpoint_3
Disassociate all trustpoints from the syslog application using the command: awplus(config)# log trustpoint trustpoint_2 trustpoint_3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
296
L OGGING C OMMANDS
SHOW COUNTER LOG
show counter log
Overview This command displays log counter information.
Syntax show counter log
Mode User Exec and Privileged Exec
Example To display the log counter information, use the command: awplus# show counter log
Output Figure 7-1: Example output from the show counter log command
Log counters
Total Received ......... 2328
Total Received P0 ......... 0
Total Received P1 ......... 0
Total Received P2 ......... 1
Total Received P3 ......... 9
Total Received P4 ......... 32
Total Received P5 ......... 312
Total Received P6 ......... 1602
Total Received P7 ......... 372
Table 1: Parameters in output of the show counter log command
Parameter
Total Received
Total Received P0
Total Received P1
Total Received P2
Total Received P3
Total Received P4
Total Received P5
Total Received P6
Total Received P7
Description
Total number of messages received by the log
Total number of Priority 0 (Emergency) messages received
Total number of Priority 1 (Alert) messages received
Total number of Priority 2 (Critical) messages received
Total number of Priority 3 (Error) messages received
Total number of Priority 4 (Warning) messages received
Total number of Priority 5 (Notice) messages received
Total number of Priority 6 (Info) messages received
Total number of Priority 7 (Debug) messages received
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
297
L OGGING C OMMANDS
SHOW EXCEPTION LOG
show exception log
Overview This command displays the contents of the exception log.
Syntax show exception log
Mode User Exec and Privileged Exec
Example To display the exception log, use the command: awplus# show exception log
Output Figure 7-2: Example output from the show exception log command on a device awplus#show exception log
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
------------------------------------------------------------------------
2014 Jan 08 08:05:59 local7.debug awplus corehandler : Process hsl (PID:741) sig nal 11, core dumped to /flash/hsl-IE200-proj1747_ie200-20131225-1-1-1262937958-7
41.tgz
2014 Jan 08 08:17:43 local7.debug awplus corehandler : Process hsl (PID:745) sig nal 11, core dumped to /flash/hsl-IE200-proj1747_IE200-20131225-1-1-1262938662-7
45.tgz
-------------------------------------------------------------------------
Output Figure 7-3: Example output from the show exception log command on a switch that has never had an exception occur awplus#show exception log
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
------------------------------------------------------------------------
None
------------------------------------------------------------------------ awplus#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
298
L OGGING C OMMANDS
SHOW LOG
show log
Overview This command displays the contents of the buffered log.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show log [tail [< 10-250 >]]
Parameter tail
< 10-250 >
Description
Display only the latest log entries.
Specify the number of log entries to display.
Default By default the entire contents of the buffered log is displayed.
Mode User Exec, Privileged Exec and Global Configuration
Usage If the optional tail parameter is specified only the latest 10 messages in the buffered log are displayed. A numerical value can be specified after the tail parameter to select how many of the latest messages should be displayed.
The show log command is only available to users at privilege level 7 and above. To set a user’s privilege level, use the command: awplus(config)# username < name > privilege < 1-15 >
Examples To display the contents of the buffered log use the command: awplus# show log
To display the 10 latest entries in the buffered log use the command: awplus# show log tail 10
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
299
L OGGING C OMMANDS
SHOW LOG
Output Figure 7-4: Example output from the show log command
awplus#show log
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
-------------------------------------------------------------------
2011 Aug 29 07:55:22 kern.notice awplus kernel: Linux version 2.6.32.12-at1 (mak er@awpmaker03-dl) (gcc version 4.3.3 (Gentoo 4.3.3-r3 p1.2, pie-10.1.5) ) #1 Wed
Dec 8 11:53:40 NZDT 2010
2011 Aug 29 07:55:22 kern.warning awplus kernel: No pci config register base in dev tree, using default
2011 Aug 29 07:55:23 kern.notice awplus kernel: Kernel command line: console=tty
S0,9600 releasefile=IE200-5.4.6I-0.1.rel ramdisk=14688 bootversion=1.1.0-rc12 loglevel=1
extraflash=00000000
2011 Aug 29 07:55:25 kern.notice awplus kernel: RAMDISK: squashfs filesystem fou nd at block 0
2011 Aug 29 07:55:28 kern.warning awplus kernel: ipifwd: module license 'Proprie tary' taints kernel.
...
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
300
L OGGING C OMMANDS
SHOW LOG CONFIG
show log config
Overview This command displays information about the logging system. This includes the configuration of the various log destinations, buffered, permanent, syslog servers
(hosts) and email addresses. This also displays the latest status information for each of these destinations.
Syntax show log config
Mode User Exec, Privileged Exec and Global Configuration
Example To display the logging configuration use the command: awplus# show log config
Output Figure 7-5: Example output from the show log config command
Facility: default
PKI trustpoints: example_trustpoint
Buffered log:
Status ......... enabled
Maximum size ... 100kb
Filters:
*1 Level ........ notices
Program ...... any
Facility ..... any
Message text . any
2 Level ........ informational
Program ...... auth
Facility ..... daemon
Message text . any
Statistics ..... 1327 messages received, 821 accepted by filter (2016 Oct 11
10:36:16)
Permanent log:
Status ......... enabled
Maximum size ... 60kb
Filters:
1 Level ........ error
Program ...... any
Facility ..... any
Message text . any
*2 Level ........ warnings
Program ...... dhcp
Facility ..... any
Message text . "pool exhausted"
Statistics ..... 1327 messages received, 12 accepted by filter (2016 Oct 11
10:36:16)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
301
L OGGING C OMMANDS
SHOW LOG CONFIG
Host 10.32.16.21:
Time offset .... +2:00
Offset type .... UTC
Source .........
Secured ........ enabled
Filters:
1 Level ........ critical
Program ...... any
Facility ..... any
Message text . any
Statistics ..... 1327 messages received, 1 accepted by filter (2016 Oct 11
10:36:16)
Email [email protected]:
Time offset .... +0:00
Offset type .... Local
Filters:
1 Level ........ emergencies
Program ...... any
Facility ..... any
Message text . any
Statistics ..... 1327 messages received, 0 accepted by filter (2016 Oct 11
10:36:16)
...
In the above example the ’ * ’ next to filter 1 in the buffered log configuration indicates that this is the default filter. The permanent log has had its default filter removed, so none of the filters are marked with “*’.
NOTE
: Terminal log and console log cannot be set at the same time. If console logging is enabled then the terminal logging is turned off.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
302
L OGGING C OMMANDS
SHOW LOG PERMANENT
show log permanent
Overview This command displays the contents of the permanent log.
The permanent log is stored in NVS. On IE200-6 Series switches, files in NVS persist over a device restart but do not persist over a power cycle.
Syntax show log permanent [tail [< 10-250 >]]
Parameter tail
< 10-250 >
Description
Display only the latest log entries.
Specify the number of log entries to display.
Default If the optional tail parameter is specified only the latest 10 messages in the permanent log are displayed. A numerical value can be specified after the tail parameter to select how many of the latest messages should be displayed.
Mode User Exec, Privileged Exec and Global Configuration
Example To display the permanent log, use the command: awplus# show log permanent
Output Figure 7-6: Example output from the show log permanent command
awplus#show log permanent
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
-----------------------------------------------------------------------
2014 Jun 10 09:30:09 syslog.notice syslog-ng[67]: syslog-ng starting up; version=\’2.0rc3\’
2014 Jun 10 09:30:09 auth.warning portmap[106]: user rpc not found, reverting to user bin
2014 Jun 10 09:30:09 cron.notice crond[116]: crond 2.3.2 dillon, started, log level 8
2014 Jun 10 09:30:14 daemon.err snmpd[181]: /flash/.configs/snmpd.conf: line 20:
Error: bad SUBTREE object
2014 Jun 10 09:30:14 user.info HSL[192]: HSL: INFO: Registering port port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
303
L OGGING C OMMANDS
SHOW RUNNING CONFIG LOG
show running-config log
Overview This command displays the current running configuration of the Log utility.
Syntax show running-config log
Mode Privileged Exec and Global Configuration
Example To display the current configuration of the log utility, use the command: awplus# show running-config log
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
304
8
Scripting
Commands
Introduction
Overview This chapter provides commands used for command scripts.
Command List •
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
305
S CRIPTING C OMMANDS
ACTIVATE
activate
Overview This command activates a script file.
Syntax activate [background] < script >
Parameter Description background Activate a script to run in the background. A process that is running in the background will operate as a separate task, and will not interrupt foreground processing. Generally, we recommend running short, interactive scripts in the foreground and longer scripts in the background. The default is to run the script in the foreground.
< script > The file name of the script to activate. The script is a command script consisting of commands documented in this software reference.
Note that you must use either a .
scp or a .
sh filename extension for a valid script text file, as described below in the usage section for this command.
Mode Privileged Exec
Usage When a script is activated, the privilege level is set to 1 enabling User Exec commands to run in the script. If you need to run Privileged Exec commands in
your script you need to add an enable (Privileged Exec mode)
command to the start of your script. If you need to run Global Configuration commands in your script you need to add a
command after the enable command at the start of your script.
The activate
command executes the script in a new shell. A terminal length
shell command, such as terminal length 0 may also be required to disable a delay that would pause the display.
A script must be a text file with a filename extension of either .
sh or .
scp only for the AlliedWare Plus™ CLI to activate the script file. The .
sh filename extension indicates the file is an ASH script, and the .
scp filename extension indicates the file is an AlliedWare Plus™ script.
Examples To activate a command script to run as a background process, use the command: awplus# activate background test.scp
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
306
S CRIPTING C OMMANDS
ECHO
echo
Overview This command echoes a string to the terminal, followed by a blank line.
Syntax echo < line >
Parameter
< line >
Description
The string to echo
Mode User Exec and Privileged Exec
Usage This command may be useful in CLI scripts, to make the script print user-visible comments.
Example To echo the string Hello World to the console, use the command: awplus# echo Hello World
Output
Hello World
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
307
S CRIPTING C OMMANDS
WAIT
wait
Overview This command pauses execution of the active script for the specified period of time.
Syntax wait < delay >
Parameter
< delay >
Description
< 1-65335 > Specify the time delay in seconds
Default No wait delay is specified by default to pause script execution.
Mode Privileged Exec (when executed from a script not directly from the command line)
Usage Use this command to pause script execution in an .scp
(AlliedWare Plus™ script) or an .sh
(ASH script) file executed by the
activate command. The script must contain
an enable command, because the wait command is only executed in the
Privileged Exec mode.
Example See an .scp
script file extract below that will show port counters for interface port1.0.1 over a 10 second interval:
enable
show interface port1.0.1
wait 10 show interface port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
308
9
Interface
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure and display interfaces.
Command List •
•
•
•
•
•
•
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
309
I NTERFACE C OMMANDS
DESCRIPTION ( INTERFACE )
description (interface)
Overview Use this command to add a description to a specific port or interface.
Syntax description < description >
Parameter Description
< description > Text describing the specific interface.
Mode Interface Configuration
Example The following example uses this command to describe the device that a switch port is connected to.
awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# description Boardroom PC
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
310
I NTERFACE C OMMANDS
INTERFACE ( TO CONFIGURE )
interface (to configure)
Overview Use this command to select one or more interfaces to configure.
Syntax interface < interface-list> interface lo
Parameter Description
< interface-list > The interfaces or ports to configure.
An interface-list can be:
• an interface such as a VLAN (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.6
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6.
Do not mix interface types in a list
The specified interfaces must exist.
lo The local loopback interface.
Usage A local loopback interface is one that is always available for higher layer protocols to use and advertise to the network. Although a local loopback interface is assigned an IP address, it does not have the usual requirement of connecting to a lower layer physical entity. This lack of physical attachment creates the perception of a local loopback interface always being accessible via the network.
Local loopback interfaces can be utilized by a number of protocols for various purposes. They can be used to improve access to the device and also increase its reliability, security, scalability and protection. In addition, local loopback interfaces can add flexibility and simplify management, information gathering and filtering.
One example of this increased reliability is for OSPF to advertise a local loopback interface as an interface-route into the network irrespective of the physical links that may be “up” or “down” at the time. This provides a higher probability that the routing traffic will be received and subsequently forwarded.
Mode Global Configuration
Example The following example shows how to enter Interface mode to configure vlan1 .
Note how the prompt changes.
awplus# configure terminal awplus(config)# interface vlan1 awplus(config-if)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
311
I NTERFACE C OMMANDS
INTERFACE ( TO CONFIGURE )
The following example shows how to enter Interface mode to configure the local loopback interface.
awplus# configure terminal awplus(config)# interface lo awplus(config-if)#
Related
Commands
ip address (IP Addressing and Protocol)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
312
I NTERFACE C OMMANDS
MRU JUMBO
mru jumbo
Overview Use this command to enable the device to forward jumbo frames. For more information, see the Switching Feature Overview and Configuration Guide .
When jumbo frame support is enabled, the maximum size of packets that the device can forward is 9710 bytes of payload.
Use the no variant of this command to remove jumbo frame support, and restore the default MRU size (1500 bytes) for switch ports.
NOTE
:
The figure of 1500 or 9710 bytes specifies the payload only. For an IEEE 802.1q frame, provision is made (internally) for the following additional components:
•
•
•
• Source and Destination addresses
EtherType field
Priority and VLAN tag fields
FCS
These additional components increase the frame size internally (to 1522 bytes in the default case).
Syntax mru jumbo no mru
Default By default, jumbo frame support is not enabled.
Mode Interface Configuration for switch ports.
Usage
Note that show interface output will only show MRU size for switch ports.
We recommend limiting the number of ports with jumbo frames support enabled to two.
Examples To enable the device to forward jumbo frames on port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# mru jumbo
To remove the jumbo frame support, and therefore restore the MRU size of 1500 bytes on port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no mru
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
313
I NTERFACE C OMMANDS
MTU
mtu
Overview Use this command to set the Maximum Transmission Unit (MTU) size for VLANs, where MTU is the maximum packet size that VLANs can transmit. The MTU size setting is applied to both IPv4 and IPv6 packet transmission.
Use the no variant of this command to remove a previously specified Maximum
Transmission Unit (MTU) size for VLANs, and restore the default MTU size (1500 bytes) for VLANs.
Syntax mtu < 68-1582 > no mtu
Default The default MTU size is 1500 bytes for VLAN interfaces.
Mode Interface Configuration for VLAN interfaces.
Usage If a device receives an IPv4 packet for Layer 3 switching to another VLAN with an
MTU size smaller than the packet size, and if the packet has the ‘ don’t fragment ’ bit set, then the device will send an ICMP ‘ destination unreachable ’ (3) packet type and a ‘ fragmentation needed and DF set ’ (4) code back to the source. For
IPv6 packets bigger than the MTU size of the transmitting VLAN interface, an ICMP
‘ packet too big ’ (ICMP type 2 code 0) message is sent to the source.
Note that show interface output will only show MTU size for VLAN interfaces.
Examples To configure an MTU size of 1500 bytes on interface vlan2 , use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# mtu 1500
To configure an MTU size of 1500 bytes on interfaces vlan2 to vlan4 , use the commands: awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# mtu 1500
To restore the MTU size to the default MTU size of 1500 bytes on vlan2 , use the commands awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no mtu
To restore the MTU size to the default MTU size of 1500 bytes on vlan2 and vlan4 , use the commands awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# no mtu
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
314
I NTERFACE C OMMANDS
MTU
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
315
I NTERFACE C OMMANDS
SHOW INTERFACE
show interface
Overview Use this command to display interface configuration and status.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show interface [ <interface-list >] show interface lo
Parameter Description
< interface-list > The interfaces or ports to configure. An interface-list can be:
• an interface such as a VLAN (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.6
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
lo The local loopback interface.
Mode User Exec and Privileged Exec
Usage Note that the output displayed with this command will show MTU (Maximum
Transmission Unit) size for VLAN interfaces, and MRU (Maximum Received Unit) size for switch ports.
Example To display configuration and status information for all interfaces, use the command: awplus# show interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
316
I NTERFACE C OMMANDS
SHOW INTERFACE
Figure 9-1: Example output from the show interface command awplus#show interface
Interface port1.0.1
Scope: both
Link is DOWN, administrative state is UP
Thrash-limiting
Status Not Detected, Action learn-disable, Timeout 1(s)
Hardware is Ethernet, address is 000c.2503.9a74
index 5001 metric 1 mru 1518
configured duplex auto, configured speed auto, configured polarity auto
<UP,BROADCAST,MULTICAST>
SNMP link-status traps: Disabled
input packets 0, bytes 0, dropped 0, multicast packets 0
output packets 0, bytes 0, multicast packets 0 broadcast packets 0
Time since last state change: 0 days 00:12:18
...
To display configuration and status information for interface lo , use the command: awplus# show interface lo
Figure 9-2: Example output from the show interface lo command awplus#show interface lo
Interface lo
Scope: both
Link is UP, administrative state is UP
Hardware is Loopback
index 1 metric 1
<UP,LOOPBACK,RUNNING>
SNMP link-status traps: Disabled
input packets 0, bytes 0, dropped 0, multicast packets 0
output packets 0, bytes 0, multicast packets 0 broadcast packets 0
Time since last state change: 69 days 01:28:47
To display configuration and status information for interfaces vlan1 and vlan2 , use the command: awplus# show interface vlan1,vlan2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
317
I NTERFACE C OMMANDS
SHOW INTERFACE
Figure 9-3: Example output from the show interface vlan1,vlan2 command
awplus#show interface vlan1,vlan2
Interface vlan1
Scope: both
Link is UP, administrative state is UP
Hardware is VLAN, address is 0015.77e9.5c50
IPv4 address 192.168.1.1/24 broadcast 192.168.1.255
index 201 metric 1 mtu 1500
arp ageing timeout 300
<UP,BROADCAST,RUNNING,MULTICAST>
SNMP link-status traps: Disabled
Bandwidth 1g
input packets 295606, bytes 56993106, dropped 5, multicast packets 156
output packets 299172, bytes 67379392, multicast packets 0 broadcast packets 0
Time since last state change: 0 days 14:22:39
Interface vlan2
Scope: both
Link is DOWN, administrative state is UP
Hardware is VLAN, address is 0015.77e9.5c50
IPv4 address 192.168.2.1/24 broadcast 192.168.2.255
Description: ip_phone_vlan
index 202 metric 1 mtu 1500
arp ageing timeout 300
<UP,BROADCAST,MULTICAST>
SNMP link-status traps: Disabled
Bandwidth 1g
input packets 0, bytes 0, dropped 0, multicast packets 0
output packets 90, bytes 4244, multicast packets 0 broadcast packets 0
Time since last state change: 0 days 14:22:39
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
318
I NTERFACE C OMMANDS
SHOW INTERFACE BRIEF
show interface brief
Overview Use this command to display brief interface, configuration, and status information, including provisioning information.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show interface brief
Mode User Exec and Privileged Exec
Output Figure 9-4: Example output from the show interface brief command awplus# show interface brief
Interface Status Protocol port1.0.1 admin up down port1.0.2 admin up running port1.0.3 admin up down port1.0.4 admin up down port1.0.5 admin up down port1.0.6 admin up down lo admin up running vlan1 admin down down
Table 1: Parameters in the output of the show interface brief command
Parameter
Interface
Status
Protocol
Description
The name or type of interface.
The administrative state. This can be either admin up or admin down .
The link state. This can be either down , running , or provisioned .
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
319
I NTERFACE C OMMANDS
SHOW INTERFACE MEMORY
show interface memory
Overview This command displays the shared memory used by either all interfaces, or the specified interface or interfaces. The output is useful for diagnostic purposes by
Allied Telesis authorized service personnel.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show interface memory show interface < port-list > memory
Parameter Description
<port-list> Display information about only the specified port or ports. The port list can be:
• a switch port (e.g. port1.0.4), a static channel group (e.g. sa2) or a dynamic (LACP) channel group (e.g. po2)
• a continuous range of ports separated by a hyphen (e.g. port1.0.1-1.0.4, or sa1-2, or po1-2)
• a comma-separated list of ports and port ranges (e.g. port1.0.1,port1.0.4-1.0.6). Do not mix switch ports, static channel groups, and dynamic (LACP) channel groups in the same list.
Mode User Exec and Privileged Exec
Example To display the shared memory used by all interfaces, use the command: awplus# show interface memory
To display the shared memory used by port1.0.1 and port1.0.5 to port1.0.6, use the command: awplus# show interface port1.0.1,port1.0.5-1.0.6 memory
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
320
I NTERFACE C OMMANDS
SHOW INTERFACE MEMORY
Output Figure 9-5: Example output from the show interface memory command awplus#show interface memory
Vlan blocking state shared memory usage
--------------------------------------------
Interface shmid Bytes Used nattch Status port1.0.1 393228 512 1 port1.0.2 458766 512 1 port1.0.3 360459 512 1 port1.0.4 524304 512 1 port1.0.5 491535 512 1 port1.0.6 557073 512 1
...
lo 425997 512 1 po1 1179684 512 1 po2 1212453 512 1 sa3 1245222 512 1
Figure 9-6: Example output from show interface <port-list> memory for a list of interfaces awplus#show interface port1.0.1,port1.0.5-1.0.6 memory
Vlan blocking state shared memory usage
--------------------------------------------
Interface shmid Bytes Used nattch Status port1.0.1 393228 512 1 port1.0.5 491535 512 1 port1.0.6 557073 512 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
321
I NTERFACE C OMMANDS
SHOW INTERFACE STATUS
show interface status
Overview Use this command to display the status of the specified interface or interfaces.
Note that when no interface or interfaces are specified then the status of all interfaces on the device are shown.
Syntax show interface [< port-list >] status
Parameter Description
<port-list> The ports to display information about. The port list can be:
• a switch port (e.g. port1.0.6), a static channel group (e.g. sa2) or a dynamic (LACP) channel group (e.g. po2)
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-1.0.6, or sa1-2, or po1-2
• a comma-separated list of ports and port ranges, e.g. port1.0.1,port1.0.4-1.0.6. Do not mix switch ports, static channel groups, and dynamic (LACP) channel groups in the same list
Examples To display the status of ports 1.0.1 to 1.0.4, use the commands: awplus# show interface port1.0.1-1.0.4 status
Table 2: Example output from the show interface <port-list> status command awplus#show interface port1.0.1-1.0.4 status
Port Name Status Vlan Duplex Speed Type port1.0.1 notconnect 1 auto auto 1000BASE-T port1.0.2 notconnect 1 auto auto 1000BASE-T port1.0.3 notconnect 1 auto auto 1000BASE-T port1.0.4 notconnect 1 auto auto 1000BASE-T
To display the status of all ports, use the commands: awplus# show interface status
Table 3: Example output from the show interface status command awplus#show interface status
Port Name Status Vlan Duplex Speed Type port1.0.1 notconnect 1 auto auto 1000BASE-T port1.0.2 connected 1 a-full a-100 1000BASE-T port1.0.3 notconnect 1 auto auto 1000BASE-T port1.0.4 notconnect 1 auto auto 1000BASE-T port1.0.5 notconnect 1 auto auto BASE-BX10 port1.0.6 notconnect 1 auto auto BASE-BX10
322 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
I NTERFACE C OMMANDS
SHOW INTERFACE STATUS
Table 4: Parameters in the output from the show interface status command
Parameter
Port
Name
Status
Vlan
Duplex
Speed
Type
Description
Name/Type of the interface.
Description of the interface.
The administrative and operational status of the interface; one of:
• disabled: the interface is administratively down.
• connect: the interface is operationally up.
• notconnect: the interface is operationally down.
VLAN type or VLAN IDs associated with the port:
• When the VLAN mode is trunk, it displays trunk (it does not display the VLAN IDs).
• When the VLAN mode is access, it displays the VLAN ID.
• When the VLAN mode is private promiscuous, it displays the primary VLAN ID if it has one, and promiscuous if it does not have a VLAN ID.
• When the VLAN mode is private host, it displays the primary and secondary VLAN IDs.
• When the port is an Eth port, it displays none : there is no VLAN associated with it.
• When the VLAN is dynamically assigned, it displays the current dynamically assigned VLAN ID (not the access VLAN ID), or dynamic if it has multiple VLANs dynamically assigned.
The actual duplex mode of the interface, preceded by a if it has autonegotiated this duplex mode. If the port is disabled or not connected, it displays the configured duplex setting.
The actual link speed of the interface, preceded by a if it has autonegotiated this speed. If the port is disabled or not connected, it displays the configured speed setting.
The type of interface, e.g. 1000BaseTX. For SFP bays, it displays
Unknown if it does not recognize the type of SFP installed, or Not present if an SFP is not installed or is faulty.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
323
I NTERFACE C OMMANDS
SHUTDOWN
shutdown
Overview This command shuts down the selected interface. This administratively disables the link and takes the link down at the physical (electrical) layer.
Use the no variant of this command to disable this function and therefore to bring the link back up again.
Syntax shutdown no shutdown
Mode Interface Configuration
Usage If you shutdown an aggregator, the device shows the admin status of the aggregator and its component ports as “admin down”. While the aggregator is down, the device accepts shutdown and no shutdown commands on component ports, but these have no effect on port status. Ports will not come up again while the aggregator is down.
Example To shut down port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# shutdown
To bring up port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no shutdown
To shut down vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# shutdown
To bring up vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no shutdown
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
324
10
Port Mirroring
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure
Port Mirroring.
For more information, see the Mirroring Feature Overview and Configuration
Guide .
Command List •
•
•
show mirror interface ” on page 329
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
325
P ORT M IRRORING C OMMANDS
MIRROR INTERFACE
mirror interface
Overview Use this command to define a mirror port and mirrored (monitored) ports and direction of traffic to be mirrored. The port for which you enter interface mode will be the mirror port.
The destination port is removed from all VLANs, and no longer participates in other switching.
Use the no variant of this command to disable port mirroring by the destination port on the specified source port.
Syntax mirror interface <source-port-list> direction
{both|receive|transmit} no mirror interface <source-port-list>
Parameter direction
Description
<source-port-list> The source switch ports to mirror. A port-list can be:
• a port (e.g. port1.0.2)
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-1.0.2
• a comma-separated list of ports and port ranges, e.g. port1.0.1,port1.0.4-1.0.6
The source port list cannot include dynamic or static channel groups (link aggregators).
Specifies whether to mirror traffic that the source port receives, transmits, or both.
both Mirroring traffic both received and transmitted by the source port.
receive transmit
Mirroring traffic received by the source port.
Mirroring traffic transmitted by the source port.
Mode Interface Configuration
Usage Use this command to send traffic to another device connected to the mirror port for monitoring.
For more information, see the Mirroring Feature Overview and Configuration
Guide .
A mirror port cannot be associated with a VLAN. If a switch port is configured to be a mirror port, it is automatically removed from any VLAN it was associated with.
This command can only be applied to a single mirror (destination) port, not to a range of ports, nor to a static or dynamic channel group. Do not apply multiple interfaces with an interface command before issuing the mirror interface command. One interface may have multiple mirror interfaces.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
326
P ORT M IRRORING C OMMANDS
MIRROR INTERFACE
Access control lists can be used to mirror a subset of traffic from the mirrored port by using the copy-to-mirror parameter in hardware ACL commands.
Example To mirror traffic received and transmitted on port1.0.4 and port1.0.5 to destination port1.0.3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# mirror interface port1.0.4,port1.0.5 direction both
To mirror TCP traffic to analyzer port1.0.1 if it is received or transmitted on port
1.0.2, use the sample configuration snippet below:
awplus#show running-config mls qos enable access-list 3000 copy-to-mirror tcp any any
!
interface port1.0.1
mirror interface none
!
interface port1.0.2
access-group 3000
Related
Commands
access-list (numbered hardware ACL for IP packets)
access-list (numbered hardware ACL for MAC addresses)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
327
P ORT M IRRORING C OMMANDS
SHOW MIRROR
show mirror
Overview Use this command to display the status of all mirrored ports.
Syntax show mirror
Mode User Exec and Privileged Exec
Example To display the status of all mirrored ports, use the following command: awplus# show mirror
Output Figure 10-1: Example output from the show mirror command
Mirror Test Port Name: port1.0.1
Mirror option: Enabled
Mirror direction: both
Monitored Port Name: port1.0.2
Mirror Test Port Name: port1.0.3
Mirror option: Enabled
Mirror direction: receive
Monitored Port Name: port1.0.4
Mirror Test Port Name: port1.0.3
Mirror option: Enabled
Mirror direction: receive
Monitored Port Name: port1.0.1
Mirror Test Port Name: port1.0.1
Mirror option: Enabled
Mirror direction: receive
Monitored Port Name: port1.0.3
Mirror Test Port Name: port1.0.1
Mirror option: Enabled
Mirror direction: transmit
Monitored Port Name: port1.0.4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
328
P ORT M IRRORING C OMMANDS
SHOW MIRROR INTERFACE
show mirror interface
Overview Use this command to display port mirroring configuration for a mirrored
(monitored) switch port.
Syntax show mirror interface < port >
Parameter
< port >
Description
The monitored switch port to display information about.
Mode User Exec, Privileged Exec and Interface Configuration
Example To display port mirroring configuration for the port1.0.4
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# show mirror interface port1.0.4
Output Figure 10-2: Example output from the show mirror interface command
Mirror Test Port Name: port1.0.3
Mirror option: Enabled
Mirror direction: both
Monitored Port Name: port1.0.4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
329
11
Interface Testing
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used for testing interfaces.
Command List •
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
330
I NTERFACE T ESTING C OMMANDS
CLEAR TEST INTERFACE
clear test interface
Overview This command clears test results and counters after issuing a test interface command. Test results and counters must be cleared to issue subsequent test interface commands later on.
Syntax clear test interface {< port-list >|all}
Parameter all
Description
< port-list > The ports to test. A port-list can be:
• a switch port (e.g. port1.0.6
)
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-port1.0.6
• a comma-separated list of the above, e.g. port1.0.1,port1.0.5-1.0.6
The specified ports must exist.
All interfaces
Mode Privileged Exec
Examples To clear the counters for port1.0.1
use the command: awplus# clear test interface port1.0.1
To clear the counters for all interfaces use the command: awplus# clear test interface all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
331
I NTERFACE T ESTING C OMMANDS
SERVICE TEST
service test
Overview This command puts the device into the interface testing state, ready to begin testing. After entering this command, enter Interface Configuration mode for the
desired interfaces and enter the command test interface .
Do not test interfaces on a device that is part of a live network—disconnect the device first.
Use the no variant of this command to stop the test service.
Syntax service test no service test
Mode Global Configuration
Example To put the device into a test state, use the command: awplus(config)# service test
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
332
I NTERFACE T ESTING C OMMANDS
TEST INTERFACE
test interface
Overview This command starts a test on a port or all ports or a selected range or list of ports.
Use the no variant of this command to disable this function. The test duration can be configured by specifying the time in minutes after specifying a port or ports to test.
For an example of all the commands required to test switch ports, see the
Examples section in this command. To test the Eth port, set its speed to 100 by using the command speed 100.
NOTE : Do not run test interface on live networks because this will degrade network performance.
Syntax test interface {< port-list >|all} [time{< 1-60 >|cont}] no test interface {< port-list >|all}
Parameter Description
< port-list > The ports to test. A port-list can be:
• a switch port (e.g. port1.0.6
)
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-port1.0.6
• a comma-separated list of the above, e.g. port1.0.1,port1.0.5-1.0.6
The specified ports must exist.
all time
All ports
Keyword entered prior to the value for the time duration of the interface test.
< 1-60 > Specifies duration of time to test the interface or interfaces in minutes (from a minimum of 1 minute to a maximum of 60 minutes).
The default is 4 minutes.
cont Specifies continuous interface testing until canceled with command negation.
Mode Privileged Exec
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
333
I NTERFACE T ESTING C OMMANDS
TEST INTERFACE
Example To test the switch ports in VLAN 1, install loopbacks in the ports, and enter the following commands: awplus(config)# service test awplus(config)# no spanning-tree rstp enable bridge-forward awplus(config)# interface vlan1 awplus(config-if)# shutdown awplus(config-if)# end awplus# test interface all
To see the output, use the commands: awplus# show test awplus# show test count
To start the test on all interfaces for 1 minute use the command: awplus# test interface all time 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
334
12
Alarm Monitoring
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure alarm monitoring. For more information, see the Alarm Monitoring Feature
Overview and Configuration Guide .
Command List •
•
•
•
•
show alarm settings ” on page 339
show debugging alarm ” on page 340
show facility-alarm status ” on page 341
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
335
A LARM M ONITORING C OMMANDS
ALARM FACILITY
alarm facility
Overview Use this command to enable alarm monitoring. Enabling alarms allows you to monitor the switch environment and respond to problems as they occur.
Alarm monitoring is user-configured, including which alarms are enabled, and the
LED and relay settings for each alarm.
Use the no variant of this command to disable the alarm facility for a particular alarm.
The command syntax varies depending on the type of alarm you are configuring.
The section below includes the syntax for each alarm type.
Syntax alarm facility epsr {led|relay} alarm facility input-alarm <input-alarm-number> {alarm-position
{open|close}|led|relay} alarm facility link-down <port-list> {led|relay} alarm facility loopprot {led|relay} alarm facility main-pse {led|relay} alarm facility power-supply <power-supply-number> {led|relay} alarm facility pse-port <port-list> {led|relay} alarm facility temperature {led|relay} no alarm facility {epsr|input-alarm <number> |link-aggregation
{partial-failure|total-failure}|link-down
<port-list> |loopprot|main-pse|power-supply <id> |pse-port
<port-list> |temperature} {led|relay}
Parameter epsr input-alarm
<input-alarm-number> link-down
<port-list> loopprot
Description
EPSR alarm
External contact input alarm.
The external contact input number. The current models have only a single pair of input contacts, so this number must be 1.
Link failure alarm. A link is down on a particular switch port.
The switch ports on which the alarm will be activated or disabled. The port list can be any of the following:
• An individual port. Example: 1.0.3
• A continuous range of ports. Example: 1.0.1-1.0.3
• A combination of individual ports and port ranges, separated by commas. Example: 1.0.1, 1.0.3-1.0.4
Loop protection alarm.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
336
A LARM M ONITORING C OMMANDS
ALARM FACILITY
Parameter main-pse
Description
Main power source equipment failure alarm. The sum of the power consumed by all of the PoE devices plugged into the switch exceeds the maximum permitted.
Note: This alarm pertains to PoE models only.
power-supply
<power-supply-number> The power supply unit number. The switch has two power supplies, so the number must be 1 or 2.
pse-port PoE failure on a switch port alarm. A PoE device plugged into a port is consuming more than the maximum power output for the port.
temperature
Power supply failure alarm. The designated power supply is down.
High temperature alarm. If enabled, this alarm is triggered when the temperature of the device exceeds 95 degrees Celsius.
led relay alarm-position
Enable or disable the LED for the alarm.
Enable or disable the relay output for the alarm.
The position (open or closed) of the input contact corresponding to the alarm that has occurred.
open close
The electrical circuit for the contact input is open.
The electrical circuit for the contact input is closed.
Default All alarms are disabled by default.
Mode Global Configuration
Example To turn on the LED in case a loop occurs, use the command: awplus# configure terminal awplus(config)# alarm facility loopprot led
To have an alarm when the contact input is open, use the command: awplus# configure terminal awplus(config)# alarm facility input-alarm 1 alarm-position open
To turn off the LED from flashing when the device temperature is too high, use the command: awplus# configure terminal awplus(config)# no alarm facility temperature led
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
337
A LARM M ONITORING C OMMANDS
DEBUG ALARM
debug alarm
Overview Use this command to enable debugging of the Alarm Monitoring feature. When debugging is enabled, the switch displays debugging messages on the terminal monitor and in the log.
Use the no variant of this command to disable debugging of the Alarm Monitoring feature.
Syntax debug alarm no debug alarm
Default Disabled
Mode Global Configuration
Example To turn on Alarm debugging, use the commands: awplus# configure terminal awplus(config)# debug alarm
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
338
A LARM M ONITORING C OMMANDS
SHOW ALARM SETTINGS
show alarm settings
Overview Use this command to view all alarms configured on the switch. The output also includes the alarm position for each contact input.
Syntax show alarm settings
Mode User Exec and Privileged Exec
Example To display all of the alarm settings enabled on the switch, use the command: awplus# show alarm settings
Output Figure 12-1: Example output from the show alarm settings command
Alarm ID LED Relay
---------------------- --------- -------- -------
External PSU 1 Enabled Disabled
External PSU 2 Enabled Disabled
EPSR - Disabled Disabled
External contact input 1 Disabled Disabled
Link down port1.0.1 Disabled Disabled
Link down port1.0.2 Disabled Disabled
Link down port1.0.3 Disabled Disabled
Link down port1.0.4 Disabled Disabled
Link down port1.0.5 Disabled Disabled
Link down port1.0.6 Disabled Disabled
Loop detect - Disabled Enabled
Main PSE failure - Disabled Disabled
PoE failure port1.0.1 Disabled Disabled
PoE failure port1.0.2 Disabled Disabled
PoE failure port1.0.3 Disabled Disabled
PoE failure port1.0.4 Disabled Disabled
Temperature - Enabled Enabled
Alarm ID Alarm position
---------------------- --------- -------------
External contact input 1 Open
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
339
A LARM M ONITORING C OMMANDS
SHOW DEBUGGING ALARM
show debugging alarm
Overview Use this command to show whether Alarm Monitoring debugging is enabled or disabled.
Syntax show debugging alarm
Mode User Exec/Privileged Exec
Example To show the status of Alarm Monitoring debugging, use the command: awplus# show debugging alarm
Output Figure 12-2: Example output from show debugging alarm
awplus#show debugging alarm
% Alarm debugging is disabled
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
340
A LARM M ONITORING C OMMANDS
SHOW FACILITY ALARM STATUS
show facility-alarm status
Overview Use this command to view all of the alarms that are currently active on the switch.
Syntax show facility-alarm status
Mode User Exec and Privileged Exec
Example To display all of the currently active alarms on the switch, use the command: awplus# show facility-alarm status
Output Figure 12-3: Example output from the show facility-alarm status command
Active alarms ID
---------------------- --------
External PSU 2
EPSR -
Link down port1.0.1
PoE failure port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
341
Part 2: Layer Two Switching
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
342
13
Switching
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure switching.
For more information, see the Switching Feature Overview and Configuration
Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
clear loop-protection counters
clear mac address-table dynamic
clear mac address-table static
loop-protection action-delay-time
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
343
S WITCHING C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ platform hwfilter-size ” on page 368
“ platform stop-unreg-mc-flooding ” on page 369
“ platform vlan-stacking-tpid ” on page 371
“ show debugging loopprot ” on page 373
“ show debugging platform packet ” on page 374
“ show flowcontrol interface ” on page 375
“ show interface err-disabled ” on page 376
“ show interface switchport ” on page 377
“ show loop-protection ” on page 378
“ show mac address-table ” on page 380
“ show platform classifier statistics utilization brief ” on page 383
“ show platform port ” on page 384
“ show storm-control ” on page 388
“ storm-control level ” on page 391
“ thrash-limiting ” on page 392
“ undebug loopprot ” on page 393
“ undebug platform packet ” on page 394
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
344
S WITCHING C OMMANDS
BACKPRESSURE
backpressure
Overview This command provides a method of applying flow control to ports running in half duplex mode. The setting will only apply when the link is in the half-duplex state.
You can disable backpressure on an interface using the off parameter or the no variant of this command.
Syntax backpressure {on|off} no backpressure
Parameters on off
Description
Enables half-duplex flow control.
Disables half-duplex flow control.
Default Backpressure is turned off by default. You can determine whether an interface has backpressure enabled by viewing the running-config output; backpressure on is shown for interfaces if this feature is enabled.
Mode Interface Configuration
Usage The backpressure feature enables half duplex Ethernet ports to control traffic flow during congestion by preventing further packets arriving. Back pressure utilizes a pre-802.3x mechanism in order to apply Ethernet flow control to switch ports that are configured in the half duplex mode.
The flow control applied by the flowcontrol (switch port) command operates only
on full-duplex links, whereas back pressure operates only on half-duplex links.
If a port has insufficient capacity to receive further frames, the device will simulate a collision by transmitting a CSMACD jamming signal from this port until the buffer empties. The jamming signal causes the sending device to stop transmitting and wait a random period of time, before retransmitting its data, thus providing time for the buffer to clear. Although this command is only valid for switch ports operating in half-duplex mode the remote device (the one sending the data) can be operating in the full duplex mode.
To see the currently-negotiated duplex mode for ports whose links are up, use the
. To see the configured duplex mode (when different
from the default), use the command show running-config .
Examples To enable back pressure flow control on interfaces port1.0.1-port1.0.2
enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.2
awplus(config-if)# backpressure on
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
345
S WITCHING C OMMANDS
BACKPRESSURE
To disable back pressure flow control on interface port1.0.2
enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# backpressure off
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
346
S WITCHING C OMMANDS
CLEAR LOOP PROTECTION COUNTERS
clear loop-protection counters
Overview Use this command to clear the counters for the Loop Protection counters.
Syntax clear loop-protection [interface < port-list >] counters
Parameters Description interface The interface whose counters are to be cleared.
< port-list > A port, a port range, or an aggregated link.
Mode Privileged Exec
Examples To clear the counter information for all interfaces: awplus# clear loop-protection counters
To clear the counter information for a single port: awplus# clear loop-protection interface port1.0.1 counters
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
347
S WITCHING C OMMANDS
CLEAR MAC ADDRESS TABLE DYNAMIC
clear mac address-table dynamic
Overview Use this command to clear the filtering database of all entries learned for a selected
MAC address, an MSTP instance, a switch port interface or a VLAN interface.
Syntax clear mac address-table dynamic [address
<mac-address> |interface <port> [instance <inst> ]|vlan <vid> ]
Parameter address
Description
Specify a MAC (Media Access Control) address to be cleared from the filtering database.
<mac-address> Enter a MAC address to be cleared from the database in the format
HHHH.HHHH.HHHH.
interface instance
Specify a switch port to be cleared from the filtering database.
Specify an MSTP (Multiple Spanning Tree) instance to be cleared from the filtering database.
<inst> Enter an MSTP instance in the range 1 to 63 to be cleared from the filtering database.
vlan
<vid>
Specify a VLAN to be cleared from the filtering database.
Enter a VID (VLAN ID) in the range 1 to 4094 to be cleared from the filtering database.
Mode Privileged Exec
Usage Use this command with options to clear the filtering database of all entries learned for a given MAC address, interface or VLAN. Use this command without options to clear any learned entries.
Use the optional instance parameter to clear the filtering database entries associated with a specified MSTP instance Note that you must first specify a switch port interface before you can specify an MSTP instance.
Compare this usage and operation with the
clear mac address-table static .
Examples This example shows how to clear all dynamically learned filtering database entries for all interfaces, addresses, VLANs.
awplus# clear mac address-table dynamic
This example shows how to clear all dynamically learned filtering database entries when learned through device operation for the MAC address 0000.5E00.5302.
awplus# clear mac address-table dynamic address 0000.5E00.5302
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
348
S WITCHING C OMMANDS
CLEAR MAC ADDRESS TABLE DYNAMIC
This example shows how to clear all dynamically learned filtering database entries when learned through device operation for a given MSTP instance 1 on switch port interface port1.0.2
.
awplus# clear mac address-table dynamic interface port1.0.2 instance 1
Related
Commands
clear mac address-table static
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
349
S WITCHING C OMMANDS
CLEAR MAC ADDRESS TABLE STATIC
clear mac address-table static
Overview Use this command to clear the filtering database of all statically configured entries for a selected MAC address, interface, or VLAN.
Syntax clear mac address-table static [address <mac-address> |interface
<port> |vlan <vid> ]
Parameter address
Description
<mac-address> Specifies the MAC (Media Access Control) address to be cleared from. Enter this address in the format HHHH.HHHH.HHHH.
interface Specify the interface from which statically configured entries are to be cleared.
<port> Specify the switch port from which address entries will be cleared.
This can be a single switch port, (e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g. po2).
vlan
<vid>
The MAC address whose entries are to be cleared from the filtering database.
A VLAN whose statically configured entries are to be cleared.
Specifies the VLAN ID whose statically configured entries are to be cleared.
Mode Privileged Exec
Usage Use this command with options to clear the filtering database of all entries made from the CLI for a given MAC address, interface or VLAN. Use this command without options to clear any entries made from the CLI.
Compare this usage with clear mac address-table dynamic command.
Examples This example shows how to clear all filtering database entries configured through the CLI.
awplus# clear mac address-table static
This example shows how to clear all filtering database entries for a specific interface configured through the CLI.
awplus# clear mac address-table static interface port1.0.3
This example shows how to clear filtering database entries configured through the
CLI for the mac address 0000.5E00.5302.
awplus# clear mac address-table static address 0000.5E00.5302
Related
Commands
clear mac address-table dynamic
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
350
S WITCHING C OMMANDS
CLEAR PORT COUNTER
clear port counter
Overview Use this command to clear the packet counters of the port.
Syntax clear port counter [< port >]
Parameter
<port>
Description
The port number or range
Mode Privileged Exec
Example To clear the packet counter for port1.0.1
, use the command: awplus# clear port counter port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
351
S WITCHING C OMMANDS
DEBUG LOOPPROT
debug loopprot
Overview This command enables Loop Protection debugging.
The no variant of this command disables Loop Protection debugging.
Syntax debug loopprot {info|msg|pkt|state|nsm|all} no debug loopprot {info|msg|pkt|state|nsm|all}
Parameter info msg pkt state nsm all
Description
General Loop Protection information.
Received and transmitted Loop Detection Frames (LDFs).
Echo raw ASCII display of received and transmitted LDF packets to the console.
Loop Protection states transitions.
Network Service Module information.
All debugging information.
Mode Privileged Exec and Global Configuration
Example To enable debug for all state transitions, use the command: awplus# debug loopprot state
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
352
S WITCHING C OMMANDS
DEBUG PLATFORM PACKET
debug platform packet
Overview This command enables platform to CPU level packet debug functionality on the device.
Use the no variant of this command to disable platform to CPU level packet debug.
If the result means both send and receive packet debug are disabled, then any active timeout will be canceled.
Syntax debug platform packet [recv] [send] [timeout <timeout> ] [vlan
< vlan-id >|all] no debug platform packet [recv] [send]
Parameter recv send timeout
< timeout > vlan
< vlan-id > all
Description
Debug packets received.
Debug packets sent.
Stop debug after a specified time.
<0-3600>The timeout period, specified in seconds.
Limit debug to a single VLAN ID specified.
<1-4094> The VLAN ID to limit the debug output on.
Debug all VLANs (default setting).
Default A 5 minute timeout is configured by default if no other timeout duration is specified.
Mode Privileged Exec and Global Configuration
Usage This command can be used to trace packets sent and received by the CPU. If a timeout is not specified, then a default 5 minute timeout will be applied.
If a timeout of 0 is specified, packet debug will be generated until the no variant of this command is used or another timeout value is specified. The timeout value applies to both send and receive debug and is updated whenever the debug platform packet command is used.
Examples To enable both receive and send packet debug for the default timeout of 5 minutes, enter: awplus# debug platform packet
To enable receive packet debug for 10 seconds, enter: awplus# debug platform packet recv timeout 10
To enable send packet debug with no timeout, enter: awplus# debug platform packet send timeout 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
353
S WITCHING C OMMANDS
DEBUG PLATFORM PACKET
To enable VLAN packet debug for VLAN 2 with a timeout duration of 3 minutes, enter: awplus# debug platform packet vlan 2 timeout 150
To disable receive packet debug, enter: awplus# no debug platform packet recv
Related
Commands
show debugging platform packet
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
354
S WITCHING C OMMANDS
DUPLEX
duplex
Overview This command changes the duplex mode for the specified port.
To see the currently-negotiated duplex mode for ports whose links are up, use the
. To see the configured duplex mode (when different
from the default), use the command show running-config .
Syntax duplex {auto|full|half}
Parameter auto full half
Description
Auto-negotiate duplex mode.
Operate in full duplex mode only.
Operate in half duplex mode only.
Default By default, ports auto-negotiate duplex mode (except for 100Base-FX ports which do not support auto-negotiation, so default to full duplex mode).
Mode Interface Configuration
Usage Switch ports in a static or dynamic (LACP) channel group must have the same port speed and be in full duplex mode. Once switch ports have been aggregated into a channel group, you can set the duplex mode of all the switch ports in the channel group by applying this command to the channel group.
Examples To specify full duplex for port1.0.4
, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# duplex full
To specify half duplex for port1.0.4
, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# duplex half
To auto-negotiate duplex mode for port1.0.4
, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# duplex auto
355 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S WITCHING C OMMANDS
DUPLEX
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
356
S WITCHING C OMMANDS
FLOWCONTROL ( SWITCH PORT )
flowcontrol (switch port)
Overview Use this command to enable flow control, and configure the flow control mode for the switch port.
Use the no variant of this command to disable flow control for the specified switch port.
Syntax flowcontrol {send|receive} {off|on} no flowcontrol
Parameter receive on off send
Description
When the port receives pause frames, it temporarily stops (pauses) sending traffic.
Enable the specified flow control.
Disable the specified flow control.
When the port is congested (receiving too much traffic), it sends pause frames to request the other end to temporarily stop (pause) sending traffic.
Default By default, flow control is disabled.
Mode Interface Configuration
Usage The flow control mechanism specified by 802.3x is only for full duplex links. It operates by sending PAUSE frames to the link partner to temporarily suspend transmission on the link
Flow control enables connected Ethernet ports to control traffic rates during congestion by allowing congested nodes to pause link operation at the other end.
If one port experiences congestion, and cannot receive any more traffic, it notifies the other port to stop sending until the condition clears. When the local device detects congestion at its end, it notifies the remote device by sending a pause frame. On receiving a pause frame, the remote device stops sending data packets, which prevents loss of data packets during the congestion period.
Flow control is not recommended when running QoS or ACLs, because the complex queuing, scheduling, and filtering configured by QoS or ACLs may be slowed by applying flow control.
For half-duplex links, an older form of flow control known as backpressure is supported. See the related
For flow control on async serial (console) ports, see the
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
357
S WITCHING C OMMANDS
FLOWCONTROL ( SWITCH PORT )
Examples awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# flowcontrol receive on awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# flowcontrol send on awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# flowcontrol receive off awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# flowcontrol send off
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
358
S WITCHING C OMMANDS
LINKFLAP ACTION
linkflap action
Overview Use this command to detect flapping on all ports. If more than 15 flaps occur in less than 15 seconds the flapping port will shut down.
Use the no variant of this command to disable flapping detection at this rate.
Syntax linkflap action [shutdown] no linkflap action
Parameter linkflap action shutdown
Description
Global setting for link flapping.
Specify the action for port.
Shutdown the port.
Default Linkflap action is disabled by default.
Mode Global Configuration
Example To enable the linkflap action command on the device, use the following commands: awplus# configure terminal awplus(config)# linkflap action shutdown
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
359
S WITCHING C OMMANDS
LOOP PROTECTION LOOP DETECT
loop-protection loop-detect
Overview Use this command to enable the loop-protection loop-detect feature and configure its parameters.
Use the no variant of this command to disable the loop-protection loop-detect feature.
Syntax loop-protection loop-detect [ldf-interval <period> ]
[ldf-rx-window <frames> ] [fast-block] no loop-protection loop-detect
Parameter ldf-interval
<period> ldf-rx-window
<frames>
[fast-block]
Description
The time (in seconds) between successive loop-detect frames being sent.
Specify a period between 1 and 600 seconds. The default is 10 seconds.
The number of transmitted loop detect frames whose details are held for comparing with frames arriving at the same port.
Specify a value for the window size between 1 and 5 frames.
The default is 3 frames.
The fast-block blocks transmitting port to keep partial connectivity.
Default The loop-protection loop-detect feature is disabled by default. The default interval is 10 seconds, and the default window size is 3 frames.
Mode Global Configuration
Usage See the “Loop Protection” section in the Switching Feature Overview and
Configuration Guide for relevant conceptual, configuration, and overview information prior to applying this command.
Example To enable the loop-detect mechanism on the switch, and generate loop-detect frames once every 5 seconds, use the following commands: awplus# configure terminal awplus(config)# loop-protection loop-detect ldf-interval 5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
360
S WITCHING C OMMANDS
LOOP PROTECTION ACTION
loop-protection action
Overview Use this command to specify the protective action to apply when a network loop is detected on an interface.
Use the no variant of this command to reset the loop protection actions to the default action, vlan-disable, on an interface.
Syntax loop-protection action
{link-down|log-only|port-disable|vlan-disable|none} no loop-protection action
Parameter link-down
Description
Block all traffic on a port (or aggregated link) that detected the loop, and take down the link.
log-only Details of loop conditions are logged. No action is applied to the port (or aggregated link).
port-disable Block all traffic on interface for which the loop occurred, but keep the link in the up state.
vlan-disable Block all traffic for the VLAN on which the loop traffic was detected. Note that setting this parameter will also enable ingress filtering. This is the default action.
none Applies no protective action.
Default loop-protection action vlan-disable
Mode Interface Configuration
Usage See the “Loop Protection” section in the Switching Feature Overview and
Configuration Guide for relevant conceptual, configuration, and overview information prior to applying this command.
Example To disable the interface port1.0.4
and bring the link down when a network loop is detected, use the commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# loop-protection action link-down
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
361
S WITCHING C OMMANDS
LOOP PROTECTION ACTION DELAY TIME
loop-protection action-delay-time
Overview Use this command to sets the loop protection action delay time for an interface to specified values in seconds. The action delay time specifies the waiting period for the action.
Use the no variant of this command to reset the loop protection action delay time for an interface to default.
Syntax loop-protection action-delay-time <0-86400> no loop-protection action
Parameter
<0-86400>
Description
Time in seconds; 0 means action delay timer is disabled.
Default Action delay timer is disabled by default.
Mode Interface Configuration
Example To configure a loop protection action delay time of 10 seconds on port 1.0.4, use the commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# loop-protection action-delay-time 10
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
362
S WITCHING C OMMANDS
LOOP PROTECTION TIMEOUT
loop-protection timeout
Overview Use this command to specify the Loop Protection recovery action duration on an interface.
Use the no variant of this command to set the loop protection timeout to the default.
Syntax loop-protection timeout <duration> no loop-protection timeout
Parameter Description
<duration> The time (in seconds) for which the configured action will apply before being disabled. This duration can be set between 0 and 86400 seconds (24 hours). The set of 0 means infinity so timeout does not expire.
Default The default is 7 seconds.
Mode Interface Configuration
Usage See the “Loop Protection” section in the Switching Feature Overview and
Configuration Guide for relevant conceptual, configuration, and overview information prior to applying this command.
Example To configure a loop protection action timeout of 10 seconds for port1.0.4
, use the command: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# loop-protection timeout 10
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
363
S WITCHING C OMMANDS
MAC ADDRESS TABLE ACQUIRE
mac address-table acquire
Overview Use this command to enable MAC address learning on the device.
Use the no variant of this command to disable learning.
Syntax mac address-table acquire no mac address-table acquire
Default Learning is enabled by default for all instances.
Mode Global Configuration
Example awplus# configure terminal awplus(config)# mac address-table acquire
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
364
S WITCHING C OMMANDS
MAC ADDRESS TABLE AGEING TIME
mac address-table ageing-time
Overview Use this command to specify an ageing-out time for a learned MAC address. The learned MAC address will persist for at least the specified time.
The no variant of this command will reset the ageing-out time back to the default of 300 seconds (5 minutes).
Syntax mac address-table ageing-time <ageing-timer> none no mac address-table ageing-time
Parameter Description
<ageing-timer> < 10-1000000 > The number of seconds of persistence.
none Disable learned MAC address timeout.
Default The default ageing time is 300 seconds.
Mode Global Configuration
Examples The following commands specify various ageing timeouts on the device: awplus# configure terminal awplus(config)# mac address-table ageing-time 1000 awplus# configure terminal awplus(config)# mac address-table ageing-time none awplus# configure terminal awplus(config)# no mac address-table ageing-time
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
365
S WITCHING C OMMANDS
MAC ADDRESS TABLE LOGGING
mac address-table logging
Overview Use this command to create log entries when the content of the FDB (forwarding database) changes. Log messages are produced when a MAC address is added to or removed from the FDB.
CAUTION : MAC address table logging may impact the performance of the switch. Only enable it when necessary as a debug tool.
Use the no variant of this command to stop creating log entries when the content of the FDB changes.
Syntax mac address-table logging no mac address-table logging
Default MAC address table logging is disabled by default.
Mode User Exec/Privileged Exec
Usage When MAC address table logging is enabled, the switch produces the following messages:
Change
MAC added
MAC removed
Message format
MAC add < mac > < port > < vlan >
MAC remove < mac > < port > < vlan >
Example
MAC add eccd.6db5.68a7 port1.0.1 vlan2
MAC remove eccd.6db5.68a7 port1.0.1 vlan2
Note that rapid changes may not be logged. For example, if an entry is added and then removed within a few seconds, those actions may not be logged.
To see whether MAC address table logging is enabled, use the command
Example To create log messages when the content of the FDB changes, use the command: awplus# mac address-table logging
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
366
S WITCHING C OMMANDS
MAC ADDRESS TABLE STATIC
mac address-table static
Overview Use this command to statically configure the MAC address-table to forward or discard frames with a matching destination MAC address.
Syntax mac address-table static < mac-addr > {forward|discard} interface
< port > [vlan < vid >] no mac address-table static < mac-addr > {forward|discard} interface < port > [vlan < vid >]
Parameter Description
<mac-addr> The destination MAC address in HHHH.HHHH.HHHH
format.
< port > The port to display information about. The port may be a switch port
(e.g. port1.0.4
), a static channel group (e.g. sa2 ), or a dynamic
(LACP) channel group (e.g. po2 ).
<vid> The VLAN ID. If you do not specify a VLAN, its value defaults to vlan 1.
Mode Global Configuration
Usage The mac address-table static command is only applicable to Layer 2 switched traffic within a single VLAN. Do not apply the mac address-table static command to Layer 3 switched traffic passing from one VLAN to another VLAN. Frames will not be discarded across VLANs because packets are routed across VLANs. This command only works on Layer 2 traffic.
Example awplus# configure terminal awplus(config)# mac address-table static 2222.2222.2222 forward interface port1.0.4 vlan 3
Related
Commands
clear mac address-table static
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
367
S WITCHING C OMMANDS
PLATFORM HWFILTER SIZE
platform hwfilter-size
Overview You can use this command to control the configuration of hardware Access
Control Lists (ACLs), which determines the total available number and functionality of hardware ACLs.
For this command to take effect, you need to reboot the affected service.
One cannot attach an IPv6 ACL to a port if the ACL contains a specified source or destination IPv6 address or both and the hw-filter size setting is ipv4-limited-ipv6 . If you do so, a diagnostic message will be generated.
Syntax platform hwfilter-size {ipv4-limited-ipv6|ipv4-full-ipv6}
Parameter Description hwfilter-size ipv4-full-ipv6
Configure hardware ACLs command.
Configure hardware ACLs to filter IPv4 traffic, MAC addresses and IPv6 traffic, including filtering on source or destination IPv6 addresses, or both; however, this will reduce the total number of filters available in the hardware table.
ipv4-limited-ipv6 Configure hardware ACLs to filter IPv4 traffic, MAC addresses and IPv6 traffic. Source or destination IPv6 addresses or both are not filtered.
Default The default mode is ipv4-limited-ipv6 .
Mode Global Configuration
Example To configure hardware ACLs to filter IPv4 and IPv6 traffic, use the following commands: awplus# configure terminal awplus(config)# platform hwfilter-size ipv4-full-ipv6
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
368
S WITCHING C OMMANDS
PLATFORM STOP UNREG MC FLOODING
platform stop-unreg-mc-flooding
Overview If a multicast stream is arriving at a network device, and that network device has received no IGMP reports that request the receipt of the stream, then that stream is referred to as "unregistered". IGMP snooping actively prevents the flooding of unregistered streams to all ports in the VLAN on which the stream is received.
However, there are brief moments at which this prevention is not in operation, and an unregistered stream may be briefly flooded. This command stops this flooding during even those brief periods when IGMP snooping is not explicitly preventing the flooding.
Use the no variant of this command to revert to default behavior and disable this feature.
NOTE : This command should not be used within any IPv6 networks. IPv6 neighbor discovery operation is inhibited by this feature.
This command does not affect the flooding of Local Network Control Block IPv4 multicast packets in the address range 224.0.0.1 to 224.0.0.255 (224.0.0/24). Such packets will continue to be uninterruptedly flooded, as they need to be.
Syntax platform stop-unreg-mc-flooding no platform stop-unreg-mc-flooding
Default This feature is disabled by default.
Mode Global Configuration
Usage This command stops the periodic flooding of unknown or unregistered multicast packets when the Group Membership interval timer expires and there are no subscribers to a multicast group. If there is multicast traffic in a VLAN without subscribers, multicast traffic temporarily floods out of the VLAN when the Group
Membership interval timer expires, which happens when the switch does not get replies from Group Membership queries.
This command also stops the initial flood of multicast packets that happens when a new multicast source starts to send traffic. This flooding lasts until snooping realises that this the multicast group is arriving at the switch, and puts an entry into hardware to prevent it from being flooded.
This command is useful in networks where low-performance devices are attached.
The operation of such devices can be impaired by them receiving unnecessary streams of traffic. For example, in sites where IP cameras are in use, the flooding of video streams to a whole VLAN can send enough traffic to the cameras to cause interruption of their video streaming.
Output Do not use this command in IPv6 networks. The following console message is displayed after entering this command to warn you of this:
% WARNING: IPv6 will not work with this setting enabled
% Please consult the documentation for more information
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
369
S WITCHING C OMMANDS
PLATFORM STOP UNREG MC FLOODING
Examples To enable this feature and stop multicast packet flooding, use the following commands: awplus# configure terminal awplus(config)# platform stop-unreg-mc-flooding
To disable this feature and allow multicast packet flooding, use the following commands: awplus# configure terminal awplus(config)# no platform stop-unreg-mc-flooding
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
370
S WITCHING C OMMANDS
PLATFORM VLAN STACKING TPID
platform vlan-stacking-tpid
Overview This command specifies the Tag Protocol Identifier (TPID) value that applies to all frames that are carrying double tagged VLANs. All nested VLANs must use the same TPID value. (This feature is sometimes referred to as VLAN stacking or VLAN double-tagging.)
Use the no variant of this command to revert to the default TPID value (0x8100).
Syntax platform vlan-stacking-tpid < tpid> no platform vlan-stacking-tpid
Parameter Description
< tpid> The Ethernet type of the tagged packet, as a two byte hexadecimal number.
Default The default TPID value is 0x8100.
Mode Global Configuration
Examples To set the VLAN stacking TPID value to 0x9100, use the following commands: awplus# configure terminal awplus(config)# platform vlan-stacking-tpid 9100
To reset the VLAN stacking TPID value to the default (0x8100), use the following commands: awplus# configure terminal awplus(config)# no platform vlan-stacking-tpid
Related
Commands
switchport vlan-stacking (double tagging)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
371
S WITCHING C OMMANDS
POLARITY
polarity
Overview This command sets the MDI/MDIX polarity on a copper-based switch port.
Syntax polarity {auto|mdi|mdix}
Parameter Description mdi mdix auto
Sets the polarity to MDI (medium dependent interface).
Sets the polarity to MDI-X (medium dependent interface crossover).
The switch port sets the polarity automatically. This is the default option.
Default By default, switch ports set the polarity automatically ( auto ).
Mode Interface Configuration
Usage We recommend the default auto setting for MDI/MDIX polarity. Polarity applies to copper 10BASE-T, 100BASE-T, and 1000BASE-T switch ports; It does not apply to fiber ports. See the “MDI/MDIX Connection Modes” section in the Switching
Feature Overview and Configuration Guide for more information.
Example To set the polarity for port1.0.6
to fixed MDI mode, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# polarity mdi
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
372
S WITCHING C OMMANDS
SHOW DEBUGGING LOOPPROT
show debugging loopprot
Overview This command shows Loop Protection debugging information.
Syntax show debugging loopprot
Mode User Exec and Privileged Exec
Example To display the enabled Loop Protection debugging modes, use the command: awplus# show debugging loopprot
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
373
S WITCHING C OMMANDS
SHOW DEBUGGING PLATFORM PACKET
show debugging platform packet
Overview This command shows platform to CPU level packet debugging information.
Syntax show debugging platform packet
Mode User Exec and Privileged Exec
Example To display the platform packet debugging information, use the command: awplus# show debugging platform packet
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
374
S WITCHING C OMMANDS
SHOW FLOWCONTROL INTERFACE
show flowcontrol interface
Overview Use this command to display flow control information.
Syntax show flowcontrol interface < port >
Parameter
<port>
Description
Specifies the name of the port to be displayed.
Mode User Exec and Privileged Exec
Example To display the flow control for the port1.0.5
, use the command: awplus# show flowcontrol interface port1.0.5
Output Figure 13-1: Example output from the show flowcontrol interface command for a specific interface
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
----- ------- -------- ------- -------- ------- ------ port1.0.5 on on on on 0 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
375
S WITCHING C OMMANDS
SHOW INTERFACE ERR DISABLED
show interface err-disabled
Overview Use this command to show the ports which have been dynamically shut down by protocols running on the device and the protocols responsible for the shutdown.
Syntax show interface [ <interface-range> err-disabled]
Parameter Description
<interface-range> Interface range err-disabled Brief summary of interfaces shut down by protocols
Mode User Exec and Privileged Exec
Example To show which protocols have shut down ports, use the commands: awplus# show interface err-disabled
Output Figure 13-2: Example output from show interface err-disabled awplus#show interface err-disabled
Interface Reason port1.0.1 loop protection port1.0.2 loop protection
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
376
S WITCHING C OMMANDS
SHOW INTERFACE SWITCHPORT
show interface switchport
Overview Use this command to show VLAN information about each switch port.
Syntax show interface switchport
Mode User Exec and Privileged Exec
Example To display VLAN information about each switch port, enter the command: awplus# show interface switchport
Output Figure 13-3: Example output from the show interface switchport command
Interface name : port1.0.1
Switchport mode : access
Ingress filter : enable
Acceptable frame types : all
Default Vlan : 2
Configured Vlans : 2
Interface name : port1.0.2
Switchport mode : trunk
Ingress filter : enable
Acceptable frame types : all
Default Vlan : 1
Configured Vlans : 1 4 5 6 7 8
...
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
377
S WITCHING C OMMANDS
SHOW LOOP PROTECTION
show loop-protection
Overview Use this command to display the current loop protection setup for the device.
Syntax show loop-protection [interface < port-list >] [counters]
Parameter Description interface The interface selected for display.
< port-list > A port, a port range, or an aggregated link.
counters Displays counter information for loop protection.
Mode User Exec and Privileged Exec
Usage This command is used to display the current configuration and operation of the
Loop Protection feature
Examples To display the current configuration status, use the command: awplus# show loop-protection
Figure 13-4: Example output from the show loop-protection command
awplus#show loop-protection
LDF Interval: 10
LDF Rx Window: 3
Fast Block: Disabled
Timeout
Int Enabled Action Status Timeout Remain Rx port
-------------------------------------------------------------------------
port1.0.1 Yes vlan-dis Normal 7 -
port1.0.2 Yes vlan-dis Normal 7 -
port1.0.3 Yes vlan-dis Normal 7 -
...
To display the counter information, use the command: awplus# show loop-protection counters
Figure 13-5: Example output from the show loop-protection counters command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
378
S WITCHING C OMMANDS
SHOW LOOP PROTECTION
awplus#show loop-protection counters
Switch Loop Detection Counter
Interface Tx Rx Rx Invalid Last LDF Rx
------------------------------------------------------------------------
port1.0.1
vlan1 60 0 0
port1.0.2
vlan1 0 0 0
port1.0.3
vlan1 0 0 0
...
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
379
S WITCHING C OMMANDS
SHOW MAC ADDRESS TABLE
show mac address-table
Overview Use this command to display the mac address-table for all configured VLANs.
Syntax show mac address-table
Mode User Exec and Privileged Exec
Usage The show mac address-table command is only applicable to view a mac address-table for Layer 2 switched traffic within VLANs.
Example To display the mac address-table, use the following command: awplus# show mac address-table
Output See the below sample output captured when there was no traffic being switched:
awplus#show mac address-table
VLAN Port MAC State
1 unknown 0000.cd28.0752 static
ARP - 0000.cd00.0000 static
See the sample output captured when packets were switched and mac addresses were learned:
awplus#show mac address-table
VLAN Port MAC State
1 unknown 0000.cd28.0752 static
1 port1.0.6 0030.846e.9bf4 dynamic
1 port1.0.4 0030.846e.bac7 dynamic
ARP - 0000.cd00.0000 static
Note the new mac addresses learned for port1.0.4
and port1.0.6
added as dynamic entries.
Note the first column of the output below shows VLAN IDs if multiple VLANs are configured:
awplus#show mac address-table
VLAN Port MAC State
1 unknown 0000.cd28.0752 static
1 port1.0.4 0030.846e.bac7 dynamic
2 unknown 0000.cd28.0752 static
2 port1.0.6 0030.846e.9bf4 dynamic
ARP - 0000.cd00.0000 static
Also note manually configured static mac-addresses are shown to the right of the type column:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
380
S WITCHING C OMMANDS
SHOW MAC ADDRESS TABLE awplus(config)#mac address-table static 0000.1111.2222 for int port1.0.3 vlan 2 awplus(config)#end awplus#
awplus#show mac address-table
VLAN Port MAC State
1 unknown 0000.cd28.0752 static
1 port1.0.2 0030.846e.bac7 dynamic
2 port1.0.3 0000.1111.2222 static
2 unknown 0000.cd28.0752 static
2 port1.0.5 0030.846e.9bf4 dynamic
ARP - 0000.cd00.0000 static
Related
Commands
clear mac address-table dynamic
clear mac address-table static
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
381
S WITCHING C OMMANDS
SHOW PLATFORM
show platform
Overview This command displays the settings configured by using the platform commands.
Syntax show platform
Mode Privileged Exec
Usage This command displays the settings in the running config. For changes in some of these settings to take effect, the device must be rebooted with the new settings in the startup config.
Example To check the settings configured with platform commands on the device, use the following command: awplus# show platform
Output Figure 13-6: Example output from the show platform command
awplus#show platform
MAC vlan hashing algorithm unknown stop-unreg-mc-flooding off
Vlan-stacking TPID 0x8100
Hardware Filter Size ipv4-limited-ipv6
Table 1: Parameters in the output of the show platform command
Parameter
MAC vlan hashing algorithm
Description
The MAC VLAN hash-key-generating algorithm (set with
the platform mac-vlan-hashing-algorithm
command). The default algorithm is crc32l. The algorithm may need to be changed in rare circumstances in which hash collisions occur.
stop-unreg-mc-flooding Whether the stop-unreg-mc-flooding feature is on or off
(set with the platform stop-unreg-mc-flooding
command). This feature prevents flooding of unregistered multicast packets in the occasional situations in which
IGMP snooping does not prevent it.
Vlan-stacking TPID The value of the TPID set in the Ethernet type field when a frame has a double VLAN tag (set with the
platform vlan-stacking-tpid command).
Hardware Filter Size Whether hardware ACLs can filter on IPv6 addresses
(ipv4-full-ipv6) or not (ipv4-limited-ipv6). This is set with
command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
382
S WITCHING C OMMANDS
SHOW PLATFORM CLASSIFIER STATISTICS UTILIZATION BRIEF
show platform classifier statistics utilization brief
Overview This command displays the number of used entries available for various platform functions, and the percentage that number of entries represents of the total available.
Syntax show platform classifier statistics utilization brief
Mode Privileged Exec
Example To display the platform classifier utilization statistics, use the following command: awplus# show platform classifier statistics utilization brief
Output Figure 13-7: Output from the show platform classifier statistics utilization brief command
awplus#show platform classifier statistics utilization brief
[Instance 0]
Number of Entries:
Policy Type Group ID Used / Total
---------------------------------------------
ACL 1476395009 0 / 118 ( 0%)
Web Auth Inactive 0 / 0 ( 0%)
QoS 0 / 128 ( 0%)
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
383
S WITCHING C OMMANDS
SHOW PLATFORM PORT
show platform port
Overview This command displays the various port registers or platform counters for specified switchports.
Syntax show platform port [< port-list >|counters]
Parameter counters
Description
<port-list> The ports to display information about. A port-list can be:
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-1.0.6
• a comma-separated list of ports and port ranges, e.g. port1.0.1,port1.0.4-1.0.6
.
Show the platform counters.
Mode Privileged Exec
Examples To display port registers for port1.0.1 and port1.0.2 use the following command: awplus# show platform port port1.0.1-port1.0.2
To display platform counters for port1.0.1 and port1.0.2 use the following command: awplus# show platform port port1.0.1-port1.0.2 counters
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
384
S WITCHING C OMMANDS
SHOW PLATFORM PORT
Output Figure 13-8: Example output from the show platform port command awplus#show platform port port1.0.1
Phy register value for port1.0.1 (ifindex: 5001)
00:1140 01:7949 02:0020 03:60B1 04:01E1 05:0000 06:0004 07:2001
08:0000 09:0600 10:0000 11:0000 12:0000 13:0000 14:0000 15:0000
16:0000 17:0000 18:0000 19:0000 20:0000 21:0000 22:0000 23:0000
24:0000 25:0000 26:0000 27:0000 28:0000 29:0000 30:0000 31:0000
Port configuration for lport 0x08001000:
enabled: 1
loopback: 0
link: 0
speed: 0 max speed: 1000
duplex: 0
linkscan: 2
autonegotiate: 1
master: 2
tx pause: 1 rx pause: 1
untagged vlan: 1
vlan filter: 3
stp state: 1
learn: 5
discard: 0
max frame size: 1522
MC Disable SA: no
MC Disable TTL: no
MC egress untag: 0
MC egress vid: 0
MC TTL threshold: -1
Table 2: Parameters in the output from the show platform port command
Parameter Description
Ethernet MAC counters
Combined receive/ transmit packets by size (octets) counters
64
Number of packets in each size range received and transmitted.
Number of 64 octet packets received and transmitted.
65 - 127 Number of 65 - 127 octet packets received and transmitted.
128 - 255 Number of 128 - 255 octet packets received and transmitted.
256 - 511 Number of 256 - 511 octet packets received and transmitted.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
385
S WITCHING C OMMANDS
SHOW PLATFORM PORT
C613-50135-01 Rev A
Table 2: Parameters in the output from the show platform port command
Parameter
512 - 1023
1024 - MaxPktSz
1519 - 1522
1519 - 2047
2048 - 4095
4096 - 9216
Description
Number of 512 - 1023 octet packets received and transmitted.
Number of packets received and transmitted with size 1024 octets to the maximum packet length.
Number of 1519 - 1522 octet packets received and transmitted.
Number of 1519 - 2047 octet packets received and transmitted.
Number of 2048 - 4095 octet packets received and transmitted.
Number of 4096 - 9216 octet packets received and transmitted.
General Counters
Receive
Octets
Pkts
FCSErrors
UnicastPkts
MulticastPkts
BroadcastPkts
PauseMACCtlFrms
OversizePkts
Fragments
Jabbers
UnsupportOpcode
AlignmentErrors
SysErDurCarrier
CarrierSenseErr
UndersizePkts
Counters for traffic received.
Number of octets received.
Number of packets received.
Number of FCS (Frame Check Sequence) error events received.
Number of unicast packets received.
Number of multicast packets received.
Number of broadcast packets received.
Number of Pause MAC Control Frames received.
Number of oversize packets received.
Number of fragments received.
Number of jabber frames received.
Number of MAC Control frames with unsupported opcode received.
Receive Alignment Error Frame Counter.
Receive Code Error Counter.
Receive False Carrier Counter.
Number of undersized packets received.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
386
S WITCHING C OMMANDS
SHOW PLATFORM PORT
Table 2: Parameters in the output from the show platform port command
Parameter
Transmit
Octets
Pkts
UnicastPkts
MulticastPkts
BroadcastPkts
PauseMACCtlFrms
OversizePkts
FrameWDeferrdTx
FrmWExcesDefer
SingleCollsnFrm
MultCollsnFrm
LateCollisions
ExcessivCollsns
Collisions
Layer 3 Counters ifInUcastPkts ifInDiscards ipInHdrErrors ifOutUcastPkts ifOutErrors
Miscellaneous Counters
DropEvents ifOutDiscards
MTUExcdDiscard
Description
Counters for traffic transmitted.
Number of octets transmitted.
Number of packets transmitted.
Number of unicast packets transmitted.
Number of multicast packets transmitted.
Number of broadcast packets transmitted.
Number of Pause MAC Control Frames transmitted.
Number of oversize packets transmitted.
Transmit Single Deferral Frame counter.
Transmit Multiple Deferral Frame counter.
Transmit Single Collision Frame counter.
Transmit Multiple Collision Frame counter.
Transmit Late Collision Frame counter.
Transmit Excessive Collision Frame counter.
Transmit Total Collision counter
Inbound interface Unicast counter.
Inbound interface Discarded Packets counter.
Inbound interface Header Errors counter.
Outbound interface Unicast counter.
Outbound interface Error counter.
Drop Event counter
Outbound interface Discarded Packets counter.
Receive MTU Check Error Frame Counter
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
387
S WITCHING C OMMANDS
SHOW STORM CONTROL
show storm-control
Overview Use this command to display storm-control information for all interfaces or a particular interface.
Syntax show storm-control [< port >]
Parameter
< port >
Description
The port to display information about. The port may be a switch port
(e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g. po2).
Mode User Exec and Privileged Exec
Example To display storm-control information for port1.0.2, use the following command: awplus# show storm-control port1.0.2
Output Figure 13-9: Example output from the show storm-control command for port1.0.2
Port BcastLevel McastLevel DlfLevel port1.0.2 40. 0% 100. 0% 100. 0%
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
388
S WITCHING C OMMANDS
SPEED
speed
Overview This command changes the speed of the specified port. You can optionally specify the speed or speeds that get autonegotiated, so autonegotiation is only attempted at the specified speeds.
To see the currently-negotiated speed for ports whose links are up, use the
show interface command. To see the configured speed (when different from the
default), use the show running-config
command.
Syntax speed {10|100|1000|auto [10][100][1000]}
The following table shows the speed options for each type of port.
Port type
RJ-45 copper ports tri-speed copper SFPs
100Mbps fiber SFPs
1000Mbps copper or fiber SFPs
Speed Options (units are Mbps) auto (default)
10
100
1000 auto (default)
10
100
1000
100 auto (default)
1000
Mode Interface Configuration
Default By default, ports autonegotiate speed (except for 100Base-FX ports which do not support auto-negotiation, so default to 100Mbps).
Usage Switch ports in a static or dynamic (LACP) channel group must have the same port speed and be in full duplex mode. Once switch ports have been aggregated into a channel group, you can set the speed of all the switch ports in the channel group by applying this command to the channel group.
NOTE
: If multiple speeds are specified after the auto option to autonegotiate speeds, then the device only attempts autonegotiation at those specified speeds.
Examples To set the speed of a tri-speed port to 100Mbps, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# speed 100
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
389
S WITCHING C OMMANDS
SPEED
To return the port to auto-negotiating its speed, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# speed auto
To set the port to auto-negotiate its speed at 100Mbps and 1000Mbps, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# speed auto 100 1000
To set the port to auto-negotiate its speed at 1000Mbps only, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# speed auto 1000
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
390
S WITCHING C OMMANDS
STORM CONTROL LEVEL
storm-control level
Overview Use this command to specify the speed limiting level for broadcasting, multicast, or destination lookup failure (DLF) traffic for the port. Storm-control limits the selected traffic type to the specified percentage of the maximum port speed.
Use the no variant of this command to disable storm-control for broadcast, multicast or DLF traffic.
Syntax storm-control {broadcast|multicast|dlf} level <level> no storm-control {broadcast|multicast|dlf} level
Parameter
<level> broadcast multicast dlf
Description
<0-100> Specifies the percentage of the maximum port speed allowed for broadcast, multicast or destination lookup failure traffic.
Applies the storm-control to broadcast frames.
Applies the storm-control to multicast frames. This only limits known multicast frames.
Applies the storm-control to destination lookup failure traffic. This limits unknown multicast frames and other traffic types.
Default By default, storm-control is disabled.
Mode Interface Configuration
Usage Flooding techniques are used to block the forwarding of unnecessary flooded traffic. A packet storm occurs when a large number of broadcast packets are received on a port. Forwarding these packets can cause the network to slow down or time out.
Example To limit broadcast traffic on port1.0.2 to 30% of the maximum port speed, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# storm-control broadcast level 30
Related
Commands
391 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S WITCHING C OMMANDS
THRASH LIMITING
thrash-limiting
Overview To block all traffic on a vlan, use the following command: awplus# configure terminal awplus(config)# thrash-limiting action vlan-disable
To set the thrash limiting timeout to 5 seconds, use the following command: awplus(config-if)# thrash-limiting timeout 5
To set the thrash limiting action to its default, use the following command: awplus(config-if)# no thrash-limiting action
To set the thrash limiting timeout to its default, use the following command: awplus(config-if)# no thrash-limiting timeout
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
392
S WITCHING C OMMANDS
UNDEBUG LOOPPROT
undebug loopprot
Overview
This command applies the functionality of the no debug loopprot command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
393
S WITCHING C OMMANDS
UNDEBUG PLATFORM PACKET
undebug platform packet
Overview
This command applies the functionality of the no debug platform packet command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
394
14
VLAN Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure
VLANs. For more information see the VLAN Feature Overview and Configuration
Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ port-vlan-forwarding-priority ” on page 397
“ private-vlan association ” on page 400
“ show port-vlan-forwarding-priority ” on page 401
“ show vlan access-map ” on page 403
“ show vlan classifier group ” on page 404
“ show vlan classifier group interface ” on page 405
“ show vlan classifier interface group ” on page 406
“ show vlan classifier rule ” on page 407
“ show vlan filter ” on page 408
“ show vlan private-vlan ” on page 409
“ switchport access vlan ” on page 410
“ switchport enable vlan ” on page 411
“ switchport mode access ” on page 412
“ switchport mode private-vlan ” on page 413
switchport mode private-vlan trunk promiscuous
switchport mode private-vlan trunk secondary
switchport mode trunk ” on page 418
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
395
VLAN C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ switchport private-vlan host-association ” on page 419
“ switchport private-vlan mapping ” on page 420
“ switchport trunk allowed vlan ” on page 421
“ switchport trunk native vlan ” on page 424
“ switchport vlan-stacking (double tagging) ” on page 425
“ switchport voice dscp ” on page 426
“ switchport voice vlan ” on page 427
“ switchport voice vlan priority ” on page 429
“ vlan access-map ” on page 432
“ vlan classifier activate ” on page 433
“ vlan classifier group ” on page 434
“ vlan classifier rule ipv4 ” on page 435
“ vlan classifier rule proto ” on page 436
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
396
VLAN C OMMANDS
PORT VLAN FORWARDING PRIORITY
port-vlan-forwarding-priority
Overview Use this command to specify whether EPSR or Loop Protection has the highest priority for controling transitions from blocking to forwarding traffic. This command prioritizes switch port forwarding mode control, when both of EPSR and
Loop Protection are used on the switch.
These protocols use the same mechanism to block or forward traffic. This command specifies either EPSR or Loop Protection as the highest priority protocol.
Setting the priority stops contention between protocols.
For more information, see the Usage section below.
CAUTION
: The loop-protection and none parameter options must not be set on an
EPSR master node. Use the epsr parameter option on an EPSR master node instead.
Setting this command incorrectly on an EPSR master node could cause unexpected broadcast storms.
Use the no variant of this command to restore the default highest priority protocol back to the default of EPSR.
For more information about EPSR, see the EPSR Feature Overview and
Configuration Guide .
Syntax port-vlan-forwarding-priority {epsr|loop-protection|none} no port-vlan-forwarding-priority
Parameter epsr loop- protection none
Description
Sets EPSR as the highest priority protocol. Use this parameter on an EPSR master node to avoid unexpected broadcast storms.
Sets Loop Protection as the highest priority protocol.
Note that this option must not be set on an EPSR master node.
Use the epsr parameter option on an EPSR master node to avoid unexpected broadcast storms.
Sets the protocols to have equal priority. This was the previous behavior before this command was added, and allows protocols to override each other to set a port to forwarding a VLAN.
Note that this option must not be set on a EPSR master node.
Use the epsr parameter option on an EPSR master node to avoid unexpected broadcast storms.
Default By default, the highest priority protocol is EPSR
Mode Global Configuration
Usage Usually, you only need to configure one of EPSR or Loop Protection on a switch, not both, because they perform similar functions—each prevents network loops by blocking a selected port for each (loop-containing) VLAN.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
397
VLAN C OMMANDS
PORT VLAN FORWARDING PRIORITY
However, if both EPSR and Loop Protection are configured on a switch, you can use this command to prioritize one of them when their effects on a port would conflict and override each other. Without this command, one of the protocols could set a port to forwarding for a VLAN, sometimes overriding the previous setting by the other protocol to block the port. This could sometimes lead to unexpected broadcast storms.
This command means that, when a protocol is set to have the highest priority over a data VLAN on a port, it will not allow the other protocol to put that port-vlan into a forwarding state if the higher priority protocol blocked it.
The priority mechanism is only used for blocking-to-forwarding transitions; the two protocols remain independent on the forwarding-to-blocking transitions.
Example To prioritize EPSR over Loop Protection, so that Loop Protection cannot set a port to the forwarding state for a VLAN if EPSR has set it to the blocking state, use the commands: awplus# configure terminal awplus(config)# port-vlan-forwarding-priority epsr
To prioritize Loop Protection over EPSR, so that EPSR cannot set a port to the forwarding state for a VLAN if Loop Protection has set it to the blocking state, use the commands: awplus# configure terminal awplus(config)# port-vlan-forwarding-priority loop-protection
To set EPSR and Loop Protection to have equal priority for port forwarding and blocking, which allows the protocols to override each other to set a port to the forwarding or blocking states, use the commands: awplus# configure terminal awplus(config)# port-vlan-forwarding-priority none
To restore the default highest priority protocol back to the default of EPSR, use the commands: awplus# configure terminal awplus(config)# no port-vlan-forwarding-priority
Related
Commands
show port-vlan-forwarding-priority
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
398
VLAN C OMMANDS
PRIVATE VLAN
private-vlan
Overview Use this command to a create a private VLAN. Private VLANs can be either primary or secondary. Secondary VLANs can be ether community or isolated.
Use the no variant of this command to remove the specified private VLAN.
For more information, see the VLAN Feature Overview and Configuration Guide .
Syntax private-vlan < vlan-id> {community|isolated|primary} no private-vlan < vlan-id> {community|isolated|primary}
Parameter
< vlan-id > community isolated primary
Description
VLAN ID in the range <2-4094> for the VLAN which is to be made a private VLAN.
Community VLAN.
Isolated VLAN.
Primary VLAN.
Mode VLAN Configuration
Examples awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 2 name vlan2 state enable awplus(config-vlan)# vlan 3 name vlan3 state enable awplus(config-vlan)# vlan 4 name vlan4 state enable awplus(config-vlan)# private-vlan 2 primary awplus(config-vlan)# private-vlan 3 isolated awplus(config-vlan)# private-vlan 4 community awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# no private-vlan 2 primary awplus(config-vlan)# no private-vlan 3 isolated awplus(config-vlan)# no private-vlan 4 community
399 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
VLAN C OMMANDS
PRIVATE VLAN ASSOCIATION
private-vlan association
Overview Use this command to associate a secondary VLAN to a primary VLAN. Only one isolated VLAN can be associated to a primary VLAN. Multiple community VLANs can be associated to a primary VLAN.
Use the no variant of this command to remove association of all the secondary
VLANs to a primary VLAN.
For more information, see the VLAN Feature Overview and Configuration Guide .
Syntax private-vlan < primary-vlan-id > association {add
< secondary-vlan-id >|remove < secondary-vlan-id >} no private-vlan < primary-vlan-id > association
Parameter
< primary-vlan-id >
Description
VLAN ID of the primary VLAN.
< secondary-vlan-id > VLAN ID of the secondary VLAN
(either isolated or community).
Mode VLAN Configuration
Examples The following commands associate primary VLAN 2 with secondary VLAN 3: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# private-vlan 2 association add 3
The following commands remove the association of primary VLAN 2 with secondary VLAN 3: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# private-vlan 2 association remove 3
The following commands remove all secondary VLAN associations of primary
VLAN 2: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# no private-vlan 2 association
400 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
VLAN C OMMANDS
SHOW PORT VLAN FORWARDING PRIORITY
show port-vlan-forwarding-priority
Overview Use this command to display the highest priority protocol that controls port-vlan forwarding or blocking traffic. This command displays whether EPSR or Loop
Protection is set as the highest priority for determining whether a port forwards a
VLAN, as set by the
port-vlan-forwarding-priority command.
For more information about EPSR, see the EPSR Feature Overview and
Configuration Guide .
Syntax show port-vlan-forwarding-priority
Mode Privileged Exec
Example To display the highest priority protocol, use the command: awplus# show port-vlan-forwarding-priority
Output Figure 14-1: Example output from the show port-vlan-forwarding-priority command
Port-vlan Forwarding Priority: EPSR
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
401
VLAN C OMMANDS
SHOW VLAN
show vlan
Overview Use this command to display information about a particular VLAN by specifying its
VLAN ID. Selecting all will display information for all the VLANs configured.
Syntax show vlan
{all|brief|dynamic|static|auto|static-ports| <1-4094> }
Parameter
<1-4094> all brief dynamic static auto static-ports
Description
Display information about the VLAN specified by the VLAN ID.
Display information about all VLANs on the device.
Display information about all VLANs on the device.
Display information about all VLANs learned dynamically.
Display information about all statically configured VLANs.
Display information about all auto-configured VLANs.
Display static egress/forbidden ports.
Mode User Exec and Privileged Exec
Example To display information about VLAN 2, use the command: awplus# show vlan 2
Output Figure 14-2: Example output from the show vlan command
VLAN ID Name Type State Member ports
(u)-Untagged, (t)-Tagged
======= ================ ======= ======= ====================================
2 VLAN0002 STATIC ACTIVE port1.0.3(u) port1.0.4(u) port1.0.5(u)
port1.0.6(u)
...
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
402
VLAN C OMMANDS
SHOW VLAN ACCESS MAP
show vlan access-map
Overview Use this command to display information about the configured VLAN access-maps. VLAN access-maps contain a series of ACLs and enable you to filter traffic ingressing specified VLANs.
Syntax show vlan access-map [< name >]
Parameter
<name>
Description
The name of the access-map to display.
Mode User Exec/Privileged Exec
Example To display the ACLs in all access-maps, use the command: awplus# show vlan access-map
Output Figure 14-3: Example output from show vlan access-map
awplus#show vlan access-map
Vlan access map : deny_all
Hardware MAC access list 4000
10 deny any any
Vlan access map : ip_range
Hardware IP access list 3000
10 deny ip 192.168.1.1/24 any
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
403
VLAN C OMMANDS
SHOW VLAN CLASSIFIER GROUP
show vlan classifier group
Overview Use this command to display information about all configured VLAN classifier groups or a specific group.
Syntax show vlan classifier group [ <1-16> ]
Parameter
<1-16>
Description
VLAN classifier group identifier
Mode User Exec and Privileged Exec
Usage If a group ID is not specified, all configured VLAN classifier groups are shown. If a group ID is specified, a specific configured VLAN classifier group is shown.
Example To display information about VLAN classifier group 1, enter the command: awplus# show vlan classifier group 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
404
VLAN C OMMANDS
SHOW VLAN CLASSIFIER GROUP INTERFACE
show vlan classifier group interface
Overview Use this command to display information about a single switch port interface for all configured VLAN classifier groups.
Syntax show vlan classifier group interface <switch-port>
Parameter Description
<switch-port> Specify the switch port interface classifier group identifier
Mode User Exec and Privileged Exec
Usage All configured VLAN classifier groups are shown for a single interface.
Example To display VLAN classifier group information for switch port interface port1.0.2
, enter the command: awplus# show vlan classifier group interface port1.0.2
Output Figure 14-4: Example output from the show vlan classifier group interface port1.0.1
command: vlan classifier group 1 interface port1.0.1
Related
Commands
show vlan classifier interface group
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
405
VLAN C OMMANDS
SHOW VLAN CLASSIFIER INTERFACE GROUP
show vlan classifier interface group
Overview Use this command to display information about all interfaces configured for a
VLAN group or all the groups.
Syntax show vlan classifier interface group [ <1-16> ]
Parameter
<1-16>
Description
VLAN classifier interface group identifier
Mode User Exec and Privileged Exec
Usage If a group ID is not specified, all interfaces configured for all VLAN classifier groups are shown. If a group ID is specified, the interfaces configured for this VLAN classifier group are shown.
Example To display information about all interfaces configured for all VLAN groups, enter the command: awplus# show vlan classifier interface group
To display information about all interfaces configured for VLAN group 1, enter the command: awplus# show vlan classifier interface group 1
Output Figure 14-5: Example output from the show vlan classifier interface group command vlan classifier group 1 interface port1.0.1
vlan classifier group 1 interface port1.0.2
vlan classifier group 2 interface port1.0.3
vlan classifier group 2 interface port1.0.4
Output Figure 14-6: Example output from the show vlan classifier interface group 1 command vlan classifier group 1 interface port1.0.1
vlan classifier group 1 interface port1.0.2
Related
Commands
show vlan classifier group interface
406 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
VLAN C OMMANDS
SHOW VLAN CLASSIFIER RULE
show vlan classifier rule
Overview Use this command to display information about all configured VLAN classifier rules or a specific rule.
Syntax show vlan classifier rule [ <1-256> ]
Parameter
<1-256>
Description
VLAN classifier rule identifier
Mode User Exec and Privileged Exec
Usage If a rule ID is not specified, all configured VLAN classifier rules are shown. If a rule ID is specified, a specific configured VLAN classifier rule is shown.
Example To display information about VLAN classifier rule 1, enter the command: awplus# show vlan classifier rule 1
Output Figure 14-7: Example output from the show vlan classifier rule 1 command vlan classifier group 1 add rule 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
407
VLAN C OMMANDS
SHOW VLAN FILTER
show vlan filter
Overview Use this command to display information about the configured VLAN filters. VLAN filters apply access-maps (and therefore ACLs) to VLANs. This enables you to filter traffic ingressing specified VLANs.
Syntax show vlan filter [< access-map-name >]
Parameter
<access-map-name>
Description
The name of an access-map. The command output displays only the filters that use that access-map.
Mode User Exec/Privileged Exec
Example To display information about the filter that uses the access-map named “deny_all”, use the command: awplus# show vlan filter deny_all
Output Figure 14-8: Example output from show vlan filter awplus#show vlan filter deny_all
Vlan filter : deny_all
direction : ingress
vlan list : 48-49
access map : deny_all
Hardware MAC access list 4000
10 deny any any
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
408
VLAN C OMMANDS
SHOW VLAN PRIVATE VLAN
show vlan private-vlan
Overview Use this command to display the private VLAN configuration and associations.
Syntax show vlan private-vlan
Mode User Exec and Privileged Exec
Example To display the private VLAN configuration and associations, enter the command: awplus# show vlan private-vlan
Output Figure 14-9: Example output from the show vlan private-vlan command awplus#show vlan private-vlan
PRIMARY SECONDARY TYPE INTERFACES
------- --------- ---------- ---------
2 3 isolated
2 4 community
8 isolated
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
409
VLAN C OMMANDS
SWITCHPORT ACCESS VLAN
switchport access vlan
Overview Use this command to change the port-based VLAN of the current port.
Use the no variant of this command to change the port-based VLAN of this port to the default VLAN, vlan1.
Syntax switchport access vlan < vlan-id > no switchport access vlan
Parameter
< vlan-id >
Description
<1-4094> The port-based VLAN ID for the port.
Default Reset the default VLAN 1 to specified switchports using the negated form of this command.
Mode Interface Configuration
Usage Any untagged frame received on this port will be associated with the specified
VLAN.
Examples To change the port-based VLAN to VLAN 3 for port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport access vlan 3
To reset the port-based VLAN to the default VLAN 1 for port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no switchport access vlan
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
410
VLAN C OMMANDS
SWITCHPORT ENABLE VLAN
switchport enable vlan
Overview This command enables the VLAN on the port manually once disabled by certain actions, such as QSP (QoS Storm Protection) or EPSR (Ethernet Protection
Switching Ring). Note that if the VID is not given, all disabled VLANs are re-enabled.
This command enables the VLAN on the port manually once disabled by certain actions, such as EPSR (Ethernet Protection Switching Ring). Note that if the VID is not given, all disabled VLANs are re-enabled.
Syntax switchport enable vlan [ <1-4094> ]
Parameter vlan
<1-4094>
Description
Re-enables the VLAN on the port.
VLAN ID.
Mode Interface Configuration
Example To re-enable the port1.0.1 from VLAN 1: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# switchport enable vlan 1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
411
VLAN C OMMANDS
SWITCHPORT MODE ACCESS
switchport mode access
Overview Use this command to set the switching characteristics of the port to access mode.
Received frames are classified based on the VLAN characteristics, then accepted or discarded based on the specified filtering criteria.
Syntax switchport mode access [ingress-filter {enable|disable}]
Parameter Description ingress-filter Set the ingress filtering for the received frames.
enable Turn on ingress filtering for received frames. This is the default.
disable Turn off ingress filtering to accept frames that do not meet the classification criteria.
Default By default, ports are in access mode with ingress filtering on.
Usage Use access mode to send untagged frames only.
Mode Interface Configuration
Example awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode access ingress-filter enable
Validation
Command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
412
VLAN C OMMANDS
SWITCHPORT MODE PRIVATE VLAN
switchport mode private-vlan
Overview Use this command to make a Layer 2 port a private VLAN host port or a promiscuous port.
Use the no variant of this command to remove the configuration.
Syntax switchport mode private-vlan {host|promiscuous} no switchport mode private-vlan {host|promiscuous}
Parameter host
Description
This port type can communicate with all other host ports assigned to the same community VLAN, but it cannot communicate with the ports in the same isolated VLAN. All communications outside of this
VLAN must pass through a promiscuous port in the associated primary VLAN.
promiscuous A promiscuous port can communicate with all interfaces, including the community and isolated ports within a private VLAN.
Mode Interface Configuration
Examples awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode private-vlan host awplus(config)# interface port1.0.3
awplus(config-if)# switchport mode private-vlan promiscuous awplus(config)# interface port1.0.4
awplus(config-if)# no switchport mode private-vlan promiscuous
Related
Commands
switchport private-vlan mapping
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
413
VLAN C OMMANDS
SWITCHPORT MODE PRIVATE VLAN TRUNK PROMISCUOUS
switchport mode private-vlan trunk promiscuous
Overview Use this command to enable a port in trunk mode to be promiscuous port for isolated VLANs.
NOTE : Private VLAN trunk ports are not supported by the current AlliedWare Plus GVRP implementation. Private VLAN trunk ports and GVRP are mutually exclusive.
Use the no variant of this command to remove a port in trunk mode as a promiscuous port for isolated VLANs. You must first remove the secondary port, or ports, in trunk mode associated with the promiscuous port with the no switchport mode private-vlan trunk secondary command.
Syntax switchport mode private-vlan trunk promiscuous group < group-id > no switchport mode private-vlan trunk promiscuous
Parameter
< group-id >
Description
The group ID is a numeric value in the range 1 to 32 that is used to associate the promiscuous port with secondary ports.
Default By default, a port in trunk mode is disabled as a promiscuous port.
Mode Interface Configuration
Usage
A port must be put in trunk mode with switchport mode trunk
command before it can be enabled as a promiscuous port.
To add VLANs to be trunked over the promiscuous port, use the
command. These VLANs can be isolated VLANs, or non-private VLANs.
To configure the native VLAN for the promiscuous port, use the switchport trunk native vlan
command. The native VLAN can be an isolated VLAN, or a non-private
VLAN.
When you enable a promiscuous port, all of the secondary port VLANs associated with the promiscuous port via the group ID number must be added to the promiscuous port. In other words, the set of VLANs on the promiscuous port must be a superset of all the VLANs on the secondary ports within the group.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
414
VLAN C OMMANDS
SWITCHPORT MODE PRIVATE VLAN TRUNK PROMISCUOUS
Examples To create the isolated VLANs 2, 3 and 4 and then enable port1.0.2
in trunk mode as a promiscuous port for these VLANs with the group ID of 3, use the following commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 2-4 awplus(config-vlan)# private-vlan 2 isolated awplus(config-vlan)# private-vlan 3 isolated awplus(config-vlan)# private-vlan 4 isolated awplus(config-vlan)# exit awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode trunk awplus(config-if)# switchport trunk allowed vlan add 2-4 awplus(config-if)# switchport mode private-vlan trunk promiscuous group 3
To remove port1.0.2 in trunk mode as a promiscuous port for a private VLAN, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no switchport mode private-vlan trunk promiscuous
Note that you must remove the secondary port or ports enabled as trunk ports that are associated with the promiscuous port before removing the promiscuous port.
Related
Commands
switchport mode private-vlan trunk secondary
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
415
VLAN C OMMANDS
SWITCHPORT MODE PRIVATE VLAN TRUNK SECONDARY
switchport mode private-vlan trunk secondary
Overview Use this command to enable a port in trunk mode to be a secondary port for isolated VLANs.
NOTE : Private VLAN trunk ports are not supported by the current AlliedWare Plus GVRP implementation. Private VLAN trunk ports and GVRP are mutually exclusive.
Use the no variant of this command to remove a port in trunk mode as a secondary port for isolated VLANs.
Syntax switchport mode private-vlan trunk secondary group < group-id > no switchport mode private-vlan trunk secondary
Parameter
< group-id >
Description
The group ID is a numeric value in the range 1 to 32 that is used to associate a secondary port with its promiscuous port.
Default By default, a port in trunk mode is disabled as a secondary port.
When a port in trunk mode is enabled to be a secondary port for isolated VLANs, by default it will have a native VLAN of none (no native VLAN specified).
Mode Interface Configuration
Usage
A port must be put in trunk mode with switchport mode trunk
command before the port is enabled as a secondary port in trunk mode.
To add VLANs to be trunked over the secondary port use the switchport trunk allowed vlan
command. These must be isolated VLANs and must exist on the associated promiscuous port.
To configure the native VLAN for the secondary port, use the
command. The native VLAN must be an isolated VLAN and must exist on the associated promiscuous port.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
416
VLAN C OMMANDS
SWITCHPORT MODE PRIVATE VLAN TRUNK SECONDARY
Examples To create isolated private VLAN 2 and then enable port1.0.3
in trunk mode as a secondary port for the this VLAN with the group ID of 3 , use the following commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 2 awplus(config-vlan)# private-vlan 2 isolated awplus(config-vlan)# exit awplus(config)# interface port1.0.3
awplus(config-if)# switchport mode trunk awplus(config-if)# switchport trunk allowed vlan add 2 awplus(config-if)# switchport mode private-vlan trunk secondary group 3
To remove port1.0.3 in trunk mode as a secondary port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# no switchport mode private-vlan trunk secondary
Related
Commands
switchport mode private-vlan trunk promiscuous
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
417
VLAN C OMMANDS
SWITCHPORT MODE TRUNK
switchport mode trunk
Overview Use this command to set the switching characteristics of the port to trunk.
Received frames are classified based on the VLAN characteristics, then accepted or discarded based on the specified filtering criteria.
Syntax switchport mode trunk [ingress-filter {enable|disable}]
Parameter Description ingress-filter Set the ingress filtering for the frames received.
enable Turn on ingress filtering for received frames. This is the default.
disable Turn off ingress filtering to accept frames that do not meet the classification criteria.
Default By default, ports are in access mode, are untagged members of the default VLAN
(vlan1), and have ingress filtering on.
Mode Interface Configuration
Usage A port in trunk mode can be a tagged member of multiple VLANs, and an untagged member of one native VLAN.
To configure which VLANs this port will trunk for, use the
command.
Example awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# switchport mode trunk ingress-filter enable
Validation
Command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
418
VLAN C OMMANDS
SWITCHPORT PRIVATE VLAN HOST ASSOCIATION
switchport private-vlan host-association
Overview Use this command to associate a primary VLAN and a secondary VLAN to a host port. Only one primary and secondary VLAN can be associated to a host port.
Use the no variant of this command to remove the association.
Syntax switchport private-vlan host-association < primary-vlan-id > add
< secondary-vlan-id > no switchport private-vlan host-association
Parameter
< primary-vlan-id >
Description
VLAN ID of the primary VLAN.
< secondary-vlan-id > VLAN ID of the secondary VLAN (either isolated or com munity).
Mode Interface Configuration
Examples awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport private-vlan host-association 2 add 3 awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no switchport private-vlan host-association
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
419
VLAN C OMMANDS
SWITCHPORT PRIVATE VLAN MAPPING
switchport private-vlan mapping
Overview Use this command to associate a primary VLAN and a set of secondary VLANs to a promiscuous port.
Use the no variant of this to remove all the association of secondary VLANs to primary VLANs for a promiscuous port.
Syntax switchport private-vlan mapping < primary-vlan-id > add
< secondary-vid-list > switchport private-vlan mapping < primary-vlan-id > remove
< secondary-vid-list > no switchport private-vlan mapping
Parameter Description
< primary-vlan-id > VLAN ID of the primary VLAN.
< secondary-vid-list > VLAN ID of the secondary VLAN (either isolated or community), or a range of VLANs, or a comma-separated list of VLANs and ranges.
Mode Interface Configuration
Usage This command can be applied to a switch port or a static channel group, but not a dynamic (LACP) channel group. LACP channel groups (dynamic/LACP aggregators) cannot be promiscuous ports in private VLANs.
Examples awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport private-vlan mapping 2 add 3-4 awplus(config-if)# switchport private-vlan mapping 2 remove 3-4 awplus(config-if)# no switchport private-vlan mapping
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
420
VLAN C OMMANDS
SWITCHPORT TRUNK ALLOWED VLAN
switchport trunk allowed vlan
Overview Use this command to add VLANs to be trunked over this switch port. Traffic for these VLANs can be sent and received on the port.
Use the no variant of this command to reset switching characteristics of a specified interface to negate a trunked configuration specified with switchport trunk allowed vlan command.
Syntax switchport trunk allowed vlan all switchport trunk allowed vlan none switchport trunk allowed vlan add < vid-list > switchport trunk allowed vlan remove < vid-list > switchport trunk allowed vlan except < vid-list > no switchport trunk
Parameter all none add
Description
Allow all VLANs to transmit and receive through the port.
Allow no VLANs to transmit and receive through the port.
Add a VLAN to transmit and receive through the port. Only use this parameter if a list of VLANs are already configured on a port.
remove Remove a VLAN from transmit and receive through the port. Only use this parameter if a list of VLANs are already configured on a port.
except All VLANs, except the VLAN for which the VID is specified, are part of its port member set. Only use this parameter to remove VLANs after either this parameter or the all parameter have added VLANs to a port.
< vid-list > For a VLAN range, specify two VLAN numbers: lowest, then highest number in the range, separated by a hyphen.
For a VLAN list, specify the VLAN numbers separated by commas.
Do not enter spaces between hyphens or commas when setting parameters for VLAN ranges or lists.
Default By default, ports are untagged members of the default VLAN (vlan1).
Mode Interface Configuration
Usage The all parameter sets the port to be a tagged member of all the VLANs configured on the device. The none parameter removes all VLANs from the port’s tagged member set. The add and remove parameters will add and remove VLANs to and from the port’s member set. See the note below about restrictions when using the add , remove , except , and all parameters.
NOTE : Only use the add or the remove parameters with this command if a list of
VLANs are configured on a port. Only use the except parameter to remove VLANs after
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
421
VLAN C OMMANDS
SWITCHPORT TRUNK ALLOWED VLAN either the except or the all parameters have first been used to add a list of VLANs to a port.
To remove a VLAN, where the configuration for port1.0.6
shows the below output:
awplus#show running-config
!
interface port1.0.6
switchport switchport mode trunk switchport trunk allowed vlan except 4
Remove VLAN 3 by re-entering the except parameter with the list of VLANs to remove, instead of using the remove parameter, as shown in the command example below: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# switchport trunk allowed vlan except 3,4
Then the configuration is changed after entering the above commands to remove
VLAN 3:
awplus#show running-config
!
interface port1.0.6
switchport switchport mode trunk switchport trunk allowed vlan except 3-4
To add a VLAN, where the configuration for port1.0.6
shows the below output:
awplus#show running-config
!
interface port1.0.6
switchport switchport mode trunk switchport trunk allowed vlan except 3-5
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
422
VLAN C OMMANDS
SWITCHPORT TRUNK ALLOWED VLAN
Add VLAN 4 by re-entering the except parameter with a list of VLANs to exclude, instead of using the add parameter to include VLAN 4, as shown in the command example below: awplus# configure terminal awplus(config)# interface port1.0.5
awplus(config-if)# switchport trunk allowed vlan except 3,5
The configuration is changed after entering the above commands to add VLAN 4:
awplus#show running-config
!
interface port1.0.5
switchport switchport mode trunk switchport trunk allowed vlan except 3,5
Examples The following shows adding a single VLAN to the port’s member set.
awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk allowed vlan add 2
The following shows adding a range of VLANs to the port’s member set.
awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk allowed vlan add 2-4
The following shows adding a list of VLANs to the port’s member set.
awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk allowed vlan add 2,3,4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
423
VLAN C OMMANDS
SWITCHPORT TRUNK NATIVE VLAN
switchport trunk native vlan
Overview Use this command to configure the native VLAN for this port. The native VLAN is used for classifying the incoming untagged packets. Use the none parameter with this command to remove the native VLAN from the port and set the acceptable frame types to vlan-tagged only.
Use the no variant of this command to revert the native VLAN to the default VLAN
ID 1. Command negation removes tagged VLANs, and sets the native VLAN to the default VLAN.
Syntax switchport trunk native vlan {< vid >|none} no switchport trunk native vlan
Parameter
< vid > none
Description
The ID of the VLAN that will be used to classify the incoming untagged packets, in the range 2-2094. The VLAN ID must be a part of the VLAN member set of the port.
No native VLAN specified. This option removes the native VLAN from the port and sets the acceptable frame types to vlan-tagged only.
Note: Use the no variant of this command to revert to the default
VLAN 1 as the native VLAN for the specified interface switchport - not none .
Default VLAN 1 (the default VLAN), which is reverted to using the no form of this command.
Mode Interface Configuration
Examples The following commands show configuration of VLAN 2 as the native VLAN for port1.0.2: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk native vlan 2
The following commands show the removal of the native VLAN for interface port1.0.2: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk native vlan none
The following commands revert the native VLAN to the default VLAN 1 for interface port1.0.2: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no switchport trunk native vlan
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
424
VLAN C OMMANDS
SWITCHPORT VLAN STACKING ( DOUBLE TAGGING )
switchport vlan-stacking (double tagging)
Overview Use this command to enable VLAN stacking on a port and set it to be a customer-edge-port or provider-port. This is sometimes referred to as VLAN double-tagging, nested VLANs, or Q in Q.
Use no parameter with this command to disable VLAN stacking on an interface.
Syntax switchport vlan-stacking {customer-edge-port|provider-port} no switchport vlan-stacking
Parameter Description customer-edge-port Set the port to be a customer edge port. This port must already be in access mode.
provider-port Set the port to be a provider port. This port must already be in trunk mode.
Default By default, ports are not VLAN stacking ports.
Mode Interface Configuration
Usage Use VLAN stacking to separate traffic from different customers to that they can be managed over a provider network.
Note that you must also enable jumbo frame support on the customer edge port, by using the
Traffic with an extra VLAN header added by VLAN stacking cannot be routed.
Example To apply vlan-stacking to the selected port, configure it to be a customer edge port, and turn on jumbo frames, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport vlan-stacking customer-edge-port awplus(config-if)# mru jumbo
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
425
VLAN C OMMANDS
SWITCHPORT VOICE DSCP
switchport voice dscp
Overview Use this command for a specific port to configure the Layer 3 DSCP value advertised when the transmission of LLDP-MED Network Policy TLVs for voice devices is enabled. When LLDP-MED capable IP phones receive this network policy information, they transmit voice data with the specified DSCP value.
Use the no variant of this command to reset the DSCP value to the default, 0.
Syntax switchport voice dscp < 0-63 > no switchport voice dscp
Parameter dscp
< 0-63 >
Description
Specify a DSCP value for voice data.
DSCP value.
Default A DSCP value of 0 will be advertised.
Mode Interface Configuration
Usage LLDP-MED advertisements including Network Policy TLVs are transmitted via a port if:
•
•
•
LLDP is enabled (
Voice VLAN is configured for the port (
switchport voice vlan command)
•
The port is configured to transmit LLDP advertisements—enabled by default
(
lldp transmit receive command)
The port is configured to transmit Network Policy TLVs—enabled by default
(
• There is an LLDP-MED device connected to the port
Example To tell IP phones connected to port1.0.5
to send voice data with DSCP value 27, use the commands: awplus# configure terminal awplus(config)# interface port1.0.5
awplus(config-if)# switchport voice dscp 27
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
426
VLAN C OMMANDS
SWITCHPORT VOICE VLAN
switchport voice vlan
Overview Use this command to configure the Voice VLAN tagging advertised when the transmission of LLDP-MED Network Policy TLVs for voice endpoint devices is enabled. When LLDP-MED capable IP phones receive this network policy information, they transmit voice data with the specified tagging. This command also sets the ports to be spanning tree edge ports, that is, it enables spanning tree portfast on the ports.
Use the no variant of this command to remove LLDP-MED network policy configuration for voice devices connected to these ports. This does not change the spanning tree edge port status.
Syntax switchport voice vlan [< vid >|dot1p|dynamic|untagged] no switchport voice vlan
Parameter Description dot1p The IP phone should send User Priority tagged packets, that is, packets in which the tag contains a User Priority value, and a VID of 0. (The User
Priority tag is also known as the 802.1p priority tag, or the Class of Service
(CoS) tag.) dynamic The VLAN ID with which the IP phone should send tagged packets will be assigned by RADIUS authentication.
untagged The IP phone should send untagged packets.
Default By default, no Voice VLAN is configured, and therefore no network policy is advertised for voice devices.
Mode Interface Configuration
Usage LLDP-MED advertisements including Network Policy TLVs are transmitted via a port if:
•
•
• LLDP is enabled (
Voice VLAN is configured for the port using this command ( switchport voice vlan )
The port is configured to transmit LLDP advertisements—enabled by default
(
lldp transmit receive command)
• The port is configured to transmit Network Policy TLVs—enabled by default
(
• There is an LLDP-MED device connected to the port.
If the Voice VLAN details are to be assigned by RADIUS, then the RADIUS server must be configured to send the attribute “Egress-VLANID (56)” or
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
427
VLAN C OMMANDS
SWITCHPORT VOICE VLAN
“Egress-VLAN-Name (58)” in the RADIUS Accept message when authenticating a phone attached to this port.
For more information about configuring authentication for Voice VLAN, see the
LLDP Feature Overview and Configuration Guide .
If the ports have been set to be edge ports by the
switchport voice vlan command,
the no variant of this command will leave them unchanged as edge ports. To set them back to their default non-edge port configuration, use the
spanning-tree edgeport (RSTP and MSTP) command.
Examples To tell IP phones connected to port1.0.5
to send voice data tagged for VLAN
10, use the commands: awplus# configure terminal awplus(config)# interface port1.0.5
awplus(config-if)# switchport voice vlan 10
To tell IP phones connected to ports 1.0.2-1.0.6 to send priority tagged packets
(802.1p priority tagged with VID 0, so that they will be assigned to the port VLAN) use the following commands. The priority value is 5 by default, but can be configured with the
switchport voice vlan priority command.
awplus# configure terminal awplus(config)# interface port1.0.2-port1.0.6
awplus(config-if)# switchport voice vlan dot1p
To dynamically configure the VLAN ID advertised to IP phones connected to port1.0.1
based on the VLAN assigned by RADIUS authentication (with RADIUS attribute “Egress- VLANID” or “Egress-VLAN-Name” in the RADIUS accept packet), use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# switchport voice vlan dynamic
To remove the Voice VLAN, and therefore disable the transmission of LLDP-MED network policy information for voice devices on port1.0.6
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# no switchport voice vlan
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
428
VLAN C OMMANDS
SWITCHPORT VOICE VLAN PRIORITY
switchport voice vlan priority
Overview Use this command to configure the Layer 2 user priority advertised when the transmission of LLDP-MED Network Policy TLVs for voice devices is enabled. This is the priority in the User Priority field of the IEEE 802.1Q VLAN tag, also known as the
Class of Service (CoS), or 802.1p priority. When LLDP-MED capable IP phones receive this network policy information, they transmit voice data with the specified priority.
Syntax switchport voice vlan priority < 0-7 > no switchport voice vlan priority
Parameter priority
< 0-7 >
Description
Specify a user priority value for voice data.
Priority value.
Default By default, the Voice VLAN user priority value is 5.
Mode Interface Configuration
Usage LLDP-MED advertisements including Network Policy TLVs are transmitted via a port if:
•
•
•
LLDP is enabled (
Voice VLAN is configured for the port (
switchport voice vlan command)
•
The port is configured to transmit LLDP advertisements—enabled by default
(
lldp transmit receive command)
The port is configured to transmit Network Policy TLVs—enabled by default
(
• There is an LLDP-MED device connected to the port.
To set the Voice VLAN tagging to be advertised, use the switchport voice vlan command.
Example To remove the Voice VLAN, and therefore disable the transmission of LLDP-MED network policy information for voice devices on port1.0.6
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# no switchport voice vlan
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
429
VLAN C OMMANDS
VLAN
vlan
Overview This command creates VLANs, assigns names to them, and enables or disables them. Disabling the VLAN causes all forwarding over the specified VLAN ID to cease. Enabling the VLAN allows forwarding of frames on the specified VLAN.
Note that the maximum number of VLANs the device supports is 2048, even though the maximum VID value is 4094. You can create a VLAN numbered 4000, for example, but you cannot have more than 2048 different VLANs in total.
The no variant of this command destroys the specified VLANs or returns their MTU to the default.
Syntax vlan < vid> [name <vlan-name> ] [state {enable|disable}] vlan <vid-range> [state {enable|disable}] vlan {< vid >| <vlan-name >} [mtu < mtu-value >] no vlan {< vid > |<vid-range> } [mtu]
Parameter
< vid >
Description
The VID of the VLAN to enable or disable, in the range 1-4094.
< vlan-name > The ASCII name of the VLAN. Maximum length: 32 characters.
< vid-range > Specifies a range of VLAN identifiers.
< mtu-value > Specifies the Maximum Transmission Unit (MTU) size in bytes, in the range 68 to 1500 bytes, for the VLAN.
enable disable
Puts the VLAN into an enabled state.
Puts the VLAN into a disabled state.
Default By default, VLANs are enabled when they are created.
Mode VLAN Configuration
Examples To enable vlan 45, use the commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 45 name accounts state enable
To destroy vlan 45, use the commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# no vlan 45
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
430
VLAN C OMMANDS
VLAN
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
431
VLAN C OMMANDS
VLAN ACCESS MAP
vlan access-map
Overview Use this command to create a VLAN access-map and enter into VLAN access-map mode, so you can add ACLs to the map. You can use any IPv4 or IPv6 hardware
ACLs. VLAN access-maps are used to attach ACLs to VLANs, and therefore to filter traffic as it ingresses VLANs.
See the ACL Feature Overview and Configuration Guide for more information, including information about the number of rules consumed by per-VLAN ACLs, and ACL processing order.
Use the no variant of this command to delete a VLAN access-map.
Syntax vlan access-map < name > no vlan access-map < name >
Parameter
<name>
Description
A name for the access-map.
Default By default, no VLAN access-maps exist.
Mode Global Configuration
Example To apply ACL 3001 to VLAN 48, where the ACL drops IP traffic from any source to any destination, use the commands: awplus# configure terminal awplus(config)# access-list 3001 deny ip any any awplus(config)# vlan access-map deny_all awplus(config-vlan-access-map)# match access-group 3001 awplus(config-vlan-access-map)# exit awplus(config)# vlan filter deny_all vlan-list 48 input
Related
Commands
Command changes
Version 5.4.6-2.1: command added
432 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
VLAN C OMMANDS
VLAN CLASSIFIER ACTIVATE
vlan classifier activate
Overview Use this command in Interface Configuration mode to associate a VLAN classifier group with the switch port.
Use the no variant of this command to remove the VLAN classifier group from the switch port.
Syntax vlan classifier activate < vlan-class-group-id > no vlan classifier activate < vlan-class-group-id >
Parameter Description
< vlan-class-group-id > Specify a VLAN classifier group identifier in the range
< 1-16 >.
Mode Interface Configuration mode for a switch port or link aggregator.
Usage See the protocol-based VLAN configuration example in the VLAN Feature
Overview and Configuration Guide for configuration details.
Example To associate VLAN classifier group 3 with switch port1.0.3, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# vlan classifier activate 3
To remove VLAN classifier group 3 from switch port1.0.3, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# no vlan classifier activate 3
Related
Commands
433 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
VLAN C OMMANDS
VLAN CLASSIFIER GROUP
vlan classifier group
Overview Use this command to create a group of VLAN classifier rules. The rules must already have been created.
Use the no variant of this command to delete a group of VLAN classifier rules.
Syntax vlan classifier group <1-16> {add|delete} rule
< vlan-class-rule-id > no vlan classifier group <1-16>
Parameter
<1-16>
Description
VLAN classifier group identifier add delete
Add the rule to the group.
Delete the rule from the group.
<vlan-class-rule-id> The VLAN classifier rule identifier.
Mode Global Configuration
Example awplus# configure terminal awplus(config)# vlan classifier group 3 add rule 5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
434
VLAN C OMMANDS
VLAN CLASSIFIER RULE IPV 4
vlan classifier rule ipv4
Overview Use this command to create an IPv4 subnet-based VLAN classifier rule and map it to a specific VLAN. Use the no variant of this command to delete the VLAN classifier rule.
Syntax vlan classifier rule <1-256> ipv4 <ip-addr / prefix-length> vlan
<1-4094> no vlan classifier rule <1-256>
Parameter Description
< 1-256 > Specify the VLAN Classifier Rule identifier.
<ip-addr/prefix-length> Specify the IP address and prefix length.
< 1-4094 > Specify a VLAN ID to which an untagged packet is mapped in the range < 1-4094 >.
Mode Global Configuration
Usage If the source IP address matches the IP subnet specified in the VLAN classifier rule, the received packets are mapped to the specified VLAN.
NOTE : The subnet VLAN classifier only matches IPv4 packets. It does not match ARP packets. To ensure ARP traffic is classified into the correct subnet VLAN, you can use a hardware based policy map that sends ARP packets to the CPU, which will then process them appropriately. This means that if you use subnet-based VLANs, you should also configure the following:
NOTE : The policy map should be applied to each port that uses a subnet based VLAN using the service-policy input command:
Example awplus# configure terminal awplus(config)# vlan classifier rule 3 ipv4 3.3.3.3/8 vlan 5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
435
VLAN C OMMANDS
VLAN CLASSIFIER RULE PROTO
vlan classifier rule proto
Overview Use this command to create a protocol type-based VLAN classifier rule, and map it to a specific VLAN. See the published IANA EtherType IEEE 802 numbers here: www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.txt
.
Instead of a protocol name the decimal value of the protocol's EtherType can be entered. The EtherType field is a two-octet field in an Ethernet frame. It is used to show which protocol is encapsulated in the payload of the Ethernet frame. Note that EtherTypes in the IANA 802 numbers are given as hexadecimal values.
The no variant of this command removes a previously set rule.
Syntax vlan classifier rule <1-256> proto < protocol > encap
{ethv2|nosnapllc|snapllc} vlan <1-4094> no vlan classifier rule < 1-256 >
Parameter
<1-256> proto
<protocol>
Description
VLAN Classifier identifier
Protocol type
Specify a protocol either by its decimal number (0-65535) or by one of the following protocol names:
[arp|2054] Address Resolution protocol
[atalkaarp|33011]
[atalkddp|32923]
[atmmulti|34892]
Appletalk AARP protocol
Appletalk DDP protocol
MultiProtocol Over ATM protocol
[atmtransport|34948] Frame-based ATM
Transport protocol
[dec|24576]
[deccustom|24582]
DEC Assigned protocol
DEC Customer use protocol
[decdiagnostics|24581] DEC Systems Comms
Arch protocol
[decdnadumpload|24577] DEC DNA Dump/Load protocol
[decdnaremoteconsole|24578] DEC DNA Remote
Console protocol
[decdnarouting|24579] DEC DNA Routing protocol
[declat|24580] DEC LAT protocol
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
436
VLAN C OMMANDS
VLAN CLASSIFIER RULE PROTO
Parameter ethv2
<1-4094>
Description
[decsyscomm|24583] DEC Systems Comms
Arch protocol
G8BPQ AX.25 protocol [g8bpqx25|2303]
[ieeeaddrtrans|2561]
[ieeepup|2560]
Xerox IEEE802.3 PUP
Address
Xerox IEEE802.3 PUP protocol
[ip|2048]
[ipv6|34525]
[ipx|33079]
[netbeui|61680]
IP protocol
IPv6 protocol
IPX protocol
[netbeui|61681]
IBM NETBIOS/NETBEUI protocol
IBM NETBIOS/NETBEUI protocol
[pppdiscovery|34915]
[pppsession|34916]
[rarp|32821]
PPPoE discovery protocol
PPPoE session protocol
Reverse Address
Resolution protocol
[x25|2056]
[xeroxaddrtrans|513]
CCITT.25 protocol
Xerox PUP Address
Translation protocol
[xeroxpup|512]
Ethernet Version 2 encapsulation
Xerox PUP protocol
Specify a VLAN ID to which an untagged packet is mapped in the range <1-4094>
Mode Global Configuration
Usage If the protocol type matches the protocol specified in the VLAN classifier rule, the received packets are mapped to the specified VLAN. Ethernet Frame Numbers may be entered in place of the protocol names listed. For a full list please refer to the
IANA list online:
www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.txt
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
437
VLAN C OMMANDS
VLAN CLASSIFIER RULE PROTO
Example awplus# configure terminal awplus(config)# vlan classifier rule 1 proto x25 encap ethv2 vlan 2 awplus(config)# vlan classifier rule 2 proto 512 encap ethv2 vlan 2 awplus(config)# vlan classifier rule 3 proto 2056 encap ethv2 vlan 2 awplus(config)# vlan classifier rule 4 proto 2054 encap ethv2 vlan 2
Validation
Output awplus# show vlan classifier rule
vlan classifier rule 16 proto rarp encap ethv2 vlan 2
vlan classifier rule 8 proto encap ethv2 vlan 2
vlan classifier rule 4 proto arp encap ethv2 vlan 2 vlan classifier rule 3 proto xeroxpup encap ethv2 vlan 2 vlan classifier rule 2 proto ip encap ethv2 vlan 2 vlan classifier rule 1 proto ipv6 encap ethv2 vlan 2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
438
VLAN C OMMANDS
VLAN DATABASE
vlan database
Overview Use this command to enter the VLAN Configuration mode.
Syntax vlan database
Mode Global Configuration
Usage Use this command to enter the VLAN configuration mode. You can then add or delete a VLAN, or modify its values.
Example In the following example, note the change to VLAN configuration mode from
Configure mode: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)#
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
439
VLAN C OMMANDS
VLAN FILTER
vlan filter
Overview Use this command to apply a VLAN access-map to a list of VLANs. The switch uses the ACLs in the access-map to filter traffic ingressing those VLANs.
See the ACL Feature Overview and Configuration Guide for more information, including information about the number of rules consumed by per-VLAN ACLs, and ACL processing order.
Use the no variant of this command to to remove the access-map filter from the listed VLANs.
Syntax vlan filter < access-map-name > vlan-list < vid > input no vlan filter < access-map-name > vlan-list < vid > input
Parameter
<access-map-name> vlan-list < vid > input
Description
The name of the VLAN access-map to apply to the specified list of VLANs
The list of VLANs to filter. You can specify a single VLAN
(e.g. 49), a comma-separated list of VLANs (e.g. 49, 51), a hyphenated range of VLANs (e.g. 49-51), or a combination
(e.g. 49,51-53)
Apply the filter to ingress traffic
Default By default, no VLAN filters exist.
Mode Global Configuration
Example To apply ACL 3001 to VLAN 48, where the ACL drops IP traffic from any source to any destination, use the commands: awplus# configure terminal awplus(config)# access-list 3001 deny ip any any awplus(config)# vlan access-map deny_all awplus(config-vlan-access-map)# match access-group 3001 awplus(config-vlan-access-map)# exit awplus(config)# vlan filter deny_all vlan-list 48 input
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
440
15
Spanning Tree
Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
RSTP, STP or MSTP. For information about spanning trees, including configuration procedures, see the STP Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ clear spanning-tree statistics ” on page 443
“ clear spanning-tree detected protocols (RSTP and MSTP) ” on page 444
“ debug mstp (RSTP and STP) ” on page 445
“ instance priority (MSTP) ” on page 449
“ instance vlan (MSTP) ” on page 451
“ revision (MSTP) ” on page 454
“ show debugging mstp ” on page 455
“ show spanning-tree ” on page 456
“ show spanning-tree brief ” on page 459
“ show spanning-tree mst ” on page 460
“ show spanning-tree mst config ” on page 461
“ show spanning-tree mst detail ” on page 462
“ show spanning-tree mst detail interface ” on page 464
“ show spanning-tree mst instance ” on page 466
“ show spanning-tree mst instance interface ” on page 467
show spanning-tree mst interface
show spanning-tree mst detail interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
441
S PANNING T REE C OMMANDS
C613-50135-01 Rev A
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ show spanning-tree statistics instance ” on page 473
“ show spanning-tree statistics instance interface ” on page 474
“ show spanning-tree statistics interface ” on page 476
“ show spanning-tree vlan range-index ” on page 478
“ spanning-tree autoedge (RSTP and MSTP) ” on page 479
“ spanning-tree bpdu ” on page 480
“ spanning-tree cisco-interoperability (MSTP) ” on page 482
“ spanning-tree edgeport (RSTP and MSTP) ” on page 483
“ spanning-tree enable ” on page 484
“ spanning-tree errdisable-timeout enable ” on page 486
“ spanning-tree errdisable-timeout interval ” on page 487
“ spanning-tree force-version ” on page 488
“ spanning-tree forward-time ” on page 489
“ spanning-tree guard root ” on page 490
“ spanning-tree hello-time ” on page 491
“ spanning-tree link-type ” on page 492
“ spanning-tree max-age ” on page 493
“ spanning-tree max-hops (MSTP) ” on page 494
“ spanning-tree mode ” on page 495
“ spanning-tree mst configuration ” on page 496
“ spanning-tree mst instance ” on page 497
“ spanning-tree mst instance path-cost ” on page 498
“ spanning-tree mst instance priority ” on page 500
“ spanning-tree mst instance restricted-role ” on page 501
“ spanning-tree mst instance restricted-tcn ” on page 503
“ spanning-tree path-cost ” on page 504
“ spanning-tree portfast (STP) ” on page 505
“ spanning-tree portfast bpdu-filter ” on page 507
“ spanning-tree portfast bpdu-guard ” on page 509
“ spanning-tree priority (bridge priority) ” on page 511
“ spanning-tree priority (port priority) ” on page 512
“ spanning-tree restricted-role ” on page 513
“ spanning-tree restricted-tcn ” on page 514
“ spanning-tree transmit-holdcount ” on page 515
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
442
S PANNING T REE C OMMANDS
CLEAR SPANNING TREE STATISTICS
clear spanning-tree statistics
Overview Use this command to clear all the STP BPDU (Bridge Protocol Data Unit) statistics.
Syntax clear spanning-tree statistics clear spanning-tree statistics [instance < mstp-instance >] clear spanning-tree statistics [interface < port > [instance
< mstp-instance >]]
Parameter
< port >
< mstp- instance >
Description
The port to clear STP BPDU statistics for. The port may be a switch port (e.g. port1.0.4
), a static channel group (e.g. sa2 ), or a dynamic (LACP) channel group (e.g. po2 ).
The MSTP instance (MSTI - Multiple Spanning Tree Instance) to clear
MSTP BPDU statistics.
Mode User Exec and Privileged Exec
Usage Use this command with the instance parameter in MSTP mode. Specifying this command with the interface parameter only not the instance parameter will work in STP and RSTP mode.
Examples awplus# clear spanning-tree statistics awplus# clear spanning-tree statistics instance 1 awplus# clear spanning-tree statistics interface port1.0.2
awplus# clear spanning-tree statistics interface port1.0.2 instance 1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
443
S PANNING T REE C OMMANDS
CLEAR SPANNING TREE DETECTED PROTOCOLS (RSTP AND MSTP)
clear spanning-tree detected protocols
(RSTP and MSTP)
Overview Use this command to clear the detected protocols for a specific port, or all ports.
Use this command in RSTP or MSTP mode only.
Syntax clear spanning-tree detected protocols [interface < port >]
Parameter
< port >
Description
The port to clear detected protocols for. The port may be a switch port (e.g. port1.0.4
), a static channel group (e.g. sa2 ), or a dynamic (LACP) channel group (e.g. po2 ).
Mode Privileged Exec
Example awplus# clear spanning-tree detected protocols
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
444
S PANNING T REE C OMMANDS
DEBUG MSTP (RSTP AND STP)
debug mstp (RSTP and STP)
Overview Use this command to enable debugging for the configured spanning tree mode, and echo data to the console, at various levels. Note that although this command uses the keyword mstp it displays debugging output for RSTP and STP protocols as well the MSTP protocol.
Use the no variant of this command to disable spanning tree debugging.
Syntax debug mstp {all|cli|protocol [detail]|timer [detail]} debug mstp {packet {rx|tx} [decode] [interface < interface >]} debug mstp {topology-change [interface < interface >]} no debug mstp {all|cli|protocol [detail]|timer [detail]} no debug mstp {packet {rx|tx} [decode] [interface < interface >]} no debug mstp {topology-change [interface < interface >]}
Parameter all cli packet rx tx protocol timer detail decode topology-change interface
< interface >
Description
Echoes all spanning tree debugging levels to the console.
Echoes spanning tree commands to the console.
Echoes spanning tree packets to the console.
Received packets.
Transmitted packets.
Echoes protocol changes to the console.
Echoes timer information to the console.
Detailed output.
Interprets packet contents
Interprets topology change messages
Keyword before <interface> placeholder to specify an interface to debug
Placeholder used to specify the name of the interface to debug.
Mode Privileged Exec and Global Configuration mode
Usage 1 Use the debug mstp topology-change interface command to generate debugging messages when the device receives an indication of a topology change in a BPDU from another device. The debugging can be activated on a per-port basis. Although this command uses the keyword mstp , it displays debugging output for RSTP and STP protocols as well as the MSTP protocol.
Due to the likely volume of output, these debug messages are best viewed using the
terminal monitor command before issuing the relevant
debug mstp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
445
S PANNING T REE C OMMANDS
DEBUG MSTP (RSTP AND STP) command. The default terminal monitor filter will select and display these messages. Alternatively, the messages can be directed to any of the other log
outputs by adding a filter for the MSTP application using log buffered (filter) command:
awplus# configure terminal awplus(config)# log buffered program mstp
Output 1 awplus#terminal monitor awplus#debug mstp topology-change interface port1.0.4
10:09:09 awplus MSTP[1409]: Topology change rcvd on port1.0.4 (internal)
10:09:09 awplus MSTP[1409]: Topology change rcvd on MSTI 1 port1.0.4
aawplus#debug mstp topology-change interface port1.0.6
10:09:29 awplus MSTP[1409]: Topology change rcvd on port1.0.6 (external)
10:09:29 awplus MSTP[1409]: Topology change rcvd on MSTI 1 port1.0.6
Usage 2 Use the debug mstp packet rx|tx decode interface command to generate debugging messages containing the entire contents of a BPDU displayed in readable text for transmitted and received xSTP BPDUs. The debugging can be activated on a per-port basis and transmit and receive debugging is controlled independently. Although this command uses the keyword mstp , it displays debugging output for RSTP and STP protocols as well as the MSTP protocol.
Due to the likely volume of output, these debug messages are best viewed using the
terminal monitor command before issuing the relevant
debug mstp command. The default terminal monitor filter will select and display these messages. Alternatively, the messages can be directed to any of the other log outputs by adding a filter for the MSTP application using the
log buffered (filter) command:
awplus(config)# log buffered program mstp
Output 2 In MSTP mode - an MSTP BPDU with 1 MSTI:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
446
S PANNING T REE C OMMANDS
DEBUG MSTP (RSTP AND STP) awplus#terminal monitor awplus#debug mstp packet rx decode interface port1.0.4
17:23:42 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - start
17:23:42 awplus MSTP[1417]: Protocol version: MSTP, BPDU type: RST
17:23:42 awplus MSTP[1417]: CIST Flags: Agree Forward Learn role=Desig
17:23:42 awplus MSTP[1417]: CIST root id : 0000:0000cd1000fe
17:23:42 awplus MSTP[1417]: CIST ext pathcost : 0
17:23:42 awplus MSTP[1417]: CIST reg root id : 0000:0000cd1000fe
17:23:42 awplus MSTP[1417]: CIST port id : 8001 (128:1)
17:23:42 awplus MSTP[1417]: msg age: 0 max age: 20 hellotime: 2 fwd delay: 15
17:23:42 awplus MSTP[1417]: Version 3 length : 80
17:23:42 awplus MSTP[1417]: Format id : 0
17:23:42 awplus MSTP[1417]: Config name : test
17:23:42 awplus MSTP[1417]: Revision level : 0
17:23:42 awplus MSTP[1417]: Config digest : 3ab68794d602fdf43b21c0b37ac3bca8
17:23:42 awplus MSTP[1417]: CIST int pathcost : 0
17:23:42 awplus MSTP[1417]: CIST bridge id : 0000:0000cd1000fe
17:23:42 awplus MSTP[1417]: CIST hops remaining : 20
17:23:42 awplus MSTP[1417]: MSTI flags : Agree Forward Learn role=Desig
17:23:42 awplus MSTP[1417]: MSTI reg root id : 8001:0000cd1000fe
17:23:42 awplus MSTP[1417]: MSTI pathcost : 0
17:23:42 awplus MSTP[1417]: MSTI bridge priority : 32768 port priority : 128
17:23:42 awplus MSTP[1417]: MSTI hops remaining : 20
17:23:42 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - finish
In STP mode transmitting a TCN BPDU: awplus#terminal monitor awplus#debug mstp packet tx decode interface port1.0.4
17:28:09 awplus MSTP[1417]: port1.0.4 xSTP BPDU tx - start
17:28:09 awplus MSTP[1417]: Protocol version: STP, BPDU type: TCN
17:28:09 awplus MSTP[1417]: port1.0.4 xSTP BPDU tx - finish
In STP mode receiving an STP BPDU: awplus#terminal monitor awplus#debug mstp packet rx decode interface port1.0.4
17:31:36 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - start
17:31:36 awplus MSTP[1417]: Protocol version: STP, BPDU type: Config
17:31:36 awplus MSTP[1417]: Flags: role=none
17:31:36 awplus MSTP[1417]: Root id : 8000:0000cd1000fe
17:31:36 awplus MSTP[1417]: Root pathcost : 0
17:31:36 awplus MSTP[1417]: Bridge id : 8000:0000cd1000fe
17:31:36 awplus MSTP[1417]: Port id : 8001 (128:1)
17:31:36 awplus MSTP[1417]: msg age: 0 max age: 20 hellotime: 2 fwd delay: 15
17:31:36 awplus MSTP[1417]: ort1.0.4 xSTP BPDU rx - finish
In RSTP mode receiving an RSTP BPDU:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
447
S PANNING T REE C OMMANDS
DEBUG MSTP (RSTP AND STP) awplus#terminal monitor awplus#debug mstp packet rx decode interface port1.0.4
awplus#17:30:17 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - start
17:30:17 awplus MSTP[1417]: Protocol version: RSTP, BPDU type: RST
17:30:17 awplus MSTP[1417]: CIST Flags: Forward Learn role=Desig
17:30:17 awplus MSTP[1417]: CIST root id : 8000:0000cd1000fe
17:30:17 awplus MSTP[1417]: CIST ext pathcost : 0
17:30:17 awplus MSTP[1417]: CIST reg root id : 8000:0000cd1000fe
17:30:17 awplus MSTP[1417]: CIST port id : 8001 (128:1)
17:30:17 awplus MSTP[1417]: msg age: 0 max age: 20 hellotime: 2 fwd delay: 15
17:30:17 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - finish
Examples awplus# debug mstp all awplus# debug mstp cli awplus# debug mstp packet rx awplus# debug mstp protocol detail awplus# debug mstp timer awplus# debug mstp packet rx decode interface port1.0.2
awplus# debug mstp packet tx decode interface port1.0.6
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
448
S PANNING T REE C OMMANDS
INSTANCE PRIORITY (MSTP)
instance priority (MSTP)
Overview Use this command to set the priority for this device to become the root bridge for the specified MSTI (Multiple Spanning Tree Instance).
Use this command for MSTP only.
Use the no variant of this command to restore the root bridge priority of the device for the instance to the default.
Syntax instance < instance-id > priority < priority > no instance < instance-id > priority
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
<priority> Specify the root bridge priority for the device for the MSTI in the range <0-61440> . Note that a lower priority number indicates a greater likelihood of the device becoming the root bridge. The priority values can be set only in increments of 4096. If you specify a number that is not a multiple of 4096, it will be rounded down. The default priority is 32768.
Default The default priority value for all instances is 32768.
Mode MST Configuration
Usage MSTP lets you distribute traffic more efficiently across a network by blocking different links for different VLANs. You do this by making different devices into the root bridge for each MSTP instance, so that each instance blocks a different link.
If all devices have the same root bridge priority for the instance, MSTP selects the device with the lowest MAC address to be the root bridge. Give the device a higher priority for becoming the root bridge for a particular instance by assigning it a lower priority number, or vice versa.
Examples To set the root bridge priority for MSTP instance 2 to be the highest (0), so that it will be the root bridge for this instance when available, use the commands: awplus# configure terminal awplus(config)# spanning-tree mst configuration awplus(config-mst)# instance 2 priority 0
To reset the root bridge priority for instance 2 to the default (32768), use the commands: awplus# configure terminal awplus(config)# spanning-tree mst configuration awplus(config-mst)# no instance 2 priority
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
449
S PANNING T REE C OMMANDS
INSTANCE PRIORITY (MSTP)
Related
Commands
spanning-tree mst instance priority
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
450
S PANNING T REE C OMMANDS
INSTANCE VLAN (MSTP)
instance vlan (MSTP)
Overview Use this command to create an MST Instance (MSTI), and associate the specified
VLANs with it. An MSTI is a spanning tree instance that exists within an MST region
(MSTR).
When a VLAN is associated with an MSTI the member ports of the VLAN are automatically configured to send and receive spanning-tree information for the associated MSTI. You can disable this automatic configuration of member ports of the VLAN to the associated MSTI by using a no spanning-tree mst instance command to remove the member port from the MSTI.
Use the instance vlan command for MSTP only.
Use the no variant of this command to remove the specified VLANs from the MSTI.
Syntax instance < instance-id > vlan < vid-list > no instance < instance-id > vlan < vid-list >
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
<vid-list> Specify one or more VLAN identifiers (VID) to be associated with the MSTI specified. This can be a single VID in the range 1-4094, or a hyphen-separated range or a comma-separated list of VLAN
IDs.
Mode MST Configuration
Usage The VLANs must be created before being associated with an MST instance (MSTI).
If the VLAN range is not specified, the MSTI will not be created.
This command removes the specified VLANs from the CIST and adds them to the specified MSTI. If you use the no variant of this command to remove the VLAN from the MSTI, it returns it to the CIST. To move a VLAN from one MSTI to another, you must first use the no variant of this command to return it to the CIST.
Ports in these VLANs will remain in the control of the CIST until you associate the ports with the MSTI using the
spanning-tree mst instance command.
Example To associate VLAN 30 with MSTI 2, use the commands: awplus# configure terminal awplus(config)# spanning-tree mode mstp awplus(config)# spanning-tree mst configuration awplus(config-mst)# instance 2 vlan 30
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
451
S PANNING T REE C OMMANDS
INSTANCE VLAN (MSTP)
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
452
S PANNING T REE C OMMANDS
REGION (MSTP)
region (MSTP)
Overview Use this command to assign a name to the device’s MST Region. MST Instances
(MSTI) of a region form different spanning trees for different VLANs.
Use this command for MSTP only.
Use the no variant of this command to remove this region name and reset it to the default.
Syntax region < region-name > no region
Parameter Description
< region-name > Specify the name of the region, up to 32 characters. Valid characters are upper-case, lower-case, digits, underscore.
Default By default, the region name is My Name.
Mode MST Configuration
Usage The region name, the revision number, and the digest of the VLAN to MSTI configuration table must be the same on all devices that are intended to be in the same MST region.
Example awplus# configure terminal awplus(config)# spanning-tree mst configuration awplus(config-mst)# region ATL
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
453
S PANNING T REE C OMMANDS
REVISION (MSTP)
revision (MSTP)
Overview Use this command to specify the MST revision number to be used in the configuration identifier.
Use this command for MSTP only.
Syntax revision < revision-number >
Parameter Description
< revision-number > <0-65535> Revision number.
Default The default of revision number is 0.
Mode MST Configuration
Usage The region name, the revision number, and the digest of the VLAN to MSTI configuration table must be the same on all devices that are intended to be in the same MST region.
Example awplus# configure terminal awplus(config)# spanning-tree mst configuration awplus(config-mst)# revision 25
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
454
S PANNING T REE C OMMANDS
SHOW DEBUGGING MSTP
show debugging mstp
Overview Use this command to show the MSTP debugging options set.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging mstp
Mode User Exec and Privileged Exec mode
Example To display the MSTP debugging options set, enter the command: awplus# show debugging mstp
Output Figure 15-1: Example output from show debugging mstp
MSTP debugging status:
MSTP receiving packet debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
455
S PANNING T REE C OMMANDS
SHOW SPANNING TREE
show spanning-tree
Overview Use this command to display detailed spanning tree information on the specified port or on all ports. Use this command for RSTP, MSTP or STP.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree [interface < port-list >]
Parameter Description interface Display information about the following port only.
< port-list > The ports to display information about. A port-list can be:
• a switch port (e.g. port1.0.6) a static channel group (e.g. sa2) or a dynamic (LACP) channel group (e.g. po2)
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-1.0.4, or sa1-2, or po1-2
• a comma-separated list of ports and port ranges, e.g. port1.0.1,port1.0.4-1.0.6. Do not mix switch ports, static channel groups, and dynamic (LACP) channel groups in the same list
Mode User Exec and Privileged Exec
Usage Note that any list of interfaces specified must not span any interfaces that are not installed.
A topology change counter has been included for RSTP and MSTP. You can see the topology change counter for RSTP by using the show spanning-tree command.
You can see the topology change counter for MSTP by using the show spanning-tree mst instance command.
Example To display spanning tree information about port1.0.3, use the command: awplus# show spanning-tree interface port1.0.3
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
456
S PANNING T REE C OMMANDS
SHOW SPANNING TREE
Output Figure 15-2: Example output from show spanning-tree in RSTP mode awplus#show spanning-tree
% 1: Bridge up - Spanning Tree Enabled
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20
% 1: Root Id 80000000cd24ff2d
% 1: Bridge Id 80000000cd24ff2d
% 1: last topology change Mon Oct 3 02:06:26 2016
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.1: Port 5001 - Id 8389 - Role Disabled - State Discarding
% port1.0.1: Designated Path Cost 0
% port1.0.1: Configured Path Cost 20000000 - Add type Explicit ref count 1
% port1.0.1: Designated Port Id 8389 - Priority 128
% port1.0.1: Root 80000000cd24ff2d
% port1.0.1: Designated Bridge 80000000cd24ff2d
% port1.0.1: Message Age 0 - Max Age 20
% port1.0.1: Hello Time 2 - Forward Delay 15
% port1.0.1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% port1.0.1: forward-transitions 0
% port1.0.1: Version Rapid Spanning Tree Protocol - Received None - Send STP
% port1.0.1: No portfast configured - Current portfast off
% port1.0.1: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.1: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.1: no root guard configured - Current root guard off
% port1.0.1: Configured Link Type point-to-point - Current shared
%
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated Path Cost 0
% port1.0.2: Configured Path Cost 20000000 - Add type Explicit ref count 1
% port1.0.2: Designated Port Id 838a - Priority 128
% port1.0.2: Root 80000000cd24ff2d
% port1.0.2: Designated Bridge 80000000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 20
% port1.0.2: Hello Time 2 - Forward Delay 15
% port1.0.2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% port1.0.2: forward-transitions 0
% port1.0.2: Version Rapid Spanning Tree Protocol - Received None - Send STP
% port1.0.2: No portfast configured - Current portfast off
% port1.0.2: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.2: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.2: no root guard configured - Current root guard off
% port1.0.2: Configured Link Type point-to-point - Current shared
Output Figure 15-3: Example output from show spanning-tree
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
457
S PANNING T REE C OMMANDS
SHOW SPANNING TREE
% 1: Bridge up - Spanning Tree Enabled
% 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20
% 1: Root Id 80000000cd20f093
% 1: Bridge Id 80000000cd20f093
% 1: last topology change Mon Oct 3 02:06:26 2016
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.3: Port 5023 - Id 839f - Role Designated - State Forwarding
% port1.0.3: Designated Path Cost 0
% port1.0.3: Configured Path Cost 200000 - Add type Explicit ref count 1
% port1.0.3: Designated Port Id 839f - Priority 128
% port1.0.3: Root 80000000cd20f093
% port1.0.3: Designated Bridge 80000000cd20f093
% port1.0.3: Message Age 0 - Max Age 20
% port1.0.3: Hello Time 2 - Forward Delay 15
% port1.0.3: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% port1.0.3: forward-transitions 32
% port1.0.3: Version Rapid Spanning Tree Protocol - Received None - Send RSTP
% port1.0.3: No portfast configured - Current portfast off
% port1.0.3: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.3: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.3: no root guard configured - Current root guard off
% port1.0.3: Configured Link Type point-to-point - Current point-to-point
...
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
458
S PANNING T REE C OMMANDS
SHOW SPANNING TREE BRIEF
show spanning-tree brief
Overview Use this command to display a summary of spanning tree status information on all ports. Use this command for RSTP, MSTP or STP.
Syntax show spanning-tree brief
Parameter brief
Description
A brief summary of spanning tree information.
Mode User Exec and Privileged Exec
Usage Note that any list of interfaces specified must not span any interfaces that are not installed.
A topology change counter has been included for RSTP and MSTP. You can see the topology change counter for RSTP by using the show spanning-tree command.
You can see the topology change counter for MSTP by using the show spanning-tree mst instance command.
Example To display a summary of spanning tree status information, use the command: awplus# show spanning-tree brief
Output Figure 15-4: Example output from show spanning-tree brief
Default: Bridge up - Spanning Tree Enabled
Default: Root Path Cost 40000 - Root Port 4501 - Bridge Priority 32768
Default: Root Id 8000:0000cd250001
Default: Bridge Id 8000:0000cd296eb1
Port Designated Bridge Port Id Role State sa1 8000:001577c9744b 8195 Rootport Forwarding po1 8000:0000cd296eb1 81f9 Designated Forwarding port1.0.1 8000:0000cd296eb1 8389 Disabled Discarding port1.0.2 8000:0000cd296eb1 838a Disabled Discarding port1.0.3 8000:0000cd296eb1 838b Disabled Discarding
...
Related
Commands
459 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST
show spanning-tree mst
Overview This command displays bridge-level information about the CIST and VLAN to MSTI mappings.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst
Mode User Exec, Privileged Exec and Interface Configuration
Example To display bridge-level information about the CIST and VLAN to MSTI mappings, enter the command: awplus# show spanning-tree mst
Output Figure 15-5: Example output from show spanning-tree mst
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge
Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 8000000475e93ffe
% 1: CIST Reg Root Id 8000000475e93ffe
% 1: CST Bridge Id 8000000475e93ffe
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
%
% Instance VLAN
% 0: 1
% 2: 4
Related
Commands
show spanning-tree mst interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
460
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST CONFIG
show spanning-tree mst config
Overview Use this command to display MSTP configuration identifier for the device.
Syntax show spanning-tree mst config
Mode User Exec, Privileged Exec and Interface Configuration
Usage The region name, the revision number, and the digest of the VLAN to MSTI configuration table must be the same on all devices that are intended to be in the same MST region.
Example To display MSTP configuration identifier information, enter the command: awplus# show spanning-tree mst config
Output Figure 15-6: Example output from show spanning-tree mst config awplus#show spanning-tree mst config
%
% MSTP Configuration Information:
%-----------------------------------------------------
% Format Id : 0
% Name : My Name
% Revision Level : 0
% Digest : 0x80DEE46DA92A98CF21C603291B22880A
%------------------------------------------------------
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
461
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST DETAIL
show spanning-tree mst detail
Overview This command displays detailed information about each instance, and all interfaces associated with that particular instance.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst detail
Mode User Exec, Privileged Exec and Interface Configuration
Example To display detailed information about each instance, and all interfaces associated with them, enter the command: awplus# show spanning-tree mst detail
Output Figure 15-7: Example output from show spanning-tree mst detail
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd24ff2d
% 1: CIST Reg Root Id 80000000cd24ff2d
% 1: CIST Bridge Id 80000000cd24ff2d
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.1: Port 5001 - Id 8389 - Role Disabled - State Discarding
% port1.0.1: Designated External Path Cost 0 -Internal Path Cost 0
% port1.0.1: Configured Path Cost 20000000 - Add type Explicit ref count 1
% port1.0.1: Designated Port Id 8389 - CIST Priority 128
% port1.0.1: CIST Root 80000000cd24ff2d
% port1.0.1: Regional Root 80000000cd24ff2d
% port1.0.1: Designated Bridge 80000000cd24ff2d
% port1.0.1: Message Age 0 - Max Age 20
% port1.0.1: CIST Hello Time 2 - Forward Delay 15
% port1.0.1: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
...
% port1.0.2: forward-transitions 0
% port1.0.2: Version Multiple Spanning Tree Protocol - Received None - Send STP
% port1.0.2: No portfast configured - Current portfast off
% port1.0.2: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.2: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.2: no root guard configured - Current root guard off
% port1.0.2: Configured Link Type point-to-point - Current shared
%
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
462
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST DETAIL
% port1.0.3: Port 5003 - Id 838b - Role Disabled - State Discarding
% port1.0.3: Designated External Path Cost 0 -Internal Path Cost 0
% port1.0.3: Configured Path Cost 20000000 - Add type Explicit ref count 1
% port1.0.3: Designated Port Id 838b - CIST Priority 128
% port1.0.3: CIST Root 80000000cd24ff2d
% port1.0.3: Regional Root 80000000cd24ff2d
% port1.0.3: Designated Bridge 80000000cd24ff2d
% port1.0.3: Message Age 0 - Max Age 20
% port1.0.3: CIST Hello Time 2 - Forward Delay 15
% port1.0.3: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% port1.0.3: forward-transitions 0
% port1.0.3: Version Multiple Spanning Tree Protocol - Received None - Send STP
% port1.0.3: No portfast configured - Current portfast off
% port1.0.3: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.3: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.3: no root guard configured - Current root guard off
% port1.0.3: Configured Link Type point-to-point - Current shared
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
463
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST DETAIL INTERFACE
show spanning-tree mst detail interface
Overview This command displays detailed information about the specified switch port, and the MST instances associated with it.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst detail interface < port >
Parameter
< port >
Description
The port to display information about. The port may be a switch port
(e.g. port1.0.4
), a static channel group (e.g. sa2) , or a dynamic
(LACP) channel group (e.g. po2 ).
Mode User Exec, Privileged Exec and Interface Configuration
Example To display detailed information about port1.0.3
and the instances associated with it, enter the command: awplus# show spanning-tree mst detail interface port1.0.3
Output Figure 15-8: Example output from show spanning-tree mst detail interface
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd24ff2d
% 1: CIST Reg Root Id 80000000cd24ff2d
% 1: CIST Bridge Id 80000000cd24ff2d
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated External Path Cost 0 -Internal Path Cost 0
% port1.0.2: Configured Path Cost 20000000 - Add type Explicit ref count 2
% port1.0.2: Designated Port Id 838a - CIST Priority 128
% port1.0.2: CIST Root 80000000cd24ff2d
% port1.0.2: Regional Root 80000000cd24ff2d
% port1.0.2: Designated Bridge 80000000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 20
% port1.0.2: CIST Hello Time 2 - Forward Delay 15
% port1.0.2: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% port1.0.2: forward-transitions 0
% port1.0.2: Version Multiple Spanning Tree Protocol - Received None - Send STP
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
464
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST DETAIL INTERFACE
% port1.0.2: No portfast configured - Current portfast off
% port1.0.2: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.2: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.2: no root guard configured - Current root guard off
% port1.0.2: Configured Link Type point-to-point - Current shared
%
% Instance 2: Vlans: 2
% 1: MSTI Root Path Cost 0 -MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 80020000cd24ff2d
% 1: MSTI Bridge Id 80020000cd24ff2d
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated Internal Path Cost 0 - Designated Port Id 838a
% port1.0.2: Configured Internal Path Cost 20000000
% port1.0.2: Configured CST External Path cost 20000000
% port1.0.2: CST Priority 128 - MSTI Priority 128
% port1.0.2: Designated Root 80020000cd24ff2d
% port1.0.2: Designated Bridge 80020000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 0
% port1.0.2: Hello Time 2 - Forward Delay 15
% port1.0.2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
465
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST INSTANCE
show spanning-tree mst instance
Overview This command displays detailed information for the specified instance, and all switch ports associated with that instance.
A topology change counter has been included for RSTP and MSTP. You can see the
topology change counter for RSTP by using the show spanning-tree
command.
You can see the topology change counter for MSTP by using the show spanning-tree mst instance command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst instance < instance-id >
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
Mode User Exec, Privileged Exec, and Interface Configuration
Example To display detailed information for instance 2 , and all switch ports associated with that instance, use the command: awplus# show spanning-tree mst instance 2
Output Figure 15-9: Example output from show spanning-tree mst instance
% 1: MSTI Root Path Cost 0 - MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 80020000cd24ff2d
% 1: MSTI Bridge Id 80020000cd24ff2d
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated Internal Path Cost 0 - Designated Port Id 838a
% port1.0.2: Configured Internal Path Cost 20000000
% port1.0.2: Configured CST External Path cost 20000000
% port1.0.2: CST Priority 128 - MSTI Priority 128
% port1.0.2: Designated Root 80020000cd24ff2d
% port1.0.2: Designated Bridge 80020000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 0
% port1.0.2: Hello Time 2 - Forward Delay 15
% port1.0.2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
%
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
466
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST INSTANCE INTERFACE
show spanning-tree mst instance interface
Overview This command displays detailed information for the specified MST (Multiple
Spanning Tree) instance, and the specified switch port associated with that MST instance.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst instance < instance-id > interface < port >
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
< port > The port to display information about. The port may be a switch port (e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic
(LACP) channel group (e.g. po2).
Mode User Exec, Privileged Exec, and Interface Configuration
Example To display detailed information for instance 2, interface port1.0.2, use the command: awplus# show spanning-tree mst instance 2 interface port1.0.2
Output Figure 15-10: Example output from show spanning-tree mst instance
% 1: MSTI Root Path Cost 0 - MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 80020000cd24ff2d
% 1: MSTI Bridge Id 80020000cd24ff2d
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated Internal Path Cost 0 - Designated Port Id 838a
% port1.0.2: Configured Internal Path Cost 20000000
% port1.0.2: Configured CST External Path cost 20000000
% port1.0.2: CST Priority 128 - MSTI Priority 128
% port1.0.2: Designated Root 80020000cd24ff2d
% port1.0.2: Designated Bridge 80020000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 0
% port1.0.2: Hello Time 2 - Forward Delay 15
% port1.0.2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
%
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
467
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST INTERFACE
show spanning-tree mst interface
Overview This command displays the number of instances created, and VLANs associated with it for the specified switch port.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst interface < port >
Parameter
< port >
Description
The port to display information about. The port may be a switch port
(e.g. port1.0.4
), a static channel group (e.g. sa2 ), or a dynamic
(LACP) channel group (e.g. po2 ).
Mode User Exec, Privileged Exec, and Interface Configuration
Example To display detailed information about each instance, and all interfaces associated with them, for port1.0.4
, use the command: awplus# show spanning-tree mst interface port1.0.4
Output Figure 15-11: Example output from show spanning-tree mst interface
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000008c73a2b22
% 1: CIST Reg Root Id 80000008c73a2b22
% 1: CST Bridge Id 80000008c73a2b22
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 1 sec
%
% Instance VLAN
% 0: 1
% 1: 2-3
% 2: 4-5
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
468
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST DETAIL INTERFACE
show spanning-tree mst detail interface
Overview This command displays detailed information about the specified switch port, and the MST instances associated with it.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree mst detail interface < port >
Parameter
< port >
Description
The port to display information about. The port may be a switch port
(e.g. port1.0.4
), a static channel group (e.g. sa2) , or a dynamic
(LACP) channel group (e.g. po2 ).
Mode User Exec, Privileged Exec and Interface Configuration
Example To display detailed information about port1.0.3
and the instances associated with it, enter the command: awplus# show spanning-tree mst detail interface port1.0.3
Output Figure 15-12: Example output from show spanning-tree mst detail interface
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd24ff2d
% 1: CIST Reg Root Id 80000000cd24ff2d
% 1: CIST Bridge Id 80000000cd24ff2d
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated External Path Cost 0 -Internal Path Cost 0
% port1.0.2: Configured Path Cost 20000000 - Add type Explicit ref count 2
% port1.0.2: Designated Port Id 838a - CIST Priority 128
% port1.0.2: CIST Root 80000000cd24ff2d
% port1.0.2: Regional Root 80000000cd24ff2d
% port1.0.2: Designated Bridge 80000000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 20
% port1.0.2: CIST Hello Time 2 - Forward Delay 15
% port1.0.2: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo change timer 0
% port1.0.2: forward-transitions 0
% port1.0.2: Version Multiple Spanning Tree Protocol - Received None - Send STP
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
469
S PANNING T REE C OMMANDS
SHOW SPANNING TREE MST DETAIL INTERFACE
% port1.0.2: No portfast configured - Current portfast off
% port1.0.2: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.2: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.2: no root guard configured - Current root guard off
% port1.0.2: Configured Link Type point-to-point - Current shared
%
% Instance 2: Vlans: 2
% 1: MSTI Root Path Cost 0 -MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 80020000cd24ff2d
% 1: MSTI Bridge Id 80020000cd24ff2d
% port1.0.2: Port 5002 - Id 838a - Role Disabled - State Discarding
% port1.0.2: Designated Internal Path Cost 0 - Designated Port Id 838a
% port1.0.2: Configured Internal Path Cost 20000000
% port1.0.2: Configured CST External Path cost 20000000
% port1.0.2: CST Priority 128 - MSTI Priority 128
% port1.0.2: Designated Root 80020000cd24ff2d
% port1.0.2: Designated Bridge 80020000cd24ff2d
% port1.0.2: Message Age 0 - Max Age 0
% port1.0.2: Hello Time 2 - Forward Delay 15
% port1.0.2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
470
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS
show spanning-tree statistics
Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for all spanning-tree instances, and all switch ports associated with all spanning-tree instances.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree statistics
Mode Privileged Exec
Usage To display BPDU statistics for all spanning-tree instances, and all switch ports associated with all spanning-tree instances, use the command: awplus# show spanning-tree statistics
Output Figure 15-13: Example output from show spanning-tree statistics
Port number = 915 Interface = port1.0.6
================================
% BPDU Related Parameters
% ----------------------
% Port Spanning Tree : Disable
% Spanning Tree Type : Rapid Spanning Tree Protocol
% Current Port State : Discarding
% Port ID : 8393
% Port Number : 393
% Path Cost : 20000000
% Message Age : 0
% Designated Root : ec:cd:6d:20:c0:ed
% Designated Cost : 0
% Designated Bridge : ec:cd:6d:20:c0:ed
% Designated Port Id : 8393
% Top Change Ack : FALSE
% Config Pending : FALSE
% PORT Based Information & Statistics
% ----------------------------------
% Config Bpdu's xmitted : 0
% Config Bpdu's received : 0
% TCN Bpdu's xmitted : 0
% TCN Bpdu's received : 0
% Forward Trans Count : 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
471
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS
% STATUS of Port Timers
% --------------------
% Hello Time Configured : 2
% Hello timer : INACTIVE
% Hello Time Value : 0
% Forward Delay Timer : INACTIVE
% Forward Delay Timer Value : 0
% Message Age Timer : INACTIVE
% Message Age Timer Value : 0
% Topology Change Timer : INACTIVE
% Topology Change Timer Value : 0
% Hold Timer : INACTIVE
% Hold Timer Value : 0
% Other Port-Specific Info
-----------------------
% Max Age Transitions : 1
% Msg Age Expiry : 0
% Similar BPDUS Rcvd : 0
% Src Mac Count : 0
% Total Src Mac Rcvd : 0
% Next State : Learning
% Topology Change Time : 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
472
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS INSTANCE
show spanning-tree statistics instance
Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for the specified
MST (Multiple Spanning Tree) instance, and all switch ports associated with that
MST instance.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree statistics instance < instance-id >
Parameter
< instance-id >
Description
Specify an MSTP instance in the range 1-5.
Mode Privileged Exec
Example To display BPDU statistics information for MST instance 2, and all switch ports associated with that MST instance, use the command: awplus# show spanning-tree statistics instance 2
Output Figure 15-14: Example output from show spanning-tree statistics instance
% % INST_PORT port1.0.3 Information & Statistics
% ---------------------------------------
% Config Bpdu's xmitted (port/inst) : (0/0)
% Config Bpdu's received (port/inst) : (0/0)
% TCN Bpdu's xmitted (port/inst) : (0/0)
% TCN Bpdu's received (port/inst) : (0/0)
% Message Age(port/Inst) : (0/0)
% port1.0.3: Forward Transitions : 0
% Next State : Learning
% Topology Change Time : 0
...
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
473
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS INSTANCE INTERFACE
show spanning-tree statistics instance interface
Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for the specified
MST (Multiple Spanning Tree) instance and the specified switch port associated with that MST instance.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree statistics instance < instance-id > interface
< port >
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
< port > The port to display information about. The port may be a switch port (e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g. po2).
Mode Privileged Exec
Example To display BPDU statistics for MST instance 2, interface port1.0.2, use the command: awplus# show spanning-tree statistics instance 2 interface port1.0.2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
474
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS INSTANCE INTERFACE
Output Figure 15-15: Example output from show spanning-tree statistics instance interface awplus#sh spanning-tree statistics interface port1.0.2 instance 1
Spanning Tree Enabled for Instance : 1
==================================
% INST_PORT port1.0.2 Information & Statistics
% ---------------------------------------
% Config Bpdu's xmitted (port/inst) : (0/0)
% Config Bpdu's received (port/inst) : (0/0)
% TCN Bpdu's xmitted (port/inst) : (0/0)
% TCN Bpdu's received (port/inst) : (0/0)
% Message Age(port/Inst) : (0/0)
% port1.0.2: Forward Transitions : 0
% Next State : Learning
% Topology Change Time : 0
% Other Inst/Vlan Information & Statistics
% ---------------------------------------
% Bridge Priority : 0
% Bridge Mac Address : ec:cd:6d:20:c0:ed
% Topology Change Initiator : 5023
% Last Topology Change Occured : Mon Oct 3 05:42:06 2016
% Topology Change : FALSE
% Topology Change Detected : FALSE
% Topology Change Count : 1
% Topology Change Last Recvd from : 00:00:00:00:00:00
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
475
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS INTERFACE
show spanning-tree statistics interface
Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for the specified switch port, and all MST instances associated with that switch port.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show spanning-tree statistics interface < port >
Parameter
< port >
Description
The port to display information about. The port may be a switch port
(e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g. po2).
Mode Privileged Exec
Example To display BPDU statistics about each MST instance for port1.0.4, use the command: awplus# show spanning-tree statistics interface port1.0.4
Output Figure 15-16: Example output from show spanning-tree statistics interface
awplus#show spanning-tree statistics interface port1.0.2
Port number = 906 Interface = port1.0.2
================================
% BPDU Related Parameters
% ----------------------
% Port Spanning Tree : Disable
% Spanning Tree Type : Multiple Spanning Tree Protocol
% Current Port State : Discarding
% Port ID : 838a
% Port Number : 38a
% Path Cost : 20000000
% Message Age : 0
% Designated Root : ec:cd:6d:20:c0:ed
% Designated Cost : 0
% Designated Bridge : ec:cd:6d:20:c0:ed
% Designated Port Id : 838a
% Top Change Ack : FALSE
% Config Pending : FALSE
476 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S PANNING T REE C OMMANDS
SHOW SPANNING TREE STATISTICS INTERFACE
% PORT Based Information & Statistics
% ----------------------------------
% Config Bpdu's xmitted : 0
% Config Bpdu's received : 0
% TCN Bpdu's xmitted : 0
% TCN Bpdu's received : 0
% Forward Trans Count : 0
% STATUS of Port Timers
% --------------------
% Hello Time Configured : 2
% Hello timer : INACTIVE
% Hello Time Value : 0
% Forward Delay Timer : INACTIVE
% Forward Delay Timer Value : 0
% Message Age Timer : INACTIVE
% Message Age Timer Value : 0
% Topology Change Timer : INACTIVE
% Topology Change Timer Value : 0
% Hold Timer : INACTIVE
% Hold Timer Value : 0
% Other Port-Specific Info
-----------------------
% Max Age Transitions : 1
% Msg Age Expiry : 0
% Similar BPDUS Rcvd : 0
% Src Mac Count : 0
% Total Src Mac Rcvd : 0
% Next State : Learning
% Topology Change Time : 0
% Other Bridge information & Statistics
-------------------------------------
% STP Multicast Address : 01:80:c2:00:00:00
% Bridge Priority : 32768
% Bridge Mac Address : ec:cd:6d:20:c0:ed
% Bridge Hello Time : 2
% Bridge Forward Delay : 15
% Topology Change Initiator : 5023
% Last Topology Change Occured : Mon Oct 3 05:41:20 2016
% Topology Change : FALSE
% Topology Change Detected : TRUE
% Topology Change Count : 1
% Topology Change Last Recvd from : 00:00:00:00:00:00
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
477
S PANNING T REE C OMMANDS
SHOW SPANNING TREE VLAN RANGE INDEX
show spanning-tree vlan range-index
Overview Use this command to display information about MST (Multiple Spanning Tree) instances and the VLANs associated with them including the VLAN range-index value for the device.
Syntax show spanning-tree vlan range-index
Mode Privileged Exec
Example To display information about MST instances and the VLANs associated with them for the device, including the VLAN range-index value, use the following command: awplus# show spanning-tree vlan range-index
Output Figure 15-17: Example output from show spanning-tree vlan range-index awplus#show spanning-tree vlan range-index
% MST Instance VLAN RangeIdx
% 1 1 1%
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
478
S PANNING T REE C OMMANDS
SPANNING TREE AUTOEDGE (RSTP AND MSTP)
spanning-tree autoedge (RSTP and MSTP)
Overview Use this command to enable the autoedge feature on the port.
The autoedge feature allows the port to automatically detect that it is an edge port. If it does not receive any BPDUs in the first three seconds after linkup, enabling, or entering RSTP or MSTP mode, it sets itself to be an edgeport and enters the forwarding state.
Use this command for RSTP or MSTP.
Use the no variant of this command to disable this feature.
Syntax spanning-tree autoedge no spanning-tree autoedge
Default Disabled
Mode Interface Configuration
Example awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# spanning-tree autoedge
Related
Commands
spanning-tree edgeport (RSTP and MSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
479
S PANNING T REE C OMMANDS
SPANNING TREE BPDU
spanning-tree bpdu
Overview Use this command in Global Configuration mode to configure BPDU (Bridge
Protocol Data Unit) discarding or forwarding, with STP (Spanning Tree Protocol) disabled on the switch.
See the Usage note about disabling Spanning Tree before using this command, and using this command to forward unsupported BPDUs unchanged for unsupported STP Protocols.
There is not a no variant for this command. Instead, apply the discard parameter to reset it back to the default then re-enable STP with spanning-tree enable command.
Syntax spanning-tree bpdu
{discard|forward|forward-untagged-vlan|forward-vlan}
Parameter bpdu
Description
A port that has BPDU filtering enabled will not transmit any BPDUs and will ignore any BPDUs received. This port type has one of the following parameters (in Global Configuration mode): discard forward
Discards all ingress STP BPDU frames.
Forwards any ingress STP BPDU packets to all ports, regardless of any VLAN membership.
forward- untagged- vlan
Forwards any ingress STP BPDU frames to all ports that are untagged members of the ingress port’s native VLAN.
forward- vlan
Forwards any ingress STP BPDU frames to all ports that are tagged members of the ingress port’s native
VLAN.
Default The discard parameter is enabled by default.
Mode Global Configuration
Usage You must first disable Spanning Tree with the
command before you can use this command to then configure BPDU discarding or forwarding.
This command enables the switch to forward unsupported BPDUs with an unsupported Spanning Tree Protocol, such as proprietary STP protocols with unsupported BPDUs, by forwarding BDPU (Bridge Protocol Data Unit) frames unchanged through the switch.
When you want to revert to default behavior on the switch, issue a spanning-tree bdpu discard command and re-enable Spanning Tree with a s panning-tree enable command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
480
S PANNING T REE C OMMANDS
SPANNING TREE BPDU
Examples To enable STP BPDU discard in Global Configuration mode with STP disabled, which discards all ingress STP BPDU frames, enter the commands: awplus# configure terminal awplus(config)# no spanning-tree stp enable awplus(config)# spanning-tree bpdu discard
To enable STP BPDU forward in Global Configuration mode with STP disabled, which forwards any ingress STP BPDU frames to all ports regardless of any VLAN membership, enter the commands: awplus# configure terminal awplus(config)# no spanning-tree stp enable awplus(config)# spanning-tree bpdu forward
To enable STP BPDU forwarding for untagged frames in Global Configuration mode with STP disabled, which forwards any ingress STP BPDU frames to all ports that are untagged members of the ingress port’s native VLAN, enter the commands: awplus# configure terminal awplus(config)# no spanning-tree stp enable awplus(config)# spanning-tree bpdu forward-untagged-vlan
To enable STP BPDU forwarding for tagged frames in Global Configuration mode with STP disabled, which forwards any ingress STP BPDU frames to all ports that are tagged members of the ingress port’s native VLAN, enter the commands: awplus# configure terminal awplus(config)# no spanning-tree stp enable awplus(config)# spanning-tree bpdu forward-vlan
To reset STP BPDU back to the default discard parameter and re-enable STP on the switch, enter the commands: awplus# configure terminal awplus(config)# spanning-tree bpdu discard awplus(config)# spanning-tree stp enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
481
S PANNING T REE C OMMANDS
SPANNING TREE CISCO INTEROPERABILITY (MSTP)
spanning-tree cisco-interoperability (MSTP)
Overview Use this command to enable/disable Cisco-interoperability for MSTP.
Use this command for MSTP only.
Syntax spanning-tree cisco-interoperability {enable|disable}
Parameter enable disable
Description
Enable Cisco interoperability for MSTP.
Disable Cisco interoperability for MSTP.
Default If this command is not used, Cisco interoperability is disabled.
Mode Global Configuration
Usage For compatibility with certain Cisco devices, all devices in the switched LAN running the AlliedWare Plus™ Operating System must have Cisco-interoperability enabled. When the AlliedWare Plus Operating System is interoperating with Cisco, the only criteria used to classify a region are the region name and revision level.
VLAN to instance mapping is not used to classify regions when interoperating with
Cisco.
Examples To enable Cisco interoperability on a Layer 2 device: awplus# configure terminal awplus(config)# spanning-tree cisco-interoperability enable
To disable Cisco interoperability on a Layer 2 device: awplus# configure terminal awplus(config)# spanning-tree cisco-interoperability disable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
482
S PANNING T REE C OMMANDS
SPANNING TREE EDGEPORT (RSTP AND MSTP)
spanning-tree edgeport (RSTP and MSTP)
Overview Use this command to set a port as an edge-port.
Use this command for RSTP or MSTP.
This command has the same effect as the
spanning-tree portfast (STP) command,
but the configuration displays differently in the output of some show commands.
Use the no variant of this command to set a port to its default state (not an edge-port).
Syntax spanning-tree edgeport no spanning-tree edgeport
Default Not an edge port.
Mode Interface Configuration
Usage Use this command on a switch port connected to a LAN that has no other bridges attached. If a BPDU is received on the port that indicates that another bridge is connected to the LAN, then the port is no longer treated as an edge port.
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree edgeport
Related
Commands
spanning-tree autoedge (RSTP and MSTP)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
483
S PANNING T REE C OMMANDS
SPANNING TREE ENABLE
spanning-tree enable
Overview Use this command in Global Configuration mode to enable the specified spanning tree protocol for all switch ports. Note that this must be the spanning tree protocol
that is configured on the device by the spanning-tree mode command.
Use the no variant of this command to disable the configured spanning tree protocol. This places all switch ports in the forwarding state.
Syntax spanning-tree {mstp|rstp|stp} enable no spanning-tree {mstp|rstp|stp} enable
Parameter mstp rstp stp
Description
Enables or disables MSTP (Multiple Spanning Tree Protocol).
Enables or disables RSTP (Rapid Spanning Tree Protocol).
Enables or disables STP (Spanning Tree Protocol).
Default RSTP is enabled by default for all switch ports.
Mode Global Configuration
Usage With no configuration, spanning tree is enabled, and the spanning tree mode is set to RSTP. To change the mode, see
Examples To enable STP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# spanning-tree stp enable
To disable STP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# no spanning-tree stp enable
To enable MSTP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# spanning-tree mstp enable
To disable MSTP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# no spanning-tree mstp enable
To enable RSTP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# spanning-tree rstp enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
484
S PANNING T REE C OMMANDS
SPANNING TREE ENABLE
To disable RSTP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# no spanning-tree rstp enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
485
S PANNING T REE C OMMANDS
SPANNING TREE ERRDISABLE TIMEOUT ENABLE
spanning-tree errdisable-timeout enable
Overview Use this command to enable the errdisable-timeout facility, which sets a timeout for ports that are disabled due to the BPDU guard feature.
Use this command for RSTP or MSTP.
Use the no variant of this command to disable the errdisable-timeout facility.
Syntax spanning-tree errdisable-timeout enable no spanning-tree errdisable-timeout enable
Default By default, the errdisable-timeout is disabled.
Mode Global Configuration
Usage The BPDU guard feature shuts down the port on receiving a BPDU on a
BPDU-guard enabled port. This command associates a timer with the feature such that the port is re- enabled without manual intervention after a set interval. This
interval can be configured by the user using the spanning-tree errdisable-timeout interval
command.
Example awplus# configure terminal awplus(config)# spanning-tree errdisable-timeout enable
Related
Commands
spanning-tree errdisable-timeout interval
spanning-tree portfast bpdu-guard
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
486
S PANNING T REE C OMMANDS
SPANNING TREE ERRDISABLE TIMEOUT INTERVAL
spanning-tree errdisable-timeout interval
Overview Use this command to specify the time interval after which a port is brought back up when it has been disabled by the BPDU guard feature.
Use this command for RSTP or MSTP.
Syntax spanning-tree errdisable-timeout interval <10-1000000> no spanning-tree errdisable-timeout interval
Parameter Description
<10-1000000> Specify the errdisable-timeout interval in seconds.
Default By default, the port is re-enabled after 300 seconds.
Mode Global Configuration
Example awplus# configure terminal awplus(config)# spanning-tree errdisable-timeout interval 34
Related
Commands
spanning-tree errdisable-timeout enable
spanning-tree portfast bpdu-guard
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
487
S PANNING T REE C OMMANDS
SPANNING TREE FORCE VERSION
spanning-tree force-version
Overview Use this command in Interface Configuration mode for a switch port interface only to force the protocol version for the switch port. Use this command for RSTP or
MSTP only.
Syntax spanning-tree force-version < version> no spanning-tree force-version
Parameter
< version>
Description
1
2
<0-3> Version identifier.
0 Forces the port to operate in STP mode.
Not supported.
Forces the port to operate in RSTP mode. If it receives STP
BPDUs, it can automatically revert to STP mode.
3 Forces the port to operate in MSTP mode (this option is only available if MSTP mode is configured). If it receives RSTP or
STP BPDUs, it can automatically revert to RSTP or STP mode.
Default By default, no version is forced for the port. The port is in the spanning tree mode configured for the device, or a lower version if it automatically detects one.
Mode Interface Configuration mode for a switch port interface only.
Examples Set the value to enforce the spanning tree protocol (STP): awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree force-version 0
Set the default protocol version: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# no spanning-tree force-version
Related
Commands
488 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S PANNING T REE C OMMANDS
SPANNING TREE FORWARD TIME
spanning-tree forward-time
Overview Use this command to set the forward delay value. Use the no variant of this command to reset the forward delay value to the default setting of 15 seconds.
The forward delay sets the time (in seconds) to control how fast a port changes its spanning tree state when moving towards the forwarding state. If the mode is set to STP, the value determines how long the port stays in each of the listening and learning states which precede the forwarding state. If the mode is set to RSTP or
MSTP, this value determines the maximum time taken to transition from discarding to learning and from learning to forwarding.
This value is used only when the device is acting as the root bridge. Devices not acting as the Root Bridge use a dynamic value for the forward delay set by the root bridge. The forward delay , max-age , and hello time parameters are interrelated.
Syntax spanning-tree forward-time < forward-delay > no spanning-tree forward-time
Parameter Description
< forward-delay> <4-30> The forwarding time delay in seconds.
Default The default is 15 seconds.
Mode Global Configuration
Usage The allowable range for forward-time is 4-30 seconds.
The forward delay , max-age , and hello time parameters should be set according to the following formula, as specified in IEEE Standard 802.1d:
2 x (forward delay - 1.0 seconds) >= max-age max-age >= 2 x (hello time + 1.0 seconds)
Example awplus# configure terminal awplus(config)# spanning-tree forward-time 6
Related
Commands
489 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S PANNING T REE C OMMANDS
SPANNING TREE GUARD ROOT
spanning-tree guard root
Overview Use this command in Interface Configuration mode for a switch port only to enable the Root Guard feature for the switch port. The root guard feature disables reception of superior BPDUs. You can use this command for RSTP, STP or MSTP.
Use the no variant of this command to disable the root guard feature for the port.
Syntax spanning-tree guard root no spanning-tree guard root
Mode Interface Configuration mode for a switch port interface only.
Usage The Root Guard feature makes sure that the port on which it is enabled is a designated port. If the Root Guard enabled port receives a superior BPDU, it goes to a Listening state (for STP) or discarding state (for RSTP and MSTP).
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree guard root
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
490
S PANNING T REE C OMMANDS
SPANNING TREE HELLO TIME
spanning-tree hello-time
Overview Use this command to set the hello-time. This sets the time in seconds between the transmission of device spanning tree configuration information when the device is the Root Bridge of the spanning tree or is trying to become the Root Bridge.
Use this command for RSTP, STP or MSTP.
Use the no variant of this command to restore the default of the hello time.
Syntax spanning-tree hello-time < hello-time > no spanning-tree hello-time
Parameter Description
< hello-time > <1-10> The hello BPDU interval in seconds.
Default Default is 2 seconds.
Mode Global Configuration and Interface Configuration for switch ports.
Usage The allowable range of values is 1-10 seconds.
The forward delay, max-age, and hello time parameters should be set according to the following formula, as specified in IEEE Standard 802.1d:
2 x (forward delay - 1.0 seconds) >= max-age max-age>= 2 x (hello time + 1.0 seconds)
Example awplus# configure terminal awplus(config)# spanning-tree hello-time 3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
491
S PANNING T REE C OMMANDS
SPANNING TREE LINK TYPE
spanning-tree link-type
Overview Use this command in Interface Configuration mode for a switch port interface only to enable or disable point-to-point or shared link types on the switch port.
Use this command for RSTP or MSTP only.
Use the no variant of this command to return the port to the default link type.
Syntax spanning-tree link-type {point-to-point|shared} no spanning-tree link-type
Parameter shared point-to-point
Description
Disable rapid transition.
Enable rapid transition.
Default The default link type is point-to-point.
Mode Interface Configuration mode for a switch port interface only.
Usage You may want to set link type to shared if the port is connected to a hub with multiple devices connected to it.
Examples awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree link-type point-to-point
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
492
S PANNING T REE C OMMANDS
SPANNING TREE MAX AGE
spanning-tree max-age
Overview Use this command to set the max-age. This sets the maximum age, in seconds, that dynamic spanning tree configuration information is stored in the device before it is discarded.
Use this command for RSTP, STP or MSTP.
Use the no variant of this command to restore the default of max-age.
Syntax spanning-tree max-age < max-age > no spanning-tree max-age
Parameter
< max-age >
Description
<6-40> The maximum time, in seconds.
Default The default of spanning-tree max-age is 20 seconds.
Mode Global Configuration
Usage Max-age is the maximum time in seconds for which a message is considered valid.
Configure this value sufficiently high, so that a frame generated by the root bridge can be propagated to the leaf nodes without exceeding the max-age.
The forward delay , max-age , and hello time parameters should be set according to the following formula, as specified in IEEE Standard 802.1d:
2 x (forward delay - 1.0 seconds) >= max-age max-age >= 2 x (hello time + 1.0 seconds)
Example awplus# configure terminal awplus(config)# spanning-tree max-age 12
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
493
S PANNING T REE C OMMANDS
SPANNING TREE MAX HOPS (MSTP)
spanning-tree max-hops (MSTP)
Overview Use this command to specify the maximum allowed hops for a BPDU in an MST region. This parameter is used by all the instances of the MST region.
Use the no variant of this command to restore the default.
Use this command for MSTP only.
Syntax spanning-tree max-hops < hop-count > no spanning-tree max-hops < hop-count >
Parameter
<hop-count>
Description
Specify the maximum hops the BPDU will be valid for in the range
<1-40>.
Default The default max-hops in a MST region is 20.
Mode Global Configuration
Usage Specifying the max hops for a BPDU prevents the messages from looping indefinitely in the network. The hop count is decremented by each receiving port.
When a device receives an MST BPDU that has a hop count of zero, it discards the
BPDU.
Examples awplus# configure terminal awplus(config)# spanning-tree max-hops 25 awplus# configure terminal awplus(config)# no spanning-tree max-hops
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
494
S PANNING T REE C OMMANDS
SPANNING TREE MODE
spanning-tree mode
Overview Use this command to change the spanning tree protocol mode on the device. The spanning tree protocol mode on the device can be configured to either STP, RSTP or MSTP.
Syntax spanning-tree mode {stp|rstp|mstp}
Default The default spanning tree protocol mode on the device is RSTP.
Mode Global Configuration
Usage With no configuration, the device will have spanning tree enabled, and the spanning tree mode will be set to RSTP. Use this command to change the spanning tree protocol mode on the device. MSTP is VLAN aware, but RSTP and STP are not
VLAN aware. To enable or disable spanning tree operation, see the spanning-tree enable command.
Examples To change the spanning tree mode from the default of RSTP to MSTP, use the following commands: awplus# configure terminal awplus(config)# spanning-tree mode mstp
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
495
S PANNING T REE C OMMANDS
SPANNING TREE MST CONFIGURATION
spanning-tree mst configuration
Overview Use this command to enter the MST Configuration mode to configure the Multiple
Spanning-Tree Protocol.
Syntax spanning-tree mst configuration
Mode Global Configuration
Examples The following example uses this command to enter MST Configuration mode. Note the change in the command prompt.
awplus# configure terminal awplus(config)# spanning-tree mst configuration awplus(config-mst)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
496
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE
spanning-tree mst instance
Overview Use this command to assign a Multiple Spanning Tree instance (MSTI) to a switch port or channel group.
Note that ports are automatically configured to send and receive spanning-tree information for the associated MSTI when VLANs are assigned to MSTIs using the
Use the no variant of this command in Interface Configuration mode to remove the
MSTI from the specified switch port or channel group.
Syntax spanning-tree mst instance < instance-id > no spanning-tree mst instance < instance-id >
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5. The MST instance must have already been created using the
command.
Default A port automatically becomes a member of an MSTI when it is assigned to a VLAN.
Mode Interface Configuration mode for a switch port or channel group.
Usage You can disable automatic configuration of member ports of a VLAN to an associated MSTI by using a no spanning-tree mst instance command to remove the member port from the MSTI. Use the spanning-tree mst instance command to add a VLAN member port back to the MSTI.
Examples To assign instance 3 to a switch port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree mst instance 3
To remove instance 3 from a switch port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# no spanning-tree mst instance 3
Related
Commands
spanning-tree mst instance path-cost
spanning-tree mst instance priority
spanning-tree mst instance restricted-role
spanning-tree mst instance restricted-tcn
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
497
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE PATH COST
spanning-tree mst instance path-cost
Overview Use this command to set the cost of a path associated with a switch port, for the specified MSTI.
This specifies the switch port’s contribution to the cost of a path to the MSTI regional root via that port. This applies when the port is the root port for the MSTI.
Use the no variant of this command to restore the default cost value of the path.
Syntax spanning-tree mst instance <instance-id> path cost <path-cost> no spanning-tree mst instance <instance-id> path-cost
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
<path-cost> Specify the cost of path in the range of < a lower path-cost indicates a greater likelihood of the specific interface becoming a root.
1-200000000 >, where
Default The default path cost values and the range of recommended path cost values depend on the port speed, as shown in the following table from the IEEE
802.1q-2003 standard.
Port speed
Less than 100 Kb/s
1Mbps
10Mbps
100 Mbps
1 Gbps
10 Gbps
100 Gbps
1Tbps
10 Tbps
Default path cost
200,000,000
20,000,000
2,000,000
200,000
20,000
2,000
200
20
2
Recommended path cost range
20,000,000-200,000,000
2,000,000-20,000,000
200,000-2,000,000
20,000-200,000
2,000-20,000
200-2, 000
20-200
2-200
2-20
Mode Interface Configuration mode for a switch port interface only.
Usage Before you can use this command to set a path-cost in a VLAN configuration, you must explicitly add an MST instance to a port using the
command.
Examples To set a path cost of 1000 on instance 3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree mst instance 3 path-cost 1000
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
498
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE PATH COST
To return the path cost to its default value on instance 3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# no spanning-tree mst instance 3 path-cost
Related
Commands
spanning-tree mst instance priority
spanning-tree mst instance restricted-role
spanning-tree mst instance restricted-tcn
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
499
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE PRIORITY
spanning-tree mst instance priority
Overview Use this command in Interface Configuration mode for a switch port interface only to set the port priority for an MST instance (MSTI).
Use the no variant of this command to restore the default priority value (128).
Syntax spanning-tree mst instance <instance-id> priority < priority > no spanning-tree mst instance <instance-id> [priority]
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5.
< priority > This must be a multiple of 16 and within the range < 0-240 >. A lower priority indicates greater likelihood of the port becoming the root port.
Default The default is 128.
Mode Interface Configuration mode for a switch port interface.
Usage This command sets the value of the priority field contained in the port identifier.
The MST algorithm uses the port priority when determining the root port for the switch in the MSTI. The port with the lowest value has the highest priority, so it will be chosen as root port over a port that is equivalent in all other aspects but with a higher priority value.
Examples To set the priority to 112 on instance 3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree mst instance 3 priority 112
To return the priority to its default value of 128 on instance 3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# no spanning-tree mst instance 3 priority
Related
Commands
spanning-tree priority (port priority)
spanning-tree mst instance path-cost
spanning-tree mst instance restricted-role
spanning-tree mst instance restricted-tcn
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
500
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE RESTRICTED ROLE
spanning-tree mst instance restricted-role
Overview Use this command in Interface Configuration mode for a switch port interface only to enable the restricted role for an MSTI (Multiple Spanning Tree Instance) on a switch port. Configuring the restricted role for an MSTI on a switch port prevents the switch port from becoming the root port in a spanning tree topology.
Use the no variant of this command to disable the restricted role for an MSTI on a switch port. Removing the restricted role for an MSTI on a switch port allows the switch port to become the root port in a spanning tree topology.
Syntax spanning-tree mst instance < instance-id > restricted-role no spanning-tree mst instance < instance-id > restricted-role
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5. The MST instance must have already been created using the
command.
Default The restricted role for an MSTI instance on a switch port is disabled by default.
Mode Interface Configuration mode for a switch port interface only.
Usage The root port is the port providing the best path from the bridge to the root bridge.
Use this command to disable a port from becoming a root port. Use the no variant of this command to enable a port to become a root port. See the STP Feature
Overview and Configuration Guide for root port information.
Examples To prevent a switch port from becoming the root port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree mst instance 3 restricted-role
To stop preventing the switch port from becoming the root port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no spanning-tree mst instance 3 restricted-role
501 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE RESTRICTED ROLE
Related
Commands
spanning-tree priority (port priority)
spanning-tree mst instance path-cost
spanning-tree mst instance restricted-tcn
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
502
S PANNING T REE C OMMANDS
SPANNING TREE MST INSTANCE RESTRICTED TCN
spanning-tree mst instance restricted-tcn
Overview Use this command to prevent a switch port from propagating received topology change notifications and topology changes to other switch ports. This is named restricted TCN (Topology Change Notification). A TCN is a simple Bridge Protocol
Data Unit (BPDU) that a bridge sends out to its root port to signal a topology change.
Use the no variant of this command to stop preventing the switch port from propagating received topology change notifications and topology changes to other switch ports for the specified MSTI (Multiple Spanning Tree Instance).
The restricted TCN setting applies only to the specified MSTI (Multiple Spanning
Tree Instance).
Syntax spanning-tree mst instance < instance-id > restricted-tcn no spanning-tree mst instance < instance-id > restricted-tcn
Parameter Description
< instance-id > Specify an MSTP instance in the range 1-5. The MST instance must have already been created using the
command.
Default Disabled. By default, switch ports propagate TCNs.
Mode Interface Configuration mode for a switch port interface only.
Examples To prevent a switch port from propagating received topology change notifications and topology changes to other switch ports, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree mst instance 3 restricted-tcn
To stop preventing a switch port from propagating received topology change notifications and topology changes to other switch ports, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# no spanning-tree mst instance 3 restricted-tcn
Related
Commands
spanning-tree priority (port priority)
spanning-tree mst instance path-cost
spanning-tree mst instance restricted-role
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
503
S PANNING T REE C OMMANDS
SPANNING TREE PATH COST
spanning-tree path-cost
Overview Use this command in Interface Configuration mode for a switch port interface only to set the cost of a path for the specified port. This value then combines with others along the path to the root bridge in order to determine the total cost path value from the particular port, to the root bridge. The lower the numeric value, the higher the priority of the path. This applies when the port is the root port.
Use this command for RSTP, STP or MSTP. When MSTP mode is configured, this will apply to the port’s path cost for the CIST.
Syntax spanning-tree path-cost < pathcost > no spanning-tree path-cost
Parameter Description
< pathcost > <1-200000000> The cost to be assigned to the port.
Default The default path cost values and the range of recommended path cost values depend on the port speed, as shown in the following table from the IEEE
802.1q-2003 and IEEE 802.1d-2004 standards.
Port speed
Less than 100 Kb/s
1Mbps
10Mbps
100 Mbps
1 Gbps
10 Gbps
100 Gbps
1Tbps
10 Tbps
Default path cost
200,000,000
20,000,000
2,000,000
200,000
20,000
2,000
200
20
2
Recommended path cost range
20,000,000-200,000,000
2,000,000-20,000,000
200,000-2,000,000
20,000-200,000
2,000-20,000
200-2, 000
20-200
2-200
2-20
Mode Interface Configuration mode for switch port interface only.
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree path-cost 123
504 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S PANNING T REE C OMMANDS
SPANNING TREE PORTFAST (STP)
spanning-tree portfast (STP)
Overview Use this command in Interface Configuration mode for a switch port interface only to set a port as an edge-port. The portfast feature enables a port to rapidly move to the forwarding state, without having first to pass through the intermediate
the output of some show commands.
NOTE
: You can run either of two additional parameters with this command. To simplify the syntax these are documented as separate commands. See the following additional portfast commands:
•
•
spanning-tree portfast bpdu-filter command
spanning-tree portfast bpdu-guard command.
You can obtain the same effect by running the spanning-tree edgeport (RSTP and
command. However, the configuration output may display differently in some show commands.
Use the no variant of this command to set a port to its default state (not an edge-port).
Syntax spanning-tree portfast no spanning-tree portfast
Default Not an edge port.
Mode Interface Configuration mode for a switch port interface only.
Usage Portfast makes a port move from a blocking state to a forwarding state, bypassing both listening and learning states. The portfast feature is meant to be used for ports connected to end-user devices. Enabling portfast on ports that are connected to a workstation or server allows devices to connect to the network without waiting for spanning-tree to converge.
For example, you may need hosts to receive a DHCP address quickly and waiting for STP to converge would cause the DHCP request to time out. Ensure you do not use portfast on any ports connected to another device to avoid creating a spanning-tree loop on the network.
Use this command on a switch port that connects to a LAN with no other bridges attached. An edge port should never receive BPDUs. Therefore if an edge port receives a BPDU, the portfast feature takes one of three actions.
•
•
• Cease to act as an edge port and pass BPDUs as a member of a spanning tree
network ( spanning-tree portfast (STP)
command disabled).
Filter out the BPDUs and pass only the data and continue to act as a edge
port ( spanning-tree portfast bpdu-filter command enabled).
Block the port to all BPDUs and data (
spanning-tree portfast bpdu-guard
command enabled).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
505
S PANNING T REE C OMMANDS
SPANNING TREE PORTFAST (STP)
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree portfast
Related
Commands
spanning-tree edgeport (RSTP and MSTP)
spanning-tree portfast bpdu-filter
spanning-tree portfast bpdu-guard
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
506
S PANNING T REE C OMMANDS
SPANNING TREE PORTFAST BPDU FILTER
spanning-tree portfast bpdu-filter
Overview This command sets the bpdu-filter feature and applies a filter to any BPDUs (Bridge
Protocol Data Units) received. Enabling this feature ensures that configured ports will not transmit any BPDUs and will ignore (filter out) any BPDUs received. BPDU
Filter is not enabled on a port by default.
Using the no variant of this command to turn off the bpdu-filter, but retain the port’s status as an enabled port. If the port then receives a BPDU it will change its role from an edge-port to a non edge-port .
Syntax (Global
Configuration) spanning-tree portfast bpdu-filter no spanning-tree portfast bpdu-filter
Syntax (Interface
Configuration) spanning-tree portfast bpdu-filter {default|disable|enable} no spanning-tree portfast bpdu-filter
Parameter Description bpdu-filter A port that has bpdu-filter enabled will not transmit any BPDUs and will ignore any BPDUs received. This port type has one of the following parameters (in Interface Configuration mode): default Takes the setting that has been configured for the whole device, i.e. the setting made from the Global configuration mode.
disable Turns off BPDU filter.
enable Turns on BPDU filter.
Default BPDU Filter is not enabled on any ports by default.
Mode Global Configuration and Interface Configuration
Usage This command filters the BPDUs and passes only data to continue to act as an edge port. Using this command in Global Configuration mode applies the portfast bpdu-filter feature to all ports on the device. Using it in Interface mode applies the feature to a specific port, or range of ports.The command will operate in both RSTP and MSTP networks.
Use the
show spanning-tree command to display status of the bpdu-filter
parameter for the switch ports.
Example To enable STP BPDU filtering in Global Configuration mode, enter the commands: awplus# configure terminal awplus(config)# spanning-tree portfast bpdu-filter
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
507
S PANNING T REE C OMMANDS
SPANNING TREE PORTFAST BPDU FILTER
To enable STP BPDU filtering in Interface Configuration mode, enter the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree portfast bpdu-filter enable
Related
Commands
spanning-tree edgeport (RSTP and MSTP)
spanning-tree portfast bpdu-guard
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
508
S PANNING T REE C OMMANDS
SPANNING TREE PORTFAST BPDU GUARD
spanning-tree portfast bpdu-guard
Overview This command applies a BPDU (Bridge Protocol Data Unit) guard to the port. A port with the bpdu-guard feature enabled will block all traffic (BPDUs and user data), if it starts receiving BPDUs.
Use this command in Global Configuration mode to apply BPDU guard to all ports on the device. Use this command in Interface mode for an individual interface or a range of interfaces specified. BPDU Guard is not enabled on a port by default.
Use the no variant of this command to disable the BPDU Guard feature on a device in Global Configuration mode or to disable the BPDU Guard feature on a port in
Interface mode.
Syntax (Global
Configuration) spanning-tree portfast bpdu-guard no spanning-tree portfast bpdu-guard
Syntax (Interface
Configuration) spanning-tree portfast bpdu-guard {default|disable|enable} no spanning-tree portfast bpdu-guard
Parameter Description bpdu-guard A port that has bpdu-guard turned on will enter the STP blocking state if it receives a BPDU. This port type has one of the following parameters (in Interface Configuration mode): default Takes the setting that has been configured for the whole device, i.e. the setting made from the Global configuration mode.
disable Turns off BPDU guard.
enable Turns on BPDU guard and will also set the port as an edge port.
Default BPDU Guard is not enabled on any ports by default.
Mode Global Configuration or Interface Configuration
Usage This command blocks the port(s) to all devices and data when enabled. BPDU
Guard is a port-security feature that changes how a portfast-enabled port behaves if it receives a BPDU. When bpdu-guard is set, then the port shuts down if it receives a BPDU. It does not process the BPDU as it is considered suspicious. When bpdu-guard is not set, then the port will negotiate spanning-tree with the device sending the BPDUs. By default, bpdu- guard is not enabled on a port.
You can configure a port disabled by the bpdu-guard to re-enable itself after a specific time interval. This interval is set with the
spanning-tree errdisable-timeout interval command. If you do not use the
errdisable-timeout feature, then you will need to manually re-enable the port by using the no shutdown command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
509
S PANNING T REE C OMMANDS
SPANNING TREE PORTFAST BPDU GUARD
Use the
show spanning-tree command to display the device and port
configurations for the BPDU Guard feature. It shows both the administratively configured and currently running values of bpdu-guard.
Example To enable STP BPDU guard in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# spanning-tree portfast bpdu-guard
To enable STP BPDU guard in Interface Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree portfast bpdu-guard enable
Related
Commands
spanning-tree edgeport (RSTP and MSTP)
spanning-tree portfast bpdu-filter
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
510
S PANNING T REE C OMMANDS
SPANNING TREE PRIORITY ( BRIDGE PRIORITY )
spanning-tree priority (bridge priority)
Overview Use this command to set the bridge priority for the device. A lower priority value indicates a greater likelihood of the device becoming the root bridge.
Use this command for RSTP, STP or MSTP. When MSTP mode is configured, this will apply to the CIST.
Use the no variant of this command to reset it to the default.
Syntax spanning-tree priority < priority > no spanning-tree priority
Parameter Description
< priority > <0-61440> The bridge priority, which will be rounded to a multiple of
4096.
Default The default priority is 32678.
Mode Global Configuration
Usage To force a particular device to become the root bridge use a lower value than other devices in the spanning tree.
Example awplus# configure terminal awplus(config)# spanning-tree priority 4096
Related
Commands
spanning-tree mst instance priority
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
511
S PANNING T REE C OMMANDS
SPANNING TREE PRIORITY ( PORT PRIORITY )
spanning-tree priority (port priority)
Overview Use this command in Interface Configuration mode for a switch port interface only to set the port priority for port. A lower priority value indicates a greater likelihood of the port becoming part of the active topology.
Use this command for RSTP, STP, or MSTP. When the device is in MSTP mode, this will apply to the CIST.
Use the no variant of this command to reset it to the default.
Syntax spanning-tree priority < priority > no spanning-tree priority
Parameter Description
< priority > <0-240>, in increments of 16. The port priority, which will be rounded down to a multiple of 16.
Default The default priority is 128.
Mode Interface Configuration mode for a switch port interface only.
Usage To force a port to be part of the active topology (for instance, become the root port or a designated port) use a lower value than other ports on the device. (This behavior is subject to network topology, and more significant factors, such as bridge ID.)
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree priority 16
Related
Commands
spanning-tree mst instance priority
spanning-tree priority (bridge priority)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
512
S PANNING T REE C OMMANDS
SPANNING TREE RESTRICTED ROLE
spanning-tree restricted-role
Overview Use this command in Interface Configuration mode for a switch port interface only to restrict the port from becoming a root port.
Use the no variant of this command to disable the restricted role functionality.
Syntax spanning-tree restricted-role no spanning-tree restricted-role
Default The restricted role is disabled.
Mode Interface Configuration mode for a switch port interface only.
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree restricted-role
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
513
S PANNING T REE C OMMANDS
SPANNING TREE RESTRICTED TCN
spanning-tree restricted-tcn
Overview Use this command in Interface Configuration mode for a switch port interface only to prevent TCN (Topology Change Notification) BPDUs (Bridge Protocol Data
Units) from being sent on a port. If this command is enabled, after a topology change a bridge is prevented from sending a TCN to its designated bridge.
Use the no variant of this command to disable the restricted TCN functionality.
Syntax spanning-tree restricted-tcn no spanning-tree restricted-tcn
Default The restricted TCN is disabled.
Mode Interface Configuration mode for a switch port interface only.
Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree restricted-tcn
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
514
S PANNING T REE C OMMANDS
SPANNING TREE TRANSMIT HOLDCOUNT
spanning-tree transmit-holdcount
Overview Use this command to set the maximum number of BPDU transmissions that are held back.
Use the no variant of this command to restore the default transmit hold-count value.
Syntax spanning-tree transmit-holdcount no spanning-tree transmit-holdcount
Default Transmit hold-count default is 3.
Mode Global Configuration
Example awplus# configure terminal awplus(config)# spanning-tree transmit-holdcount
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
515
S PANNING T REE C OMMANDS
UNDEBUG MSTP
undebug mstp
Overview
This command applies the functionality of the no debug mstp (RSTP and STP)
command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
516
16
Link Aggregation
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure a static channel group (static aggregator) and dynamic channel group (LACP channel group, etherchannel or LACP aggregator). Link aggregation is also sometimes referred to as channeling.
NOTE : AlliedWare Plus™ supports IEEE 802.3ad link aggregation and uses the Link
Aggregation Control Protocol (LACP). LACP does not interoperate with devices that use
Port Aggregation Protocol (PAgP).
Link aggregation does not necessarily achieve exact load balancing across the links.
The load sharing algorithm is designed to ensure that any given data flow always goes down the same link. It also aims to spread data flows across the links as evenly as possible.
For example, for a 2 Gbps LAG that is a combination of two 1 Gbps ports, any one flow of traffic can only ever reach a maximum throughput of 1 Gbps. However, the hashing algorithm should spread the flows across the links so that when many flows are operating, the full 2 Gbps can be utilized.
For a description of static and dynamic link aggregation (LACP), and configuration examples, see the Link Aggregation Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
lacp global-passive-mode enable
lacp system-priority ” on page 525
show debugging lacp ” on page 528
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
517
L INK A GGREGATION C OMMANDS
•
•
•
•
•
•
•
•
•
“ show etherchannel ” on page 530
“ show etherchannel detail ” on page 531
“ show etherchannel summary ” on page 532
“ show lacp sys-id ” on page 533
“ show lacp-counter ” on page 534
“ show port etherchannel ” on page 535
“ show static-channel-group ” on page 536
“ static-channel-group ” on page 537
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
518
L INK A GGREGATION C OMMANDS
CHANNEL GROUP
channel-group
Overview Use this command to either create a new dynamic channel group while at the same time adding a port to it, or to add a port to an existing dynamic channel group. Note that you must also set the LACP mode to be either active or passive.
You can create up to 2 dynamic (LACP) channel groups (or up to 2 static channel groups).
Use the no variant of this command to turn off link aggregation on the device port.
You will be returned to Global Configuration mode from Interface Configuration mode.
Syntax channel-group < dynamic-channel-group-number > mode
{active|passive} no channel-group
Parameter active
Description
< dynamic-channel- group-number >
<1-2> Specify a dynamic channel group number for an
LACP link.
Enables initiation of LACP negotiation on a port. The port will transmit LACP dialogue messages whether or not it receives them from the partner device.
passive Disables initiation of LACP negotiation on a port. The port will only transmit LACP dialogue messages if the partner device is transmitting them, i.e., the partner is in the active mode.
Mode Interface Configuration
Usage All the device ports in a channel-group must belong to the same VLANs, have the same tagging status, and can only be operated on as a group. All device ports within a channel group must have the same port speed and be in full duplex mode.
Once the LACP channel group has been created, it is treated as a device port, and can be referred to in most other commands that apply to device ports.
To refer to an LACP channel group in other LACP commands, use the channel group number. To specify an LACP channel group (LACP aggregator) in other commands, prefix the channel group number with po . For example, ‘ po2 ’ refers to the LACP channel group with channel group number 2 .
Link aggregation hashes the source and destination MAC address to select a link on which to send a packet. So packet flow between a pair of hosts always takes the same link inside the Link Aggregation Group (LAG). The net effect is that the bandwidth for a given packet stream is restricted to the speed of one link in the
LAG. This hashing mechanism cannot be changed.
For more information about LACP, see the Link Aggregation Feature Overview and
Configuration Guide which is available on our website at alliedtelesis.com.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
519
L INK A GGREGATION C OMMANDS
CHANNEL GROUP
Examples To add device port1.0.6 to a newly created LACP channel group 2 use the commands below: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# channel-group 2 mode active
To remove device port1.0.6 from any created LACP channel groups use the command below: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# no channel-group
To reference channel group 2 as an interface, use the following commands: awplus# configure terminal awplus(config)# interface po2 awplus(config-if)#
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
520
L INK A GGREGATION C OMMANDS
CLEAR LACP COUNTERS
clear lacp counters
Overview Use this command to clear all counters of all present LACP aggregators (channel groups) or a given LACP aggregator.
Syntax clear lacp [ <1-2> ] counters
Parameter
< 1-2 >
Description
Channel-group number.
Mode Privileged Exec
Example awplus# clear lacp 2 counters
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
521
L INK A GGREGATION C OMMANDS
DEBUG LACP
debug lacp
Overview Use this command to enable all LACP troubleshooting functions.
Use the no variant of this command to disable this function.
Syntax debug lacp {all|cli|event|ha|packet|sync|timer[detail]} no debug lacp {all|cli|event|ha|packet|sync|timer[detail]}
Parameter all cli event ha packet sync timer detail
Description
Turn on all debugging for LACP.
Specifies debugging for CLI messages.
Echoes commands to the console.
Specifies debugging for LACP events.
Echoes events to the console.
Specifies debugging for HA (High Availability) events.
Echoes High Availability events to the console.
Specifies debugging for LACP packets.
Echoes packet contents to the console.
Specified debugging for LACP synchronization.
Echoes synchronization to the console.
Specifies debugging for LACP timer.
Echoes timer expiry to the console.
Optional parameter for LACP timer-detail.
Echoes timer start/stop details to the console.
Mode Privileged Exec and Global Configuration
Examples awplus# debug lacp timer detail awplus# debug lacp all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
522
L INK A GGREGATION C OMMANDS
LACP GLOBAL PASSIVE MODE ENABLE
lacp global-passive-mode enable
Overview Use this command to enable LACP channel-groups to dynamically self-configure when they are connected to another device that has LACP channel-groups configured with Active Mode.
Syntax lacp global-passive-mode enable no lacp global-passive-mode enable
Default Enabled
Mode Global Configuration
Usage Do not mix LACP configurations (manual & dynamic). When LACP global passive mode is turned on (by using the lacp global-passive-mode enable command), we do not recommend using a mixed configuration in a LACP channel-group; i.e. some links are manually configured (by the channel-group command) and others are dynamically learned in the same channel-group.
Example To enable global passive mode for LACP channel groups, use the command: awplus(config)# lacp global-passive-mode enable
To disable global passive mode for LACP channel groups, use the command: awplus(config)# no lacp global-passive-mode enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
523
L INK A GGREGATION C OMMANDS
LACP PORT PRIORITY
lacp port-priority
Overview Use this command to set the priority of a device port. Ports are selected for aggregation based on their priority, with the higher priority (numerically lower) ports selected first.
Use the no variant of this command to reset the priority of port to the default.
Syntax lacp port-priority <1-65535> no lacp port-priority
Parameter
<1-65535>
Description
Specify the LACP port priority.
Default The default is 32768.
Mode Interface Configuration
Example awplus# configure terminal awplus(config)# interface port1.0.5
awplus(config-if)# lacp port-priority 34
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
524
L INK A GGREGATION C OMMANDS
LACP SYSTEM PRIORITY
lacp system-priority
Overview Use this command to set the system priority of a local system. This is used in determining the system responsible for resolving conflicts in the choice of aggregation groups.
Use the no variant of this command to reset the system priority of the local system to the default.
Syntax lacp system-priority <1-65535> no lacp system-priority
Parameter
<1-65535>
Description
LACP system priority. Lower numerical values have higher priorities.
Default The default is 32768.
Mode Global Configuration
Example awplus# configure terminal awplus(config)# lacp system-priority 6700
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
525
L INK A GGREGATION C OMMANDS
LACP TIMEOUT
lacp timeout
Overview Use this command to set the short or long timeout on a port. Ports will time out of the aggregation if three consecutive updates are lost.
Syntax lacp timeout {short|long}
Parameter timeout short long
Description
Number of seconds before invalidating a received LACP data unit
(DU).
LACP short timeout. The short timeout value is 1 second.
LACP long timeout. The long timeout value is 30 seconds.
Default The default is long timeout (30 seconds).
Mode Interface Configuration
Usage This command enables the device to indicate the rate at which it expects to receive
LACPDUs from its neighbor.
If the timeout is set to long , then the device expects to receive an update every 30 seconds, and this will time a port out of the aggregation if no updates are seen for
90 seconds (i.e. 3 consecutive updates are lost).
If the timeout is set to short , then the device expects to receive an update every second, and this will time a port a port out of the aggregation if no updates are seen for 3 seconds (i.e. 3 consecutive updates are lost).
The device indicates its preference by means of the Timeout field in the Actor section of its LACPDUs. If the Timeout field is set to 1, then the device has set the short timeout. If the Timeout field is set to 0, then the device has set the long timeout.
Setting the short timeout enables the device to be more responsive to communication failure on a link, and does not add too much processing overhead to the device (1 packet per second).
NOTE : It is not possible to configure the rate that the device sends LACPDUs; the device must send at the rate which the neighbor indicates it expects to receive LACPDUs.
Examples The following commands set the LACP long timeout period for 30 seconds on port1.0.2
.
awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# lacp timeout long
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
526
L INK A GGREGATION C OMMANDS
LACP TIMEOUT
The following commands set the LACP short timeout for 1 second on port1.0.2
.
awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# lacp timeout short
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
527
L INK A GGREGATION C OMMANDS
SHOW DEBUGGING LACP
show debugging lacp
Overview Use this command to display the LACP debugging option set.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging lacp
Mode User Exec and Privileged Exec
Example awplus# show debugging lacp
Output Figure 16-1: Example output from the show debugging lacp command
LACP debugging status:
LACP timer debugging is on
LACP timer-detail debugging is on
LACP cli debugging is on
LACP packet debugging is on
LACP event debugging is on
LACP sync debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
528
L INK A GGREGATION C OMMANDS
SHOW DIAGNOSTIC CHANNEL GROUP
show diagnostic channel-group
Overview This command displays dynamic and static channel group interface status information. The output of this command is useful for Allied Telesis authorized service personnel for diagnostic purposes.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show diagnostic channel-group
Mode User Exec and Privileged Exec
Example awplus# show diagnostic channel-group
Output Figure 16-2: Example output from the show diagnostic channel-group command
awplus# show diagnostic channel-group
Channel Group Info based on NSM:
Note: Pos - position in hardware table
------------------------------------------------------------
Dev Interface IfIndex Member port IfIndex Active Pos
------------------------------------------------------------
po1 4601 port1.0.4 5004 No
po1 4601 port1.0.5 5005 No
Channel Group Info based on HSL:
Note: Pos - position in hardware table
------------------------------------------------------------
Dev Interface IfIndex Member port IfIndex Active Pos
------------------------------------------------------------
po1 4601 N/a
Channel Group Info based on IPIFWD:
Note: Pos - position in hardware table
------------------------------------------------------------
Dev Interface IfIndex Member port IfIndex Active Pos
------------------------------------------------------------
po1 4601 N/a
No error found
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
529
L INK A GGREGATION C OMMANDS
SHOW ETHERCHANNEL
show etherchannel
Overview Use this command to display information about a LACP channel specified by the channel group number.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show etherchannel [ <1-2> ]
Parameter
< 1-2 >
Description
Channel-group number.
Mode User Exec and Privileged Exec
Example awplus# show etherchannel
Output Figure 16-3: Example output from show etherchannel awplus#show etherchannel
% LAG Maximum : 8
% LAG Static Maximum: 8
% LAG Dynamic Maximum: 8
% LAG Static Count : 0
% LAG Dynamic Count : 1
% LAG Total Count : 1
% Lacp Aggregator: po1
% Member:
port1.0.5
port1.0.6
Example awplus# show etherchannel 1
Output Figure 16-4: Example output from show etherchannel for a particular channel awplus#show etherchannel 1
Aggregator po1 (4601)
Mac address: 00:00:00:00:00:00
Admin Key: 0001 - Oper Key 0000
Receive link count: 0 - Transmit link count: 0
Individual: 0 - Ready: 0
Partner LAG: 0x0000,00-00-00-00-00-00
Link: port1.0.1 (5001) disabled
Link: port1.0.2 (5002) disabled
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
530
L INK A GGREGATION C OMMANDS
SHOW ETHERCHANNEL DETAIL
show etherchannel detail
Overview Use this command to display detailed information about all LACP channels.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show etherchannel detail
Mode User Exec and Privileged Exec
Example awplus# show etherchannel detail
Output Example output from show etherchannel detail awplus#show etherchannel detail
Aggregator po1 (IfIndex: 4601)
Mac address: 00:00:cd:37:05:17
Admin Key: 0001 - Oper Key 0001
Receive link count: 2 - Transmit link count: 2
Individual: 0 - Ready: 1
Partner LAG: 0x8000,00-00-cd-37-02-9a,0x0001
Link: port1.0.1 (IfIndex: 8002) synchronized
Link: port1.0.2 (IfIndex: 20002) synchronized
Aggregator po2 (IfIndex: 4602)
Mac address: 00:00:cd:37:05:17
Admin Key: 0002 - Oper Key 0002
Receive link count: 2 - Transmit link count: 2
Individual: 0 - Ready: 1
Partner LAG: 0x8000,ec-cd-6d-aa-c8-56,0x0002
Link: port1.0.3 (IfIndex: 8001) synchronized
Link: port1.0.4 (IfIndex: 20001) synchronized
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
531
L INK A GGREGATION C OMMANDS
SHOW ETHERCHANNEL SUMMARY
show etherchannel summary
Overview Use this command to display a summary of all LACP channels.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show etherchannel summary
Mode User Exec and Privileged Exec
Example awplus# show etherchannel summary
Output Example output from show etherchannel summary
awplus#show etherchannel summary
Aggregator po10 (IfIndex: 4610)
Admin Key: 0010 - Oper Key 0010
Link: port1.0.1 (IfIndex: 7007) synchronized
Link: port1.0.2 (IfIndex: 8007) synchronized
Link: port1.0.3 (IfIndex: 11007) synchronized
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
532
L INK A GGREGATION C OMMANDS
SHOW LACP SYS ID
show lacp sys-id
Overview Use this command to display the LACP system ID and priority.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show lacp sys-id
Mode User Exec and Privileged Exec
Example awplus# show lacp sys-id
Output Example output from show lacp sys-id
System Priority: 0x8000 (32768)
MAC Address: 0200.0034.5684
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
533
L INK A GGREGATION C OMMANDS
SHOW LACP COUNTER
show lacp-counter
Overview Use this command to display the packet traffic on all ports of all present LACP aggregators, or a given LACP aggregator.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show lacp-counter [ <1-2> ]
Parameter
< 1-2 >
Description
Channel-group number.
Mode User Exec and Privileged Exec
Example awplus# show lacp-counter 2
Output Example output from show lacp-counter
% Traffic statistics
Port LACPDUs Marker Pckt err
Sent Recv Sent Recv Sent Recv
% Aggregator po2 (IfIndex: 4604) port1.0.2 0 0 0 0 0 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
534
L INK A GGREGATION C OMMANDS
SHOW PORT ETHERCHANNEL
show port etherchannel
Overview Use this command to show LACP details of the device port specified.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show port etherchannel < port >
Parameter
<port>
Description
Name of the device port to display LACP information about.
Mode User Exec and Privileged Exec
Example awplus# show port etherchannel port1.0.2
Output Example output from show port etherchannel awplus#show port etherchannel port1.0.2
LACP link info: port1.0.2 - 7007
Link: port1.0.2 (IfIndex: 7007)
Aggregator: po10 (IfIndex: 4610)
Receive machine state: Current
Periodic Transmission machine state: Slow periodic
Mux machine state: Collecting/Distributing
Actor Information: Partner Information:
Selected ................. Selected Partner Sys Priority ....... 0x8000
Physical Admin Key .............. 2 Partner System .. ec-cd-6d-d1-64-d0
Port Key ....................... 10 Port Key ....................... 10
Port Priority ............... 32768 Port Priority ............... 32768
Port Number .................. 7007 Port Number .................. 5001
Mode ....................... Active Mode ....................... Active
Timeout ...................... Long Timeout ...................... Long
Individual .................... Yes Individual .................... Yes
Synchronised .................. Yes Synchronised .................. Yes
Collecting .................... Yes Collecting .................... Yes
Distributing .................. Yes Distributing .................. Yes
Defaulted ...................... No Defaulted ...................... No
Expired ........................ No Expired ........................ No
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
535
L INK A GGREGATION C OMMANDS
SHOW STATIC CHANNEL GROUP
show static-channel-group
Overview Use this command to display all configured static channel groups and their corresponding member ports. Note that a static channel group is the same as a static aggregator.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide , which is available on our website at alliedtelesis.com.
Syntax show static-channel-group
Mode User Exec and Privileged Exec
Example awplus# show static-channel-group
Output Example output from show static-channel-group awplus#show static-channel-group
% LAG Maximum : 2
% LAG Static Maximum: 2
% LAG Dynamic Maximum: 2
% LAG Static Count : 0
% LAG Dynamic Count : 1
% LAG Total Count : 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
536
L INK A GGREGATION C OMMANDS
STATIC CHANNEL GROUP
static-channel-group
Overview Use this command to create a static channel group, or add a member port to an existing static channel group. Static channel groups are also known as static aggregators.
You can create up to 2 static channel groups (or up to 2 dynamic channel groups).
Use the no variant of this command to remove the device port from the static channel group.
Syntax static-channel-group < static-channel-group-number >
[member-filters] no static-channel-group
Parameter Description
<static-channel- group-number >
<1-2> Static channel group number.
member-filters Allow QoS and ACL settings to be configured on the aggregator’s individual member ports, instead of the aggregator itself. This configuration is required when using
QoS Storm Protection on a static aggregator.
Mode Interface Configuration
Usage This command adds the device port to the static channel group with the specified channel group number. If the channel group does not exist, it is created, and the port is added to it. The no prefix detaches the port from the static channel group.
If the port is the last member to be removed, the static channel group is deleted.
All the ports in a channel group must have the same VLAN configuration: they must belong to the same VLANs and have the same tagging status, and can only be operated on as a group.
Once the static channel group has been created, it is treated as a device port, and can be referred to in other commands that apply to device ports.
To refer to a static channel group in other static channel group commands, use the channel group number. To specify a static channel group in other commands, prefix the channel group number with sa . For example, ‘ sa2 ’ refers to the static channel group with channel group number 2.
Examples To define static channel group 2 on a device port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# static-channel-group 2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
537
L INK A GGREGATION C OMMANDS
STATIC CHANNEL GROUP
To reference static channel group 2 as an interface, use the commands: awplus# configure terminal awplus(config)# interface sa2 awplus(config-if)#
To make it possible to use QoS Storm Protection on static channel group 2 on port1.0.6, with an ACL named “test-acl”, use the commands: awplus# configure terminal awplus(config)# interface port1.0.6
awplus(config-if)# static-channel-group 2 member-filters awplus(config-if)# access-group test-acl
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
538
L INK A GGREGATION C OMMANDS
UNDEBUG LACP
undebug lacp
Overview
This command applies the functionality of the no debug lacp command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
539
17
Power over
Ethernet
Commands
Introduction
Overview This chapter contains an alphabetical list of commands used to configure Power over Ethernet (PoE). Each command contains a functional description and shows examples of configuration and output screens for show commands. These commands are only supported on PoE capable ports. An error message will display on the console if you enter a PoE command on a port that does not support PoE.
The following documents offer further information for configuring PoE on
AlliedWare Plus switches.
•
• the PoE Feature Overview and Configuration_Guide .
the Support for Allied Telesis Enterprise_MIBs_in AlliedWare Plus , for information about which PoE MIB objects are supported.
• the SNMP Feature Overview and Configuration_Guide , for information about
SNMP traps.
Power over Ethernet (PoE) is a technology allowing devices such as security cameras to receive power over LAN cabling.
The Powered Device (PD) referred to throughout this chapter is a PoE or PoE+ powered device, such as an IP phone or a Wireless Access Point (WAP).
Command List •
•
•
•
•
•
•
•
•
“ clear power-inline counters interface ” on page 542
“ debug power-inline ” on page 543
“ power-inline allow-legacy ” on page 545
“ power-inline description ” on page 546
“ power-inline enable ” on page 547
“ power-inline hanp ” on page 548
“ power-inline max ” on page 549
“ power-inline priority ” on page 551
“ power-inline usage-threshold ” on page 553
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
540
P OWER OVER E THERNET C OMMANDS
•
•
•
•
•
•
•
“ power-inline wattage max ” on page 554
“ service power-inline ” on page 555
“ show debugging power-inline ” on page 556
“ show power-inline ” on page 557
“ show power-inline counters ” on page 560
“ show power-inline interface ” on page 562
“ show power-inline interface detail ” on page 565
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
541
P OWER OVER E THERNET C OMMANDS
CLEAR POWER INLINE COUNTERS INTERFACE
clear power-inline counters interface
Overview This command will clear the counters from a specified port, a range of ports, or all ports on the switch. If no ports are entered then PoE counters for all ports are cleared. It will also clear all Power over Ethernet (PoE) counters supported by the
Power Ethernet MIB (RFC 3621).
Syntax clear power-inline counters interface [< port-list >]
Parameter
< port-list >
Description
Selects the port or ports whose counters are to be cleared.
Mode Privileged Exec
Usage
The PoE counters are displayed with the show power-inline counters
command.
Examples To clear the PoE counters for port1.0.2 only, use the following command: awplus# clear power-inline counters interface port1.0.2
To clear the PoE counters for port1.0.5 through port1.0.8, use the following command: awplus# clear power-inline counters interface port1.0.5-port1.0.8
To clear the PoE counters for all ports, use the following command: awplus# clear power-inline counters interface
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
542
P OWER OVER E THERNET C OMMANDS
DEBUG POWER INLINE
debug power-inline
Overview This command enables debugging display for messages that are specific to Power over Ethernet (PoE).
Use the no variant of this command to disable the specified PoE debugging messages.
Syntax debug power-inline [all|event|info|power] no debug power-inline [all|event|info|power]
Parameter all event info power
Description
Displays all ( event , info , nsm , power ) debug messages.
Displays event debug information, showing any error conditions that may occur during PoE operation.
Displays informational level debug information, showing high-level essential debugging, such as information about message types.
Displays power management debug information.
Default No debug messages are enabled by default.
Mode Privileged Exec
Usage Use the
terminal monitor command to display PoE debug messages on the
console.
Use the
show debugging power-inline command to show the PoE debug
configuration.
Examples To enable PoE debugging and start the display of PoE event and info debug messages on the console, use the following commands: awplus# terminal monitor awplus# debug power-inline event info
To enable PoE debugging and start the display of all PoE debugging messages on the console, use the following commands: awplus# terminal monitor awplus# debug power-inline all
To stop the display of PoE info debug messages on the console, use the following command: awplus# no debug power-inline info
To disable all PoE debugging and stop the display of any PoE debugging messages on the console, use the following command: awplus# no debug power-inline all
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
543
P OWER OVER E THERNET C OMMANDS
DEBUG POWER INLINE
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
544
P OWER OVER E THERNET C OMMANDS
POWER INLINE ALLOW LEGACY
power-inline allow-legacy
Overview This command enables detection of pre-IEEE 802.3af Power Ethernet standard legacy Powered Devices (PDs).
The no variant of this command disables detection of pre-IEEE 802.3af Power
Ethernet standard legacy Powered Devices (PDs).
Syntax power-inline allow-legacy no power-inline allow-legacy
Default Detection of legacy PDs is enabled on all ports
Mode Global Configuration
Examples To disable detection of legacy PDs, use the following commands: awplus# configure terminal awplus(config)# no power-inline allow-legacy
To enable detection of legacy PDs, use the following commands: awplus# configure terminal awplus(config)# power-inline allow-legacy
Validation
Commands
power-inline
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
545
P OWER OVER E THERNET C OMMANDS
POWER INLINE DESCRIPTION
power-inline description
Overview This command adds a description for a Powered Device (PD) connected to a PoE port.
The no variant of this command clears a previously entered description for a connected PD, resetting the PD description to the default (null).
Syntax power-inline description < pd-description > no power-inline description
Parameter Description
< pd-description > Description of the PD connected to the PoE capable port
(with a maximum 256 character string limit per PD description).
Default No description for a connected PD is set by default.
Mode Interface Configuration
Usage Select a PoE port, a list of PoE ports, or a range of PoE ports with the preceding
interface (to configure) command. If you specify a range or list of ports they must
all be PoE capable ports.
Examples To add the description “Desk Phone” for a connected PD on port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# power-inline description Desk Phone
To clear the description for the connected PD on port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no power-inline description
Related
Commands
power-inline
546 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P OWER OVER E THERNET C OMMANDS
POWER INLINE ENABLE
power-inline enable
Overview This command enables Power over Ethernet (PoE) to detect a connected Powered
Device (PD) and supply power.
The no variant of this command disables PoE functionality on the selected PoE port(s). No power is supplied to a connected PD after PoE is disabled on the selected PoE port(s).
Ports still provide Ethernet connectivity after PoE is disabled.
Syntax power-inline enable no power-inline enable
Default PoE is enabled by default on all ports
Mode Interface Configuration for one or more ports.
Usage No PoE log messages are generated for ports on which PoE is disabled.
Examples To disable PoE on port1.0.1 to port1.0.4, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# no power-inline enable
To enable PoE on port1.0.1 to port1.0.4, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# power-inline enable
Related
Commands
show power-inline interface detail
power-inline
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
547
P OWER OVER E THERNET C OMMANDS
POWER INLINE HANP
power-inline hanp
Overview Use this command to enable High Availability Network Power (HANP). HANP enables the switches to perform actions such as software upgrades without forcing the Powered Devices to power cycle. This means, for example, if you are rebooting a switch connected to a PD such as a camera, HANP allows the camera to buffer while the switch is rebooted.You can configure HANP on a global or per port level. Enabling it globally enables it on all PoE ports.
Use the no variant of this command to disable HANP globally or on the specified ports.
Syntax power-inline hanp no power-inline hanp
Default HANP is disabled globally by default. If you enable it globally, that enables it on all ports.
Mode User Exec/Privileged Exec
Example To enable HANP on all ports, use the commands: awplus# configure terminal awplus(config)# power-inline hanp
To enable HANP on all ports except port 1.0.5, use the commands: awplus# configure terminal awplus(config)# power-inline hanp awplus(config)# interface port1.0.5
awplus(config-if)# no power-inline hanp
Related
Commands
show power-inline interface detail
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
548
P OWER OVER E THERNET C OMMANDS
POWER INLINE MAX
power-inline max
Overview This command sets the maximum power allocated to a Power over an Ethernet
(PoE and PoE+) port. The amount of power actually supplied to the port depends on the power requirements of the connected PD. It is also a function of the total
PoE power loading on the switch and the PoE priority set for the port by the
command. However this command (power-inline max) does apply a maximum value to the power that the port is able to supply.
The IE200-6 Series switches are able to supply 802.3at (PoE+) power levels to all their PoE-capable ports. This command controls the power output for each port, however this should not be necessary on an IE200-6 Series switch.
Note that the value set by this command will be the figure the switch will use when apportioning the power budget for its ports. For example, if 15.4 W is assigned to a port whose PD only consumes 5 W, the switch will reserve the full 15.4 W for this port when determining its total power PoE power requirement.
The no variant of this command sets the maximum power supplied to a PoE port to the default, which is set to the maximum power limit for the class of the connected Powered Device (PD).
Syntax power-inline max < 4000-30000 > no power-inline max
Parameter
< 4000-30000 >
Description
The maximum power supplied to a PoE port in milliwatts
(mW).
Default The switch supplies the maximum power limit for the class of the PD connected to the port by default.
NOTE : See the PoE Feature Overview and Configuration Guide for further information about power classes.
Mode Interface Configuration for one or more ports. If you specify a range or list of ports, they must all be PoE capable ports.
Usage If you select a range of PoE ports in Interface Configuration mode before issuing this command, then each port in the range selected will have the same maximum power value configured. If the PoE port attempts to draw more than the maximum power, this is logged and all power is removed.
Note that the value entered is rounded up to the next value supported by the hardware. The actual value used is displayed after you enter the command, such as in the following sample console output:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
549
P OWER OVER E THERNET C OMMANDS
POWER INLINE MAX
awplus#configure terminal
awplus(config)#interface port1.0.1
awplus(config-if)#power-line max 5300
% The maximum power has been rounded to 5450mW in hardware.
See the LLDP Feature Overview and Configuration Guide for information about power monitoring at the PD.
Note the difference in power supplied from the PSE to the power available at the
PD due to line loss.
See the PoE Feature Overview and Configuration Guide for further information about the difference between the power supplied from the PSE and the power available at the PD.
Examples To set the maximum power supplied to ports in the range port1.0.1 to port1.0.4 to
6450mW per port, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2-port1.0.4
awplus(config-if)# power-inline max 6450
To clear the user-configured maximum power supplied to port1.0.1, and revert to using the default maximum power, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no power-inline max
Related
Commands
power-inline
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
550
P OWER OVER E THERNET C OMMANDS
POWER INLINE PRIORITY
power-inline priority
Overview This command sets the Power over Ethernet (PoE) priority level of a PoE port to one of three available priority levels:
•
• low high
• critical
The IE200-6 Series switches are able to supply 802.3at (PoE+) power levels to all their PoE-capable ports. This command prioritizes ports if necessary, however this should not be necessary on an IE200-6 Series switch.
The no variant of this command restores the PoE port priority to the default (low).
Syntax power-inline priority {low|high|critical} no power-inline priority
Parameter low high critical
Description
The lowest priority for a PoE enabled port (default). PoE ports set to low only receive power if all the PoE ports assigned to the other two levels are already receiving power.
The second highest priority for a PoE enabled port. PoE ports set to high receive power only if all the ports set to critical are already receiving power.
The highest priority for a PoE enabled port. PoE ports set to critical are guaranteed power before any ports assigned to the other two priority levels. Ports assigned to the other priority levels receive power only if all critical ports are receiving power.
Default The default priority is low for all PoE ports
Mode Interface Configuration
Usage Select a PoE port, a list of PoE ports, or a range of PoE ports with the preceding
interface (to configure) command. If you specify a range or list of ports they must
all be PoE capable ports.
PoE ports with higher priorities are given power before PoE ports with lower priorities. If the priorities for two PoE ports are the same then the lower numbered
PoE port is given power before the higher numbered PoE port.
See the PoE Feature Overview and Configuration Guide for further information about PoE priority.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
551
P OWER OVER E THERNET C OMMANDS
POWER INLINE PRIORITY
Examples To set the priority level to high on port1.0.1 to port1.0.4, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# power-inline priority high
To reset the priority level to the default of low on port1.0.1 to port1.0.4, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# no power-inline priority
Related
Commands
power-inline
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
552
P OWER OVER E THERNET C OMMANDS
POWER INLINE USAGE THRESHOLD
power-inline usage-threshold
Overview This command sets the level at which the switch will issue a message that the power supplied to all Powered Devices (PDs) has reached a critical level of the nominal power rating for the switch. The level is set as a percentage of total available power.
The no variant of this command resets the notification usage-threshold to the default (80% of the nominal power rating).
Syntax power-inline usage-threshold < 1-99 > no power-inline usage-threshold
Parameter
< 1-99 >
Description
The usage-threshold percentage configured with this command.
Default The default power usage threshold is 80% of the nominal power rating
Mode Global Configuration
Usage Use the
snmp-server enable trap command to configure SNMP notification. An
SNMP notification is sent when the usage-threshold, as configured in the example, is exceeded.
Examples To generate SNMP notifications when power supplied exceeds 70% of the nominal power rating, use the following commands: awplus# configure terminal awplus(config)# snmp-server enable trap power-inline awplus(config)# power-inline usage-threshold 70
To reset the notification threshold to the default (80% of the nominal power rating), use the following commands: awplus# configure terminal awplus(config)# no power-inline usage-threshold
Related
Commands
power-inline
553 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P OWER OVER E THERNET C OMMANDS
POWER INLINE WATTAGE MAX
power-inline wattage max
Overview Use this command to specify the maximum system-wide power to be delivered by the switch. This is useful if the switch is powered by a system that cannot deliver the default wattage.
Use the no variant of this command to return the maximum power to the default value.
Syntax power-inline wattage max < watts > no power inline wattage
Parameter max < watts >
Description
The maximum number of watts to be distributed by the device, from 1 to 120. Note that you cannot set the wattage to be higher than the switch’s system limit of 120W, which is the default value.
Default The switch’s system limit, which is 120 watts
Mode Global Configuration
Example To set the switch’s maximum wattage to 90W, use the commands: awplus# configure terminal awplus(config)# power inline wattage max 90
Related
Commands
Command changes
Version 5.4.6-1.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
554
P OWER OVER E THERNET C OMMANDS
SERVICE POWER INLINE
service power-inline
Overview This command enables Power over Ethernet (PoE) globally on the switch, for all
PoE ports.
Syntax service power-inline no service power-inline
Default PoE functionality is enabled by default
Mode Global Configuration
Examples To disable PoE, use the following commands: awplus# configure terminal awplus(config)# no service power-inline
To re-enable PoE, if PoE has been disabled, use the following commands: awplus# configure terminal awplus(config)# service power-inline
Related
Commands
power-inline
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
555
P OWER OVER E THERNET C OMMANDS
SHOW DEBUGGING POWER INLINE
show debugging power-inline
Overview This command displays Power over Ethernet (PoE) debug settings.
Syntax show debugging power-inline
Mode User Exec and Privileged Exec
Example To display PoE debug settings, use the following command: awplus# show debugging power-inline
Output Figure 17-1: Example output from the show debugging power-inline command awplus#show debugging power-inline
PoE Debugging status:
PoE Informational debugging is disabled
PoE Event debugging is disabled
PoE Power Management debugging is disabled
PoE NSM debugging is enabled
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
556
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE
show power-inline
Overview This command displays the Power over Ethernet (PoE) status for all ports.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show power-inline
Mode User Exec and Privileged Exec
Example To display the PoE status for all ports, use the following command: awplus# show power-inline
Output Figure 17-2: Example output from show power-inline when the switch has stopped supplying power to non-critical ports because of over-heating.
awplus#show power-inline
PoE Status:
Nominal Power: 120W
Power Allocated: 0W
Actual Power Consumption: 0W
Operational Status: On
Power Usage Threshold: 80% (96W)
Detection of legacy devices is enabled
RPS Boost Mode: Disabled
High Availability Network Power: Disabled
Thermal State: Non-Critical Ports Denied
PoE Interface:
Interface/ Admin Pri Oper Power Device Class Max HANP
Pair (mW) (mW) port1.0.1 Enabled Low Off 0 n/a n/a n/a On port1.0.2 Enabled Low Denied 0 n/a 4 30000 [C] On port1.0.3 Enabled Low Off 0 n/a n/a n/a On port1.0.4 Enabled Low Off 0 n/a n/a n/a On
Table 1: Parameters in the show power-inline command output
Parameter
Nominal Power
Power Allocated
Description
The nominal power available on the switch in watts (W).
The current power allocated in watts (W) that is available to be drawn by any connected Powered Devices (PDs). This is updated every 5 seconds.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
557
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE
C613-50135-01 Rev A
Table 1: Parameters in the show power-inline command output (cont.)
Parameter
Actual Power
Consumption
Operational Status
Power Usage Threshold
(%)
High Availability
Network Power
Thermal State
Interface
Admin
Pri
Description
The current power consumption in watts (W) drawn by all connected Powered Devices (PDs). This is updated every 5 seconds.
The operational status of the PSU hardware when this command was issued:
• On if the PSU is installed and switched on.
• Off when the PSU is switched off (an RPS may be connected to the switch to power PoE instead of the
PSU).
• Fault when there is an issue with the PSU hardware.
The configured SNMP trap / log threshold, as configured
from a power-inline usage-threshold
command.
Whether High Availability Network Power is enabled or disabled globally. HANP enables the switch to perform actions such as software upgrades without forcing the
Powered Devices to power cycle. This allows, for example,
IP cameras to buffer data instead of losing it.
Whether the switch has exceeded its safe operational temperature and removed power from some or all ports to limit over-heating:
• Operational means that the switch has not removed power from any ports.
• Non-Critical Ports Denied means that the switch has stopped supplying power to all ports except those with a priority setting of Critical.
• All Ports Denied means that the switch has stopped supplying power to all ports.
If the switch has stopped supplying power to any ports, it will start supplying power again automatically when the temperature returns to a safe level.
The PoE port(s) in the format portx.y.z, where x is the device number, y is the module number within the device, and z is the PoE port number within the module.
The administrative state of PoE on a PoE port, either
Enabled or Disabled .
The current PoE priorities for PoE ports, as configured using the
command:
• Low is the lowest priority (this is the default).
• High is the second highest priority.
• Crit (critical) is the highest priority.
If the switch cannot supply all ports, it will supply critical ports, then high-priority ports, then low-priority ports.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
558
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE
Table 1: Parameters in the show power-inline command output (cont.)
Parameter
Oper
Power
Device
Class
Max (mW)
HANP
Description
The current PoE port state when this command was issued:
• Powered displays if there is a PD connected and power is being supplied.
• Denied displays if supplying power would make the switch go over the power budget. It also displays if the switch is overheating and therefore has stopped supplying power to the port.
• Off displays if the port is not supplying power but has not been denied power by the switch. This is the default state for ports that are not connected to a PD.
• Disabled displays if the PoE port is administratively disabled.
• Syncing displays if PoE is still initializing the port when you issue the command.
• Fault displays if there is a problem with PoE on the port.
• Unknown displays if PoE cannot determine the state of the port.
The power consumption in milliwatts (mW) for the PoE port when this command was entered.
The description of the connected PD device if a description has been added with the
command. No description is shown for PDs not configured
with the power-inline description command.
The class of the connected PD, if power is being supplied to the PD.
The power in milliwatts (mW) allocated for the PoE port.
Additionally, note the following as displayed per PoE port:
• [U] if the power limit for a port was user configured (with the
• [L] if the power limit for a port was supplied by LLDP.
• [C] if the power limit for a port was supplied by the PD class.
Whether High Availability Network Power is enabled (on) or not (off ) on the port. HANP enables the switch to perform actions such as software upgrades without forcing the
Powered Devices to power cycle. This allows, for example,
IP cameras to buffer data instead of losing it. This column only displays if HANP has been enabled globally on the switch.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
559
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE COUNTERS
show power-inline counters
Overview This command displays Power over Ethernet (PoE) event counters for ports on the
Power Sourcing Equipment (PSE). The PoE event counters displayed can also be accessed by objects in the PoE MIB (RFC 3621). See the MIB Objects Feature
Overview and Configuration Guide for information about which PoE MIB objects are supported.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show power-inline counters [< port-list >]
Parameter Description
< port-list > Enter the PoE port(s) to display PoE event counters for them.
Mode User Exec and Privileged Exec
Examples To display all PoE event counters for all PoE ports, use the command: awplus# show power-inline counters
To display the PoE event counters for the port range 1.0.1 to 1.0.3, use the command: awplus# show power-inline counters interface port1.0.1-1.0.3
Output Figure 17-3: Example output from the show power-inline counters command awplus#show power-inline counters interface port1.0.1-port1.0.3
PoE Counters:
Interface MPSAbsent Overload Short Invalid Denied port1.0.1 0 0 0 0 0 port1.0.2 0 0 0 0 0 port1.0.3 0 0 0 0 0
Table 2: Parameters in the show power-inline counters command output
Parameter
Interface
MPSAbsent
Description
The PoE port(s) in the format portx.y.z
, where x is the device number, y is the module number within the device, and z is the
PoE port number within the module.
The number of instances when the PoE MPS (Maintain Power
Signature) signal has been lost. The PoE MPS signal is lost when a
PD is disconnected from the PSE. Also increments pethPsePortMPSAbsentCounter in the PoE MIB.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
560
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE COUNTERS
Table 2: Parameters in the show power-inline counters command output
Parameter
Overload
Short
Invalid
Denied
Description
The number of instances when a PD exceeds its configured power limit (as configured by the
power-inline max command). Also
increments pethPsePortOverLoadCounter in the PoE MIB.
The number of short circuits that have happened with a PD. Also increments pethPsePortShortCounter in the PoE MIB.
The number of times a PD with an Invalid Signature (where the PD has an open or short circuit, or is a legacy PD) is detected. Also increments pethPseInvalidSignatureCounter in the PoE
MIB.
The number of times a PD has been refused power due to power budget limitations for the PSE. Also increments pethPsePortPowerDeniedCounter in the PoE MIB.
Related
Commands
clear power-inline counters interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
561
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE INTERFACE
show power-inline interface
Overview This command displays a summary of Power over Ethernet (PoE) information for specified ports. If no ports are specified then PoE information is displayed for all ports.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show power-inline interface [< port-list >]
Parameter Description
< port-list > Enter the PoE port(s) to display PoE specific information in the show output.
Mode User Exec and Privileged Exec
Example To display the PoE port-specific information for all PoE ports on the switch, use the following command: awplus# show power-inline interface
To display the PoE port specific information for the port range1.0.1 to 1.0.4, use the following command: awplus# show power-inline interface port1.0.1-port1.0.4
Output Figure 17-4: Example output from the show power-inline interface command awplus#show power-inline interface port1.0.1-port1.0.4
Interface Admin Pri Oper Power Device Class Max(mW) port1.0.1 Disabled Low Disabled 0 n/a n/a n/a port1.0.2 Enabled High Powered 3840 Desk Phone 1 5000 [U] port1.0.3 Enabled Crit Powered 6720 AccessPoint 2 7000 [C] port1.0.4 Disabled Low Disabled 0 n/a n/a n/a
Table 3: Parameters in the show power-inline interface command output
Parameter
Interface
Admin
Description
The PoE port(s) in the format portx.y.z
, where x is the device number, y is the module number within the device, and z is the
PoE port number within the module.
The administrative state of PoE on a PoE port, either Enabled or
Disabled .
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
562
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE INTERFACE
Table 3: Parameters in the show power-inline interface command output
Parameter
Pri
Oper
Power
Device
Class
Description
The current PoE priorities for PoE ports on the PSE, as configured
from a power-inline priority command:
• Low displays when the low parameter is issued. The lowest priority for a PoE enabled port (default).
• High displays when the high parameter is issued. The second highest priority for a PoE enabled port.
• Crit displays when the critical parameter is issued. The highest priority for a PoE enabled port.
The current PoE port state when this command was issued:
• Powered displays if there is a PD connected and power is being supplied.
• Denied displays if supplying power would make the switch go over the power budget. It also displays if the switch is overheating and therefore has stopped supplying power to the port.
• Off displays if the port is not supplying power but has not been denied power by the switch. This is the default state for ports that are not connected to a PD.
• Disabled displays if the PoE port is administratively disabled.
• Syncing displays if PoE is still initializing the port when you issue the command.
• Fault displays if there is a problem with PoE on the port.
• Unknown displays if PoE cannot determine the state of the port.
The power consumption in milliwatts (mW) for the PoE port when this command was entered.
The description of the connected PD device if a description has
been added with the power-inline description
command. No description is shown for PDs not configured with the
power-inline description command.
The class of the connected PD, if power is being supplied to the
PD from the PSE.
See the PoE Feature Overview and Configuration Guide for further information about power classes.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
563
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE INTERFACE
Table 3: Parameters in the show power-inline interface command output
Parameter
Max (mW)
HANP
Description
The power in milliwatts (mW) allocated for the PoE port.
Additionally, note the following is displayed per PoE port:
• [U] if the power limit for a port was user configured (with the
• [L] if the power limit for a port was supplied by LLDP.
• [C] if the power limit for a port was supplied by the PD class.
Whether High Availability Network Power is enabled (on) or not
(off ) on the port. HANP enables the switch to perform actions such as software upgrades without forcing the Powered Devices to power cycle. This allows, for example, IP cameras to buffer data instead of losing it. This column only displays if HANP has been enabled globally on the switch.
Related
Commands
show power-inline interface detail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
564
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE INTERFACE DETAIL
show power-inline interface detail
Overview This command displays detailed information for one or more Power over Ethernet
(PoE) ports.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show power-inline interface [< port-list >] detail
Parameter Description
< port-list > Enter the PoE port(s) to display information about only the specified port or ports.
Mode User Exec and Privileged Exec
Usage The power allocated to each port is listed in the Power allocated row, and is limited by the maximum power per Powered Device (PD) class, or a user configured power limit.
Examples To display detailed PoE port specific information for the port range 1.0.1 to 1.0.3, use the command: awplus# show power-inline interface port1.0.1-1.0.3 detail
Output Figure 17-5: Example output from the show power-inline interface detail command awplus#show power-inline interface port1.0.1-1.0.2 detail
Interface port1.0.1
Powered device type: Desk Phone #1
PoE admin enabled
Priority Low
Detection status: Powered
Current power consumption: 4800 mW
Powered device class: 1
Power allocated: 5000 mW (from configuration)
Detection of legacy devices is disabled
Powered pairs: Data
Interface port1.0.2
Powered device type: Access Point #3
PoE admin enabled
Priority High
Detection status: Powered
Current power consumption: 6720 mW
Powered device class: 2
Power allocated: 7000 mW (from powered device class)
Detection of legacy devices is enabled
Powered pairs: Data
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
565
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE INTERFACE DETAIL
Table 4: Parameters in show power-inline interface detail command output
Parameter
Interface
Description
The PoE port(s) in the format portx.y.z
, where x is the device number, y is the module number within the device, and z is the
PoE port number within the module.
Powered device type:
The name of the PD, if connected and if power is being supplied
to the PD from the PSE, configured with the power-inline description
command. n/a displays if a description has not been configured for the PD.
PoE admin The administrative state of PoE on a PoE capable port, either
Enabled or Disabled
as configured from the power-inline enable
command or the no power-inline enable command respectively.
Priority The PoE priority of a port, which is either Low, or High, or
Critical
, as configured by the power-inline priority command.
Detection status:
High
Availability
Network
Power:
Whether HANP is enabled or disabled on the port. HANP enables the switch to perform actions such as software upgrades without forcing the Powered Devices to power cycle. This allows, for example, IP cameras to buffer data instead of losing it. Note that this information is only displayed if HANP is enabled globally on the switch.
Current power consumption:
The power consumption for the PoE port when this command was entered. Note that the power consumption may have changed since the command was entered and the power is displayed.
Powered device class:
The class of the connected PD if connected, and if power is being supplied to the PD from the PSE.
See the PoE Feature Overview and Configuration Guide for further information about power classes.
Power allocated:
The current PSE PoE port state when this command was issued:
• Powered displays when there is a PD connected and power is being supplied from the PSE.
• Denied displays when supplying power would make the PSE go over the power budget.
• Disabled displays when the PoE port is administratively disabled.
• Off displays when PoE has been disabled for the port.
• Fault displays when a PSE goes over its power allocation.
The power in milliwatts (mW) allocated for the PoE port.
Additionally, note the following as displayed per PoE port:
• [U] if the power limit for a port was user configured (with the power-inline max command).
• [L] if the power limit for a port was supplied by LLDP.
• [C] if the power limit for a port was supplied by the PD class.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
566
P OWER OVER E THERNET C OMMANDS
SHOW POWER INLINE INTERFACE DETAIL
Table 4: Parameters in show power-inline interface detail command output
Parameter
Detection of legacy devices is
Powered pairs:
Description
The status of legacy PoE detection on the PoE port (enabled or disabled), as configured for the PoE port with the
command.
The IEEE 802.3af and IEEE 802.3at standards allow for either data or spare twisted pairs to be used to transfer power to a PD.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
567
18
GVRP Commands
Introduction
Overview With GVRP enabled the switch can exchange VLAN configuration information with other GVRP enabled switches. VLANs can be dynamically created and managed through trunk ports.
•
•
There is a limit of 400 VLANs supported by the AlliedWare Plus GVRP implementation. VLANs may be numbered 1-4094, but a limit of 400 of these
VLANs are supported.
MSTP is not supported by the AlliedWare Plus GVRP implementation. GVRP and MSTP are mutually exclusive. STP and RSTP are supported by GVRP.
This chapter provides an alphabetical reference for commands used to configure
GVRP. For information about GVRP, including configuration, see the GVRP Feature
Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
“ clear gvrp statistics ” on page 569
“ gvrp (interface) ” on page 572
“ gvrp dynamic-vlan-creation ” on page 573
“ gvrp enable (global) ” on page 574
“ gvrp registration ” on page 575
“ show debugging gvrp ” on page 577
“ show gvrp configuration ” on page 578
“ show gvrp machine ” on page 579
“ show gvrp statistics ” on page 580
“ show gvrp timer ” on page 581
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
568
GVRP C OMMANDS
CLEAR GVRP STATISTICS
clear gvrp statistics
Overview Use this command to clear the GVRP statistics for all switchports, or for a specific switchport.
Syntax clear gvrp statistics {all|< interface >}
Parameter all
Description
Specify all switchports to clear GVRP statistics.
< interface > Specify the switchport to clear GVRP statistics.
Mode Privileged Exec
Usage Use this command together with the
command to troubleshoot GVRP.
Examples To clear all GVRP statistics for all switchport on the switch, enter the command: awplus# clear gvrp statistics all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
569
GVRP C OMMANDS
DEBUG GVRP
debug gvrp
Overview Use this command to debug GVRP packets and commands, sending output to the console.
Use the no variant of this command to turn off debugging for GVRP packets and commands.
Syntax debug gvrp {all|cli|event|packet} no debug gvrp {all|cli|event|packet}
Parameter all cli event packet
Description
Specifies debugging for all levels.
Specifies debugging for commands.
Specified debugging for events.
Specifies debugging for packets.
Mode Privileged Exec and Global Configuration
Examples To send debug output to the console for GVRP packets and GVRP commands, and to enable the display of debug output on the console first, enter the commands: awplus# terminal monitor awplus# configure terminal awplus(config)# debug gvrp all
To send debug output for GVRP packets to the console, enter the commands: awplus# terminal monitor awplus# configure terminal awplus(config)# debug gvrp packets
To send debug output for GVRP commands to the console, enter the commands: awplus# terminal monitor awplus# configure terminal awplus(config)# debug gvrp cli
To stop sending debug output for GVRP packets and GVRP commands to the console, and to stop the display of any debug output on the console, enter the commands: awplus# terminal no monitor awplus# configure terminal awplus(config)# no debug gvrp all
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
570
GVRP C OMMANDS
DEBUG GVRP
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
571
GVRP C OMMANDS
GVRP ( INTERFACE )
gvrp (interface)
Overview Use this command to enable GVRP for switchport interfaces.
Use the no variant of this command to disable GVRP for switchport interfaces.
Syntax gvrp no gvrp
Mode Interface Configuration (for switchport interfaces).
Default Disabled by default.
Usage Use this command to enable GVRP on switchport interfaces. Note this command does not enable GVRP for the switch. To enable GVRP on switchports use this
command in Interface Configuration mode. You must issue a gvrp enable (global)
command before issuing a gvrp (interface)
command.
You must enable GVRP on both ends of a link for GVRP to propagate VLANs between links.
NOTE
: MSTP is not supported by the current AlliedWare Plus GVRP implementation.
GVRP and MSTP are mutually exclusive. STP and RSTP are supported by GVRP.
Private VLAN trunk ports are not supported by the current AlliedWare Plus GVRP implementation. GVRP and private VLAN trunk ports are mutually exclusive.
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
572
GVRP C OMMANDS
GVRP DYNAMIC VLAN CREATION
gvrp dynamic-vlan-creation
Overview Use this command to enable dynamic VLAN creation globally for the switch.
Use the no variant of this command to disable dynamic VLAN creation globally for the switch.
Syntax gvrp dynamic-vlan-creation no gvrp dynamic-vlan-creation
Mode Global Configuration
Default Disabled by default.
Usage You must enable GVRP on both ends of a link for GVRP to propagate VLANs between links.
You must also enable GVRP globally in Global Configuration mode before enabling
GVRP on an interface in Interface Configuration mode. Both of these tasks must occur to create VLANs.
NOTE
: There is limit of 400 VLANs supported by the AlliedWare Plus GVRP implementation. VLANs may be numbered 1-4094, but a limit of 400 of these VLANs are supported.
Examples Enter the following commands for switches with hostnames switch1 and switch2 respectively, so switch1 propagates VLANs to switch2 and switch2 propagates VLANs to switch1 :
Switch1: switch1# configure terminal switch1(config)# gvrp enable switch1(config)# gvrp dynamic-vlan-creation
Switch2: switch2# configure terminal switch2(config)# gvrp enable switch2(config)# gvrp dynamic-vlan-creation
To disable GVRP dynamic VLAN creation on the switch, enter the commands: awplus# configure terminal awplus(config)# no gvrp dynamic-vlan-creation
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
573
GVRP C OMMANDS
GVRP ENABLE ( GLOBAL )
gvrp enable (global)
Overview Use this command to enable GVRP globally for the switch.
GVRP is supported in Software Version 5.4.3A-1.x and later.
Use the no variant of this command to disable GVRP globally for the switch.
Syntax gvrp enable no gvrp enable
Mode Global Configuration
Default Disabled by default.
Usage Use this command to enable GVRP on the switch. Note that this command does not enable GVRP on switchports. To enable GVRP on switchports use the
command in Interface Configuration mode. You must issue a gvrp enable (global)
command before issuing a
You must enable GVRP on both ends of a link for GVRP to propagate VLANs between links.
NOTE
: MSTP is not supported by the current AlliedWare Plus GVRP implementation.
GVRP and MSTP are mutually exclusive. STP and RSTP are supported by GVRP.
Private VLAN trunk ports are not supported by the current AlliedWare Plus GVRP implementation. GVRP and private VLAN trunk ports are mutually exclusive.
Examples To enable GVRP for the switch, before enabling GVRP on switchports, enter the commands: awplus# configure terminal awplus(config)# gvrp enable
To disable GVRP on the switch, which will also disable GVRP enabled on switchports, enter the commands: awplus# configure terminal awplus(config)# no gvrp enable
Validation
Commands
Related
Commands
574 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
GVRP C OMMANDS
GVRP REGISTRATION
gvrp registration
Overview Use this command to set GVRP registration to normal, fixed, and forbidden registration modes.
Use the no variant of this command to disable GVRP registration.
Syntax gvrp registration {normal|fixed|forbidden} no gvrp registration {normal|fixed|forbidden}
Parameter normal fixed forbidden
Description
Specify dynamic GVRP registration and deregistration of VLANs.
Specify fixed GVRP registration and deregistration of VLANs.
Specify no GVRP registration of VLANs. VLANs are deregistered.
Mode Interface Configuration
Default Normal registration is the default.
Usage Configuring a trunk port in normal registration mode allows dynamic creation of
VLANs. Normal mode is the default mode. Validate using the
show gvrp configuration command.
Configuring a trunk port in fixed registration mode allows manual creation of
VLANs.
Configuring a trunk port in forbidden registration mode prevents VLAN creation on the port.
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
575
GVRP C OMMANDS
GVRP TIMER
gvrp timer
Overview Use this command to set GVRP timers in Interface Configuration mode for a given interface.
Use the no variant of this command to reset the GVRP timers to the defaults specified in the table below.
Syntax gvrp timer {join < timer-value >|leave < timer-value >|leaveall
< timer-value >} no gvrp timer {join|leave|leaveall}
Parameter join
Description
Specifies the timer for joining the group (default is 20 centiseconds / hundredths of a second, or 200 milliseconds).
leave Specifies the timer for leaving a group (default is 60 centiseconds / hundredths of a second, or 600 milliseconds).
leaveall Specifies the timer for leaving all groups (default is 1000 centiseconds / hundredths of a second, or 10,000 milliseconds).
< timer-value > < 1-65535 > The timer value in hundredths of a second
(centiseconds).
Mode Interface Configuration
Defaults The default join time value is 20 centiseconds (200 milliseconds), the default leave timer value is 60 centiseconds (600 milliseconds), and the default leaveall timer value is 1000 centiseconds (10,000 milliseconds).
Usage When configuring the leave timer, set it to more than or equal to three times the join timer value. The settings for the leave and join timers must be the same for all GVRP enabled switches. See also the section “Setting the GVRP Timers” in the
GVRP Feature Overview and Configuration Guide .
command to confirm GVRP timers set with this command.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
576
GVRP C OMMANDS
SHOW DEBUGGING GVRP
show debugging gvrp
Overview Use this command to display the GVRP debugging option set.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging gvrp
Mode User Exec and Privileged Exec
Example Enter the following commands to display GVRP debugging output on the console: awplus# configure terminal awplus(config)# debug gvrp all awplus(config)# exit awplus# show debugging gvrp
Output See sample output from the show debugging gvrp command after entering debug gvrp all :
GVRP debugging status:
GVRP Event debugging is on
GVRP CLI debugging is on
GVRP Timer debugging is on
GVRP Packet debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
577
GVRP C OMMANDS
SHOW GVRP CONFIGURATION
show gvrp configuration
Overview Use this command to display GVRP configuration data for a switch.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show gvrp configuration
Mode User Exec and Privileged Exec
Example To show GVRP configuration for the switch, enter the command: awplus# show gvrp configuration
Output The following is an output of this command displaying the GVRP configuration for a switch:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
578
GVRP C OMMANDS
SHOW GVRP MACHINE
show gvrp machine
Overview Use this command to display the state machine for GVRP.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show gvrp machine
Mode User Exec and Privileged Exec
Example To show the GVRP state machine for the switch, enter the command: awplus# show gvrp machine
Output See the following output of this command displaying the GVRP state machine.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
579
GVRP C OMMANDS
SHOW GVRP STATISTICS
show gvrp statistics
Overview Use this command to display a statistical summary of GVRP information for the switch.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show gvrp statistics [< interface >]
Parameter
<interface>
Description
The name of the switchport interface.
Mode User Exec and Privileged Exec
Usage Use this command together with the
clear gvrp statistics command to
troubleshoot GVRP.
Examples To show the GVRP statistics for all switchport interfaces, enter the command: awplus# show gvrp statistics
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
580
GVRP C OMMANDS
SHOW GVRP TIMER
show gvrp timer
Overview Use this command to display data for the GVRP timers set with the
command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show gvrp timer < interface >
Parameter
<interface>
Description
The name of the switchport interface.
Mode User Exec and Privileged Exec
Examples To show the GVRP timers for all switchport interfaces, enter the command: awplus# show gvrp timer
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
581
Part 3: Layer Three, Switching and
Routing
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
582
19
IP Addressing and
Protocol Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure various IP features, including the following protocols:
• Address Resolution Protocol (ARP)
For more information, see the IP Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ arp-aging-timeout ” on page 584
“ arp (IP address MAC) ” on page 585
“ arp-reply-bc-dmac ” on page 589
“ clear arp-cache ” on page 590
“ debug ip packet interface ” on page 591
“ ip address (IP Addressing and Protocol) ” on page 593
“ ip gratuitous-arp-link ” on page 595
“ ip unreachables ” on page 597
“ show debugging ip packet ” on page 602
“ show ip interface ” on page 604
“ show ip sockets ” on page 605
“ show ip traffic ” on page 608
“ undebug ip packet interface ” on page 616
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
583
IP A DDRESSING AND P ROTOCOL C OMMANDS
ARP AGING TIMEOUT
arp-aging-timeout
Overview This command sets a timeout period on dynamic ARP entries associated with a specific interface. If your device stops receiving traffic for the host specified in a dynamic ARP entry, it deletes the ARP entry from the ARP cache after this timeout is reached.
Your device times out dynamic ARP entries to ensure that the cache does not fill with entries for hosts that are no longer active. Static ARP entries are not aged or automatically deleted.
By default the time limit for dynamic ARP entries is 300 seconds on all interfaces.
The no variant of this command sets the time limit to the default of 300 seconds.
Syntax arp-aging-timeout <0-432000> no arp-aging timeout
Parameter Description
<0-432000> The timeout period in seconds.
Default 300 seconds (5 minutes)
Mode Interface Configuration for a VLAN interface.
Example To set the ARP entries on interface vlan30 to time out after two minutes, use the commands: awplus# configure terminal awplus(config)# interface vlan30 awplus(config-if)# arp-aging-timeout 120
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
584
IP A DDRESSING AND P ROTOCOL C OMMANDS
ARP (IP ADDRESS MAC)
arp (IP address MAC)
Overview This command adds a static ARP entry to the ARP cache. This is typically used to add entries for hosts that do not support ARP or to speed up the address resolution function for a host. The ARP entry must not already exist. Use the alias parameter to allow your device to respond to ARP requests for this IP address.
The no
Syntax arp < ip-addr > < mac-address > [< port-number >] [alias] no arp < ip-addr >
Parameter
<ip-addr>
<mac-address>
<port-number> alias
Description
The IPv4 address of the device you are adding as a static ARP entry.
The MAC address of the device you are adding as a static ARP entry, in hexadecimal notation with the format
HHHH.HHHH.HHHH.
The port number associated with the IP address. Specify this when the IP address is part of a VLAN.
Allows your device to respond to ARP requests for the IP address. Proxy ARP must be enabled on the interface before using this parameter.
Mode Global Configuration
Examples To add the IP address 10.10.10.9 with the MAC address 0010.2533.4655 into the
ARP cache, and have your device respond to ARP requests for this address, use the commands: awplus# configure terminal awplus(config)# arp 10.10.10.9 0010.2355.4566 alias
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
585
IP A DDRESSING AND P ROTOCOL C OMMANDS
ARP LOG
arp log
Overview This command enables the logging of dynamic and static ARP entries in the ARP cache. The ARP cache contains mappings of device ports, VLAN IDs, and IP addresses to physical MAC addresses for hosts.
This command can display the MAC addresses in the ARP log either using the notation HHHH.HHHH.HHHH, or using the IEEE standard hexadecimal notation
(HH-HH-HH-HH-HH-HH).
Use the no variant of this command to disable the logging of ARP entries.
Syntax arp log [mac-address-format ieee] no arp log [mac-address-format ieee]
Parameter Description mac-address-format ieee Display the MAC address in the standard IEEE format (HH-HH-HH-HH-HH-HH), instead of displaying the MAC address with the format
HHHH.HHHH.HHHH.
Default The ARP logging feature is disabled by default.
Mode Global Configuration
Usage You have the option to change how the MAC address is displayed in the ARP log message. The output can either use the notation HHHH.HHHH.HHHH or
HH-HH-HH-HH-HH-HH.
Enter arp log to use HHHH.HHHH.HHHH notation.
Enter arp log mac-address-format ieee to use HH-HH-HH-HH-HH-HH notation.
Enter no arp log mac-address-format ieee to revert from HH-HH-HH-HH-HH-HH to HHHH.HHHH.HHHH.
Enter no arp log to disable ARP logging.
To display ARP log messages use the show log | include ARP_LOG command.
Examples To enable ARP logging and specify that the MAC address in the log message is displayed in HHHH.HHHH.HHHH notation, use the following commands: awplus# configure terminal awplus(config)# arp log
To disable ARP logging on the device, use the following commands: awplus# configure terminal awplus(config)# no arp log
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
586
IP A DDRESSING AND P ROTOCOL C OMMANDS
ARP LOG
To enable ARP logging and specify that the MAC address in the log message is displayed in the standard IEEE format hexadecimal notation
(HH-HH-HH-HH-HH-HH), use the following commands: awplus# configure terminal awplus(config)# arp log mac-address-format ieee
To leave ARP logging enabled, but stop using HH-HH-HH-HH-HH-HH format and use HHHH.HHHH.HHHH format instead, use the following commands: awplus# configure terminal awplus(config)# no arp log mac-address-format ieee
To display ARP log messages, use following command: awplus# show log | include ARP_LOG
Output Figure 19-1: Output from show log | include ARP_LOG after enabling ARP logging using arp log . Note that this output uses
HHHH.HHHH.HHHH format.
awplus#configure terminal awplus(config)#arp log awplus(config)#exit awplus#show log | include ARP_LOG
2016 Oct 6 06:21:01 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 add
0013.4078.3b98 (192.168.2.4)
2016 Oct 6 06:22:30 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 del
0013.4078.3b98 (192.168.2.4)
2016 Oct 6 06:23:26 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 add
0030.940e.136b (192.168.2.20)
2016 Oct 6 06:23:30 user.notice awplus IMISH[1830]: show log | include ARP_LOG
Figure 19-2: Output from show log | include ARP_LOG after enabling ARP logging using arp log mac-address format ieee . Note that this output uses HH-HH-HH-HH-HH-HH format.
awplus#configure terminal awplus(config)#arp log mac-address-format ieee awplus(config)#exit awplus#show log | include ARP_LOG
2016 Oct 6 06:25:28 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 add
00-17-9a-b6-03-69 (192.168.2.12)
2016 Oct 6 06:25:30 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 add
00-03-37-6b-a6-a5 (192.168.2.10)
2016 Oct 6 06:26:53 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 del
00-30-94-0e-13-6b (192.168.2.20)
2016 Oct 6 06:27:31 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 del
00-17-9a-b6-03-69 (192.168.2.12)
2016 Oct 6 06:28:09 user.notice awplus HSL[1007]: ARP_LOG port1.0.1 vlan1 del
00-03-37-6b-a6-a5 (192.168.2.10)
2016 Oct 6 06:28:14 user.notice awplus IMISH[1830]: show log | include ARP_LOG
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
587
IP A DDRESSING AND P ROTOCOL C OMMANDS
ARP LOG
The following table lists the parameters in output of the show log | include
ARP_LOG command. The ARP log message format is:
< date > < time > < severity > < hostname > < program-name >
ARP_LOG < port-number > < vid > < operation > < MAC > < IP >
Table 1: Parameters in output of the show log | include ARP_LOG command
Parameter
ARP_LOG
< port-number >
< vid >
< operation >
< MAC >
< IP >
Description
Indicates that ARP log entry information follows.
Indicates device port number for the ARP log entry.
Indicates the VLAN ID for the ARP log entry.
Indicates “add” if the ARP log entry displays an ARP addition.
Indicates “del” if the ARP log entry displays an ARP deletion.
Indicates the MAC address for the ARP log entry, either in the default hexadecimal notation (HHHH.HHHH.HHHH) or in the
IEEE standard format hexadecimal notation
(HH-HH-HH-HH-HH-HH) as specified with the arp log or the arp log mac-address-format ieee command.
Indicates the IP address for the ARP log entry.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
588
IP A DDRESSING AND P ROTOCOL C OMMANDS
ARP REPLY BC DMAC
arp-reply-bc-dmac
Overview Use this command to allow processing of ARP replies that arrive with a broadcast destination MAC (ffff.ffff.ffff). This makes neighbors reachable if they send ARP responses that contain a broadcast destination MAC.
Use the no variant of this command to turn off processing of ARP replies that arrive with a broadcast destination MAC.
Syntax arp-reply-bc-dmac no arp-reply-bc-dmac
Default By default, this functionality is disabled.
Mode Interface Configuration for VLAN interfaces
Example To allow processing of ARP replies that arrive on VLAN2 with a broadcast destination MAC, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# arp-reply-bc-dmac
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
589
IP A DDRESSING AND P ROTOCOL C OMMANDS
CLEAR ARP CACHE
clear arp-cache
Overview This command deletes dynamic ARP entries from the ARP cache. You can optionally specify the IPv4 address of an ARP entry to be cleared from the ARP cache.
Syntax clear arp-cache [< ip-address >]
Parameter
<ip-address>
Description
The IPv4 address of an ARP entry that is to be cleared from the
ARP cache.
Mode Privileged Exec
Usage To display the entries in the ARP cache, use the
static ARP entries, use the no variant of the
Example To clear all dynamic ARP entries, use the command: awplus# clear arp-cache
To clear all dynamic ARP entries associated with the IPv4 address 192.168.1.1, use the command: awplus# clear arp-cache 192.168.1.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
590
IP A DDRESSING AND P ROTOCOL C OMMANDS
DEBUG IP PACKET INTERFACE
debug ip packet interface
Overview The debug ip packet interface command enables IP packet debug and is controlled by the terminal monitor command.
If the optional icmp keyword is specified then ICMP packets are shown in the output.
The no variant of this command disables the debug ip interface command.
Syntax debug ip packet interface {< interface-name >|all} [address
< ip-address >|verbose|hex|arp|udp|tcp|icmp] no debug ip packet interface [< interface-name >]
Parameter
<interface>
Description
Specify a single Layer 3 interface name (not a range of interfaces)
This keyword can be specified as either all or as a single Layer 3 interface to show debugging for either all interfaces or a single interface.
all Specify all Layer 3 interfaces on the device.
<ip-address> Specify an IPv4 address.
If this keyword is specified, then only packets with the specified IP address as specified in the ip-address placeholder are shown in the output.
verbose Specify verbose to output more of the IP packet.
If this keyword is specified then more of the packet is shown in the output.
hex Specify hex to output the IP packet in hexadecimal.
If this keyword is specified, then the output for the packet is shown in hex.
arp Specify
If this keyword is specified, then ARP packets are shown in the output.
arp to output ARP protocol packets.
udp Specify udp to output UDP protocol packets.
If this keyword is specified then UDP packets are shown in the output.
tcp Specify
If this keyword is specified, then TCP packets are shown in the output.
tcp to output TCP protocol packets.
icmp Specify icmp to output ICMP protocol packets.
If this keyword is specified, then ICMP packets are shown in the output.
Mode Privileged Exec and Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
591
IP A DDRESSING AND P ROTOCOL C OMMANDS
DEBUG IP PACKET INTERFACE
Examples To turn on ARP packet debugging on vlan1 , use the command: awplus# debug ip packet interface vlan1 arp
To turn on all packet debugging on all interfaces on the device, use the command: awplus# debug ip packet interface all
To turn on TCP packet debugging on vlan1 and IP address 192.168.2.4
, use the command: awplus# debug ip packet interface vlan1 address 192.168.2.4 tcp
To turn off IP packet interface debugging on all interfaces, use the command: awplus# no debug ip packet interface
To turn off IP packet interface debugging on interface vlan2 , use the command: awplus# no debug ip packet interface vlan2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
592
IP A DDRESSING AND P ROTOCOL C OMMANDS
IP ADDRESS (IP A DDRESSING AND P ROTOCOL )
ip address (IP Addressing and Protocol)
Overview This command sets a static IP address on an interface.
The no variant of this command removes the IP address from the interface. You cannot remove the primary address when a secondary address is present.
Syntax ip address <ip-addr / prefix-length> [secondary] [label <label> ] no ip address [ <ip-addr/prefix-length> ] [secondary]
Parameter Description
<ip-addr/prefix- length>
The IPv4 address and prefix length you are assigning to the interface.
secondary label
<label>
Secondary IP address.
Adds a user-defined description of the secondary IP address.
A user-defined description of the secondary IP address. Valid characters are any printable character and spaces.
Mode Interface Configuration for a VLAN interface or a local loopback interface.
Usage To set the primary IP address on the interface, specify only ip address
<ip-address/m> . This overwrites any configured primary IP address. To add additional IP addresses on this interface, use the secondary parameter. You must configure a primary address on the interface before configuring a secondary address.
NOTE
: Use show running-config interface not show ip interface brief when you need to view a secondary address configured on an interface. show ip interface brief will only show the primary address not a secondary address for an interface.
Examples To add the primary IP address 10.10.10.50/24 to the interface vlan3 , use the following commands: awplus# configure terminal awplus(config)# interface vlan3 awplus(config-if)# ip address 10.10.10.50/24
To add the secondary IP address 10.10.11.50/24 to the same interface, use the following commands: awplus# configure terminal awplus(config)# interface vlan3 awplus(config-if)# ip address 10.10.11.50/24 secondary
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
593
IP A DDRESSING AND P ROTOCOL C OMMANDS
IP ADDRESS (IP A DDRESSING AND P ROTOCOL )
To add the IP address 10.10.11.50/24 to the local loopback interface lo , use the following commands: awplus# configure terminal awplus(config)# interface lo awplus(config-if)# ip address 10.10.11.50/24
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
594
IP A DDRESSING AND P ROTOCOL C OMMANDS
IP GRATUITOUS ARP LINK
ip gratuitous-arp-link
Overview This command sets the Gratuitous ARP time limit for all switchports. The time limit restricts the sending of Gratuitous ARP packets to one Gratuitous ARP packet within the time in seconds.
NOTE : This command specifies time between sequences of Gratuitous ARP packets, and time between individual Gratuitous ARP packets occurring in a sequence, to allow legacy support for older devices and interoperation between other devices that are not ready to receive and forward data until several seconds after linkup.
Additionally, jitter has been applied to the delay following linkup, so Gratuitous ARP packets applicable to a given port are spread over a period of 1 second so are not all sent at once. Remaining Gratuitous ARP packets in the sequence occur after a fixed delay from the first one.
Syntax ip gratuitous-arp-link < 0-300 > no ip gratuitous-arp-link
Parameter
< 0-300 >
Description
Specify the minimum time between sequences of Gratuitous ARPs and the fixed time between Gratuitous ARPs occurring in a sequence, in seconds.
0 disables the sending of Gratuitous ARP packets.
The default is 8 seconds.
Default The default Gratuitous ARP time limit for all switchports is 8 seconds.
Mode Global Configuration
Usage Every switchport will send a sequence of 3 Gratuitous ARP packets to each VLAN that the switchport is a member of, whenever the switchport moves to the forwarding state. The first Gratuitous ARP packet is sent 1 second after the switchport becomes a forwarding switchport. The second and third Gratuitous
ARP packets are each sent after the time period specified by the Gratuitous ARP time limit.
Additionally, the Gratuitous ARP time limit specifies the minimum time between the end of one Gratuitous ARP sequence and the start of another Gratuitous ARP sequence. When a link is flapping, the switchport’s state is set to forwarding several times. The Gratuitous ARP time limit is imposed to prevent Gratuitous ARP packets from being sent undesirably often.
Examples To disable the sending of Gratuitous ARP packets, use the commands : awplus# configure terminal awplus(config)# ip gratuitous-arp-link 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
595
IP A DDRESSING AND P ROTOCOL C OMMANDS
IP GRATUITOUS ARP LINK
To restrict the sending of Gratuitous ARP packets to one every 20 seconds, use the commands: awplus# configure terminal awplus(config)# ip gratuitous-arp-link 20
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
596
IP A DDRESSING AND P ROTOCOL C OMMANDS
IP UNREACHABLES
ip unreachables
Overview Use this command to enable ICMP (Internet Control Message Protocol) type 3, destination unreachable, messages.
Use the no variant of this command to disable destination unreachable messages.
This prevents an attacker from using these messages to discover the topology of a network.
Syntax ip unreachables no ip unreachables
Default Destination unreachable messages are enabled by default.
Mode Global Configuration
Usage When a device receives a packet for a destination that is unreachable it returns an
ICMP type 3 message, this message includes a reason code, as per the table below.
An attacker can use these messages to obtain information regarding the topology of a network. Disabling destination unreachable messages, using the no ip unreachables command, secures your network against this type of probing.
NOTE : Disabling ICMP destination unreachable messages breaks applications such as traceroute and Path MTU Discovery (PMTUD), which depend on these messages to operate correctly.
Table 19-1: ICMP type 3 reason codes and description
4
5
6
7
8
2
3
Code
0
1
9
10
11
12
13
Description [RFC]
Network unreachable [RFC792]
Host unreachable [RFC792]
Protocol unreachable [RFC792]
Port unreachable [RFC792]
Fragmentation required, and DF flag set [RFC792]
Source route failed [RFC792]
Destination network unknown [RFC1122]
Destination host unknown [RFC1122]
Source host isolated [RFC1122]
Network administratively prohibited [RFC768]
Host administratively prohibited [RFC869]
Network unreachable for Type of Service [RFC908]
Host unreachable for Type of Service [RFC938]
Communication administratively prohibited [RFC905]
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
597
IP A DDRESSING AND P ROTOCOL C OMMANDS
IP UNREACHABLES
Table 19-1: ICMP type 3 reason codes and description (cont.)
Code
14
15
Description [RFC]
Host Precedence Violation [RFC1812]
Precedence cutoff in effect [RFC1812]
Example To disable destination unreachable messages, use the commands awplus# configure terminal awplus(config)# no ip unreachables
To enable destination unreachable messages, use the commands awplus# configure terminal awplus(config)# ip unreachables
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
598
IP A DDRESSING AND P ROTOCOL C OMMANDS
PING
ping
Overview This command sends a query to another IPv4 host (send Echo Request messages).
Syntax ping [ip] < host > [broadcast] [df-bit {yes|no}] [interval
<0-128> ] [pattern <hex-data-pattern> ] [repeat
{ <1-2147483647> |continuous}] [size <36-18024> ] [source
<ip-addr> ] [timeout <1-65535> ] [tos <0-255> ]
Parameter timeout
<1-65535>
Description
< host > broadcast
The destination IP address or hostname.
Allow pinging of a broadcast address.
df-bit Enable or disable the do-not-fragment bit in the IP header.
interval <0-128> Specify the time interval in seconds between sending ping packets. The default is 1. You can use decimal places to specify fractions of a second. For example, to ping every millisecond, set the interval to 0.001.
pattern <hex- data-pattern> repeat
<1-2147483647>
Specify the hex data pattern.
Specify the number of ping packets to send.
Specify repeat count. The default is 5.
continuous size <36-18024>
Continuous ping
The number of data bytes to send, excluding the 8 byte ICMP header. The default is 56 (64 ICMP data bytes).
source <ip-addr> The IP address of a configured IP interface to use as the source in the IP header of the ping packet.
The time in seconds to wait for echo replies if the ARP entry is present, before reporting that no reply was received. If no
ARP entry is present, it does not wait.
tos <0-255> The value of the type of service in the IP header.
Mode User Exec and Privileged Exec
Example To ping the IP address 10.10.0.5 use the following command: awplus# ping 10.10.0.5
599 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW ARP
show arp
Overview Use this command to display entries in the ARP routing and forwarding table—the
ARP cache contains mappings of IP addresses to physical addresses for hosts. To have a dynamic entry in the ARP cache, a host must have used the ARP protocol to access another host.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show arp [security [interface [< interface-list >]] show arp [statistics [detail][interface [< interface-list >]]
Parameter security interface
Specify the DHCP Snooping ARP security output option.
Specify an interface list for DHCP Snooping ARP security output.
< interface-list > Specify a single Layer 3 interface name, or a range of interfaces.
statistics detail
Description
Specify brief DHCP Snooping ARP security statistics.
Specify detailed DHCP Snooping ARP security statistics.
Mode User Exec and Privileged Exec
Usage Running this command with no additional parameters will display all entries in the
ARP routing and forwarding table.
Example To display all ARP entries in the ARP cache, use the following command: awplus# show arp
Output Figure 19-3: Example output from the show arp command
awplus#show arp
IP Address MAC Address Interface Port Type
192.168.10.2 0015.77ad.fad8 vlan1 port1.0.1 dynamic
192.168.20.2 0015.77ad.fa48 vlan2 port1.0.2 dynamic
192.168.1.100 00d0.6b04.2a42 vlan2 port1.0.6 static
600 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW ARP
Table 20: Parameters in the output of the show arp command
Parameter
IP Address
MAC Address
Interface
Port
Type
Meaning
IP address of the network device this entry maps to.
Hardware address of the network device.
Interface over which the network device is accessed.
Physical port that the network device is attached to.
Whether the entry is a static or dynamic entry. Static
entries are added using the arp (IP address MAC)
command. Dynamic entries are learned from ARP request/reply message exchanges.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
601
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW DEBUGGING IP PACKET
show debugging ip packet
Overview Use this command to show the IP interface debugging status. IP interface debugging is set using the debug ip packet interface command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging ip packet
Mode User Exec and Privileged Exec
Example To display the IP interface debugging status when the terminal monitor off, use the command: awplus# terminal no monitor awplus# show debug ip packet
Output Figure 19-4: Example output from the show debugging ip packet command with terminal monitor off
awplus#terminal no monitor
awplus#show debug ip packet
IP debugging status:
interface all tcp (stopped) interface vlan1 arp verbose (stopped)
Example To display the IP interface debugging status when the terminal monitor is on, use the command: awplus# terminal monitor awplus# show debug ip packet
Output Figure 19-5: Example output from the show debugging ip packet command with terminal monitor on
awplus#terminal monitor
awplus#show debug ip packet
IP debugging status:
interface all tcp (running) interface vlan1 arp verbose (running)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
602
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW DEBUGGING IP PACKET
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
603
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP INTERFACE
show ip interface
Overview Use this command to display information about interfaces and the IP addresses assigned to them. To display information about a specific interface, specify the interface name with the command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip interface [ <interface-list> ] [brief]
Parameter Description
<interface-list> The interfaces to display information about. An interface-list can be:
• an interface, e.g. vlan2
• a continuous range of interfaces separated by a hyphen, e.g. vlan2-8 or vlan2-vlan5
• a comma-separated list of interfaces or interface ranges, e.g. vlan2,vlan5,vlan8-10
The specified interfaces must exist.
Mode User Exec and Privileged Exec
Examples To show brief information for the assigned IP address for interface port1.0.2 use the command: awplus# show ip interface port1.0.2 brief
To show the IP addresses assigned to vlan2 and vlan3, use the command: awplus# show ip interface vlan2-3 brief
Output Figure 19-6: Example output from the show ip interface brief command
Interface IP-Address Status Protocol port1.0.2 unassigned admin up down vlan1 192.168.1.1 admin up running vlan2 192.168.2.1 admin up running vlan3 192.168.3.1 admin up running vlan8 unassigned admin up down
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
604
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP SOCKETS
show ip sockets
Overview Use this command to display information about the IP or TCP sockets that are present on the device. It includes TCP, UDP listen sockets, displaying associated IP address and port.
The information displayed for established TCP sessions includes the remote IP address, port, and session state. Raw IP protocol listen socket information is also displayed for protocols such as ICMP6, which are configured to receive IP packets with the associated protocol number.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip sockets
Mode Privileged Exec
Usage Use this command to verify that the socket being used is opening correctly. If there is a local and remote endpoint, a connection is established with the ports indicated.
Note that this command does not display sockets that are used internally for exchanging data between the various processes that exist on the device and are involved in its operation and management. It only displays sockets that are present for the purposes of communicating with other external devices.
Example To display IP sockets currently present on the device, use the command: awplus# show ip sockets
Output Figure 19-7: Example output from the show ip sockets command
Socket information
Not showing 40 local connections
Not showing 7 local listening ports
Typ Local Address Remote Address State tcp 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0.0.0.0:23 0.0.0.0:* LISTEN tcp 0.0.0.0:443 0.0.0.0:* LISTEN tcp 0.0.0.0:4743 0.0.0.0:* LISTEN tcp 0.0.0.0:873 0.0.0.0:* LISTEN
605 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP SOCKETS tcp :::23 :::* LISTEN udp 0.0.0.0:111 0.0.0.0:* udp 226.94.1.1:5405 0.0.0.0:* udp 0.0.0.0:161 0.0.0.0:* udp :::161 :::* raw 0.0.0.0:112 0.0.0.0:* 112 raw :::58 :::* 58 raw :::112 :::* 112
Table 21: Parameters in the output of the show ip sockets command
Parameter Description
Not showing
<number> local connections
This field refers to established sessions between processes internal to the device, that are used in its operation and management.
These sessions are not displayed as they are not useful to the user.
<number> is some positive integer.
Not showing
<number> local listening ports
This field refers to listening sockets belonging to processes internal to the device, that are used in its operation and management. They are not available to receive data from other devices. These sessions are not displayed as they are not useful to the user. <number> is some positive integer.
Typ This column displays the type of the socket. Possible values for this column are: tcp : IP Protocol 6 udp : IP Protocol 17 raw : Indicates that socket is for a non port-orientated protocol (i.e. a protocol other than TCP or UDP) where all packets of a specified IP protocol type are accepted. For raw socket entries the protocol type is indicated in subsequent columns.
Local
Address
For TCP and UDP listening sockets this shows the destination IP address and destination TCP or UDP port number for which the socket will receive packets. The address and port are separated by ’:’.
If the socket will accept packets addressed to any of the device’s IP addresses, the IP address will be 0.0.0.0 for IPv4 or :: for IPv6. For active TCP sessions the IP address will display which of the devices addresses the session was established with. For raw sockets this displays the IP address and IP protocol for which the socket will accept IP packets. The address and protocol are separated by ’:’. If the socket will accept packets addressed to any of the device’s IP addresses, the IP address will be 0.0.0.0 for IPv4 and :: for IPv6. IP
Protocol assignments are described at: www.iana.org/assignments/protocol-numbers
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
606
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP SOCKETS
Table 21: Parameters in the output of the show ip sockets command (cont.)
Parameter
Remote
Address
State
Description
For TCP and UDP listening sockets this shows the source IP address
(either IPv4 or IPv6) and source TCP or UDP port number for which the socket will accept packets. The address and port are separated by ’:’. If the socket will accept packets addressed from any IP address, the IP address will be 0.0.0.0 for IPv4 . This is the usual case for a listening socket. Normally for a listen socket any source port will be accepted. This is indicated by “. For active TCP sessions the IP address will display the remote address and port the session was established with. For raw sockets the entry in this column will be
0.0.0.0: for IPv4 .
This column shows the state of the socket. For TCP sockets this shows the state of the TCP state machine. For UDP sockets this column is blank. For raw sockets it contains the IP protocol number.
The possible TCP states are:
LISTEN
SYN-SENT
SYN-RECEIVED
ESTABLISHED
FIN-WAIT-1
FIN-WAIT-2
CLOSE-WAIT
CLOSING
LAST-ACK
TIME-WAIT
CLOSED
RFC793 contains the TCP state machine diagram with Section 3.2 describing each of the states.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
607
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP TRAFFIC
show ip traffic
Overview Use this command to display statistics regarding IP traffic sent and received by all interfaces on the device, showing totals for IP and IPv6 and then broken down into sub-categories such as TCP, UDP, ICMP and their IPv6 equivalents when appropriate.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip traffic
Mode Privileged Exec
Example To display IP traffic statistics, use the command: awplus# show ip traffic
Output Figure 19-8: Example output from the show ip traffic command
IP:
261998 packets received
261998 delivered
261998 sent
69721 multicast packets received
69721 multicast packets sent
23202841 bytes received
23202841 bytes sent
7669296 multicast bytes received
7669296 multicast bytes sent
IPv6:
28 packets discarded on transmit due to no route
ICMP6:
UDP6:
UDPLite6:
TCP:
0 remote connections established
40 local connections established
7 remote listening ports
7 local listening ports
261 active connection openings
247 passive connection openings
14 connection attempts failed
122535 segments received
122535 segments transmitted
14 resets transmitted
227 TCP sockets finished time wait in fast timer
608 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP TRAFFIC
155 delayed acks sent
21187 headers predicted
736 pure ACKs
80497 pure ACKs predicted
UDP:
139468 datagrams received
139468 datagrams sent
UDPLite:
C613-50135-01 Rev A
Table 22: Parameters in the output of the show ip traffic command
Parameter Description
IPv4
IPv6 received packets with no route Received packets with no route truncated packets received Truncated packets received multicast packets received Multicast packets received multicast packets sent broadcast packets received
IPv4 counters
IPv6 counters
Multicast packets sent
Broadcast packets received broadcast packets sent bytes received bytes sent multicast bytes received multicast bytes sent
Broadcast packets sent
Bytes received
Bytes sent
Multicast bytes received
Multicast bytes sent broadcast bytes received broadcast bytes sent packets received packets received with invalid headers oversize packets received
Broadcast bytes received
Broadcast bytes sent
Packets received
Packets received with invalid headers
Oversize packets received packets received with no route Packets received with no route packets received with invalid address
Packets received with invalid address packets received with unknown protocol
Packets received with unknown protocol truncated packets received received packets discarded
Truncated packets received
Received packets discarded received packets delivered Received packets delivered forwarded packets transmitted Forwarded packets transmitted
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
609
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP TRAFFIC
C613-50135-01 Rev A
Table 22: Parameters in the output of the show ip traffic command (cont.)
Parameter Description packets transmitted Packets transmitted packets discarded on transmit Packets discarded on transmit packets discarded on transmit due to no route fragment reassembly timeouts fragment reassembly required
Packets discarded on transmit due to no route
Fragment reassembly timeouts
Fragment reassembly required fragment reassembly OK fragment reassembly failures fragmentations succeeded fragmentations failed fragments created
ICMP6 messages received
Fragment reassembly OK
Fragment reassembly failures
Fragmentations succeeded
Fragmentations failed
Fragments created
ICMPv6 counters
Messages received errors received messages sent
TCP
Errors received
Messages sent
TCP counters remote connections established
Remote connections established local connections established Local connections established remote listening ports local listening ports active connection openings passive connection openings connection attempts failed
Remote listening ports
Local listening ports
Active connection openings
Passive connection openings
Connection attempts failed connection resets received segments received segments transmitted retransmits bad segments received resets transmitted datagrams received received for unknown port datagrams sent syncookies sent
Connection resets received
Segments received
Segments transmitted
Retransmits
Bad segments received
Resets transmitted
Datagrams received
Received for unknown port
Datagrams sent
Syncookies sent
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
610
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP TRAFFIC
C613-50135-01 Rev A
Table 22: Parameters in the output of the show ip traffic command (cont.)
Parameter syncookies received syncookies failed embryonic resets sockets pruned
ICMPs out of window
ICMPs dropped due to lock
ARPs filtered
TCP sockets finished time wait in fast timer time wait sockets recycled by time stamp time wait sockets killed delayed acks sent
Description
Syncookies received
Syncookies failed
Embryonic resets
Sockets pruned
ICMPs out of window
ICMPs dropped due to lock
ARPs filtered
TCP sockets finished time wait in fast timer
Time wait sockets recycled by time stamp
Time wait sockets killed
Delayed acks sent delayed acks further delayed because of locked socket delayed acks lost listening socket overflows listening socket drops headers predicted pure ACKs pure ACKs predicted losses recovered by TCP Reno losses recovered by SACK
SACKs renegged detected reordering by FACK detected reordering by SACK detected reordering by TCP
Reno detected reordering by sequence full undos partial undos
SACK undos loss undos segments lost lost retransmits
Delayed acks lost
Listening socket overflows
Listening socket drops
Headers predicted
Pure ACKs
Pure ACKs predicted
Losses recovered by TCP Reno
Losses recovered by SACK
SACKs renegged
Detected reordering by FACK
Detected reordering by SACK
Detected reordering by TCP Reno
Detected reordering by sequence
Full undos
Partial undos
SACK undos
Loss undos
Segments lost
Lost retransmits
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
611
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP TRAFFIC
Table 22: Parameters in the output of the show ip traffic command (cont.)
Parameter
TCP Reno failures
SACK failures loss failures fast retransmits forward retransmits retransmits in slow start timeouts
TCP Reno recovery failures
SACK recovery failures collapsed segments received
DSACKs sent for old packets
DSACKs sent for out of order segments
DSACKs received
DSACKs received for out of order segments connections reset due to unexpected SYN connections reset due to unexpected data connections reset due to early user close connections aborted due to lack of memory connections aborted due to timeout connections aborted due to lingering connection aborts due to connection failure
TCP memory pressure events
SACKs discarded
Old DSACKs ignored
DSACKs ignored without undo
Spurious RTOs
TCP MD5 Not Found
Description
TCP Reno failures
SACK failures
Loss failures
Fast retransmits
Forward retransmits
Retransmits in slow start
Timeouts
TCP Reno recovery failures
SACK recovery failures
Collapsed segments received
DSACKs sent for old packets
DSACKs sent for out of order segments
DSACKs received
DSACKs received for out of order segments
Connections reset due to unexpected SYN
Connections reset due to unexpected data
Connections reset due to early user close
Connections aborted due to lack of memory
Connections aborted due to timeout
Connections aborted due to lingering
Connection aborts due to connection failure
TCP memory pressure events
SACKs discarded
Old DSACKs ignored
DSACKs ignored without undo
Spurious RTOs
TCP MD5 Not Found
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
612
IP A DDRESSING AND P ROTOCOL C OMMANDS
SHOW IP TRAFFIC
Table 22: Parameters in the output of the show ip traffic command (cont.)
Parameter
TCP MD5 Unexpected
TCP SACKs shifted
TCP SACKs merged
TCP SACK shift fallback
UDP
UDPLite
UDP6
UDPLite6 datagrams received datagrams received for unknown port datagram receive errors datagrams transmitted datagrams received datagrams received for unknown port datagram receive errors datagrams transmitted
Description
TCP MD5 Unexpected
TCP SACKs shifted
TCP SACKs merged
TCP SACK shift fallback
UDP Counters
UDPLite Counters
UDPv6 Counters
UDPLitev6 Counters
Datagrams received
Datagrams received for unknown port
Datagram receive errors
Datagrams transmitted
Datagrams received
Datagrams received for unknown port
Datagram receive errors
Datagrams transmitted
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
613
IP A DDRESSING AND P ROTOCOL C OMMANDS
TCPDUMP
tcpdump
Overview Use this command to start a tcpdump, which gives the same output as the
Unix-like tcpdump command to display TCP/IP traffic. Press <ctrl> + c to stop a running tcpdump.
Syntax tcpdump < line >
Parameter
< line >
Description
Specify the dump options. For more information on the options for this placeholder see http://www.tcpdump.org/tcpdump_man.html
Mode Privileged Exec
Example To start a tcpdump running to capture IP packets, enter the command: awplus# tcpdump ip
Output Figure 19-9: Example output from the tcpdump command
03:40:33.221337 IP 192.168.1.1 > 224.0.0.13: PIMv2, Hello, length: 34
1 packets captured
2 packets received by filter
0 packets dropped by kernel
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
614
IP A DDRESSING AND P ROTOCOL C OMMANDS
TRACEROUTE
traceroute
Overview Use this command to trace the route to the specified IPv4 host.
Syntax traceroute {< ip-addr >|< hostname >}
Parameter
< ip-addr>
< hostname >
Description
The destination IPv4 address. The IPv4 address uses the format A.B.C.D.
The destination hostname.
Mode User Exec and Privileged Exec
Example awplus# traceroute 10.10.0.5
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
615
IP A DDRESSING AND P ROTOCOL C OMMANDS
UNDEBUG IP PACKET INTERFACE
undebug ip packet interface
Overview
This command applies the functionality of the no debug ip packet interface command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
616
20
Domain Name
Service (DNS)
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure the Domain Name Service (DNS) client.
For more information, see the IP Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
show ip domain-list ” on page 624
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
617
D OMAIN N AME S ERVICE (DNS) C OMMANDS
IP DOMAIN LIST
ip domain-list
Overview This command adds a domain to the DNS list. Domains are appended to incomplete host names in DNS requests. Each domain in this list is tried in turn in
DNS lookups. This list is ordered so that the first entry you create is checked first.
The no variant of this command deletes a domain from the list.
Syntax ip domain-list < domain-name > no ip domain-list < domain-name >
Parameter
<domain-name>
Description
Domain string, for example “company.com”.
Mode Global Configuration
Usage If there are no domains in the DNS list, then your device uses the domain specified with the
ip domain-name command. If any domain exists in the DNS list, then the
device does not use the domain set using the ip domain-name command.
Example To add the domain example.net
to the DNS list, use the following commands: awplus# configure terminal awplus(config)# ip domain-list example.net
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
618
D OMAIN N AME S ERVICE (DNS) C OMMANDS
IP DOMAIN LOOKUP
ip domain-lookup
Overview This command enables the DNS client on your device. This allows you to use domain names instead of IP addresses in commands. The DNS client resolves the domain name into an IP address by sending a DNS inquiry to a DNS server, specified with the
The no variant of this command disables the DNS client. The client will not attempt to resolve domain names. You must use IP addresses to specify hosts in commands.
Syntax ip domain-lookup no ip domain-lookup
Mode Global Configuration
Usage The client is enabled by default. However, it does not attempt DNS inquiries unless there is a DNS server configured.
For more information about DNS clients, see the IP Feature Overview and
Configuration Guide .
Examples To enable the DNS client on your device, use the following commands: awplus# configure terminal awplus(config)# ip domain-lookup
To disable the DNS client on your device, use the following commands: awplus# configure terminal awplus(config)# no ip domain-lookup
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
619
D OMAIN N AME S ERVICE (DNS) C OMMANDS
IP DOMAIN NAME
ip domain-name
Overview This command sets a default domain for the DNS. The DNS client appends this domain to incomplete host-names in DNS requests.
The no variant of this command removes the domain-name previously set by this command.
Syntax ip domain-name < domain-name > no ip domain-name < domain-name >
Parameter Description
<domain-name> Domain string, for example “company.com”.
Mode Global Configuration
Usage
If there are no domains in the DNS list (created using the ip domain-list
command) then your device uses the domain specified with this command. If any domain exists in the DNS list, then the device does not use the domain configured with this command.
When your device is using its DHCP client for an interface, it can receive Option 15 from the DHCP server. This option replaces the domain name set with this command.
Example To configure the domain name, enter the following commands: awplus# configure terminal awplus(config)# ip domain-name company.com
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
620
D OMAIN N AME S ERVICE (DNS) C OMMANDS
IP NAME SERVER
ip name-server
Overview This command adds IPv4 or IPv6 DNS server addresses. The DNS client on your device sends DNS queries to IP addresses in this list when trying to resolve a host name. Host names cannot be resolved until you have added at least one server to this list. A maximum of three name servers can be added to this list.
The no variant of this command removes the specified DNS name-server address.
Syntax ip name-server < ip-addr > no ip name-server < ip-addr >
Parameter
<ip-addr>
Description
The IP address of the DNS server that is being added to the name server list. The address is entered in the form A.B.C.D for an IPv4 address, or in the form X:X::X:X for an IPv6 address.
Mode Global Configuration
Usage To allow the device to operate as a DNS proxy, your device must have learned about a DNS name-server to forward requests to. Name-servers can be learned through the following means:
•
• Manual configuration, using the ip name-server command
Learned from DHCP server with Option 6
• Learned over a PPP tunnel if the neighbor advertises the DNS server
This command is used to statically configure a DNS name-server for the device to use.
For more information about DHCP and DNS, see the IP Feature Overview and
Configuration Guide .
Examples To allow a device to send DNS queries to a DNS server with the IPv4 address
10.10.10.5, use the commands: awplus# configure terminal awplus(config)# ip name-server 10.10.10.5
To enable your device to send DNS queries to a DNS server with the IPv6 address
2001:0db8:010d::1, use the commands: awplus# configure terminal awplus(config)# ip name-server 2001:0db8:010d::1
621 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
D OMAIN N AME S ERVICE (DNS) C OMMANDS
IP NAME SERVER
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
622
D OMAIN N AME S ERVICE (DNS) C OMMANDS
SHOW HOSTS
show hosts
Overview This command shows the default domain, domain list, and name servers configured on your device.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show hosts
Mode User Exec and Privileged Exec
Example To display the default domain, use the command: awplus# show hosts
Output Figure 20-1: Example output from the show hosts command
awplus#show hosts
Default domain is mycompany.com
Domain list: company.com
Name/address lookup uses domain service
Name servers are 10.10.0.2 10.10.0.88
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
623
D OMAIN N AME S ERVICE (DNS) C OMMANDS
SHOW IP DOMAIN LIST
show ip domain-list
Overview This command shows the domains configured in the domain list. The DNS client uses the domains in this list to append incomplete hostnames when sending a
DNS inquiry to a DNS server.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip domain-list
Mode User Exec and Privileged Exec
Example To display the list of domains in the domain list, use the command: awplus# show ip domain-list
Output Figure 20-2: Example output from the show ip domain-list command awplus#show ip domain-list alliedtelesis.com
mycompany.com
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
624
D OMAIN N AME S ERVICE (DNS) C OMMANDS
SHOW IP DOMAIN NAME
show ip domain-name
Overview This command shows the default domain configured on your device. When there are no entries in the DNS list, the DNS client appends this domain to incomplete hostnames when sending a DNS inquiry to a DNS server.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip domain-name
Mode User Exec and Privileged Exec
Example To display the default domain configured on your device, use the command: awplus# show ip domain-name
Output Figure 20-3: Example output from the show ip domain-name command awplus#show ip domain-name alliedtelesis.com
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
625
D OMAIN N AME S ERVICE (DNS) C OMMANDS
SHOW IP NAME SERVER
show ip name-server
Overview This command displays a list of IPv4 and IPv6 DNS server addresses that your
device will send DNS requests to. This is a static list configured using the ip name-server
command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip name-server
Mode User Exec and Privileged Exec
Example To display the list of DNS servers that your device sends DNS requests to, use the command: awplus# show ip name-server
Output Figure 20-4: Example output from the show ip name-server command awplus# show ip name-server
10.10.0.123
10.10.0.124
2001:0db8:010d::1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
626
21
IPv6 Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure
IPv6. For more information, see the IPv6 Feature Overview and Configuration
Guide .
Command List •
•
•
•
•
•
•
•
•
•
ipv6 unreachables ” on page 634
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
627
IP V 6 C OMMANDS
CLEAR IPV 6 NEIGHBORS
clear ipv6 neighbors
Overview Use this command to clear all dynamic IPv6 neighbor entries.
Syntax clear ipv6 neighbors
Mode Privileged Exec
Example awplus# clear ipv6 neighbors
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
628
IP V 6 C OMMANDS
IPV 6 ADDRESS
ipv6 address
Overview Use this command to set the IPv6 address of a VLAN interface and enable IPv6.
Use the no variant of this command to remove the IPv6 address assigned and disable IPv6. Note that if no global addresses are left after removing the IPv6 address then IPv6 is disabled.
Syntax ipv6 address <ipv6-addr/prefix-length> [eui64] no ipv6 address <ipv6-addr/prefix-length>
Parameter
< ipv6-addr/prefix- length >
Description
Specifies the IPv6 address to be set. The IPv6 address uses the format X:X::X:X/Prefix-Length. The prefix-length is usually set between 0 and 64.
Mode Interface Configuration for a VLAN interface.
Examples To assign the IPv6 address 2001:0db8::a2/64 to the VLAN interface vlan2 , use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 address 2001:0db8::a2/64
To remove the IPv6 address 2001:0db8::a2/64 from the VLAN interface vlan2 , use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no ipv6 address 2001:0db8::a2/64
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
629
IP V 6 C OMMANDS
IPV 6 ENABLE
ipv6 enable
Overview Use this command to enable IPv6 on an interface without an IPv6 global address for the interface. This enables IPv6 with a IPv6 link-local address, not an IPv6 global address.
Use the no variant of this command to disable IPv6 on an interface without a global address. Note the no variant of this command does not operate on an interface with an IPv6 global address or an interface configured for IPv6 stateless address autoconfiguration (SLAAC).
Syntax ipv6 enable no ipv6 enable
Mode Interface Configuration for a VLAN interface.
Usage
command automatically configures an IPv6 link-local address on the interface and enables the interface for IPv6 processing.
A link-local address is an IP (Internet Protocol) address that is only used for communications in the local network, or for a point-to-point connection. Routing does not forward packets with link-local addresses. IPv6 requires that a link-local address is assigned to each interface that has the IPv6 protocol enabled, and when addresses are assigned to interfaces for routing IPv6 packets.
Note that link-local addresses are retained in the system until they are negated by using the no variant of the command that established them.
Also note that the link-local address is retained in the system if the global address is removed using another command that was not used to establish the link-local address. For example, if a link local address is established with the
command then it will not be removed using a no ipv6 address command.
Examples To enable IPv6 with only a link-local IPv6 address on the VLAN interface vlan2 , use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 enable
To disable IPv6 with only a link-local IPv6 address on the VLAN interface vlan2 , use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no ipv6 enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
630
IP V 6 C OMMANDS
IPV 6 ND RAGUARD
ipv6 nd raguard
Overview Use this command to apply the Router Advertisements (RA) Guard feature from the
Interface Configuration mode for a device port. This blocks all RA messages received on a device port.
For more information about RA Guard, see the IPv6 Feature Overview and
Configuration Guide .
Use the no parameter with this command to disable RA Guard for a specified device port.
Syntax ipv6 nd raguard no ipv6 nd raguard
Default RA Guard is not enabled by default.
Mode Interface Configuration for a device port interface.
Usage Router Advertisements (RAs) are used by Routers to announce themselves on the link. Applying RA Guard to a device port disallows Router Advertisements and redirect messages. RA Guard blocks RAs from untrusted hosts. Blocking RAs stops untrusted hosts from flooding malicious RAs and stops any misconfigured hosts from disrupting traffic on the local network.
Enabling RA Guard on a port blocks RAs from a connected host and indicates the port and host are untrusted. Disabling RA Guard on a port allows RAs from a connected host and indicates the port and host are trusted. Ports and hosts are trusted by default to allow RAs.
Example To enable RA Guard on device ports port1.0.2-1.0.12
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2-1.0.12
awplus(config-if)# ipv6 nd raguard
To verify RA Guard is enabled on device port interface port1.0.2
, use the command: awplus# show running-config interface port1.0.2
To disable RA Guard on device ports port1.0.2-1.0.12
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2-port1.0.12
awplus(config-if)# no ipv6 nd raguard
When RA Guard is disabled on a device port it is not displayed in show running-config output.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
631
IP V 6 C OMMANDS
IPV 6 ND RAGUARD
Output Example output from using show running-config interface port1.0.2
to verify RA
Guard:
!
interface port1.0.2
switchport mode access
ipv6 nd raguard
!
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
632
IP V 6 C OMMANDS
IPV 6 NEIGHBOR
ipv6 neighbor
Overview Use this command to add a static IPv6 neighbor entry.
Use the no variant of this command to remove a specific IPv6 neighbor entry.
Syntax ipv6 neighbor < ipv6-address > < vlan-name > < mac-address >
<port-list > no ipv6 neighbor < ipv6-address > < vlan-name > <port-list >
Parameter Description
< ipv6-address > Specify the neighbor’s IPv6 address in the format X:X::X:X.
< vlan-name > Specify the neighbor’s VLAN name.
< mac-address > Specify the MAC hardware address in hexadecimal notation in the format HHHH.HHHH.HHHH
.
<port-list> Specify the port number, or port range.
Mode Global Configuration
Usage Use this command to clear a specific IPv6 neighbor entry. To clear all dynamic address entries, use the
command.
Example To create a static neighbor entry for IPv6 address 2001:0db8::a2, on vlan 4, MAC address 0000.cd28.0880, on port1.0.6, use the command: awplus# configure terminal awplus(config)# ipv6 neighbor 2001:0db8::a2 vlan4
0000.cd28.0880 port1.0.6
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
633
IP V 6 C OMMANDS
IPV 6 UNREACHABLES
ipv6 unreachables
Overview Use this command to enable ICMPv6 (Internet Control Message Protocol version 6) type 1, destination unreachable, messages.
Use the no variant of this command to disable destination unreachable messages.
This prevents an attacker from using these messages to discover the topology of a network.
Syntax ipv6 unreachables no ipv6 unreachables
Default Destination unreachable messages are enabled by default.
Mode Global Configuration
Usage When a device receives a packet for a destination that is unreachable it returns an
ICMPv6 type 1 message. This message includes a reason code, as per the table below. An attacker can use these messages to obtain information regarding the topology of a network. Disabling destination unreachable messages, using the no ipv6 unreachables command, secures your network against this type of probing.
NOTE : Disabling ICMPv6 destination unreachable messages breaks applications such as traceroute, which depend on these messages to operate correctly.
Table 21-1: ICMPv6 type 1 reason codes and description
3
4
5
6
7
1
2
Code
0
Description [RFC]
No route to destination [RFC4443]
Communication with destination administratively prohibited [RFC4443]
Beyond scope of source address [RFC4443]
Address unreachable [RF4443]
Port unreachable [RFC4443]
Source address failed ingress/egress policy [RFC4443]
Reject route to destination [RFC4443
Error in Source Routing Header [RFC6554]
Example To disable destination unreachable messages, use the commands awplus# configure terminal awplus(config)# no ipv6 unreachables
To enable destination unreachable messages, use the commands awplus# configure terminal awplus(config)# ipv6 unreachables
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
634
IP V 6 C OMMANDS
PING IPV 6
ping ipv6
Overview This command sends a query to another IPv6 host (send Echo Request messages).
NOTE : Use of the interface parameter keyword, plus an interface or an interface range, with this command is only valid when pinging an IPv6 link local address.
Syntax ping ipv6 { <host> |< ipv6-address >} [repeat
{ <1-2147483647> |continuous}] [size <10-1452> ] [interface
<interface-list> ] [timeout <1-65535> ]
Parameter
< ipv6-addr> repeat
<1-2147483647> continuous size <10-1452>
Description
The destination IPv6 address. The IPv6 address uses the format X:X::X:X.
< hostname > repeat
<1-2147483647> size <10-1452>
The destination hostname.
Specify the number of ping packets to send.
Specify repeat count. The default is 5.
The number of data bytes to send, excluding the 8 byte ICMP header. The default is 56 (64 ICMP data bytes).
interface
<interface-list> timeout
<1-65535>
The interface or range of configured IP interfaces to use as the source in the IP header of the ping packet.
The time in seconds to wait for echo replies if the ARP entry is present, before reporting that no reply was received. If no ARP entry is present, it does not wait.
Specify the number of ping packets to send.
Specify repeat count. The default is 5.
Continuous ping.
The number of data bytes to send, excluding the 8 byte ICMP header. The default is 56 (64 ICMP data bytes).
timeout
<1-65535>
The time in seconds to wait for echo replies if the ARP entry is present, before reporting that no reply was received. If no ARP entry is present, it does not wait.
Mode User Exec and Privileged Exec
Example awplus# ping ipv6 2001:0db8::a2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
635
IP V 6 C OMMANDS
SHOW IPV 6 INTERFACE BRIEF
show ipv6 interface brief
Overview Use this command to display brief information about interfaces and the IPv6 address assigned to them.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 interface [brief]
Parameter brief
Description
Specify this optional parameter to display brief IPv6 interface information.
Mode User Exec and Privileged Exec
Examples awplus# show ipv6 interface brief
Output Figure 21-1: Example output from the show ipv6 interface brief command awplus#show ipv6 interface brief
Interface IPv6-Address Status Protocol lo unassigned admin up running vlan1 2001:db8::1/48 admin up down
fe80::215:77ff:fee9:5c50/64
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
636
IP V 6 C OMMANDS
SHOW IPV 6 NEIGHBORS
show ipv6 neighbors
Overview Use this command to display all IPv6 neighbors.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 neighbors
Mode User Exec and Privileged Exec
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
637
IP V 6 C OMMANDS
TRACEROUTE IPV 6
traceroute ipv6
Overview Use this command to trace the route to the specified IPv6 host.
Syntax traceroute ipv6 {< ipv6-addr >|< hostname >}
Parameter Description
< ipv6-addr> The destination IPv6 address. The IPv6 address uses the format
X:X::X:X.
< hostname > The destination hostname.
Mode User Exec and Privileged Exec
Example To run a traceroute for the IPv6 address 2001:0db8::a2, use the following command: awplus# traceroute ipv6 2001:0db8::a2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
638
22
Static Routing
Commands for
Management
Purposes
Introduction
Overview This chapter provides an alphabetical reference of static routing commands that are used to direct management packets to appropriate VLANs.
Command List •
•
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
639
S TATIC R OUTING C OMMANDS FOR M ANAGEMENT P URPOSES
IP ROUTE
ip route
Overview This command creates a static route, in order to send management packets to the appropriate VLAN.
Your switch does not use static routes to route traffic from one VLAN to another
VLAN, even if the VLANs have IP addresses. You cannot create static routes to route data, only management packets.
The no variant of this command removes the static route.
Syntax ip route <subnet&mask> { <gateway-ip> | <interface> } [ <distance> ] no ip route <subnet&mask> { <gateway-ip> | <interface> }
[ <distance> ]
Parameter Description
< subnet&mask > The IPv4 address of the destination subnet defined using either a prefix length or a separate mask specified in one of the following formats:
• The IPv4 subnet address in dotted decimal notation followed by the subnet mask, also in dotted decimal notation.
• The IPv4 subnet address in dotted decimal notation, followed by a forward slash, then the prefix length
< gateway-ip > The IPv4 address of the gateway device.
< interface > The VLAN interface that the target packets should be sent to. Enter the name of the VLAN or its VID.
The gateway IP address or the interface is required.
< distance > The administrative distance for the static route in the range
< 1-255 >. Static routes by default have an administrative distance of 1.
Mode Global Configuration
Default The default administrative distance for a static route is 1.
Example To send management traffic on the 10.0.0.0 network to vlan10 and other management traffic to vlan5, use the commands: awplus# configure terminal awplus(config)# ip route 10.0.0.0/8 vlan10 awplus(config)# ip route 0.0.0.0/0 vlan5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
640
S TATIC R OUTING C OMMANDS FOR M ANAGEMENT P URPOSES
SHOW IP ROUTE
show ip route
Overview Use this command to display routing entries in the FIB (Forwarding Information
Base). The FIB contains the best routes to a destination, and your device uses these routes when forwarding traffic. You can display a subset of the entries in the FIB based on protocol.
To modify the lines displayed, use the | (output modifier token); to save the output to a file, use the > output redirection token.
Syntax show ip route [connected|static| <ip-addr> |
<ip-addr/prefix-length> ]
Parameter connected
Description
Displays only the routes learned from connected interfaces.
static
<ip-addr>
Displays only the static routes you have configured.
Displays the routes for the specified address. Enter an IPv4 address.
<ip-addr/prefix-length> Displays the routes for the specified network. Enter an IPv4 address and prefix length.
Mode User Exec and Privileged Exec
Example To display the static routes in the FIB, use the command: awplus# show ip route static
Output Each entry in the output from this command has a code preceding it, indicating the source of the routing entry. The first few lines of the output list the possible codes that may be seen with the route entries.
Typically, route entries are composed of the following elements:
•
•
•
•
•
•
• code a second label indicating the sub-type of the route network or host IP address administrative distance and metric next hop IP address outgoing interface name time since route entry was added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
641
S TATIC R OUTING C OMMANDS FOR M ANAGEMENT P URPOSES
SHOW IP ROUTE
Figure 22-1: Example output from the show ip route command
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
* - candidate default
C 3.3.3.0/24 is directly connected, vlan1
C 10.10.31.0/24 is directly connected, vlan2
C 10.70.0.0/24 is directly connected, vlan4
C 33.33.33.33/32 is directly connected, lo
Connected Route The connected route entry consists of:
C 10.10.31.0/24 is directly connected, vlan2
•
•
This route entry denotes:
Route entries for network 10.10.31.0/24 are derived from the IP address of local interface vlan2 .
These routes are marked as Connected routes (C) and always preferred over routes for the same network learned from other routing protocols.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
642
S TATIC R OUTING C OMMANDS FOR M ANAGEMENT P URPOSES
SHOW IP ROUTE DATABASE
show ip route database
Overview This command displays the routing entries in the RIB (Routing Information Base).
When multiple entries are available for the same prefix, RIB uses the routes’ administrative distances to choose the best route. All best routes are entered into
the FIB (Forwarding Information Base). To view the routes in the FIB, use the show ip route
command.
To modify the lines displayed, use the | (output modifier token); to save the output to a file, use the > output redirection token.
Syntax show ip route database [connected|static]
Parameter connected static
Description
Displays only the routes learned from connected interfaces.
Displays only the static routes you have configured.
Mode User Exec and Privileged Exec
Example To display the static routes in the RIB, use the command: awplus# show ip route database static
Output Figure 22-2: Example output from the show ip route database command awplus#show ip route database
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, D - DHCP, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
> - selected route, * - FIB route, p - stale info
S *> 0.0.0.0/0 [1/0] via 10.34.1.1, vlan1
C *> 10.34.0.0/16 is directly connected, vlan1
S 192.168.2.0/24 [1/0] is directly connected, vlan2 inactive
Gateway of last resort is not set
Related
Commands
643 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S TATIC R OUTING C OMMANDS FOR M ANAGEMENT P URPOSES
SHOW IP ROUTE SUMMARY
show ip route summary
Overview This command displays a summary of the current RIB (Routing Information Base) entries.
To modify the lines displayed, use the | (output modifier token); to save the output to a file, use the > output redirection token.
Syntax show ip route summary
Mode User Exec and Privileged Exec
Example To display a summary of the current RIB entries, use the command: awplus# show ip route summary
Output Figure 22-3: Example output from the show ip route summary command
IP routing table name is Default-IP-Routing-Table(0)
IP routing table maximum-paths is 4
Route Source Networks connected 5
Total 8
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
644
Part 4: Multicast Applications
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
645
23
IGMP Snooping
Commands
Introduction
Overview Devices running AlliedWare Plus use IGMP (Internet Group Management Protocol) and MLD (Multicast Listener Discovery) to track which multicast groups their clients belong to. This enables them to send the correct multimedia streams to the correct destinations. IGMP is used for IPv4 multicasting, and MLD is used for IPv6 multicasting.
This chapter describes the commands to configure IGMP Snooping.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
ip igmp snooping report-suppression
ip igmp static-group ” on page 664
ip igmp snooping tcn query solicit ” on page 662
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
646
IGMP S NOOPING C OMMANDS
•
•
•
•
•
•
“ show ip igmp groups ” on page 669
“ show ip igmp interface ” on page 671
“ show ip igmp snooping mrouter ” on page 673
“ show ip igmp snooping routermode ” on page 674
“ show ip igmp snooping statistics ” on page 675
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
647
IGMP S NOOPING C OMMANDS
CLEAR IP IGMP
clear ip igmp
Overview Use this command to clear all IGMP group membership records on all interfaces.
Syntax clear ip igmp
Mode Privileged Exec
Example awplus# clear ip igmp
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
648
IGMP S NOOPING C OMMANDS
CLEAR IP IGMP GROUP
clear ip igmp group
Overview Use this command to clear IGMP group membership records for a specific group on either all interfaces, a single interface, or for a range of interfaces.
Syntax clear ip igmp group * clear ip igmp group <ip-address> < interface >
Parameter
*
<ip-address>
< interface >
Description
Clears all groups on all interfaces. This has the same effect as the clear ip igmp command.
Specifies the group whose membership records will be cleared from all interfaces, entered in the form A.B.C.D.
Specifies the name of the interface; all groups learned on this interface are deleted.
Mode Privileged Exec
Usage This command applies to groups learned by IGMP Snooping.
In addition to the group, an interface can be specified. Specifying this will mean that only entries with the group learned on the interface will be deleted.
Examples To delete all group records, use the command: awplus# clear ip igmp group *
To delete records for 224.1.1.1 on vlan1, use the command: awplus# clear ip igmp group 224.1.1.1 vlan1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
649
IGMP S NOOPING C OMMANDS
CLEAR IP IGMP INTERFACE
clear ip igmp interface
Overview Use this command to clear IGMP group membership records on a particular interface.
Syntax clear ip igmp interface < interface >
Parameter Description
< interface > Specifies the name of the interface. All groups learned on this interface are deleted.
Mode Privileged Exec
Usage This command applies to interfaces configured for IGMP Snooping.
Example To delete records for vlan1, use the command: awplus# clear ip igmp interface vlan1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
650
IGMP S NOOPING C OMMANDS
DEBUG IGMP
debug igmp
Overview Use this command to enable debugging of either all IGMP or a specific component of IGMP.
Use the no variant of this command to disable all IGMP debugging, or debugging of a specific component of IGMP.
Syntax debug igmp {all|decode|encode|events|fsm|tib} no debug igmp {all|decode|encode|events|fsm|tib}
Parameter all decode encode events fsm tib
Description
Enable or disable all debug options for IGMP
Debug of IGMP packets that have been received
Debug of IGMP packets that have been sent
Debug IGMP events
Debug IGMP Finite State Machine (FSM)
Debug IGMP Tree Information Base (TIB)
Modes Privileged Exec and Global Configuration
Example awplus# configure terminal awplus(config)# debug igmp all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
651
IGMP S NOOPING C OMMANDS
IP IGMP FLOOD SPECIFIC QUERY
ip igmp flood specific-query
Overview Use this command if you want IGMP to flood specific queries to all VLAN member ports, instead of only sending the queries to multicast group member ports.
Use the no variant of this command if you want IGMP to only send the queries to multicast group member ports.
Syntax ip igmp flood specific-query no ip igmp flood specific-query
Default By default, specific queries are flooded to all VLAN member ports.
Mode Global Configuration
Usage In an L2 switched network running IGMP, it is considered more robust to flood all specific queries. In most cases, the benefit of flooding specific queries to all VLAN member ports outweighs the disadvantages.
However, sometimes this is not the case. For example, if hosts with very low CPU capability receive specific queries for multicast groups they are not members of, their performance may degrade unacceptably. In this situation, it is desirable for
IGMP to send specific queries to known member ports only. This minimises the performance degradation of such hosts. In those circumstances, use this command to turn off flooding of specific queries.
Example To cause IGMP to flood specific queries only to multicast group member ports, use the commands: awplus# configure terminal awplus(config)# no ip igmp flood specific-query
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
652
IGMP S NOOPING C OMMANDS
IP IGMP MAXIMUM GROUPS
ip igmp maximum-groups
Overview Use this command to set a limit, per switch port, on the number of IGMP groups clients can join. This stops a single client from using all the switch’s available group-entry resources, and ensures that clients on all ports have a chance to join
IGMP groups.
Use the no variant of this command to remove the limit.
Syntax ip igmp maximum-groups < 0-65535 > no ip igmp maximum-groups
Parameter
<0-65535>
Description
The maximum number of IGMP groups clients can join on this switch port. 0 means no limit.
Default The default is 0, which means no limit
Mode Interface mode for a switch port
Usage We recommend using this command with IGMP snooping fast leave on the relevant VLANs. To enable fast leave, use the command: awplus(config-if)# ip igmp snooping fast-leave
The device keeps count of the number of groups learned by each port. This counter is incremented when group joins are received via IGMP reports. It is decremented when:
•
• Group memberships time out
Group leaves are received via leave messages or reports
Also, the port's group counter is cleared when:
•
• The port goes down
You run the command clear ip igmp group *
• The port is removed from a VLAN
You can see the current value of the group counter by using either of the commands: awplus# show ip igmp snooping statistics interface < port-list > awplus# show ip igmp interface < port >
653 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IGMP S NOOPING C OMMANDS
IP IGMP MAXIMUM GROUPS
Example To limit clients to 10 groups on port 1.0.1, which is in vlan1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# ip igmp maximum-groups 10 awplus(config-if)# exit awplus(config)# interface vlan1 awplus(config-if)# ip igmp snooping fast-leave
Related
Commands
show ip igmp snooping statistics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
654
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING
ip igmp snooping
Overview Use this command to enable IGMP Snooping. When this command is used in the
Global Configuration mode, IGMP Snooping is enabled at the device level. When this command is used in Interface Configuration mode, IGMP Snooping is enabled for the specified VLANs.
Use the no variant of this command to either globally disable IGMP Snooping, or disable IGMP Snooping on a specified interface.
NOTE : IGMP snooping cannot be disabled on an interface if IGMP snooping has already been disabled globally. IGMP snooping can be disabled on both an interface and globally if disabled on the interface first and then disabled globally.
Syntax ip igmp snooping no ip igmp snooping
Default By default, IGMP Snooping is enabled both globally and on all VLANs.
Mode Global Configuration and Interface Configuration for a VLAN interface.
Usage For IGMP snooping to operate on particular VLAN interfaces, it must be enabled both globally by using this command in Global Configuration mode, and on individual VLAN interfaces by using this command in Interface Configuration mode (both are enabled by default.)
Both IGMP snooping and MLD snooping must be enabled globally on the device for IGMP snooping to operate. MLD snooping is also enabled by default. To enable
it if it has been disabled, use the ipv6 mld snooping command in Global
Configuration mode.
Examples To enable IGMP Snooping on vlan2, use the commands: awplus# configure terminal awplus(config)# ip igmp snooping awplus(config)# interface vlan2 awplus(config-if)# ip igmp snooping
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
655
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING FAST LEAVE
ip igmp snooping fast-leave
Overview Use this command to enable IGMP Snooping fast-leave processing. Fast-leave processing is analogous to immediate-leave processing. The IGMP group-membership entry is removed as soon as an IGMP leave group message is received, without sending out a group-specific query.
Use the no variant of this command to disable fast-leave processing.
Syntax ip igmp snooping fast-leave no ip igmp snooping fast-leave
Default IGMP Snooping fast-leave processing is disabled.
Mode Interface Configuration for a VLAN interface.
Usage This IGMP Snooping command can only be configured on VLAN interfaces.
Example To enable fast-leave processing on vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip igmp snooping fast-leave
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
656
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING MROUTER
ip igmp snooping mrouter
Overview Use this command to statically configure the specified port as a multicast router port for IGMP Snooping for an interface. This command applies to interfaces configured for IGMP Snooping.
Use the no variant of this command to remove the static configuration of the port as a multicast router port.
Syntax ip igmp snooping mrouter interface < port > no ip igmp snooping mrouter interface < port >
Parameter
< port >
Description
The port may be a device port (e.g. port1.0.4
), a static channel group (e.g. sa3 ), or a dynamic (LACP) channel group (e.g. po4 ).
Mode Interface Configuration for a VLAN interface.
Example To configure port1.0.2 statically as a multicast router interface for vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip igmp snooping mrouter interface port1.0.2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
657
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING QUERIER
ip igmp snooping querier
Overview Use this command to enable IGMP querier operation when no multicast routing protocol is configured. When enabled, the IGMP Snooping querier sends out periodic IGMP queries for all interfaces. This command applies to interfaces configured for IGMP Snooping.
Use the no variant of this command to disable IGMP querier configuration.
Syntax ip igmp snooping querier no ip igmp snooping querier
Mode Interface Configuration for a VLAN interface.
Usage The IGMP Snooping querier uses the 0.0.0.0
Source IP address because it only masquerades as a proxy IGMP querier for faster network convergence.
It does not start, or automatically cease, the IGMP Querier operation if it detects query message(s) from a multicast router.
If an IP address is assigned to a VLAN, which has IGMP querier enabled on it, then the IGMP Snooping querier uses the VLAN’s IP address as the Source IP Address in
IGMP queries.
The IGMP Snooping Querier will not stop sending IGMP Queries if there is another
IGMP Snooping Querier in the network with a lower Source IP Address.
NOTE
: Do not enable the IGMP Snooping Querier feature on a Layer 2 device when there is an operational IGMP Querier in the network.
Example To configure vlan2 as a Snooping querier, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip igmp snooping querier
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
658
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING REPORT SUPPRESSION
ip igmp snooping report-suppression
Overview Use this command to enable report suppression for IGMP versions 1 and 2. This command applies to interfaces configured for IGMP Snooping.
Report suppression stops reports being sent to an upstream multicast router port when there are already downstream ports for this group on this interface.
Use the no variant of this command to disable report suppression.
Syntax ip igmp snooping report-suppression no ip igmp snooping report-suppression
Default Report suppression does not apply to IGMPv3, and is turned on by default for
IGMPv1 and IGMPv2 reports.
Mode Interface Configuration for a VLAN interface.
Example To enable report suppression for IGMPv2 reports for vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip igmp version 2 awplus(config-if)# ip igmp snooping report-suppression
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
659
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING ROUTERMODE
ip igmp snooping routermode
Overview Use this command to set the destination IP addresses as router multicast addresses.
Use the no variant of this command to set it to the default. You can also remove a specified IP address from a custom list of multicast addresses.
Syntax ip igmp snooping routermode
{all|default|ip|multicastrouter|address < ip-address >} no ip igmp snooping routermode [address < ip-address >]
Parameter all default ip multicastrouter address
<ip-address>
Description
All reserved multicast addresses (224.0.0.x).
Packets from all possible addresses in range 224.0.0.x are treated as coming from routers.
Default set of reserved multicast addresses.
Packets from 224.0.0.1, 224.0.0.2, 224.0.0.4, 224.0.0.5,
224.0.0.6, 224.0.0.9, 224.0.0.13, 224.0.0.15 and 224.0.0.24 are treated as coming from routers.
Custom reserved multicast addresses.
Packets from custom IP address in the 224.0.0.x range are treated as coming from routers.
Packets from DVMRP (224.0.0.4) and PIM (224.0.0.13) multicast addresses are treated as coming from routers.
Packets from the specified multicast address are treated as coming from routers. The address must be in the 224.0.0.x range.
Default The default routermode is default (not all ) and shows the following reserved multicast addresses:
Router mode.............Def
Reserved multicast address
224.0.0.1
224.0.0.2
224.0.0.4
224.0.0.5
224.0.0.6
224.0.0.9
224.0.0.13
224.0.0.15
224.0.0.24
Mode Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
660
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING ROUTERMODE
Examples To set ip igmp snooping routermode for all default reserved addresses enter: awplus(config)# ip igmp snooping routermode default
To remove the multicast address 224.0.0.5 from the custom list of multicast addresses enter: awplus(config)# no ip igmp snooping routermode address
224.0.0.5
Related commands
show ip igmp snooping routermode
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
661
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING TCN QUERY SOLICIT
ip igmp snooping tcn query solicit
Overview Use this command to enable IGMP (Internet Group Management Protocol)
Snooping TCN (Topology Change Notification) Query Solicitation feature. When this command is used in the Global Configuration mode, Query Solicitation is enabled.
Use the no variant of this command to disable IGMP Snooping TCN Query
Solicitation. When the no variant of this command is used in Interface
Configuration mode, this overrides the Global Configuration mode setting and
Query Solicitation is disabled.
Syntax ip igmp snooping tcn query solicit no ip igmp snooping tcn query solicit
Default IGMP Snooping TCN Query Solicitation is disabled by default on the device, unless the device is the Master Node in an EPSR ring, or is the Root Bridge in a Spanning
Tree.
When the device is the Master Node in an EPSR ring, or the device is the Root
Bridge in a Spanning Tree, then IGMP Snooping TCN Query Solicitation is enabled by default and cannot be disabled using the Global Configuration mode command. However, Query Solicitation can be disabled for specified interfaces using the no variant of this command from the Interface Configuration mode.
Mode Global Configuration, and Interface Configuration for a VLAN interface.
Usage Once enabled, if the device is not an IGMP Querier, on detecting a topology change, the device generates IGMP Query Solicit messages that are sent to all the ports of the vlan configured for IGMP Snooping on the device.
On a device that is not the Master Node in an EPSR ring or the Root Bridge in a
Spanning Tree, Query Solicitation can be disabled using the no variant of this command after being enabled.
If the device that detects a topology change is an IGMP Querier then the device will generate an IGMP Query message.
Note that the no variant of this command when issued in Global Configuration mode has no effect on a device that is the Master Node in an EPSR ring or on a device that is a Root Bridge in a Spanning Tree. Query Solicitation is not disabled for the device these instances. However, Query Solicitation can be disabled on a per-vlan basis from the Interface Configuration mode.
See the following state table that shows when Query Solicit messages are sent in these instances:
662 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IGMP S NOOPING C OMMANDS
IP IGMP SNOOPING TCN QUERY SOLICIT
Command issued from
Global
Configuration
No
Yes
Yes
Command issued from Interface
Configuration
Yes
No
Yes
Device is STP Root
Bridge or the
EPSR Master Node
IGMP Query Solicit message sent on VLAN
Yes
Yes
Yes
No
Yes Yes
See the IGMP Feature Overview and Configuration Guide for introductory information about the Query Solicitation feature.
Examples To enable Query Solicitation on a device, use the commands: awplus# configure terminal awplus(config)# ip igmp snooping tcn query solicit
To disable Query Solicitation on a device, use the commands: awplus# configure terminal awplus(config)# no ip igmp snooping tcn query solicit
To enable Query Solicitation for vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip igmp snooping tcn query solicit
To disable Query Solicitation for vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no ip igmp snooping tcn query solicit
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
663
IGMP S NOOPING C OMMANDS
IP IGMP STATIC GROUP
ip igmp static-group
Overview Use this command to statically configure multicast group membership entries on a VLAN interface, or to statically forward a multicast channel out a particular port or port range.
To statically add only a group membership, do not specify any parameters.
To statically add a (*,g) entry to forward a channel out of a port, specify only the multicast group address and the switch port range.
To statically add an (s,g) entry to forward a channel out of a port, specify the multicast group address, the source IP address, and the switch port range.
Use the no variant of this command to delete static group membership entries.
Syntax ip igmp static-group <ip-address> [source { <ip-source-addr> }]
[interface < port >] no ip igmp static-group <ip-address> [source
{ <ip-source-addr> }] [interface < port >]
Parameter
<ip-address>
Description
Standard IP Multicast group address, entered in the form
A.B.C.D, to be configured as a static group member.
source Optional.
<ip-source-addr> Standard IP source address, entered in the form A.B.C.D, to be configured as a static source from where multicast packets originate.
interface Use this parameter to specify a specific switch port or switch port range to statically forward the multicast group out of. If not used, static configuration is applied on all ports in the
VLAN.
< port > The port or port range to statically forward the group out of.
The port may be a switch port (e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic (LACP) channel group
(e.g. po2).
Mode Interface Configuration for a VLAN interface.
Usage This command applies to IGMP Snooping on a VLAN interface.
664 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IGMP S NOOPING C OMMANDS
IP IGMP STATIC GROUP
Example The following example show how to statically add group and source records for
IGMP on vlan3: awplus# configure terminal awplus(config)# interface vlan3 awplus(config-if)# ip igmp awplus(config-if)# ip igmp static-group 226.1.2.4 source
10.2.3.4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
665
IGMP S NOOPING C OMMANDS
IP IGMP TRUSTED
ip igmp trusted
Overview Use this command to allow IGMP to process packets received on certain trusted ports only.
Use the no variant of this command to stop IGMP from processing specified packets if the packets are received on the specified ports or aggregator.
Syntax ip igmp trusted {all|query|report|routermode} no ip igmp trusted {all|query|report|routermode}
Parameter all query report routermode
Description
Specifies whether or not the interface is allowed to receive all
IGMP and other routermode packets
Specifies whether or not the interface is allowed to receive IGMP queries
Specifies whether or not the interface is allowed to receive IGMP membership reports
Specifies whether or not the interface is allowed to receive routermode packets
Default By default, all ports and aggregators are trusted interfaces, so IGMP is allowed to process all IGMP query, report, and router mode packets arriving on all interfaces.
Mode Interface mode for one or more switch ports or aggregators
Usage Because all ports are trusted by default, use this command in its no variant to stop
IGMP processing packets on ports you do not trust.
For example, you can use this command to make sure that only ports attached to approved IGMP routers are treated as router ports.
Example To stop ports port1.0.3-port1.0.6 from being treated as router ports by IGMP, use the commands: awplus(config)# interface port1.0.3-port1.0.6
awplus(config-if)# no ip igmp trusted routermode
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
666
IGMP S NOOPING C OMMANDS
IP IGMP VERSION
ip igmp version
Overview Use this command to set the current IGMP version (IGMP version 1, 2 or 3) on an interface.
Use the no variant of this command to return to the default version.
Syntax ip igmp version < 1-3 > no ip igmp version
Parameter version < 1-3 >
Description
IGMP protocol version number
Default The default IGMP version is 3.
Mode Interface Configuration for a VLAN interface.
Example To set the IGMP version to 2 for vlan2, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip igmp version 2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
667
IGMP S NOOPING C OMMANDS
SHOW DEBUGGING IGMP
show debugging igmp
Overview Use this command to display the IGMP debugging options set.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging igmp
Mode User Exec and Privileged Exec
Example To display the IGMP debugging options set, enter the command: awplus# show debugging igmp
Output Figure 23-1: Example output from the show debugging igmp command
IGMP Debugging status:
IGMP Decoder debugging is on
IGMP Encoder debugging is on
IGMP Events debugging is on
IGMP FSM debugging is on
IGMP Tree-Info-Base (TIB) debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
668
IGMP S NOOPING C OMMANDS
SHOW IP IGMP GROUPS
show ip igmp groups
Overview Use this command to display the multicast groups with receivers directly connected to the router, and learned through IGMP.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip igmp groups [ <ip-address> |< interface > detail]
Parameter
<ip-address>
<interface>
Description
Address of the multicast group, entered in the form A.B.C.D.
Interface name for which to display local information.
Mode User Exec and Privileged Exec
Example The following command displays local-membership information for all ports in all interfaces: awplus# show ip igmp groups
Output Figure 23-2: Example output from the show ip igmp groups command
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter
224.0.1.1 port1.0.1 00:00:09 00:04:17 10.10.0.82
224.0.1.24 port1.0.2 00:00:06 00:04:14 10.10.0.84
224.0.1.40 port1.0.3 00:00:09 00:04:15 10.10.0.91
224.0.1.60 port1.0.3 00:00:05 00:04:15 10.10.0.7
224.100.100.100 port1.0.1 00:00:11 00:04:13 10.10.0.91
228.5.16.8 port1.0.3 00:00:11 00:04:16 10.10.0.91
228.81.16.8 port1.0.6 00:00:05 00:04:15 10.10.0.91
228.249.13.8 port1.0.3 00:00:08 00:04:17 10.10.0.91
235.80.68.83 port1.0.5 00:00:12 00:04:15 10.10.0.40
239.255.255.250 port1.0.3 00:00:12 00:04:15 10.10.0.228
239.255.255.254 port1.0.4 00:00:08 00:04:13 10.10.0.84
Table 1: Parameters in the output of the show ip igmp groups command
Parameter
Group
Address
Interface
Uptime
Description
Address of the multicast group.
Port through which the group is reachable.
The time in weeks, days, hours, minutes, and seconds that this multicast group has been known to the device.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
669
IGMP S NOOPING C OMMANDS
SHOW IP IGMP GROUPS
Table 1: Parameters in the output of the show ip igmp groups command (cont.)
Parameter
Expires
Last
Reporter
Description
Time (in hours, minutes, and seconds) until the entry expires.
Last host to report being a member of the multicast group.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
670
IGMP S NOOPING C OMMANDS
SHOW IP IGMP INTERFACE
show ip igmp interface
Overview Use this command to display the state of IGMP Snooping for a specified VLAN, or all VLANs. IGMP is shown as Active or Disabled in the show output. You can also display the number of groups a switch port belongs to.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip igmp interface [< interface >]
Parameter Description
< interface > The name of the interface.
If you specify a switch port number, the output displays the number of groups the port belongs to, and the port’s group membership
limit, if a limit has been set (with the command ip igmp maximum-groups
).
Mode User Exec and Privileged Exec
Output The following output shows IGMP interface status for vlan2 with IGMP Snooping enabled: awplus#show ip igmp interface vlan2
Interface vlan2 (Index 202)
IGMP Disabled, Inactive, Version 3 (default)
IGMP interface has 0 group-record states
IGMP activity: 0 joins, 0 leaves
IGMP robustness variable is 2
IGMP last member query count is 2
IGMP query interval is 125 seconds
IGMP query holdtime is 500 milliseconds
IGMP querier timeout is 255 seconds
IGMP max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
Strict IGMPv3 ToS checking is disabled on this interface
Source Address checking is enabled
IGMP Snooping is globally enabled
IGMP Snooping query solicitation is globally disabled
Num. query-solicit packets: 57 sent, 0 recvd
IGMP Snooping is enabled on this interface
IGMP Snooping fast-leave is not enabled
IGMP Snooping querier is not enabled
IGMP Snooping report suppression is enabled
The following output shows IGMP interface status for vlan2 with IGMP Snooping disabled:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
671
IGMP S NOOPING C OMMANDS
SHOW IP IGMP INTERFACE awplus#show ip igmp interface vlan2
Interface vlan2 (Index 202)
IGMP Disabled, Inactive, Version 3 (default)
IGMP interface has 0 group-record states
IGMP activity: 0 joins, 0 leaves
IGMP robustness variable is 2
IGMP last member query count is 2
IGMP query interval is 125 seconds
IGMP query holdtime is 500 milliseconds
IGMP querier timeout is 255 seconds
IGMP max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
Strict IGMPv3 ToS checking is disabled on this interface
Source Address checking is enabled
IGMP Snooping is globally enabled
IGMP Snooping query solicitation is globally disabled
Num. query-solicit packets: 57 sent, 0 recvd
IGMP Snooping is not enabled on this interface
IGMP Snooping fast-leave is not enabled
IGMP Snooping querier is not enabled
IGMP Snooping report suppression is enabled
The following output displays membership information for port1.0.1: awplus#show ip igmp interface port1.0.1
IGMP information for port1.0.1
Maximum groups limit set: 10
Number of groups port belongs to: 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
672
IGMP S NOOPING C OMMANDS
SHOW IP IGMP SNOOPING MROUTER
show ip igmp snooping mrouter
Overview Use this command to display the multicast router ports, both static and dynamic, in a VLAN.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip igmp snooping mrouter [interface < interface >]
Parameter Description interface A specific interface.
< interface > The name of the VLAN interface.
Mode User Exec and Privileged Exec
Example To show all multicast router interfaces, use the command: awplus# show ip igmp snooping mrouter
To show the multicast router interfaces in vlan1 , use the command: awplus# show ip igmp snooping mrouter interface vlan1
Output Figure 23-3: Example output from the show ip igmp snooping mrouter command
Figure 23-4: Example output from the show ip igmp snooping mrouter interface vlan1 command
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
673
IGMP S NOOPING C OMMANDS
SHOW IP IGMP SNOOPING ROUTERMODE
show ip igmp snooping routermode
Overview Use this command to display the current routermode and the list of IP addresses
set as router multicast addresses from the ip igmp snooping routermode
command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip igmp snooping routermode
Mode User Exec and Privileged Exec
Example To show the routermode and the list of router multicast addresses, use the command: awplus# show ip igmp snooping routermode
Output Figure 23-5: Example output from the show ip igmp snooping router mode command awplus#show ip igmp snooping routermode
Router mode.............Def
Reserved multicast address
224.0.0.1
224.0.0.2
224.0.0.4
224.0.0.5
224.0.0.6
224.0.0.9
224.0.0.13
224.0.0.15
224.0.0.24
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
674
IGMP S NOOPING C OMMANDS
SHOW IP IGMP SNOOPING STATISTICS
show ip igmp snooping statistics
Overview Use this command to display IGMP Snooping statistics data.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ip igmp snooping statistics interface < interface-range >
[group [< ip-address >]]
Parameter
<ip-address>
<interface>
Description
Optionally specify the address of the multicast group, entered in the form A.B.C.D.
Specify the name of the interface or interface range. If you specify a port number, the output displays the number of groups the port belongs to, and the port’s group membership
limit, if a limit has been set (with the command ip igmp maximum-groups
)
Mode User Exec and Privileged Exec
Example To display IGMP statistical information for vlan1 and vlan2 , use the command: awplus# show ip igmp snooping statistics interface vlan1-vlan2
Output Figure 23-6: Example output from the show ip igmp snooping statistics command for VLANs awplus#show ip igmp interface vlan1-vlan2
IGMP Snooping statistics for vlan1
Interface: port1.0.3
Group: 224.1.1.1
Uptime: 00:00:09
Group mode: Exclude (Expires: 00:04:10)
Last reporter: 10.4.4.5
Source list is empty
IGMP Snooping statistics for vlan2
Interface: port1.0.4
Group: 224.1.1.2
Uptime: 00:00:19
Group mode: Exclude (Expires: 00:05:10)
Last reporter: 10.4.4.6
Source list is empty
675 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IGMP S NOOPING C OMMANDS
SHOW IP IGMP SNOOPING STATISTICS
Figure 23-7: Example output from the show ip igmp snooping statistics command for a switch port awplus#show ip igmp interface port1.0.1
IGMP information for port1.0.1
Maximum groups limit set: 10
Number of groups port belongs to: 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
676
IGMP S NOOPING C OMMANDS
UNDEBUG IGMP
undebug igmp
Overview
This command applies the functionality of the no debug igmp command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
677
24
MLD Snooping
Commands
Introduction
Overview This chapter provides an alphabetical reference of configuration, clear, and show commands related to MLD Snooping.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
ipv6 mld snooping report-suppression
show ipv6 mld snooping mrouter
show ipv6 mld snooping statistics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
678
MLD S NOOPING C OMMANDS
CLEAR IPV 6 MLD
clear ipv6 mld
Overview Use this command to clear all MLD local memberships on all interfaces.
Syntax clear ipv6 mld
Mode Privileged Exec
Example awplus# clear ipv6 mld
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
679
MLD S NOOPING C OMMANDS
CLEAR IPV 6 MLD GROUP
clear ipv6 mld group
Overview Use this command to clear MLD specific local-membership(s) on all interfaces, for a particular group.
Syntax clear ipv6 mld group {*| <ipv6-address >}
Parameter
*
Description
Clears all groups on all interfaces. This is an alias to the
< ipv6-address > Specify the group address for which MLD local-memberships are to be cleared from all interfaces.
Specify the IPv6 multicast group address in the format in the format X:X::X:X.
Mode Privileged Exec
Example awplus# clear ipv6 mld group *
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
680
MLD S NOOPING C OMMANDS
CLEAR IPV 6 MLD INTERFACE
clear ipv6 mld interface
Overview Use this command to clear MLD interface entries.
Syntax clear ipv6 mld interface < interface >
Parameter Description
< interface> Specifies name of the interface; all groups learned from this interface are deleted.
Mode Privileged Exec
Example awplus# clear ipv6 mld interface vlan2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
681
MLD S NOOPING C OMMANDS
DEBUG MLD
debug mld
Overview Use this command to enable all MLD debugging modes, or a specific MLD debugging mode.
Use the no variant of this command to disable all MLD debugging modes, or a specific MLD debugging mode.
Syntax debug mld {all|decode|encode|events|fsm|tib} no debug mld {all|decode|encode|events|fsm|tib}
Parameter all decode encode events fsm tib
Description
Debug all MLD.
Debug MLD decoding.
Debug MLD encoding.
Debug MLD events.
Debug MLD Finite State Machine (FSM).
Debug MLD Tree Information Base (TIB).
Mode Privileged Exec and Global Configuration
Examples awplus# configure terminal awplus(config)# debug mld all awplus# configure terminal awplus(config)# debug mld decode awplus# configure terminal awplus(config)# debug mld encode awplus# configure terminal awplus(config)# debug mld events
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
682
MLD S NOOPING C OMMANDS
IPV 6 MLD ACCESS GROUP
ipv6 mld access-group
Overview Use this command to control the multicast local-membership groups learned on an interface.
Use the no variant of this command to disable this access control.
Syntax ipv6 mld access-group <IPv6-access-list-name> no ipv6 mld access-group
Parameter Description
< IPv6-access-list- name >
Specify a Standard or an Extended software IPv6
access-list name. See IPv6 Software Access Control List
(ACL) Commands for supported IPv6 ACLs.
Default No access list is configured by default.
Mode Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Examples In the following example, the VLAN interface vlan2 will only accept MLD joins for groups in the range ff1e:0db8:0001::/64 : awplus# configure terminal awplus(config)# ipv6 forwarding awplus(config)# ipv6 multicast-routing awplus(config)# ipv6 access-list standard group1 permit ff1e:0db8:0001::/64 awplus(config)# interface vlan2 awplus(config-if)# ipv6 enable awplus(config-if)# ipv6 mld access-group group1
In the following example, the VLAN interfaces vlan2-vlan4 will only accept
MLD joins for groups in the range ff1e:0db8:0001::/64 : awplus# configure terminal awplus(config)# ipv6 forwarding awplus(config)# ipv6 multicast-routing awplus(config)# ipv6 access-list standard group1 permit ff1e:0db8:0001::/64 awplus(config)# interface vlan2-vlan4 awplus(config-if)# ipv6 enable awplus(config-if)# ipv6 mld access-group group1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
683
MLD S NOOPING C OMMANDS
IPV 6 MLD IMMEDIATE LEAVE
ipv6 mld immediate-leave
Overview Use this command to minimize the leave latency of MLD memberships.
Use the no variant of this command to disable this feature.
Syntax ipv6 mld immediate-leave group-list <IPv6-access-list-name> no ipv6 mld immediate-leave
Parameter
<IPv6-access- list-name>
Description
Specify a Standard or an Extended software IPv6 access-list name that defines multicast groups in which the immediate leave feature is enabled.
See
IPv6 Software Access Control List (ACL) Commands
for supported IPv6 ACLs.
Default Disabled
Mode Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Example The following example shows how to enable the immediate-leave feature on an interface for a specific range of multicast groups. In this example, the router assumes that the group access-list consists of groups that have only one node membership at a time per interface: awplus# configure terminal awplus(config)# ipv6 forwarding awplus(config)# ipv6 multicast-routing awplus(config)# interface vlan2 awplus(config-if)# ipv6 enable awplus(config-if)# ipv6 mld immediate-leave v6grp awplus(config-if)# exit
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
684
MLD S NOOPING C OMMANDS
IPV 6 MLD LIMIT
ipv6 mld limit
Overview Use this command to configure a limit on the maximum number of group memberships that may be learned. The limit may be set for the device as a whole, or for a specific interface.
Once the specified group membership limit is reached, all further local-memberships will be ignored.
Optionally, an exception access-list can be configured to specify the group-address(es) that are exempted from being subject to the limit.
Use the no variant of this command to unset the limit and any specified exception access-list.
Syntax ipv6 mld limit <limitvalue> [except <IPv6-access-list-name> ] no ipv6 mld limit
Parameter
< limitvalue >
Description
<2-512> Maximum number of group membership states.
< IPv6-access-list- name >
Specify a Standard or an Extended software IPv6 access-list name that defines multicast groups, which are exempted from being subject to the configured limit.
See
IPv6 Software Access Control List (ACL) Commands
for supported IPv6 ACLs.
Default The default limit, which is reset by the no variant of this command, is the same as maximum number of group membership entries that can be learned with the ipv6 mld limit command.
The default limit of group membership entries that can be learned is 512 entries.
Mode Global Configuration and Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Usage This command applies to interfaces configured for MLD Layer-3 multicast protocols and learned by MLD Snooping.
Examples The following example configures an MLD limit of 100 group-memberships across all VLAN interfaces on which MLD is enabled, and excludes groups in the range ff1e:0db8:0001::/64 from this limitation: awplus# configure terminal awplus(config)# ipv6 forwarding awplus(config)# ipv6 multicast-routing awplus(config)# ipv6 access-list standard v6grp permit ff1e:0db8:0001::/64 awplus(config)# ipv6 mld limit 100 except v6grp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
685
MLD S NOOPING C OMMANDS
IPV 6 MLD LIMIT
The following example configures an MLD limit of 100 group-membership states on the VLAN interface vlan2 : awplus# configure terminal awplus(config)# ipv6 forwarding awplus(config)# ipv6 multicast-routing awplus(config)# interface vlan2 awplus(config-if)# ipv6 enable awplus(config-if)# ipv6 mld limit 100
The following example configures an MLD limit of 100 group-membership states on the VLAN interfaces vlan2-vlan4 : awplus# configure terminal awplus(config)# ipv6 forwarding awplus(config)# ipv6 multicast-routing awplus(config)# interface vlan2-vlan4 awplus(config-if)# ipv6 enable awplus(config-if)# ipv6 mld limit 100
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
686
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING
ipv6 mld snooping
Overview Use this command to enable MLD Snooping. When this command is issued in the
Global Configuration mode, MLD Snooping is enabled globally for the device.
When this command is issued in Interface mode for a VLAN then MLD Snooping is enabled for the specified VLAN. Note that MLD Snooping is enabled on the VLAN only if it is enabled globally and on the VLAN.
Use the no variant of this command to globally disable MLD Snooping in Global
Configuration mode, or for the specified VLAN interface in Interface mode.
NOTE
: There is a 100 MLD interface limit when applying MLD commands to multiple
VLANs. Only the first 100 VLANs have the required multicast structures added to the interfaces that allow multicast routing.
The device has a 512 MLD group limit for (*, G) and (S,G) entries.
Syntax ipv6 mld snooping no ipv6 mld snooping
Default By default, MLD Snooping is enabled both globally and on all VLANs.
Mode Global Configuration and Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Usage For MLD Snooping to operate on particular VLAN interfaces, it must be enabled both globally by using this command in Global Configuration mode, and on individual VLAN interfaces by using this command in Interface Configuration mode (both are enabled by default).
MLD requires memory for storing data structures, as well as the hardware tables to implement hardware routing. As the number of ports, VLANs, static and dynamic groups increases then more memory is consumed. You can track the memory used for MLD with the command: awplus# show memory pools nsm | grep MLD
Static and dynamic groups (LACP), ports and VLANs are not limited for MLD. For
VLANs, this allows you to configure MLD across more VLANs with fewer ports per
VLAN, or fewer VLANs with more ports per VLAN. For LACPs, you can configure
MLD across more LACP groups with fewer ports per LACP, or fewer LACP groups with more ports per LACP.
Examples To configure MLD Snooping on the VLAN interface vlan2 , enter the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld snooping
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
687
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING
To configure MLD Snooping on the VLAN interfaces vlan2-vlan4 , enter the following commands: awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# ipv6 mld snooping
To disable MLD Snooping for the VLAN interface vlan2 , enter the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config)# no ipv6 mld snooping
To disable MLD Snooping for the VLAN interfaces vlan2-vlan4 , enter the following commands: awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config)# no ipv6 mld snooping
To configure MLD Snooping globally for the device, enter the following commands: awplus# configure terminal awplus(config)# ipv6 mld snooping
To disable MLD Snooping globally for the device, enter the following commands: awplus# configure terminal awplus(config)# no ipv6 mld snooping
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
688
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING FAST LEAVE
ipv6 mld snooping fast-leave
Overview Use this command to enable MLD Snooping fast-leave processing. Fast-leave processing is analogous to immediate-leave processing; the MLD group-membership is removed as soon as an MLD leave group message is received, without sending out a group-specific query.
Use the no variant of this command to disable fast-leave processing.
Syntax ipv6 mld snooping fast-leave no ipv6 mld snooping fast-leave
Default MLD Snooping fast-leave processing is disabled.
Mode Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Usage This MLD Snooping command can only be configured on VLAN interfaces.
Examples This example shows how to enable fast-leave processing on the VLAN interface vlan2 .
awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld snooping fast-leave
This example shows how to enable fast-leave processing on the VLAN interface vlan2- vlan4 .
awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# ipv6 mld snooping fast-leave
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
689
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING MROUTER
ipv6 mld snooping mrouter
Overview Use this command to statically configure the specified port as a Multicast Router interface for MLD Snooping within the specified VLAN.
See detailed usage notes below to configure static multicast router ports when using static IPv6 multicast routes with EPSR, and the destination VLAN is an EPSR data VLAN.
Use the no variant of this command to remove the static configuration of the interface as a Multicast Router interface.
Syntax ipv6 mld snooping mrouter interface < port > no ipv6 mld snooping mrouter interface < port >
Parameter
< port >
Description
Specify the name of the port.
Mode Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Usage This MLD Snooping command statically configures a switch port as a Multicast
Router interface.
Note that if static IPv6 multicast routing is being used with EPSR and the destination VLAN is an EPSR data VLAN, then multicast router (mrouter) ports must be statically configured. This minimizes disruption for multicast traffic in the event of ring failure or restoration.
When configuring the EPSR data VLAN, statically configure mrouter ports so that the multicast router can be reached in either direction around the EPSR ring.
For example, if port1.0.1 and port1.0.6 are ports on an EPSR data VLAN vlan101, which is the destination for a static IPv6 multicast route, then configure both ports as multicast router (mrouter) ports as shown in the example commands listed below:
Output Figure 24-1: Example ipv6 mld snooping mrouter commands when static IPv6 multicast routing is being used and the destination VLAN is an EPSR data VLAN: awplus>enable awplus#configure terminal awplus(config)#interface vlan101 awplus(config-if)#ipv6 mld snooping mrouter interface port1.0.1
awplus(config-if)#ipv6 mld snooping mrouter interface port1.0.6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
690
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING MROUTER
Examples This example shows how to specify the next-hop interface to the multicast router for VLAN interface vlan2 : awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld snooping mrouter interface port1.0.5
This example shows how to specify the next-hop interface to the multicast router for VLAN interfaces vlan2-vlan4 : awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# ipv6 mld snooping mrouter interface port1.0.5
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
691
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING QUERIER
ipv6 mld snooping querier
Overview Use this command to enable MLD querier operation on a subnet (VLAN) when no multicast routing protocol is configured in the subnet (VLAN). When enabled, the
MLD Snooping querier sends out periodic MLD queries for all interfaces on that
VLAN.
Use the no variant of this command to disable MLD querier configuration.
Syntax ipv6 mld snooping querier no ipv6 mld snooping querier
Mode Interface Configuration for a specified VLAN interface.
Usage This command can only be configured on a single VLAN interface - not on multiple
VLANs.
The MLD Snooping querier uses the 0.0.0.0 Source IP address because it only masquerades as an MLD querier for faster network convergence.
The MLD Snooping querier does not start, or automatically cease, the MLD Querier operation if it detects query message(s) from a multicast router. It restarts as an
MLD Snooping querier if no queries are seen within the other querier interval.
Example awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld snooping querier
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
692
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING REPORT SUPPRESSION
ipv6 mld snooping report-suppression
Overview Use this command to enable report suppression from hosts for Multicast Listener
Discovery version 1 (MLDv1) on a VLAN in Interface Configuration mode.
Use the no variant of this command to disable report suppression on a VLAN in
Interface Configuration mode.
Syntax ipv6 mld snooping report-suppression no ipv6 mld snooping report-suppression
Default Report suppression does not apply to MLDv2, and is turned on by default for
MLDv1 reports.
Mode Interface Configuration for a specified VLAN interface or a range of VLAN interfaces.
Usage This MLD Snooping command can only be configured on VLAN interfaces.
MLDv1 Snooping maybe configured to suppress reports from hosts. When a querier sends a query, only the first report for particular set of group(s) from a host will be forwarded to the querier by the MLD Snooping device. Similar reports (to the same set of groups) from other hosts, which would not change group memberships in the querier, will be suppressed by the MLD Snooping device to prevent 'flooding' of query responses.
Examples This example shows how to enable report suppression for MLD reports on VLAN interface vlan2 : awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld snooping report-suppression
This example shows how to disable report suppression for MLD reports on VLAN interface vlan2 : awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no ipv6 mld snooping report-suppression
This example shows how to enable report suppression for MLD reports on VLAN interfaces vlan2-vlan4 : awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# ipv6 mld snooping report-suppression
693 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
MLD S NOOPING C OMMANDS
IPV 6 MLD SNOOPING REPORT SUPPRESSION
This example shows how to disable report suppression for MLD reports on VLAN interfaces vlan2-vlan4 : awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# no ipv6 mld snooping report-suppression
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
694
MLD S NOOPING C OMMANDS
IPV 6 MLD STATIC GROUP
ipv6 mld static-group
Overview Use this command to statically configure IPv6 group membership entries on an interface. To statically add only a group membership, do not specify any parameters.
Use the no variant of this command to delete static group membership entries.
Syntax ipv6 mld static-group <ipv6-group-address> [source
<ipv6-source-address> ] [interface < port >] no ipv6 mld static-group <ipv6-group-address> [source
<ipv6-source-address> ] [interface < port >]
Parameter
< ipv6-group- address >
< ipv6-source- address >
< port >
Description
Specify a standard IPv6 Multicast group address to be configured as a static group member.
The IPv6 address uses the format X:X::X:X.
Optional. Specify a standard IPv6 source address to be configured as a static source from where multicast packets originate.
The IPv6 address uses the format X:X::X:X.
Optional. Physical interface. This parameter specifies a physical port. If this parameter is used, the static configuration is applied to just to that physical interface.
If this parameter is not used, the static configuration is applied on all ports in the VLAN.
Mode Interface Configuration for a VLAN interface.
Usage This command applies to MLD Snooping on a VLAN interface to statically add groups and/or source records.
Examples To add a static group record, use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld static-group ff1e::10
To add a static group and source record, use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld static-group ff1e::10 source fe80::2fd:6cff:fe1c:b
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
695
MLD S NOOPING C OMMANDS
IPV 6 MLD STATIC GROUP
To add a static group record on a specific port on vlan2, use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 mld static-group ff1e::10 interface port1.0.4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
696
MLD S NOOPING C OMMANDS
SHOW DEBUGGING MLD
show debugging mld
Overview Use this command to display the MLD debugging modes enabled with the
command.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging mld
Mode Privileged Exec
Example awplus# show debugging mld
Output show debugging mld
MLD Debugging status:
MLD Decoder debugging is on
MLD Encoder debugging is on
MLD Events debugging is on
MLD FSM debugging is on
MLD Tree-Info-Base (TIB) debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
697
MLD S NOOPING C OMMANDS
SHOW IPV 6 MLD GROUPS
show ipv6 mld groups
Overview Use this command to display the multicast groups that have receivers directly connected to the router and learned through MLD.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 mld groups [ <ipv6-address> |< interface >] [detail]
Parameter Description
< ipv6-address > Optional. Specify Address of the multicast group in format
X:X::X:X.
< interface > Optional. Specify the Interface name for which to display local information.
Mode User Exec and Privileged Exec
Examples The following command displays local-membership information for all interfaces: awplus# show ipv6 mld groups
Output Figure 24-2: Example output for show ipv6 mld groups awplus#show ipv6 mld groups
MLD Connected Group Membership
Group Address Interface Uptime Expires
Last Reporter ff08::1 vlan10 (port1.0.1) 00:07:27 00:03:10
fe80::200:1ff:fe20:b5ac
The following command displays local-membership information for all interfaces: awplus# show ipv6 mld groups detail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
698
MLD S NOOPING C OMMANDS
SHOW IPV 6 MLD INTERFACE
show ipv6 mld interface
Overview Use this command to display the state of MLD and MLD Snooping for a specified interface, or all interfaces.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 mld interface [< interface >]
Parameter Description
< interface > Interface name.
Mode User Exec and Privileged Exec
Example The following command displays MLD interface status on all interfaces enabled for
MLD: awplus# show ipv6 mld interface
Output
awplus#show ipv6 mld interface
Interface vlan1 (Index 301)
MLD Enabled, Active, Querier, Version 2 (default)
Internet address is fe80::215:77ff:fec9:7468
MLD interface has 0 group-record states
MLD activity: 0 joins, 0 leaves
MLD robustness variable is 2
MLD last member query count is 2
MLD query interval is 125 seconds
MLD querier timeout is 255 seconds
MLD max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
MLD Snooping is globally enabled
MLD Snooping is enabled on this interface
MLD Snooping fast-leave is not enabled
MLD Snooping querier is enabled
MLD Snooping report suppression is enabled
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
699
MLD S NOOPING C OMMANDS
SHOW IPV 6 MLD SNOOPING MROUTER
show ipv6 mld snooping mrouter
Overview Use this command to display the multicast router interfaces, both configured and learned, in a VLAN. If you do not specify a VLAN interface then all the VLAN interfaces are displayed.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 mld snooping mrouter [< interface >]
Parameter Description
< interface > Optional. Specify the name of the VLAN interface. Note: If you do not specify a single VLAN interface, then all VLAN interfaces are shown.
Mode User Exec and Privileged Exec
Examples The following command displays the multicast router interfaces in vlan2 : awplus# show ipv6 mld snooping mrouter vlan2
Output
awplus#show ipv6 mld snooping mrouter vlan2
VLAN Interface Static/Dynamic
2 port1.0.2 Dynamically Learned
2 port1.0.3 Dynamically Learned
The following command displays the multicast router interfaces for all VLAN interfaces: awplus# show ipv6 mld snooping mrouter
Output
awplus#show ipv6 mld snooping mrouter
VLAN Interface Static/Dynamic
2 port1.0.2 Dynamically Learned
2 port1.0.3 Dynamically Learned
3 port1.0.4 Statically Assigned
3 port1.0.5 Statically Assigned
700 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
MLD S NOOPING C OMMANDS
SHOW IPV 6 MLD SNOOPING STATISTICS
show ipv6 mld snooping statistics
Overview Use this command to display MLD Snooping statistics data.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 mld snooping statistics interface < interface >
Parameter Description
< interface > The name of the VLAN interface.
Mode User Exec and Privileged Exec
Example The following command displays MLDv2 statistical information for vlan1 : awplus# show ipv6 mld snooping statistics interface vlan1
Output awplus#show ipv6 mld snooping statistics interface vlan1
MLD Snooping statistics for vlan1
Interface: port1.0.1
Group: ff08::1
Uptime: 00:02:18
Group mode: Include ()
Last reporter: fe80::eecd:6dff:fe6b:4783
Group source list: (R - Remote, M - SSM Mapping, S - Static )
Source Address Uptime v2 Exp Fwd Flags
2001:db8::1 00:02:18 00:02:02 Yes R
2001:db8::3 00:02:18 00:02:02 Yes R
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
701
Part 5: Access and Security
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
702
25
IPv4 Hardware
Access Control List
(ACL) Commands
Introduction
Overview This chapter provides an alphabetical reference of IPv4 Hardware Access Control
List (ACL) commands. It contains detailed command information and command examples about IPv4 hardware ACLs, which you can apply directly to interfaces using the
command.
To apply ACLs to an LACP channel group, apply it to all the individual switch ports in the channel group. To apply ACLs to a static channel group, apply it to the static channel group itself.
Most ACL command titles include information in parentheses:
•
•
When the command title ends with words in parentheses, these words indicate usage instead of keywords to enter into the CLI. For example, the title access-list (numbered hardware ACL for ICMP) indicates that the command is used to create an ACL with the syntax: access-list < 3000-3699 > < action > icmp < source-ip > < dest-ip >
[icmp-type < number >] [vlan < 1-4094 >]
When the command title is completely surrounded by parentheses, the title indicates the type of ACL filter instead of keywords to enter into the CLI. For example, the title (named hardware ACL: ICMP entry) represents a command with the syntax:
[< sequence-number >] < action > icmp < source-ip > < dest-ip >
[icmp-type < number >] [vlan < 1-4094 >]
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Sub-modes Many of the ACL commands operate from sub-modes that are specific to particular
ACL types. The following table shows the CLI prompts at which ACL commands are entered.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
703
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
Table 25-1: IPv4 Hardware Access List Commands and Prompts
Command Name
show access-list (IPv4 Hardware ACLs)
Command Mode
Privileged Exec
Privileged Exec
Privileged Exec
Prompt awplus# awplus# awplus# awplus(config)#
access-list (numbered hardware ACL for IP packets)
Global Configuration
access-list (numbered hardware ACL for
Global Configuration awplus(config)#
access-list (numbered hardware ACL for IP protocols)
Global Configuration awplus(config)#
access-list (numbered hardware ACL for
Global Configuration awplus(config)#
access-list (numbered hardware ACL for
Global Configuration awplus(config)#
access-list hardware (named hardware
Global Configuration awplus(config)#
(named hardware ACL: IP packet entry)
IPv4 Hardware ACL
Configuration awplus(config-ip-hw-acl)#
(named hardware ACL: ICMP entry)
IPv4 Hardware ACL
Configuration awplus(config-ip-hw-acl)#
(named hardware ACL: IP protocol entry)
IPv4 Hardware ACL
Configuration awplus(config-ip-hw-acl)#
(named hardware ACL: TCP or UDP entry)
IPv4 Hardware ACL
Configuration
(named hardware ACL: MAC entry)
awplus(config-ip-hw-acl)#
IPv4 Hardware ACL
Configuration awplus(config-ip-hw-acl)#
IPv4 Hardware ACL
Configuration awplus(config-ip-hw-acl)#
Interface Configuration awplus(config-if)#
References For descriptions of ACLs, and further information about rules when applying them, see the ACL Feature Overview and Configuration Guide .
For more information on link aggregation see the following references:
•
• the Link Aggregation Feature Overview_and Configuration Guide .
Command List •
•
•
“ access-list (numbered hardware ACL for ICMP) ” on page 708
“ access-list (numbered hardware ACL for IP packets) ” on page 711
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
704
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
“ access-list (numbered hardware ACL for IP protocols) ” on page 714
“ access-list (numbered hardware ACL for MAC addresses) ” on page 718
“ access-list (numbered hardware ACL for TCP or UDP) ” on page 720
“ access-list hardware (named hardware ACL) ” on page 723
“ (named hardware ACL: ICMP entry) ” on page 725
“ (named hardware ACL: IP packet entry) ” on page 729
“ (named hardware ACL: IP protocol entry) ” on page 733
“ (named hardware ACL: MAC entry) ” on page 738
“ (named hardware ACL: TCP or UDP entry) ” on page 741
“ show access-list (IPv4 Hardware ACLs) ” on page 745
“ show interface access-group ” on page 747
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
705
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS GROUP
access-group
Overview This command adds or removes a hardware-based access-list to or from a switch port interface. The number of hardware numbered and named access-lists that can be added to a switch port interface is determined by the available memory in hardware-based packet classification tables.
This command works in Interface Configuration mode to apply hardware access-lists to selected switch port interfaces.
The no variant of this command removes the selected access-list from an interface.
Syntax access-group
[< 3000-3699 >|< 4000-4699 >|< hardware-access-list-name >] no access-group
[< 3000-3699 >| 4000-4699 |< hardware-access-list-name >]
Parameter Description
<3000-3699>
< 4000-4699 >
Hardware IP access-list.
Hardware MAC access-list.
< hardware-access-list-name > The hardware access-list name.
Mode Interface Configuration for a switch port interface
Default Any traffic on an interface controlled by a hardware ACL that does not explicitly match a filter is permitted.
Usage First create an IP access-list that applies the appropriate permit/deny requirements with the
access-list (numbered hardware ACL for IP packets) command, the
access-list (numbered hardware ACL for MAC addresses) command or the
access-list hardware (named hardware ACL) command. Then use this command to
apply this hardware access- list to a specific port or port range. Note that this command will apply the access-list only to incoming data packets.
To apply ACLs to an LACP aggregated link, apply it to all the individual switch ports in the aggregated group. To apply ACLs to a static channel group, apply it to the static channel group itself. An ACL can even be applied to a static aggregated link that spans more than one switch instance (
).
Note that you cannot apply software numbered ACLs to switch port interfaces with the access-group command. This command will only apply hardware ACLs.
NOTE
: Hardware ACLs will permit access unless explicitly denied by an ACL action.
706 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS GROUP
Examples To add the numbered hardware access-list 3005 to switch port interface port1.0.1, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# access-group 3005
To add the named hardware access-list “hw-acl” to switch port interface port1.0.2, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# access-group hw-acl
To apply an ACL to static channel group 2 containing switch port1.0.5 and port1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.5-1.0.6
awplus(config-if)# static-channel-group 2 awplus(config)# interface sa2 awplus(config-if)# access-group 3000
Related
Commands
access-list hardware (named hardware ACL)
access-list (numbered hardware ACL for IP packets)
access-list (numbered hardware ACL for MAC addresses)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
707
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR ICMP)
access-list (numbered hardware ACL for
ICMP)
Overview This command creates an access-list for use with hardware classification. The access-list will match on ICMP packets that have the specified source and destination IP addresses and, optionally, ICMP type. You can use the value any instead of source or destination address if an address does not matter.
Once you have configured the ACL, you can use the
or the
match access-group command to apply this ACL to a port, VLAN or QoS class-map.
The optional vlan parameter can be used to match tagged (802.1q) packets.
The no variant of this command removes the previously specified access-list.
Syntax access-list < 3000-3699 > < action > icmp < source-ip > < dest-ip >
[icmp-type < number >] [vlan < 1-4094 >] no access-list < 3000-3699 >
Parameter
< 3000-3699 >
<action> icmp
<source-ip>
Description
An ID number for this hardware IP access-list.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu
Match against ICMP packets
Send matching packets to the CPU.
The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any host <ip-addr>
Match any source IP address.
Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
708
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR ICMP)
C613-50135-01 Rev A
Parameter
< dest-ip icmp-type
< number >
>
4
5
8
11
12
0
3
Description
<
< ip-addr > reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1 0.0.0.255” is the same as entering 192.168.1.1/24.
The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
The type of ICMP message to match against, as defined in RFC792 and RFC950. Values include:
Echo replies.
Destination unreachable messages.
Source quench messages.
Redirect (change route) messages.
Echo requests.
Time exceeded messages.
Parameter problem messages.
13
14
15
Timestamp requests.
Timestamp replies.
Information requests.
16
17
Information replies.
Address mask requests.
18 Address mask replies.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
709
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR ICMP)
Mode Global Configuration
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage This command creates an ACL for use with hardware classification. Once you have
configured the ACL, use the access-group
command to apply this ACL to a port, VLAN or QoS class-map.
ACLs numbered in the range 3000-3699 match on packets that have the specified source and destination IP addresses.
ICMP ACLs will match any ICMP packet that has the specified source and destination IP addresses and ICMP type. The ICMP type is an optional parameter.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Examples To create an access-list that will permit ICMP packets with a source address of
192.168.1.0/24 with any destination address and an ICMP type of 5 enter the following commands: awplus# configure terminal awplus(config)# access-list 3000 permit icmp 192.168.1.0/24 any icmp-type 5
To destroy the access-list with an access-list identity of 3000 enter the following commands: awplus# configure terminal awplus(config)# no access-list 3000
Related
Commands
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
710
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PACKETS )
access-list (numbered hardware ACL for IP packets)
Overview This command creates an access-list for use with hardware classification. The access-list will match on packets that have the specified source and destination IP addresses. You can use the value any instead of source or destination address if an address does not matter.
Once you have configured the ACL, you can use the
or the
match access-group command to apply this ACL to a port, VLAN or QoS class-map.
The optional vlan parameter can be used to match tagged (802.1q) packets.
The no variant of this command removes the previously specified IP hardware access-list.
Syntax access-list < 3000-3699 > < action > ip < source-ip > < dest-ip > [vlan
< 1-4094 >] no access-list < 3000-3699 >
Table 25-2: IP and ICMP parameters in access-list (hardware IP numbered)
Parameter
< 3000-3699 >
<action> ip
<source-ip>
Description
An ID number for this hardware IP access-list.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu
Match against IP packets
Send matching packets to the CPU.
The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any host <ip-addr>
Match any source IP address.
Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
711
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PACKETS )
Table 25-2: IP and ICMP parameters in access-list (hardware IP numbered)
Parameter Description
<
< ip-addr > reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1 0.0.0.255” is the same as entering 192.168.1.1/24.
< dest-ip > The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
<
< ip-addr > reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode Global Configuration
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage This command creates an ACL for use with hardware classification. Once you have
configured the ACL, use the access-group
command to apply this ACL to a port, VLAN or QoS class-map.
ACLs numbered in the range 3000-3699 match on packets that have the specified source and destination IP addresses.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
712
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PACKETS )
Examples To create an access-list that will permit IP packets with a source address of
192.168.1.1 and any destination address, enter the commands: awplus# configure terminal awplus(config)# access-list 3000 permit ip 192.168.1.1/32 any
To destroy the access-list with an access-list identity of 3000 enter the following commands: awplus# configure terminal awplus(config)# no access-list 3000
Related
Commands
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
713
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PROTOCOLS )
access-list (numbered hardware ACL for IP protocols)
Overview This command creates an access-list for use with hardware classification. The access-list will match on packets that have the specified source and destination IP addresses and IP protocol number. You can use the value any instead of source or destination address if an address does not matter.
Once you have configured the ACL, you can use the
or the
match access-group command to apply this ACL to a port, VLAN or QoS class-map.
The optional vlan parameter can be used to match tagged (802.1q) packets.
The no variant of this command removes the previously specified IP hardware access-list.
Syntax access-list < 3000-3699 > < action > proto < 1-255 > < source-ip>
< dest-ip > [vlan < 1-4094 >] no access-list < 3000-3699 >
Table 25-3: Parameters in access-list (hardware IP numbered)
Parameter
< 3000-3699 >
<action>
Description
An ID number for this hardware IP access-list.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the CPU.
proto < 1-255 > The IP protocol number to match against, as defined by IANA
(Internet Assigned Numbers Authority www.iana.org/assignments/protocol-numbers )
See below for a list of IP protocol numbers and their descriptions.
<source-ip> The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any host <ip-addr>
Match any source IP address.
Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
714
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PROTOCOLS )
Table 25-3: Parameters in access-list (hardware IP numbered) (cont.)
Parameter Description
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1 0.0.0.255” is the same as entering 192.168.1.1/24.
< dest-ip > The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
C613-50135-01 Rev A
Table 25-4: IP protocol number and description
4
5
6
Protocol Number
1
2
3
Protocol Description [RFC]
Internet Control Message [RFC792]
Internet Group Management [RFC1112]
Gateway-to-Gateway [RFC823]
IP in IP [RFC2003]
Stream [RFC1190] [RFC1819]
TCP (Transmission Control Protocol) [RFC793]
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
715
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PROTOCOLS )
Table 25-4: IP protocol number and description (cont.)
54
58
59
60
88
30
33
48
50
51
17
20
27
28
29
Protocol Number
8
9
11
89
97
98
108
112
134
135
136
137
138
139-252
253
254
255
Protocol Description [RFC]
EGP (Exterior Gateway Protocol) [RFC888]
IGP (Interior Gateway Protocol) [IANA]
Network Voice Protocol [RFC741]
UDP (User Datagram Protocol) [RFC768]
Host monitoring [RFC869]
RDP (Reliable Data Protocol) [RFC908]
IRTP (Internet Reliable Transaction Protocol) [RFC938]
ISO-TP4 (ISO Transport Protocol Class 4) [RFC905]
Bulk Data Transfer Protocol [RFC969]
DCCP (Datagram Congestion Control Protocol) [RFC4340]
DSR (Dynamic Source Routing Protocol) [RFC4728]
ESP (Encap Security Payload) [RFC2406]
AH (Authentication Header) [RFC2402]
NARP (NBMA Address Resolution Protocol) [RFC1735]
ICMP for IPv6 [RFC1883]
No Next Header for IPv6 [RFC1883]
Destination Options for IPv6 [RFC1883]
EIGRP (Enhanced Interior Gateway Routing Protocol)
OSPFIGP [RFC1583]
Ethernet-within-IP Encapsulation / RFC3378
Encapsulation Header / RFC1241
IP Payload Compression Protocol / RFC2393
Virtual Router Redundancy Protocol / RFC3768
RSVP-E2E-IGNORE / RFC3175
Mobility Header / RFC3775
UDPLite / RFC3828
MPLS-in-IP / RFC4023
MANET Protocols / RFC-ietf-manet-iana-07.txt
Unassigned / IANA
Use for experimentation and testing / RFC3692
Use for experimentation and testing / RFC3692
Reserved / IANA
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
716
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR IP PROTOCOLS )
Mode Global Configuration
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage This command creates an ACL for use with hardware classification. Once you have
configured the ACL, use the access-group
command to apply this ACL to a port, VLAN or QoS class-map.
ACLs numbered in the range 3000-3699 match on packets that have the specified source and destination IP addresses.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Examples To create an access-list that will deny all IGMP packets (IP protocol 2) from the
192.168.0.0 network, enter the commands: awplus# configure terminal awplus(config)# access-list 3000 deny proto 2 192.168.0.0/16 any
To destroy the access-list with an access-list identity of 3000 enter the following commands: awplus# configure terminal awplus(config)# no access-list 3000
Related
Commands
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
717
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR MAC ADDRESSES )
access-list (numbered hardware ACL for
MAC addresses)
Overview This command creates an access-list for use with hardware classification. The access-list will match on packets that have the specified source and destination
MAC addresses. You can use the value any instead of source or destination address if an address does not matter.
Once you have configured the ACL, you can use the
or the
match access-group command to apply this ACL to a port, VLAN or QoS class-map.
The no variant of this command removes the specified MAC hardware filter access-list.
Syntax access-list < 4000-4699 > <action> { <source-mac> |any}
{ <dest-mac> |any} [vlan < 1-4094 >] [inner-vlan < 1-4094 >] no access-list < 4000-4699 >
Parameter
< 4000-4699 >
<action>
Description
Hardware MAC access-list.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
any
<dest-mac> permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the CPU.
<source-mac> The source MAC address to match against, followed by the mask.
Enter the address in the format <HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format <HHHH.HHHH.HHHH>, where each H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
Match against any source MAC address.
The destination MAC address to match against, followed by the mask.
Enter the address in the format <HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format <HHHH.HHHH.HHHH>, where each H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
any Match against any destination MAC address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
718
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR MAC ADDRESSES )
Parameter Description vlan < 1-4094 > Match against the specified ID in the packet’s VLAN tag.
inner-vlan
< 1-4094 >
Match against the inner VLAN tag (VID). This parameter is used within double-tagged VLANs. It is sometimes referred to as the
C-TAG (Customer VLAN TAG), where the vlan VID tag is referred to as the S-TAG (Service VLAN TAG).
Mode Global Configuration
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage This command creates an ACL for use with hardware classification. Once you have
configured the ACL, use the access-group
command to apply this ACL to a port, VLAN or QoS class-map.
ACLs numbered in the range 4000-4699 match on packets that have the specified source and destination MAC addresses.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Examples To create an access-list that will permit packets with a source MAC address of
0000.00ab.1234 and any destination address, use the commands: awplus# configure terminal awplus(config)# access-list 4000 permit 0000.00ab.1234
0000.0000.0000 any
To create an access-list that will permit packets if their source MAC address starts with 0000.00ab, use the commands: awplus# configure terminal awplus(config)# access-list 4001 permit 0000.00ab.1234
0000.0000.FFFF any
You also need to configure the mirror port with the
To destroy the access-list with an access-list identity of 4000 enter the commands: awplus# configure terminal awplus(config)# no access-list 4000
Related
Commands
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
719
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR TCP OR UDP)
access-list (numbered hardware ACL for TCP or UDP)
Overview This command creates an access-list for use with hardware classification. The access-list will match on TCP or UDP packets that have the specified source and destination IP addresses and optionally, port values. You can use the value any instead of source or destination IP address if an address does not matter.
Once you have configured the ACL, you can use the
or the
match access-group command to apply this ACL to a port, VLAN or QoS class-map.
You can use the optional vlan parameter to match tagged (802.1q) packets.
The no variant of this command removes the specified IP hardware access-list.
Syntax access-list < 3000-3699 > < action > {tcp|udp} <source-ip > [eq
< 0-65535 >] < dest-ip > [eq < 0-65535 >] [vlan < 1-4094 >] no access-list < 3000-3699 >
Parameter
< 3000-3699 >
<action> tcp udp
<source-ip>
Description
An ID number for this hardware IP access-list.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu
Match against TCP packets.
Send matching packets to the CPU.
Match against UDP packets.
The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any host <ip-addr>
Match any source IP address.
Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
720
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR TCP OR UDP)
Parameter Description
<
< ip-addr > reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1 0.0.0.255” is the same as entering 192.168.1.1/24.
< dest-ip > The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
eq < 0-65535 > Match on the specified source or destination TCP or UDP port number.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode Global Configuration
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage This command creates an ACL for use with hardware classification. Once you have
configured the ACL, use the access-group
command to apply this ACL to a port, VLAN or QoS class-map.
ACLs numbered in the range 3000-3699 match on packets that have the specified source and destination IP addresses.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
721
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( NUMBERED HARDWARE ACL FOR TCP OR UDP)
Examples To create an access-list that will permit TCP packets with a destination address of
192.168.1.1, a destination port of 80, and any source address and source port, enter the commands: awplus# configure terminal awplus(config)# access-list 3000 permit tcp any 192.168.1.1/32 eq 80
Related
Commands
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
722
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST HARDWARE ( NAMED HARDWARE ACL)
access-list hardware (named hardware ACL)
Overview This command creates a named hardware access-list and puts you into IPv4
Hardware ACL Configuration mode, where you can add filter entries to the ACL.
Once you have configured the ACL, you can use the
or the
match access-group command to apply this ACL to a port, VLAN or QoS class-map.
The no variant of this command removes the specified named hardware ACL.
Syntax access-list hardware < name > no access-list hardware < name >
Parameter
< name >
Description
Specify a name for the hardware ACL.
Mode Global Configuration
Default Any traffic on an interface controlled by a hardware ACL that does not explicitly match a filter is permitted.
Usage Use this command to name a hardware ACL and enter the IPv4 Hardware ACL
Configuration mode. If the named hardware ACL does not exist, it will be created after entry. If the named hardware ACL already exists, then this command puts you into IPv4 Hardware ACL Configuration mode for that existing ACL.
Entering this command moves you to the IPv4 Hardware ACL Configuration mode
(config-ip-hw-acl prompt), so you can enter ACL filters with sequence numbers.
From this prompt, configure the filters for the ACL. See the ACL Feature Overview and Configuration Guide for complete examples of configured sequenced numbered ACLs.
NOTE : Hardware ACLs will permit access unless explicitly denied by an ACL action.
Examples To create the hardware access-list named “ACL-1” and enter the IPv4 Hardware
ACL Configuration mode to specify the ACL filter entry, use the commands: awplus# configure terminal awplus(config)# access-list hardware ACL-1 awplus(config-ip-hw-acl)#
To remove the hardware access-list named “ACL-1”, use the commands: awplus# configure terminal awplus(config)# no access-list hardware ACL-1
723 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST HARDWARE ( NAMED HARDWARE ACL)
Related
Commands
(named hardware ACL: ICMP entry)
(named hardware ACL: IP protocol entry)
(named hardware ACL: TCP or UDP entry)
(access-list standard named filter)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
724
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: ICMP ENTRY )
(named hardware ACL: ICMP entry)
Overview Use this command to add a new ICMP filter entry to the current hardware access-list. The filter will match on any ICMP packet that has the specified source and destination IP addresses and (optionally) ICMP type. You can specify the value any if source or destination address does not matter.
If you specify a sequence number, the switch inserts the new filter at the specified location. Otherwise, the switch adds the new filter to the end of the access-list.
The no variant of this command removes an ICMP filter entry from the current hardware access-list. You can specify the ICMP filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its ICMP filter profile without specifying its sequence number (e.g. no permit icmp 192.168.1.0/24 any icmp-type 11 ).
You can find the sequence number by running the show access-list (IPv4 Hardware
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > icmp < source-ip > < dest-ip >
[icmp-type < number >] [vlan < 1-4094 >] no < sequence-number > no < action > icmp < source-ip > < dest-ip > [icmp-type < number >]
[vlan < 1-4094 >]
Parameter
< sequence number >
<action> icmp
<source-ip>
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535. If you do not specify a sequence number, the switch puts the entry at the end of the
ACL and assigns it the next available multiple of 10 as its sequence number. .
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu
Match against ICMP packets
Send matching packets to the CPU.
The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any Match any source IP address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
725
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: ICMP ENTRY )
C613-50135-01 Rev A
Parameter
< dest-ip > icmp-type
< number >
4
5
8
0
3
Description host <ip-addr> Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by
<ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet.
Specify the subnet by entering the
IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any destination IP address within the specified subnet.
Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering
“192.168.1.1 0.0.0.255” is the same as entering 192.168.1.1/24.
The type of ICMP message to match against, as defined in
RFC792 and RFC950. Values include:
Echo replies.
Destination unreachable messages.
Source quench messages.
11
12
Redirect (change route) messages.
Echo requests.
Time exceeded messages.
Parameter problem messages.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
726
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: ICMP ENTRY )
Parameter vlan <1-4094>
Description
13
14
15
16
Timestamp requests.
Timestamp replies.
Information requests.
Information replies.
17
18
Address mask requests.
Address mask replies.
The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode IPv4 Hardware ACL Configuration (accessed by running the command
access-list hardware (named hardware ACL)
)
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ip-hw-acl)#.
Then use this command (and the other “named hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL. You can insert a new filter entry into the middle of an existing list by specifying the appropriate sequence number. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number.
Then use the
command to apply this ACL to a port, VLAN or QoS class-map. Note that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add an access-list filter entry with a sequence number of 100 to the access-list named “my-list” that will permit ICMP packets with a source address of
192.168.1.0/24, any destination address and an ICMP type of 5, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# 100 permit icmp 192.168.1.0/24 any icmp-type 5
To remove an access-list filter entry with a sequence number of 100 from the access-list named “my-list”, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# no 100
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
727
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: ICMP ENTRY )
Related
Commands
access-list hardware (named hardware ACL)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
728
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PACKET ENTRY )
(named hardware ACL: IP packet entry)
Overview Use this command to add an IP packet filter entry to the current hardware access-list. The filter will match on IP packets that have the specified IP and/or MAC addresses. You can use the value any instead of source or destination IP or MAC address if an address does not matter.
If you specify a sequence number, the switch inserts the new filter at the specified location. Otherwise, the switch adds the new filter to the end of the access-list.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no deny ip 192.168.0.0/16 any ).
You can find the sequence number by running the show access-list (IPv4 Hardware
command.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > ip < source-ip> < dest-ip >
[< source-mac> < dest-mac >] [vlan < 1-4094 >] no < sequence-number > no < action > ip < source-ip> < dest-ip > [< source-mac> < dest-mac >]
[vlan < 1-4094 >]
Parameter
< sequence-
number >
<action> ip
<source-ip>
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number. .
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu
Match against IP packets
Send matching packets to the CPU.
The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any Match any source IP address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
729
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PACKET ENTRY )
Parameter
< dest-ip >
<source-mac>
Description dhcpsnooping Match the source address learned from the DHCP Snooping binding database.
host <ip-addr> Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
The source MAC address to match against. You can specify a single MAC address, a range (through a mask), the address learned from DHCP snooping, or any: any Match against any source MAC address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
730
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PACKET ENTRY )
Parameter Description
<source-mac> The source MAC address to match against, followed by the mask.
Enter the address in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
dhcpsnooping Match the source address learned from the DHCP Snooping binding database.
<dest-mac> The destination MAC address to match against. You can specify a single MAC address, a range (through a mask), or any: any Match against any destination MAC address.
<dest-mac> The destination MAC address to match against, followed by the mask.
Enter the address in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode IPv4 Hardware ACL Configuration (accessed by running the command
access-list hardware (named hardware ACL)
)
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ip-hw-acl)#.
Then use this command (and the other “named hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL. You can insert a new filter entry into the middle of an existing list by specifying the appropriate sequence number. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
731
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PACKET ENTRY )
Then use the
command to apply this ACL to a port, VLAN or QoS class-map. Note that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry to the access-list named “my-list” that will permit any IP packet with a source address of 192.168.1.1, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# permit ip 192.168.1.1/32 any
To add a filter entry to the access-list named “my-list” that will permit any IP packet with a source address of 192.168.1.1and a MAC source address of ffee.ddcc.bbaa, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# permit ip 192.168.1.1/32 any mac ffee.ddcc.bbaa 0000.0000.0000 any
To add a filter entry to the access-list named “my-list” that will deny all IP packets on vlan 2, use the commands: awplus# enable awplus(config)# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# deny ip any any vlan 2
Related
Commands
access-list hardware (named hardware ACL)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
732
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PROTOCOL ENTRY )
(named hardware ACL: IP protocol entry)
Overview Use this command to add an IP protocol type filter entry to the current hardware access-list. The filter will match on IP packets that have the specified IP protocol number, and the specified IP and/or MAC addresses. You can use the value any instead of source or destination IP or MAC address if an address does not matter.
If you specify a sequence number, the switch inserts the new filter at the specified location. Otherwise, the switch adds the new filter to the end of the access-list.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no deny proto 2 192.168.0.0/16 any ).
You can find the sequence number by running the show access-list (IPv4 Hardware
command.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > proto < 1-255 > < source-ip>
< dest-ip > [< source-mac> < dest-mac >] [vlan < 1-4094 >] no < sequence-number > no < action > proto < 1-255 > < source-ip> < dest-ip > [< source-mac>
< dest-mac >] [vlan < 1-4094 >]
Table 25-5: Parameters in IP protocol ACL entries
Parameter
< sequencenumber >
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number. .
<action> The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the CPU.
proto < 1-255 > The IP protocol number to match against, as defined by IANA
(Internet Assigned Numbers Authority www.iana.org/assignments/protocol-numbers )
See below for a list of IP protocol numbers and their descriptions.
<source-ip> The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
733
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PROTOCOL ENTRY )
Table 25-5: Parameters in IP protocol ACL entries (cont.)
Parameter
< dest-ip >
<source-mac>
Description any dhcpsnooping
Match any source IP address.
Match the source address learned from the DHCP Snooping binding database.
host <ip-addr> Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
The source MAC address to match against. You can specify a single MAC address, a range (through a mask), the address learned from DHCP snooping, or any: any Match against any source MAC address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
734
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PROTOCOL ENTRY )
Table 25-5: Parameters in IP protocol ACL entries (cont.)
Parameter Description
<source-mac> The source MAC address to match against, followed by the mask.
Enter the address in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
dhcpsnooping Match the source address learned from the DHCP Snooping binding database.
<dest-mac> The destination MAC address to match against. You can specify a single MAC address, a range (through a mask), or any: any Match against any destination MAC address.
<dest-mac> The destination MAC address to match against, followed by the mask.
Enter the address in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format
<HHHH.HHHH.HHHH>, where each
H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
C613-50135-01 Rev A
Table 25-6: IP protocol number and description
6
8
9
3
4
5
Protocol Number
1
2
Protocol Description [RFC]
Internet Control Message [RFC792]
Internet Group Management [RFC1112]
Gateway-to-Gateway [RFC823]
IP in IP [RFC2003]
Stream [RFC1190] [RFC1819]
TCP (Transmission Control Protocol) [RFC793]
EGP (Exterior Gateway Protocol) [RFC888]
IGP (Interior Gateway Protocol) [IANA]
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
735
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PROTOCOL ENTRY )
98
108
112
134
135
136
137
138
139-252
253
254
255
59
60
88
89
97
48
50
51
54
58
Table 25-6: IP protocol number and description (cont.)
27
28
29
30
33
Protocol Number
11
17
20
Protocol Description [RFC]
Network Voice Protocol [RFC741]
UDP (User Datagram Protocol) [RFC768]
Host monitoring [RFC869]
RDP (Reliable Data Protocol) [RFC908]
IRTP (Internet Reliable Transaction Protocol) [RFC938]
ISO-TP4 (ISO Transport Protocol Class 4) [RFC905]
Bulk Data Transfer Protocol [RFC969]
DCCP (Datagram Congestion Control Protocol)
[RFC4340]
DSR (Dynamic Source Routing Protocol) [RFC4728]
ESP (Encap Security Payload) [RFC2406]
AH (Authentication Header) [RFC2402]
NARP (NBMA Address Resolution Protocol) [RFC1735]
ICMP for IPv6 [RFC1883]
No Next Header for IPv6 [RFC1883]
Destination Options for IPv6 [RFC1883]
EIGRP (Enhanced Interior Gateway Routing Protocol)
OSPFIGP [RFC1583]
Ethernet-within-IP Encapsulation / RFC3378
Encapsulation Header / RFC1241
IP Payload Compression Protocol / RFC2393
Virtual Router Redundancy Protocol / RFC3768
RSVP-E2E-IGNORE / RFC3175
Mobility Header / RFC3775
UDPLite / RFC3828
MPLS-in-IP / RFC4023
MANET Protocols / RFC-ietf-manet-iana-07.txt
Unassigned / IANA
Use for experimentation and testing / RFC3692
Use for experimentation and testing / RFC3692
Reserved / IANA
Mode IPv4 Hardware ACL Configuration (accessed by running the command
access-list hardware (named hardware ACL)
)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
736
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: IP PROTOCOL ENTRY )
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage
To use this command, run the command access-list hardware (named hardware
ACL) and enter the desired access-list name. This changes the prompt to
awplus(config-ip-hw-acl)#.
Then use this command (and the other “named hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL. You can insert a new filter entry into the middle of an existing list by specifying the appropriate sequence number. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number.
Then use the
command to apply this ACL to a port, VLAN or QoS class-map. Note that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry to the access-list named “my-list” that will deny all IGMP packets (protocol 2) from the 192.168.0.0 subnet, and give it a sequence number of 50, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# 50 deny proto 2 192.168.0.0/16 any
Related
Commands
access-list hardware (named hardware ACL)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
737
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: MAC ENTRY )
(named hardware ACL: MAC entry)
Overview Use this command to add a MAC address filter entry to the current hardware access-list. The access-list will match on packets that have the specified source and destination MAC addresses. You can use the value any instead of source or destination MAC address if an address does not matter.
If you specify a sequence number, the switch inserts the new filter at the specified location. Otherwise, the switch adds the new filter to the end of the access-list.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no permit mac aaaa.bbbb.cccc 0000.0000.0000 any ).
You can find the sequence number by running the show access-list (IPv4 Hardware
command.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] <action> mac { <source-mac> |any}
{ <dest-mac> |any} [vlan < 1-4094 >] [inner-vlan < 1-4094 >] no < sequence-number > no <action> mac { <source-mac> |any} { <dest-mac> |any} [vlan
< 1-4094 >] [inner-vlan < 1-4094 >]
Parameter
< 4000-4699 >
<action>
Description
Hardware MAC access-list.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the CPU.
mac Match against MAC address
<source-mac> The source MAC address to match against, followed by the mask.
Enter the address in the format <HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format <HHHH.HHHH.HHHH>, where each H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
any Match against any source MAC address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
738
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: MAC ENTRY )
Parameter
<dest-mac>
Description
The destination MAC address to match against, followed by the mask.
Enter the address in the format <HHHH.HHHH.HHHH>, where each
H is a hexadecimal number.
Enter the mask in the format <HHHH.HHHH.HHHH>, where each H is a hexadecimal number. For a mask, each value is either 0 or F, where FF = Ignore, and 00 = Match.
any Match against any destination MAC address.
vlan < 1-4094 > Match against the specified ID in the packet’s VLAN tag.
inner-vlan
< 1-4094 >
Match against the inner VLAN tag (VID). This parameter is used within double-tagged VLANs. It is sometimes referred to as the
C-TAG (Customer VLAN TAG), and the vlan VID tag is referred to as the S-TAG (Service VLAN TAG).
Mode IPv4 Hardware ACL Configuration (accessed by running the command
access-list hardware (named hardware ACL)
)
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ip-hw-acl)#.
Then use this command (and the other “named hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL. You can insert a new filter entry into the middle of an existing list by specifying the appropriate sequence number. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number.
Then use the
command to apply this ACL to a port, VLAN or QoS class-map. Note that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry to the access-list named “my-list” that will permit packets with a source MAC address of 0000.00ab.1234 and any destination MAC address, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# permit mac 0000.00ab.1234
0000.0000.0000 any
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
739
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: MAC ENTRY )
To remove a filter entry that permit packets with a source MAC address of
0000.00ab.1234 and any destination MAC address, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# no permit mac 0000.00ab.1234
0000.0000.0000 any
Related
Commands
access-list hardware (named hardware ACL)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
740
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: TCP OR UDP ENTRY )
(named hardware ACL: TCP or UDP entry)
Overview Use this command to add a TCP or UDP filter entry to the current hardware access-list. The access-list will match on TCP or UDP packets that have the specified source and destination IP addresses and optionally, port values. You can use the value any instead of source or destination IP address if an address does not matter.
If you specify a sequence number, the switch inserts the new filter at the specified location. Otherwise, the switch adds the new filter to the end of the access-list.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no permit udp 192.168.0.0/16 any ).
You can find the sequence number by running the show access-list (IPv4 Hardware
command.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > {tcp|udp} <source-ip > [eq
< 0-65535 >] < dest-ip > [eq < 0-65535 >] [vlan < 1-4094 >] no < sequence-number > no < action > {tcp|udp} <source-ip > [eq <0-65535>] < dest-ip > [eq
<0-65535>] [vlan < 1-4094 >]
Parameter
< sequence-
number >
<action> tcp udp
<source-ip>
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number. .
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu
Match against TCP packets.
Send matching packets to the CPU.
Match against UDP packets.
The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any Match any source IP address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
741
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: TCP OR UDP ENTRY )
Parameter Description host <ip-addr> Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
< ip-addr >
< reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
< dest-ip > The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/< prefix > Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
<
< ip-addr > reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
eq < 0-65535 > Match on the specified source or destination TCP or UDP port number.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode IPv4 Hardware ACL Configuration (accessed by running the command
access-list hardware (named hardware ACL)
)
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ip-hw-acl)#.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
742
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED HARDWARE ACL: TCP OR UDP ENTRY )
Then use this command (and the other “named hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL. You can insert a new filter entry into the middle of an existing list by specifying the appropriate sequence number. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number.
Then use the
command to apply this ACL to a port, VLAN or QoS class-map. Note that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Example To add a filter entry to access-list named “my-list” that will permit TCP packets with a destination address of 192.168.1.1, a destination port of 80, from any source, use the commands: awplus# configure terminal awplus(config)# access-list hardware my-list awplus(config-ip-hw-acl)# permit tcp any 192.168.1.1/32 eq 80
Related
Commands
access-list hardware (named hardware ACL)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
743
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
COMMIT (IP V 4)
commit (IPv4)
Overview Use this command to commit the IPv4 ACL filter configuration entered at the console to the hardware immediately without exiting the IPv4 Hardware ACL
Configuration mode.
This command forces the associated hardware and software IPv4 ACLs to synchronize.
Syntax commit
Mode IPv4 Hardware ACL Configuration
Usage Normally, when an IPv4 hardware ACL is edited, the new configuration state of the
IPv4 ACL is not written to hardware until you exit IPv4 Hardware ACL Configuration mode. By entering this command you can ensure that the current state of a hardware access-list that is being edited is written to hardware immediately.
Scripts typically do not include the
exit command to exit configuration modes,
potentially leading to IPv4 ACL filters in hardware not being correctly updated.
Using this commit command in a configuration script after specifying an IPv4 hardware ACL filter ensures that it is updated in the hardware immediately.
Example To update the hardware with the IPv4 ACL filter configuration, use the command: awplus# configure terminal awplus(config)# access-list hardware my-hw-list awplus(config-ip-hw-acl)# commit
Related
Commands
access-list hardware (named hardware ACL)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
744
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW ACCESS LIST (IP V 4 H ARDWARE ACL S )
show access-list (IPv4 Hardware ACLs)
Overview Use this command to display the specified access-list, or all access-lists if none have been specified. Note that only defined access-lists are displayed. An error message is displayed for an undefined access-list.
Syntax show access-list
[< 1-99 >|< 100-199 >|< 1300-1999 >|< 2000-2699 >|< 3000-3699 >|< 4000-44
99 >|< access-list-name >]
Parameter Description
< 1-99 >
< 1300-1999 >
IP standard access-list.
IP standard access-list (standard - expanded range).
< 3000-3699 >
< 4000-4499 >
Hardware IP access-list.
Hardware MAC access-list.
< access-list-name > IP named access-list.
Mode User Exec and Privileged Exec
Examples To show all access-lists configured on the switch: awplus# show access-list
Standard IP access list 1
deny 172.16.2.0, wildcard bits 0.0.0.255
Standard IP access list 20
deny 192.168.10.0, wildcard bits 0.0.0.255
deny 192.168.12.0, wildcard bits 0.0.0.255
Hardware IP access list 3001
permit ip 192.168.20.0 255.255.255.0 any
Hardware IP access list 3020
permit tcp any 192.0.2.0/24 awplus#show access-list 20
To show the access-list with an ID of 20: awplus# show access-list 20
Standard IP access-list 20
deny 192.168.10.0, wildcard bits 0.0.0.255
deny 192.168.12.0, wildcard bits 0.0.0.255
The following error message is displayed if you try to show an undefined access-list.
awplus# show access-list 2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
745
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW ACCESS LIST (IP V 4 H ARDWARE ACL S )
% Can't find access-list 2
Related
Commands
access-list (numbered hardware ACL for MAC addresses)
access-list hardware (named hardware ACL)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
746
IP V 4 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW INTERFACE ACCESS GROUP
show interface access-group
Overview Use this command to display the access groups attached to a port. If an access group is specified, then the output only includes the ports that the specified access group is attached to. If no access group is specified then this command displays all access groups that are attached to the ports that are specified with <port-list>.
Note that access group is the term given for an access-list when it is applied to an interface.
Syntax show interface <port-list> access-group
[< 3000-3699 >|< 4000-4699 >]
Parameter
<port-list> access group
<3000-3699>
<4000-4699>
Description
Specify the ports to display information. A port-list can be either:
• a switch port (e.g. port1.0.6) a static channel group (e.g. sa2) or a dynamic (LACP) channel group (e.g. po2)
• a continuous range of ports separated by a hyphen, e.g. port1.0.1-1.0.6 or port1.0.1-port1.0.6 or po1-po2
• a comma-separated list of ports and port ranges, e.g. port1.0.1,port1.0.3-1.0.6. Do not mix switch ports, static channel groups, and LACP channel groups in the same list.
Select the access group whose details you want to show.
Specifies the Hardware IP access-list.
Specifies the Hardware MAC access-list.
Mode User Exec and Privileged Exec
Example To show all access-lists attached to port1.0.1
, use the command: awplus# show interface port1.0.1 access-group
Output Figure 25-1: Example output from the show interface access-group command
Interface port1.0.1
access-group 3000
access-group 3002
access-group 3001
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
747
26
IPv4 Software
Access Control List
(ACL) Commands
Introduction
Overview This chapter provides an alphabetical reference for the IPv4 Software Access
Control List (ACL) commands, and contains detailed command information and command examples about IPv4 software ACLs as applied to Routing and
Multicasting, which are not applied to interfaces.
For information about ACLs, see the ACL Feature Overview and Configuration
Guide .
To apply ACLs to an LACP channel group, apply it to all the individual switch ports in the channel group. To apply ACLs to a static channel group, apply it to the static channel group itself. For more information on link aggregation see the following references:
•
• the Link Aggregation Feature Overview_and Configuration Guide .
NOTE
: Text in parenthesis in command names indicates usage not keyword entry. For example, access-list hardware (named) indicates named IPv4 hardware ACLs entered as access-list hardware < name > where <name> is a placeholder not a keyword.
Parenthesis surrounding ACL filters indicates the type of ACL filter not the keyword entry in the CLI, such as (access-list standard numbered filter) represents command entry in the format shown in the syntax:
[< sequence-number >] {deny|permit} {< source-address >|host
< host-address >|any}
NOTE
: Software ACLs will deny access unless explicitly permitted by an ACL action.
Sub-modes Many of the ACL commands operate from sub-modes that are specific to particular
ACL types. The following table shows the CLI prompts at which ACL commands are entered.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
748
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
Table 26-1: IPv4 Software Access List Commands and Prompts
Command Name show ip access-list access-group access-list (extended named) access-list (extended numbered) access-list (standard named) access-list (standard numbered)
Command Mode
Privileged Exec
Global Configuration
Global Configuration
Global Configuration
Global Configuration
Global Configuration maximum-access-list
(access-list extended ICMP filter)
Global Configuration
IPv4 Extended ACL
Configuration
(access-list extended IPfilter) IPv4 Extended ACL
Configuration
(access-list extended IP protocol filter) IPv4 Extended ACL
Configuration
(access-list extended TCP UDP filter) IPv4 Extended ACL
Configuration
(access-list standard named filter) IPv4 Standard ACL
Configuration
(access-list standard numbered filter) IPv4 Standard ACL
Configuration
Prompt awplus# awplus(config)# awplus(config)# awplus(config)# awplus(config)# awplus(config)# awplus(config)# awplus(config-ip-ext-acl)# awplus(config-ip-ext-acl)# awplus(config-ip-ext-acl)# awplus(config-ip-ext-acl)# awplus(config-ip-std-acl)# awplus(config-ip-std-acl)#
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
“ access-list extended (named) ” on page 751
“ access-list (extended numbered) ” on page 759
“ (access-list extended ICMP filter) ” on page 761
“ (access-list extended IP filter) ” on page 763
“ (access-list extended IP protocol filter) ” on page 766
“ (access-list extended TCP UDP filter) ” on page 770
“ access-list standard (named) ” on page 772
“ access-list (standard numbered) ” on page 774
“ (access-list standard named filter) ” on page 776
“ (access-list standard numbered filter) ” on page 778
“ clear ip prefix-list ” on page 780
“ ip prefix-list ” on page 781
“ maximum-access-list ” on page 783
“ show access-list (IPv4 Software ACLs) ” on page 784
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
749
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
•
•
“ show ip access-list ” on page 786
“ vty access-class (numbered) ” on page 787
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
750
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
access-list extended (named)
Overview This command configures an extended named access-list that permits or denies packets from specific source and destination IP addresses. You can either create an extended named ACL together with an ACL filter entry in the Global Configuration mode, or you can use the IPv4 Extended ACL Configuration mode for sequenced
ACL filter entry after entering a list name.
The no variant of this command removes a specified extended named access-list.
Syntax
[list-name] access-list extended < list-name > no access-list extended < list-name >
Parameter Description
< list-name > A user-defined name for the access-list
Syntax [icmp] access-list extended < list-name >{deny|permit} icmp < source >
< destination > [icmp-type < type-number >] [log] no access-list extended < list-name >{deny|permit} icmp < source >
< destination > [icmp-type < type-number >] [log]
Table 26-2: Parameters in the access-list extended (named) command - icmp
Parameter
< list-name > deny permit icmp icmp-type
Description
A user-defined name for the access-list.
The access-list rejects packets that match the type, source, and destination filtering specified with this command.
The access-list permits packets that match the type, source, and destination filtering specified with this command.
The access-list matches only ICMP packets.
Matches only a specified type of ICMP messages. This is valid only when the filtering is set to match ICMP packets.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
751
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Table 26-2: Parameters in the access-list extended (named) command - icmp
Parameter
<source>
Description
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source: any host <ip-addr>
Matches any source IP address.
Matches a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
<
< ip-addr prefix >
>/ An IPv4 address, followed by a forward slash, then the prefix length. This matches any source IP address within the specified subnet.
<
< ip-addr > reverse-mask >
Alternatively, you can enter a reverse mask in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24 .
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination: any host <ip-addr>
Matches any destination IP address.
Matches a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length. This matches any destination IP address within the specified subnet.
< ip-addr >
< reverse-mask >
Alternatively, you can enter a reverse mask in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24 .
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
752
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Table 26-2: Parameters in the access-list extended (named) command - icmp
Parameter Description
< type-number > The ICMP type, as defined in RFC792 and RFC950. Specify one of the following integers to create a filter for the ICMP message type:
0
3
Echo replies.
Destination unreachable messages.
4
5
8
11
12
Source quench messages.
Redirect (change route) messages.
Echo requests.
Time exceeded messages.
Parameter problem messages.
log
13
14
15
16
17
18
Logs the results.
Timestamp requests.
Timestamp replies.
Information requests.
Information replies.
Address mask requests.
Address mask replies.
Syntax [tcp|udp] access-list extended < list-name > {deny|permit} {tcp|udp}
< source > eq < sourceport > < destination > eq < destport > [log] no access-list extended < list-name > {deny|permit} {tcp|udp}
< source > eq < sourceport > < destination > eq < destport > [log]
Table 26-3: Parameters in the access-list extended (named) command - tcp|udp
Parameter
< list-name > deny permit tcp udp
Description
A user-defined name for the access-list.
The access-list rejects packets that match the type, source, and destination filtering specified with this command.
The access-list permits packets that match the type, source, and destination filtering specified with this command.
The access-list matches only TCP packets.
The access-list matches only UDP packets.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
753
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Table 26-3: Parameters in the access-list extended (named) command - tcp|udp
Parameter
<source>
Description
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source: any host <ip-addr>
Matches any source IP address.
Matches a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
<
< ip-addr prefix >
>/ An IPv4 address, followed by a forward slash, then the prefix length. This matches any source IP address within the specified subnet.
<
< ip-addr > reverse-mask >
Alternatively, you can enter a reverse mask in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24 .
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination: any host <ip-addr>
Matches any destination IP address.
Matches a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
<
< ip-addr prefix >
>/ An IPv4 address, followed by a forward slash, then the prefix length. This matches any destination IP address within the specified subnet.
<
< ip-addr > reverse-mask >
Alternatively, you can enter a reverse mask in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24 .
< sourceport > The source port number, specified as an integer between 0 and
65535.
< destport > The destination port number, specified as an integer between 0 and 65535.
eq Matches port numbers equal to the port number specified immediately after this parameter.
log Log the results.
Syntax
[proto|any| ip] access-list extended < list-name > {deny|permit} {proto
< ip-protocol >|any|ip} {< source >} {< destination >} [log] no access-list extended < list-name >{deny|permit} {proto
< ip-protocol >|any|ip}{< source >}{< destination >}[log]
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
754
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Table 26-4: Parameters in the access-list extended (named) command - proto|ip|any
Parameter
< list-name > deny
Description
A user-defined name for the access-list.
The access-list rejects packets that match the type, source, and destination filtering specified with this command.
permit The access-list permits packets that match the type, source, and destination filtering specified with this command.
proto any ip
<source>
Matches only a specified type of IP Protocol.
The access-list matches any type of IP packet.
The access-list matches only IP packets.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source: any Matches any source IP address.
host <ip-addr> Matches a single source host with the IP address given by <ip-addr> in dotted decimal notation.
<
< ip-addr prefix >
>/ An IPv4 address, followed by a forward slash, then the prefix length. This matches any source IP address within the specified subnet.
<
< ip-addr > reverse-mask >
Alternatively, you can enter a reverse mask in dotted decimal format. For example, entering 192.168.1.1 0.0.0.255
is the same as entering 192.168.1.1/24 .
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination: any Matches any destination IP address.
host <ip-addr> Matches a single destination host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length. This matches any destination IP address within the specified subnet.
< ip-addr >
< reverse-mask >
Alternatively, you can enter a reverse mask in dotted decimal format. For example, entering 192.168.1.1 0.0.0.255
is the same as entering 192.168.1.1/24 .
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
755
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Table 26-4: Parameters in the access-list extended (named) command - proto|ip|any (cont.)
Parameter log
<ip-protocol>
Description
Logs the results.
The IP protocol number, as defined by IANA (Internet Assigned
Numbers Authority www.iana.org/assignments/protocol-numbers )
See below for a list of IP protocol numbers and their descriptions.
C613-50135-01 Rev A
58
59
60
88
48
50
51
54
Table 26-5: IP protocol number and description
11
17
20
27
6
8
9
28
29
30
33
Protocol Number
1
2
3
4
5
Protocol Description [RFC]
Internet Control Message [RFC792]
Internet Group Management [RFC1112]
Gateway-to-Gateway [RFC823]
IP in IP [RFC2003]
Stream [RFC1190] [RFC1819]
TCP (Transmission Control Protocol) [RFC793]
EGP (Exterior Gateway Protocol) [RFC888]
IGP (Interior Gateway Protocol) [IANA]
Network Voice Protocol [RFC741]
UDP (User Datagram Protocol) [RFC768]
Host monitoring [RFC869]
RDP (Reliable Data Protocol) [RFC908]
IRTP (Internet Reliable Transaction Protocol) [RFC938]
ISO-TP4 (ISO Transport Protocol Class 4) [RFC905]
Bulk Data Transfer Protocol [RFC969]
DCCP (Datagram Congestion Control Protocol)
[RFC4340]
DSR (Dynamic Source Routing Protocol) [RFC4728]
ESP (Encap Security Payload) [RFC2406]
AH (Authentication Header) [RFC2402]
NARP (NBMA Address Resolution Protocol) [RFC1735]
ICMP for IPv6 [RFC1883]
No Next Header for IPv6 [RFC1883]
Destination Options for IPv6 [RFC1883]
EIGRP (Enhanced Interior Gateway Routing Protocol)
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
756
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Table 26-5: IP protocol number and description (cont.)
108
112
134
135
136
Protocol Number
89
97
98
137
138
139-252
253
254
255
Protocol Description [RFC]
OSPFIGP [RFC1583]
Ethernet-within-IP Encapsulation / RFC3378
Encapsulation Header / RFC1241
IP Payload Compression Protocol / RFC2393
Virtual Router Redundancy Protocol / RFC3768
RSVP-E2E-IGNORE / RFC3175
Mobility Header / RFC3775
UDPLite / RFC3828
MPLS-in-IP / RFC4023
MANET Protocols / RFC-ietf-manet-iana-07.txt
Unassigned / IANA
Use for experimentation and testing / RFC3692
Use for experimentation and testing / RFC3692
Reserved / IANA
Mode Global Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage Use this command when configuring access-lists for filtering IP software packets.
You can either create access-lists from within this command, or you can enter access-list extended followed by only the name. Entering only the name moves you to the IPv4 Extended ACL Configuration mode for the selected access-list.
(access-list extended IP filter)
, and (access-list extended IP protocol filter) .
Note that packets must match both the source and the destination details.
NOTE : Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples You can enter the extended named ACL in the Global Configuration mode together with the ACL filter entry on the same line, as shown below: awplus# configure terminal awplus(config)# access-list extended TK deny tcp 2.2.2.3/24 eq
14 3.3.3.4/24 eq 12 log
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
757
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST EXTENDED ( NAMED )
Alternatively, you can enter the extended named ACL in Global Configuration mode before specifying the ACL filter entry in the IPv4 Extended ACL
Configuration mode, as shown below: awplus# configure terminal awplus(config)# access-list extended TK awplus(config-ip-ext-acl)# deny tcp 2.2.2.3/24 eq 14 3.3.3.4/24 eq 12 log
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
758
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( EXTENDED NUMBERED )
access-list (extended numbered)
Overview This command configures an extended numbered access-list that permits or denies packets from specific source and destination IP addresses. You can either create an extended numbered ACL together with an ACL filter entry in the Global
Configuration mode, or you can use the IPv4 Extended ACL Configuration mode for sequenced ACL filter entry after entering a list number.
The no variant of this command removes a specified extended named access-list.
Syntax
[list-number] access-list {< 100-199 >|< 2000-2699 >} no access-list {< 100-199 >|< 2000-2699 >}
Parameter Description
< 100-199 > IP extended access-list.
< 2000-2699 > IP extended access-list (expanded range).
Syntax [deny| permit] access-list {< 100-199 >|< 2000-2699 >} {deny|permit} ip < source >
< destination > no access-list {< 100-199 >|< 2000-2699 >}{deny|permit} ip < source >
< destination >
Parameter
< 100-199 >
< 2000-2699 > deny permit
< source >
Description
IP extended access-list.
IP extended access-list (expanded range).
Access-list rejects packets that match the source and destination filtering specified with this command.
Access-list permits packets that match the source and destination filtering specified with this command.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source: any host <ip-addr>
Matches any source IP address.
Matches a single source host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >
< reverse-mask >
An IPv4 address, followed by a reverse mask in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24 . This matches any source IP address within the specified subnet.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
759
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( EXTENDED NUMBERED )
Parameter Description
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination: any host <ip-addr>
Matches any destination IP address.
Matches a single destination host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >
< reverse-mask >
An IPv4 address, followed by a reverse mask in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24 . This matches any destination IP address within the specified subnet.
Mode Global Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage Use this command when configuring access-list for filtering IP software packets.
You can either create access-lists from within this command, or you can enter access-list followed by only the number. Entering only the number moves you to the IPv4 Extended ACL Configuration mode for the selected access-list. From there you can configure your access-lists by using the commands
(access-list extended IP filter)
, and (access-list extended IP protocol filter) .
Note that packets must match both the source and the destination details.
NOTE
: Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples You can enter the extended ACL in the Global Configuration mode together with the ACL filter entry on the same line, as shown below: awplus# configure terminal awplus(config)# access-list 101 deny ip 172.16.10.0 0.0.0.255 any
Alternatively, you can enter the extended ACL in Global Configuration mode before specifying the ACL filter entry in the IPv4 Extended ACL Configuration mode, as shown below: awplus# configure terminal awplus(config)# access-list 101 awplus(config-ip-ext-acl)# deny ip 172.16.10.0 0.0.0.255 any
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
760
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED ICMP FILTER )
(access-list extended ICMP filter)
Overview Use this ACL filter to add a new ICMP filter entry to the current extended access-list.
If the sequence number is specified, the new filter is inserted at the specified location. Otherwise, the new filter is added at the end of the access-list.
The no variant of this command removes an ICMP filter entry from the current extended access-list. You can specify the ICMP filter entry for removal by entering either its sequence number (e.g. no 10 ), or by entering its ICMP filter profile without specifying its sequence number.
Note that the sequence number can be found by running the
Syntax [icmp] [< sequence-number >] {deny|permit} icmp < source > < destination >
[icmp-type < icmp-value >] [log] no {deny|permit} icmp < source > < destination >[icmp-type
< icmp-value >] [log] no < sequence-number >
Parameter
< sequence- number >
Description
<1-65535>
The sequence number for the filter entry of the selected access control list.
deny Access-list rejects packets that match the source and destination filtering specified with this command.
permit Access-list permits packets that match the source and destination filtering specified with this command.
icmp
< source >
ICMP packet type.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length.
This matches any source IP address within the specified subnet.
any Matches any source IP address.
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length.
This matches any destination IP address within the specified subnet.
any Matches any destination IP address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
761
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED ICMP FILTER )
Parameter icmp-type
Description
The ICMP type.
< icmp-value > The value of the ICMP type.
log Log the results.
Mode IPv4 Extended ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage An ACL can be configured with multiple ACL filters using sequence numbers. If the sequence number is omitted, the next available multiple of 10 will be used as the sequence number for the new filter. A new ACL filter can be inserted into the middle of an existing list by specifying the appropriate sequence number.
NOTE : The access control list being configured is selected by running the
(extended numbered) command or the
access-list extended (named) command, with
the required access control list number, or name - but with no further parameters selected.
Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples To add a new entry in access-list called my-list that will reject ICMP packets from
10.0.0.1
to 192.168.1.1
, use the commands: awplus# configure terminal awplus(config)# access-list extended my-list awplus(config-ip-ext-acl)# deny icmp 10.0.0.1/32 192.168.1.1/32
Use the following commands to add a new filter at sequence number 5 position of the access-list called my-list . The filter will accept the ICMP type 8 packets from
10.1.1.0/24 network, to 192.168.1.0
network: awplus# configure terminal awplus(config)# access-list extended my-list awplus(config-ip-ext-acl)# 5 permit icmp 10.1.1.0/24
192.168.1.0/24 icmp-type 8
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
762
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP FILTER )
(access-list extended IP filter)
Overview Use this ACL filter to add a new IP filter entry to the current extended access-list. If the sequence number is specified, the new filter is inserted at the specified location. Otherwise, the new filter is added at the end of the access-list.
The no variant of this command removes an IP filter entry from the current extended access-list. You can specify the IP filter entry for removal by entering either its sequence number (e.g. no 10 ), or by entering its IP filter profile without specifying its sequence number.
Note that the sequence number can be found by running the
Syntax [ip] [< sequence-number >] {deny|permit} ip < source > < destination > no {deny|permit} ip < source > < destination > no < sequence-number >
Parameter
< sequence- number > deny permit
<source>
Description
<1-65535>
The sequence number for the filter entry of the selected access control list.
Access-list rejects packets that match the source and destination filtering specified with this command.
Access-list permits packets that match the source and destination filtering specified with this command.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source: any host <ip-addr>
Matches any source IP address.
Matches a single source host with the IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >
< reverse-mask >
Alternatively, enter an IPv4 address followed by a reverse mask in dotted decimal format. For example, enter
192.168.1.1 0.0.0.255
.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
763
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP FILTER )
Parameter Description
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination: any host <ip-addr>
Matches any destination IP address.
Matches a single destination host with the
IP address given by <ip-addr> in dotted decimal notation.
< ip-addr >
< reverse-mask >
Alternatively, enter an IPv4 address followed by a reverse mask in dotted decimal format. For example, enter
192.168.1.1 0.0.0.255
.
Mode Extended ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage An ACL can be configured with multiple ACL filters using sequence numbers. If the sequence number is omitted, the next available multiple of 10 will be used as the sequence number for the new filter. A new ACL filter can be inserted into the middle of an existing list by specifying the appropriate sequence number.
NOTE
: The access control list being configured is selected by running the
(extended numbered) command or the
access-list extended (named) command, with
the required access control list number, or name - but with no further parameters selected.
Software ACLs will deny access unless explicitly permitted by an ACL action.
Example 1
[list-number]
First use the following commands to enter the IPv4 Extended ACL Configuration mode and define a numbered extended access-list 101 : awplus# configure terminal awplus(config)# access-list 101 awplus(config-ip-ext-acl)#
Then use the following commands to add a new entry to the numbered extended access- list 101 that will reject packets from 10.0.0.1
to 192.168.1.1
: awplus(config-ip-ext-acl)# deny ip host 10.0.0.1 host
192.168.1.1
awplus(config-ip-ext-acl)# 20 permit ip any any
Example 2
[list-name]
First use the following commands to enter the IPv4 Extended ACL Configuration mode and define a named access-list called my-acl : awplus# configure terminal awplus(config)# access-list extended my-acl awplus(config-ip-ext-acl)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
764
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP FILTER )
Then use the following commands to add a new entry to the named access-list my-acl that will reject packets from 10.0.0.1
to 192.168.1.1
: awplus(config-ip-ext-acl)# deny ip host 10.0.0.1 host
192.168.1.1
awplus(config-ip-ext-acl)# 20 permit ip any any
Example 3
[list-number]
Use the following commands to remove the access-list filter entry with sequence number 20 from extended numbered access-list 101 .
awplus# configure terminal awplus(config)# access-list 101 awplus(config-ip-ext-acl)# no 20
Example 4
[list-name]
Use the following commands to remove the access-list filter entry with sequence number 20 from extended named access-list my-acl : awplus# configure terminal awplus(config)# access-list extended my-acl awplus(config-ip-ext-acl)# no 20
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
765
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP PROTOCOL FILTER )
(access-list extended IP protocol filter)
Overview Use this ACL filter to add a new IP protocol type filter entry to the current extended access-list. If the sequence number is specified, the new filter is inserted at the specified location. Otherwise, the new filter is added at the end of the access-list.
The no variant of this command removes an IP protocol filter entry from the current extended access-list. You can specify the IP filter entry for removal by entering either its sequence number (e.g. no 10 ), or by entering its IP filter profile without specifying its sequence number.
Note that the sequence number can be found by running the
Syntax [proto] [< sequence-number >] {deny|permit} proto < ip-protocol > < source >
< destination > [log] no {deny|permit} proto < ip-protocol > < source > < destination >
[log] no < sequence-number >
Parameter
< sequence- number > deny permit proto
< ip-protocol >
< source >
Description
<1-65535>
The sequence number for the filter entry of the selected access control list.
Access-list rejects packets that match the source and destination filtering specified with this command.
Access-list permits packets that match the source and destination filtering specified with this command.
<1-255>
Specify IP protocol number, as defined by IANA (Internet Assigned
Numbers Authority www.iana.org/assignments/protocol-numbers )
See below for a list of IP protocol numbers and their descriptions.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length. This matches any source IP address within the specified subnet.
any Matches any source IP address.
766 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP PROTOCOL FILTER )
Parameter Description
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length. This matches any destination IP address within the specified subnet.
log any
Log the results.
Matches any destination IP address.
C613-50135-01 Rev A
48
50
51
54
58
59
Table 26-6: IP protocol number and description
29
30
33
20
27
28
8
9
11
17
4
5
6
2
3
Protocol Number
1
Protocol Description [RFC]
Internet Control Message [RFC792]
Internet Group Management [RFC1112]
Gateway-to-Gateway [RFC823]
IP in IP [RFC2003]
Stream [RFC1190] [RFC1819]
TCP (Transmission Control Protocol) [RFC793]
EGP (Exterior Gateway Protocol) [RFC888]
IGP (Interior Gateway Protocol) [IANA]
Network Voice Protocol [RFC741]
UDP (User Datagram Protocol) [RFC768]
Host monitoring [RFC869]
RDP (Reliable Data Protocol) [RFC908]
IRTP (Internet Reliable Transaction Protocol) [RFC938]
ISO-TP4 (ISO Transport Protocol Class 4) [RFC905]
Bulk Data Transfer Protocol [RFC969]
DCCP (Datagram Congestion Control Protocol)
[RFC4340]
DSR (Dynamic Source Routing Protocol) [RFC4728]
ESP (Encap Security Payload) [RFC2406]
AH (Authentication Header) [RFC2402]
NARP (NBMA Address Resolution Protocol) [RFC1735]
ICMP for IPv6 [RFC1883]
No Next Header for IPv6 [RFC1883]
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
767
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP PROTOCOL FILTER )
Table 26-6: IP protocol number and description (cont.)
135
136
137
138
139-252
253
254
255
97
98
108
112
134
Protocol Number
60
88
89
Protocol Description [RFC]
Destination Options for IPv6 [RFC1883]
EIGRP (Enhanced Interior Gateway Routing Protocol)
OSPFIGP [RFC1583]
Ethernet-within-IP Encapsulation / RFC3378
Encapsulation Header / RFC1241
IP Payload Compression Protocol / RFC2393
Virtual Router Redundancy Protocol / RFC3768
RSVP-E2E-IGNORE / RFC3175
Mobility Header / RFC3775
UDPLite / RFC3828
MPLS-in-IP / RFC4023
MANET Protocols / RFC-ietf-manet-iana-07.txt
Unassigned / IANA
Use for experimentation and testing / RFC3692
Use for experimentation and testing / RFC3692
Reserved / IANA
Mode IPv4 Extended ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage An ACL can be configured with multiple ACL filters using sequence numbers. If the sequence number is omitted, the next available multiple of 10 will be used as the sequence number for the new filter. A new ACL filter can be inserted into the middle of an existing list by specifying the appropriate sequence number.
NOTE : The access control list being configured is selected by running the
(extended numbered) command or the
access-list extended (named) command, with
the required access control list number, or name - but with no further parameters selected.
Software ACLs will deny access unless explicitly permitted by an ACL action.
Example 1
[creating a list]
Use the following commands to add a new access-list filter entry to the access-list named my-list that will reject IP packets from source address 10.10.1.1/32 to destination address 192.68.1.1/32 : awplus# configure terminal awplus(config)# access-list extended my-list awplus(config-ip-ext-acl)# deny ip 10.10.1.1/32 192.168.1.1/32
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
768
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED IP PROTOCOL FILTER )
Example 2
[adding to a list]
Use the following commands to add a new access-list filter entry at sequence position 5 in the access-list named my-list that will accept packets from source address 10.10.1.1/24 to destination address 192.68.1.1/24 : awplus# configure terminal awplus(config)# access-list extended my-list awplus(config-ip-ext-acl)# 5 permit ip 10.10.1.1/24
192.168.1.1/ 24
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
769
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED TCP UDP FILTER )
(access-list extended TCP UDP filter)
Overview Use this ACL filter to add a new TCP or UDP filter entry to the current extended access-list. If the sequence number is specified, the new filter is inserted at the specified location. Otherwise, the new filter is added at the end of the access-list.
The no variant of this command removes a TCP or UDP filter entry from the current extended access-list. You can specify the TCP or UDP filter entry for removal by entering either its sequence number (e.g. no 10 ), or by entering its TCP or UDP filter profile without specifying its sequence number.
Note that the sequence number can be found by running the
Syntax [tcp|udp] [< sequence-number >] {deny|permit} {tcp|udp} < source > eq
< sourceport > < destination > eq < destport > [log] no [< sequence-number >] {deny|permit} {tcp|udp} < source > eq
< sourceport > < destination > eq < destport > [log] no [< sequence-number >]
Parameter
< sequence- number >
Description
<1-65535>
The sequence number for the filter entry of the selected access control list.
deny Access-list rejects packets that match the source and destination filtering specified with this command.
permit Access-list permits packets that match the source and destination filtering specified with this command.
tcp udp
< source >
The access-list matches only TCP packets.
The access-list matches only UDP packets.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length.
This matches any source IP address within the specified subnet.
any Matches any source IP address.
< sourceport > The source port number, specified as an integer between 0 and
65535.
770 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST EXTENDED TCP UDP FILTER )
Parameter Description
< destination > The destination address of the packets. You can specify a single host, a subnet, or all destinations. The following are the valid formats for specifying the destination:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length.
This matches any destination IP address within the specified subnet.
< destport > any Matches any destination IP address.
The destination port number, specified as an integer between 0 and 65535.
eq Matches port numbers equal to the port number specified immediately after this parameter.
log Log the results.
Mode IPv4 Extended ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage An ACL can be configured with multiple ACL filters using sequence numbers. If the sequence number is omitted, the next available multiple of 10 will be used as the sequence number for the new filter. A new ACL filter can be inserted into the middle of an existing list by specifying the appropriate sequence number.
NOTE : The access control list being configured is selected by running the
(extended numbered) command or the
access-list extended (named) command, with
the required access control list number, or name - but with no further parameters selected.
Software ACLs will deny access unless explicitly permitted by an ACL action.
Example 1
[creating a list]
To add a new entry to the access-list named my-list that will reject TCP packets from 10.0.0.1
on TCP port 10 to 192.168.1.1
on TCP port 20 , use the commands: awplus# configure terminal awplus(config)# access-list extended my-list awplus(config-ip-ext-acl)# deny tcp 10.0.0.1/32 eq 10
192.168.1.1/32 eq 20
Example 2
[adding to a list]
To insert a new entry with sequence number 5 of the access-list named my-list that will accept UDP packets from 10.1.1.0/24 network to 192.168.1.0/24 network on UDP port 80 , use the commands: awplus# configure terminal awplus(config)# access-list extended my-list awplus(config-ip-ext-acl)# 5 permit udp 10.1.1.0/24
192.168.1.0/24 eq 80
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
771
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST STANDARD ( NAMED )
access-list standard (named)
Overview This command configures a standard named access-list that permits or denies packets from a specific source IP address. You can either create a standard named
ACL together with an ACL filter entry in the Global Configuration mode, or you can use the IPv4 Standard ACL Configuration mode for sequenced ACL filter entry after first entering an access-list name.
The no variant of this command removes a specified standard named access-list.
Syntax
[list-name] access-list standard <standard-access-list-name> no access-list standard <standard-access-list-name>
Parameter
< standard-access-list-name
>
Description
Specify a name for the standard access-list.
Syntax
[deny|permit] access-list standard <standard-access-list-name> {deny|permit}
<source> no access-list standard <standard-access-list-name>
{deny|permit} <source>
Parameter Description
< standard- access-list- name >
Specify a name for the standard access-list.
deny The access-list rejects packets that match the source filtering specified with this command.
permit The access-list permits packets that match the source filtering specified with this command.
< source > The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source:
< ip-addr >/< prefix > An IPv4 address, followed by a forward slash, then the prefix length. This matches any source
IP address within the specified subnet.
any Matches any source IP address.
Mode Global Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
772
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST STANDARD ( NAMED )
Usage Use this command when configuring a standard named access-list for filtering IP software packets.
You can either create access-lists from within this command, or you can enter access-list standard followed by only the name. Entering only the name moves you to the IPv4 Standard ACL Configuration mode for the selected access-list. From
there you can configure your access-lists by using the command (access-list standard named filter)
.
NOTE : Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples To define a standard access-list named my-list and deny any packets from any source, use the commands: awplus# configure terminal awplus(config)# access-list standard my-list deny any
Alternatively, to define a standard access-list named my-list and enter the IPv4
Standard ACL Configuration mode to deny any packets from any source, use the commands: awplus# configure terminal awplus(config)# access-list standard my-list awplus(config-ip-std-acl)# 5 deny any
Related
Commands
(access-list standard named filter)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
773
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( STANDARD NUMBERED )
access-list (standard numbered)
Overview This command configures a standard numbered access-list that permits or denies packets from a specific source IP address. You can either create a standard numbered ACL together with an ACL filter entry in the Global Configuration mode, or you can use the IPv4 Standard ACL Configuration mode for sequenced ACL filter entry after first entering an access-list number.
The no variant of this command removes a specified standard numbered access-list.
Syntax
[list-number] access-list {< 1-99 >|< 1300-1999 >} no access-list {< 1-99 >|< 1300-1999 >}
Parameter
< 1-99 >
Description
IP standard access-list.
< 1300-1999 > IP standard access-list (expanded range).
Syntax [deny| permit] access-list {< 1-99 >|< 1300-1999 >} {deny|permit} < source > no access-list {< 1-99 >|< 1300-1999 >} {deny|permit} <source >
Parameter
< 1-99 >
Description
IP standard access-list.
< 1300-1999 > IP standard access-list (expanded range).
deny Access-list rejects packets from the specified source.
permit
< source >
Access-list accepts packets from the specified source.
The source address of the packets. You can specify a single host, a subnet, or all sources. The following are the valid formats for specifying the source:
< ip-addr >
< reverse-mask >
Enter an IPv4 address followed by a reverse mask in dotted decimal format. For example, entering 192.168.1.1 0.0.0.255
is the same as entering 192.168.1.1/24 .
any Matches any source IP address.
Mode Global Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage Use this command when configuring a standard numbered access-list for filtering
IP software packets.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
774
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
ACCESS LIST ( STANDARD NUMBERED )
You can either create access-lists from within this command, or you can enter access-list followed by only the number. Entering only the number moves you to the IPv4 Standard ACL Configuration mode for the selected access-list. From there
you can configure your access-lists by using the command (access-list standard numbered filter) .
NOTE
: Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples To create ACL number 67 that will deny packets from subnet 172.16.10
, use the commands: awplus# configure terminal awplus(config)# access-list 67 deny 172.16.10.0 0.0.0.255
Alternatively, to enter the IPv4 Standard ACL Configuration mode to create the
ACL filter and deny packets from subnet 172.16.10.0
for the standard numbered access-list 67 , use the commands: awplus# configure terminal awplus(config)# access-list 67 awplus(config-ip-std-acl)# deny 172.16.10.0 0.0.0.255
Related
Commands
(access-list standard named filter)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
775
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST STANDARD NAMED FILTER )
(access-list standard named filter)
Overview This ACL filter adds a source IP address filter entry to a current named standard access-list. If the sequence number is specified, the new filter entry is inserted at the specified location. Otherwise, the new entry is added at the end of the access-list.
The no variant of this command removes a source IP address filter entry from the current named standard access-list. You can specify the source IP address filter entry for removal by entering either its sequence number (e.g. no 10 ), or by entering its source IP address filter profile without specifying its sequence number.
Note that the sequence number can be found by running the
Syntax [< sequence-number >] {deny|permit} {< source > [exact-match]|any} no {deny|permit} {< source > [exact-match]|any} no < sequence-number >
Parameter
< sequence-number > deny permit
< source >
Description
<1-65535>
The sequence number for the filter entry of the selected access control list.
Access-list rejects packets of the source filtering specified.
Access-list allows packets of the source filtering specified
The source address of the packets. You can specify either a subnet or all sources. The following are the valid formats for specifying the source:
< ip-addr >/
< prefix >
An IPv4 address, followed by a forward slash, then the prefix length. This matches any destination IP address within the specified subnet.
<ip-addr> An IPv4 address in a.b.c.d format.
Specify an exact IP prefix to match on.
Matches any source IP address.
exact-match any
Mode IPv4 Standard ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
776
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST STANDARD NAMED FILTER )
Usage An ACL can be configured with multiple ACL filters using sequence numbers. If the sequence number is omitted, the next available multiple of 10 will be used as the sequence number for the new filter. A new ACL filter can be inserted into the middle of an existing list by specifying the appropriate sequence number.
NOTE : The access control list being configured is selected by running the
command with the required access control list name, but with no further parameters selected.
Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples Use the following commands to add a new filter entry to access-list my-list that will reject IP address 10.1.1.1
: awplus# configure terminal awplus(config)# access-list standard my-list awplus(config-ip-std-acl)# deny 10.1.1.1/32
Use the following commands to insert a new filter entry into access-list my-list at sequence position number 15 that will accept IP network 10.1.2.0
: awplus# configure terminal awplus(config)# access-list standard my-list awplus(config-ip-std-acl)# 15 permit 10.1.2.0/24
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
777
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST STANDARD NUMBERED FILTER )
(access-list standard numbered filter)
Overview This ACL filter adds a source IP address filter entry to a current standard numbered access-list. If a sequence number is specified, the new filter entry is inserted at the specified location. Otherwise, the new filter entry is added at the end of the access-list.
The no variant of this command removes a source IP address filter entry from the current standard numbered access-list. You can specify the source IP address filter entry for removal by entering either its sequence number (e.g. no 10 ), or by entering its source IP address filter profile without specifying its sequence number.
Note that the sequence number can be found by running the
Syntax [< sequence-number >] {deny|permit} {< source >|host
< host-address >|any} no {deny|permit} {< source >|host < host-address >|any} no < sequence-number >
Parameter
< sequence-number > deny permit
< source > host
< host-address > any
Description
<1-65535>
The sequence number for the filter entry of the selected access control list.
Access-list rejects packets of the type specified.
Access-list allows packets of the type specified
The source address of the packets. You can specify either a subnet or all sources. The following are the valid formats for specifying the source:
< ip-addr >
< reverse-mask >
Enter a reverse mask for the source address in dotted decimal format. For example, entering 192.168.1.1
0.0.0.255
is the same as entering 192.168.1.1/24 .
<ip-addr> An IPv4 address in a.b.c.d format.
A single source host.
Single source host address.
Matches any source IP address.
Mode IPv4 Standard ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
778
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( ACCESS LIST STANDARD NUMBERED FILTER )
Usage An ACL can be configured with multiple ACL filters using sequence numbers. If the sequence number is omitted, the next available multiple of 10 will be used as the sequence number for the new filter. A new ACL filter can be inserted into the middle of an existing list by specifying the appropriate sequence number.
NOTE : The access control list being configured is selected by running the
(standard numbered) command with the required access control list number but with
no further parameters selected.
Software ACLs will deny access unless explicitly permitted by an ACL action.
Example To add a new entry accepting the IP network 10.1.1.0/24 at the sequence number 15 position, use the commands: awplus# configure terminal awplus(config)# access-list 99 awplus(config-ip-std-acl)# 15 permit 10.1.2.0 0.0.0.255
Related
Commands
access-list (standard numbered)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
779
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
CLEAR IP PREFIX LIST
clear ip prefix-list
Overview Use this command to reset the hit count to zero in the prefix-list entries.
Syntax clear ip prefix-list [< list-name >] [< ip-address >/< mask >]
Parameter
<list-name>
<ip-address>/<mask>
Description
The name of the prefix-list.
The IP prefix and length.
Mode Privileged Exec
Example To clear a prefix-list named List1: awplus# clear ip prefix-list List1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
780
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IP PREFIX LIST
ip prefix-list
Overview Use this command to create an entry for an IPv4 prefix list.
Use the no variant of this command to delete the IPv4 prefix-list entry.
Syntax ip prefix-list < list-name > [seq < 1-429496725 >] {deny|permit}
{any|< ip-prefix >} [ge < 0-32 >] [le < 0-32 >] ip prefix-list <list-name> description <text> ip prefix-list sequence-number no ip prefix-list < list-name > [seq < 1-429496725 >] no ip prefix-list <list-name> [description <text> ] no ip prefix-list sequence-number
Parameter
<list-name> seq < 1-429496725 > deny permit
<ip-prefix> any ge< 0-32 > le< 0-32 >
<text> sequence-number
Description
Specifies the name of a prefix list.
Sequence number of the prefix list entry.
Specifies that the prefixes are excluded from the list.
Specifies that the prefixes are included in the list.
Specifies the IPv4 address and length of the network mask in dotted decimal in the format A.B.C.D/M.
Any prefix match. Same as 0.0.0.0/0 le 32 .
Specifies the minimum prefix length to be matched.
Specifies the maximum prefix length to be matched.
Text description of the prefix list.
Specify sequence numbers included or excluded in prefix list.
Mode Global Configuration
Usage When the device processes a prefix list, it starts to match prefixes from the top of the prefix list, and stops whenever a permit or deny occurs. To promote efficiency, use the seq parameter and place common permits or denials towards the top of the list. If you do not use the seq parameter, the sequence values are generated in a sequence of 5.
The parameters ge and le specify the range of the prefix lengths to be matched.
When setting these parameters, set the le value to be less than 32, and the ge value to be less than or equal to the le value and greater than the ip-prefix mask length.
Prefix lists implicitly exclude prefixes that are not explicitly permitted in the prefix list. This means if a prefix that is being checked against the prefix list reaches the end of the prefix list without matching a permit or deny, this prefix will be denied.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
781
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IP PREFIX LIST
Example In the below sample configuration, the last ip prefix-list command in the below list matches all, and the first ip prefix-list c ommand denies the IP network 76.2.2.0
: awplus(config)# router bgp 100 awplus(config-router)# network 172.1.1.0
awplus(config-router)# network 172.1.2.0
awplus(config-router)# neighbor 10.6.5.3 remote-as 300 awplus(config-router)# neighbor 10.6.5.3 prefix-list mylist out awplus(config-router)# exit awplus(config)# ip prefix-list mylist seq 5 deny 76.2.2.0/24 awplus(config)# ip prefix-list mylist seq 100 permit any
To deny the IP addresses between 10.0.0.0/14 ( 10.0.0.0 255.252.0.0
) and 10.0.0.0/22 ( 10.0.0.0 255.255.252.0
) within the
10.0.0.0/8 ( 10.0.0.0 255.0.0.0
) addressing range, enter the following commands: awplus# configure terminal awplus(config)# ip prefix-list mylist seq 12345 deny 10.0.0.0/8 ge 14 le 22
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
782
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
MAXIMUM ACCESS LIST
maximum-access-list
Overview Sets the maximum number of filters that can be added to any access-list. These are access-lists within the ranges <1-199>, <1300-1999> and <2000-2699> and named standard and extended access-lists.
The no variant of this command removes the limit on the number of filters that can be added to a software access-list
Syntax maximum-access-list < 1-4294967294 > no maximum-access-list
Parameter
< 1-4294967294 >
Description
Filter range.
Mode Global Configuration
Example To set the maximum number of software filters to 200 : awplus# configure terminal awplus(config)# maximum-access-list 200
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
783
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW ACCESS LIST (IP V 4 S OFTWARE ACL S )
show access-list (IPv4 Software ACLs)
Overview Use this command to display the specified access-list, or all access-lists if none have been specified. Note that only defined access-lists are displayed. An error message is displayed for an undefined access-list
Syntax show access-list
[< 1-99 >|< 100-199 >|< 1300-1999 >|< 2000-2699 >|< 3000-3699 >|
< 4000-4499 >|< access-list-name >]
Parameter Description
< 1-99 >
< 100-199 >
< 1300-1999 >
< 2000-2699 >
< 3000-3699 >
IP standard access-list.
IP extended access-list.
IP standard access-list (standard - expanded range).
IP extended access-list (extended - expanded range).
Hardware IP access-list.
< 4000-4499 > Hardware MAC access-list.
< access-list-name > IP named access-list.
Mode User Exec and Privileged Exec
Examples To show all access-lists configured on the switch: awplus# show access-list
Standard IP access list 1
deny 172.16.2.0, wildcard bits 0.0.0.255
Standard IP access list 20
deny 192.168.10.0, wildcard bits 0.0.0.255
deny 192.168.12.0, wildcard bits 0.0.0.255
Hardware IP access list 3001
permit ip 192.168.20.0 255.255.255.0 any
Hardware IP access list 3020
permit tcp any 192.0.2.0/24 awplus#show access-list 20
To show the access-list with an ID of 20: awplus# show access-list 20
784 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW ACCESS LIST (IP V 4 S OFTWARE ACL S )
Standard IP access-list 20
deny 192.168.10.0, wildcard bits 0.0.0.255
deny 192.168.12.0, wildcard bits 0.0.0.255
Note the following error message is displayed if you attempt to show an undefined access-list: awplus# show access-list 2
% Can't find access-list 2
Related
Commands
access-list (standard numbered)
access-list (extended numbered)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
785
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW IP ACCESS LIST
show ip access-list
Overview Use this command to display IP access-lists.
Syntax show ip access-list
[< 1-99 >|<1 00-199 >|< 1300-1999 >|< 2000-2699 >|< access-list-name >]
Parameter Description
< 1-99 >
< 100-199 >
IP standard access-list.
IP extended access-list.
< 1300-1999 >
< 2000-2699 >
IP standard access-list (expanded range).
IP extended access-list (expanded range).
< access-list-name > IP named access-list.
Mode User Exec and Privileged Exec
Example awplus# show ip access-list
Output Figure 26-1: Example output from the show ip access-list command
Standard IP access-list 1
permit 172.168.6.0, wildcard bits 0.0.0.255
permit 192.168.6.0, wildcard bits 0.0.0.255
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
786
IP V 4 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
VTY ACCESS CLASS ( NUMBERED )
vty access-class (numbered)
Overview For IPv4, use this command to set a standard numbered software access list to be the management ACL. This is then applied to all available VTY lines for controlling remote access by Telnet and SSH. This command allows or denies packets containing the IP addresses included in the ACL to create a connection to your device.
ACLs that are attached using this command have an implicit deny-all filter as the final entry in the ACL. So a typical configuration would be to permit a specific address, or range of addresses, and rely on the deny-all filter to block all other access.
Use the no variant of this command to remove the access list.
Syntax vty access-class { <1-99> | <1300-1999> } no vty access-class [ <1-99> | <1300-1999> ]
Parameter
<1-99>
<1300-1999>
Description
IPv4 standard access-list number
IPv4 standard access-list number (expanded range)
Mode Global Configuration
Examples To set access-list 4 to be the management ACL, use the following commands: awplus# configure terminal awplus(config)# vty access-class 4
To remove access-list 4 from the management ACL, use the following commands: awplus# configure terminal awplus(config)# no vty access-class 4
Output Figure 26-2: Example output from the show running-config command
awplus#show running-config|grep access-class vty access-class 4
Related
Commands
787 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
27
IPv6 Hardware
Access Control List
(ACL) Commands
Introduction
Overview IPv6 Hardware ACLs are supported in Software Version 5.4.3A-1.x and later.
This chapter provides an alphabetical reference for the IPv6 Hardware Access
Control List (ACL) commands, and contains detailed command information and command examples about IPv6 hardware ACLs, which are applied directly to
interfaces using the ipv6 traffic-filter command.
For information about ACLs, see the ACL Feature Overview and Configuration
Guide .
To apply ACLs to an LACP channel group, apply it to all the individual switch ports in the channel group. To apply ACLs to a static channel group, apply it to the static channel group itself. For more information on link aggregation see the following references:
•
• the Link Aggregation Feature Overview and Configuration Guide
.
Most ACL command titles include usage information in parentheses. When the command title is completely surrounded by parentheses, the title indicates the type of ACL filter instead of keywords to enter into the CLI. For example, the title
(named IPv6 hardware ACL: ICMP entry) represents a command with the syntax:
[< sequence-number >] < action > icmp < source-ip > < dest-ip >
[icmp-type < number >] [vlan < 1-4094 >]
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Sub-modes Many of the ACL commands operate from sub-modes that are specific to particular
ACL types. The following table shows the CLI prompts at which ACL commands are entered.
788 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
Table 27-1: IPv6 Hardware Access List Commands and Prompts
Command Name
show ipv6 access-list (IPv6 Hardware
ipv6 access-list (named IPv6 hardware ACL)
Command Mode
Privileged Exec
Global Configuration
(named IPv6 hardware ACL: IPv6 packet entry)
(named IPv6 hardware ACL: ICMP entry)
(named IPv6 hardware ACL: IP protocol entry)
(named IPv6 hardware ACL: TCP or
Interface Configuration
IPv6 Hardware ACL
Configuration
IPv6 Hardware ACL
Configuration
IPv6 Hardware ACL
Configuration
IPv6 Hardware ACL
Configuration
IPv6 Hardware ACL
Configuration
Prompt awplus# awplus(config)# awplus(config-if)# awplus(config-ipv6-hw-acl)# awplus(config-ipv6-hw-acl)# awplus(config-ipv6-hw-acl)# awplus(config-ipv6-hw-acl)# awplus(config-ipv6-hw-acl)#
Command List •
•
•
•
•
•
•
•
“ ipv6 access-list (named IPv6 hardware ACL) ” on page 791
“ (named IPv6 hardware ACL: ICMP entry) ” on page 793
“ (named IPv6 hardware ACL: IPv6 packet entry) ” on page 797
“ (named IPv6 hardware ACL: IP protocol entry) ” on page 800
“ (named IPv6 hardware ACL: TCP or UDP entry) ” on page 805
“ ipv6 traffic-filter ” on page 808
“ show ipv6 access-list (IPv6 Hardware ACLs) ” on page 810
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
789
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
COMMIT (IP V 6)
commit (IPv6)
Overview Use this command to commit the IPv6 ACL filter configuration entered at the console to the hardware immediately without exiting the IPv6 Hardware ACL
Configuration mode.
This command forces the associated hardware and software IPv6 ACLs to synchronize.
Syntax commit
Mode IPv6 Hardware ACL Configuration
Usage Normally, when an IPv6 hardware ACL is edited, the new configuration state of the
IPv6 ACL is not written to hardware until you exit IPv6 Hardware ACL Configuration mode. By entering this command you can ensure that the current state of a hardware access-list that is being edited is written to hardware immediately.
Scripts typically do not include the
exit command to exit configuration modes,
potentially leading to IPv6 ACL filters in hardware not being correctly updated.
Using this commit command in a configuration script after specifying an IPv6 hardware ACL filter ensures that it is updated in the hardware.
Example To update the hardware with the IPv6 ACL filter configuration, use the command: awplus# configure terminal awplus(config)# ipv6 access-list my-ipv6-acl awplus(config-ipv6-hw-acl)# commit
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
790
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IPV 6 ACCESS LIST ( NAMED IP V 6 HARDWARE ACL)
ipv6 access-list (named IPv6 hardware ACL)
Overview Use this command to either create a new IPv6 hardware access-list, or to select an existing IPv6 hardware access-list in order to apply a filter entry to it.
Use the no variant of this command to delete an existing IPv6 hardware access-list.
NOTE
: Before you can delete an access-list, you must first remove it from any interface it is assigned to.
Syntax ipv6 access-list <ipv6-access-list-name> no ipv6 access-list <ipv6-access-list-name >
Parameter Description
<ipv6-access-list-name> Specify an IPv6 access-list name.
Mode Global Configuration
Default Any traffic on an interface controlled by a hardware ACL that does not explicitly match a filter is permitted.
Usage Use IPv6 hardware named access-lists to control the transmission of IPv6 packets on an interface, and restrict the content of routing updates. The switch stops checking the IPv6 hardware named access-list when a match is encountered.
This command moves you to the (config-ipv6-hw-acl) prompt for the selected IPv6 hardware named access-list number. From there you can configure the filters for this selected IPv6 hardware named access-list.
Once you have configured the ACL, use the
match access-group command to apply this ACL to a port, VLAN or QoS class-map. Note
that the ACL will only apply to incoming data packets.
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Examples To create an IPv6 access-list named “my-ipv6-acl”, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-ipv6-acl awplus(config-ipv6-hw-acl)#
To delete the IPv6 access-list named “my-ipv6-acl”, use the commands: awplus# configure terminal awplus(config)# no ipv6 access-list my-ipv6-acl
Related
Commands
(named IPv6 hardware ACL: ICMP entry)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
791
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IPV 6 ACCESS LIST ( NAMED IP V 6 HARDWARE ACL)
(named IPv6 hardware ACL: IPv6 packet entry)
(named IPv6 hardware ACL: IP protocol entry)
(named IPv6 hardware ACL: TCP or UDP entry)
show ipv6 access-list (IPv6 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
792
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: ICMP ENTRY )
(named IPv6 hardware ACL: ICMP entry)
Overview Use this command to add a new ICMP filter entry to the current IPv6 hardware access-list. The filter will match on any ICMP packet that has the specified IPv6 source and destination IP addresses and (optionally) ICMP type. You can specify the value any if source or destination address does not matter.
The no variant of this command removes a filter entry from the current IPv6 hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no deny icmp 2001:0db8::0/64 any ).
You can find the sequence number by running the
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > icmp < source-addr > < dest-addr >
[icmp-type < number >] [vlan < 1-4094 >] no < sequence-number > no < action > icmp < source-addr > < dest-addr > [icmp-type < number >]
[vlan < 1-4094 >]
Parameter
< sequence number >
<action>
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the
CPU.
icmp Match against ICMP packets
<source-addr> The source addresses to match against. You can specify a single host, a range, or all source addresses. The following are the valid formats for specifying the source: any
< ipv6-src-address/ prefix-length >
Match any source host.
Match the specified source address and prefix length.
The IPv6 address prefix uses the format X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
793
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: ICMP ENTRY )
C613-50135-01 Rev A
Parameter
<dest-addr> icmp-type
< number >
Description
< ipv6-src-address >
< ipv6-src-wildcard > host
< ipv6-source-host >
Match the specified IPv6 source address, masked using wildcard bits.
The IPv6 address uses the format
X:X::X:X.
In the wildcard bits, 1 represents bits to ignore, and 0 represents bits to match
Match a single source host address.
The IPv6 address uses the format
X:X::X:X.
The destination addresses to match against. You can specify a single host, a range, or all destination addresses. The following are the valid formats for specifying the destination: any
< ipv6-dest-address/
prefix-length >
Match any destination host.
Match the specified destination address and prefix length.
The IPv6 address prefix uses the format X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
< ipv6-dest-address >
< ipv6-dest-wildcard >
Match the specified destination address, masked using wildcard bits.
The IPv6 address uses the format
X:X::X:X.
In the wildcard bits, 1 represents bits to ignore, and 0 represents bits to match host
< ipv6-dest-host >
Match a single destination host address.
The IPv6 address uses the format
X:X::X:X.
4
5
8
11
The type of ICMP message to match against, as defined in RFC792 and RFC950. Values include:
0 Echo replies.
3 Destination unreachable messages.
Source quench messages.
Redirect (change route) messages.
12
13
Echo requests.
Time exceeded messages.
Parameter problem messages.
Timestamp requests.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
794
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: ICMP ENTRY )
Parameter Description
14
15
Timestamp replies.
Information requests.
16
17
Information replies.
Address mask requests.
18 Address mask replies.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode IPv6 Hardware ACL Configuration (accessed by running the command
ipv6 access-list (named IPv6 hardware ACL) )
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ipv6-hw-acl)#.
Then use this command (and the other “named IPv6 hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL.
You can use the sequence number to explicitly define the order of the first 7 entries in an ACL. If you create more than 7 entries, the order of entry 8 onwards is not based on the sequence number. Instead, the entry with the largest number of match fields has the highest precedence.
Once you have configured the ACL, use the
match access-group command to apply this ACL to a port, VLAN or QoS class-map. Note
that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry to the ACL named “my-acl”, to block ICMP packets sent from network 2001:0db8::0/64 , use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# deny icmp 2001:0db8::0/64 any
To remove a filter entry from the ACL named “my-acl” that blocks all ICMP packets sent from network 2001:0db8::0/ 64 , use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# no deny icmp 2001:0db8::0/64 any
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
795
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: ICMP ENTRY )
To specify an ACL named “my-acl1” and add a filter entry that blocks all ICMP6 echo requests, enter the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl1 awplus(config-ipv6-hw-acl)# deny icmp any any icmp-type 128
To specify an ACL named “my-acl2” and add a filter entry that blocks all ICMP6 echo requests on the default VLAN (vlan1), enter the following commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl2 awplus(config-ipv6-hw-acl)# deny icmp any any icmp-type 128 vlan 1
To remove a filter entry that blocks all ICMP6 echo requests from the ACL named
“my-acl1”, enter the following commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl1 awplus(config-ipv6-hw-acl)# no deny icmp any any icmp-type 128
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
show ipv6 access-list (IPv6 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
796
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP V 6 PACKET ENTRY )
(named IPv6 hardware ACL: IPv6 packet entry)
Overview Use this command to add an IPv6 packet filter entry to the current hardware access-list. The filter will match on IPv6 packets that have the specified source and destination IPv6 address and (optionally) prefix. You can use the value any instead of source or destination IPv6 address if an address does not matter.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no deny ipv6 2001:0db8::0/64 any ).
You can find the sequence number by running the
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > ipv6 < source-addr > < dest-addr >
[vlan < 1-4094 >] no < sequence-number > no < action > ipv6 < source-addr > < dest-addr > [vlan < 1-4094 >]
Parameter
< sequence-
number >
<action>
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the
CPU.
ipv6 Match against IPv6 packets
<source-addr> The source addresses to match against. You can specify a single host, a range, or all source addresses. The following are the valid formats for specifying the source: any Match any source host.
797 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP V 6 PACKET ENTRY )
Parameter Description
< ipv6-src-address/ prefix-length >
Match the specified source address and prefix length.
The IPv6 address prefix uses the format X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
< ipv6-src-address >
< ipv6-src-wildcard >
Match the specified IPv6 source address, masked using wildcard bits.
The IPv6 address uses the format
X:X::X:X.
In the wildcard bits, 1 represents bits to ignore, and 0 represents bits to match host
< ipv6-source-host >
Match a single source host address.
The IPv6 address uses the format
X:X::X:X.
<dest-addr> The destination addresses to match against. You can specify a single host, a range, or all destination addresses. The following are the valid formats for specifying the destination: any
< ipv6-dest-address/ prefix-length >
Match any destination host.
Match the specified destination address and prefix length.
The IPv6 address prefix uses the format X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
<
< ipv6-dest-address > ipv6-dest-wildcard >
Match the specified destination address, masked using wildcard bits.
The IPv6 address uses the format
X:X::X:X.
In the wildcard bits, 1 represents bits to ignore, and 0 represents bits to match host
< ipv6-dest-host >
Match a single destination host address.
The IPv6 address uses the format
X:X::X:X.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode IPv6 Hardware ACL Configuration (accessed by running the command
ipv6 access-list (named IPv6 hardware ACL) )
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
798
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP V 6 PACKET ENTRY )
Usage To use this command, first run the command
awplus(config-ipv6-hw-acl)#.
Then use this command (and the other “named IPv6 hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL.
You can use the sequence number to explicitly define the order of the first 7 entries in an ACL. If you create more than 7 entries, the order of entry 8 onwards is not based on the sequence number. Instead, the entry with the largest number of match fields has the highest precedence.
Once you have configured the ACL, use the
match access-group command to apply this ACL to a port, VLAN or QoS class-map. Note
that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry to the ACL named “my-acl” to block IPv6 traffic sent from network 2001:0db8::0/64, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# deny ipv6 2001:0db8::0/64 any
To remove a filter entry from the ACL named “my-acl” that blocks all IPv6 traffic sent from network 2001:0db8::0/ 64, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# no deny ipv6 2001:0db8::0/64 any
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
show ipv6 access-list (IPv6 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
799
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP PROTOCOL ENTRY )
(named IPv6 hardware ACL: IP protocol entry)
Overview Use this command to add an IP protocol type filter entry to the current IPv6 hardware access-list. The filter will match on IPv6 packets that have the specified
IP protocol number, and the specified IPv6 addresses. You can use the value any instead of source or destination IPv6 address if an address does not matter.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no deny proto 2 2001:0db8::0/64 any ).
You can find the sequence number by running the
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > proto < 1-255 > < source-addr >
< dest-addr > [vlan < 1-4094 >] no < sequence-number > no < action > proto < 1-255 > < source-addr > < dest-addr > [vlan
< 1-4094 >]
Table 27-2: Parameters in IP protocol ACL entries
Parameter
< sequence number >
<action>
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535.
The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the
CPU.
proto < 1-255 > The IP protocol number to match against, as defined by IANA
(Internet Assigned Numbers Authority www.iana.org/assignments/protocol-numbers )
See below for a list of IP protocol numbers and their descriptions.
<source-addr> The source addresses to match against. You can specify a single host, a range, or all source addresses. The following are the valid formats for specifying the source: any Match any source host.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
800
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP PROTOCOL ENTRY )
Table 27-2: Parameters in IP protocol ACL entries (cont.)
Parameter Description
< ipv6-src-address/ prefix-length >
Match the specified source address and prefix length.
The IPv6 address prefix uses the format X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
< ipv6-src-address >
< ipv6-src-wildcard >
Match the specified IPv6 source address, masked using wildcard bits.
The IPv6 address uses the format
X:X::X:X.
In the wildcard bits, 1 represents bits to ignore, and 0 represents bits to match host
< ipv6-source-host >
Match a single source host address.
The IPv6 address uses the format
X:X::X:X.
<dest-addr> The destination addresses to match against. You can specify a single host, a range, or all destination addresses. The following are the valid formats for specifying the destination: any
< ipv6-dest-address/
prefix-length >
Match any destination host.
Match the specified destination address and prefix length.
The IPv6 address prefix uses the format X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
<
< ipv6-dest-address > ipv6-dest-wildcard >
Match the specified destination address, masked using wildcard bits.
The IPv6 address uses the format
X:X::X:X.
In the wildcard bits, 1 represents bits to ignore, and 0 represents bits to match host
< ipv6-dest-host >
Match a single destination host address.
The IPv6 address uses the format
X:X::X:X.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
801
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP PROTOCOL ENTRY )
C613-50135-01 Rev A
Table 27-3: IP protocol number and description
27
28
29
30
11
17
20
51
54
58
33
48
50
59
60
88
89
97
98
108
112
134
135
136
4
5
6
8
9
2
3
Protocol Number
1
Protocol Description [RFC]
Internet Control Message [RFC792]
Internet Group Management [RFC1112]
Gateway-to-Gateway [RFC823]
IP in IP [RFC2003]
Stream [RFC1190] [RFC1819]
TCP (Transmission Control Protocol) [RFC793]
EGP (Exterior Gateway Protocol) [RFC888]
IGP (Interior Gateway Protocol) [IANA]
Network Voice Protocol [RFC741]
UDP (User Datagram Protocol) [RFC768]
Host monitoring [RFC869]
RDP (Reliable Data Protocol) [RFC908]
IRTP (Internet Reliable Transaction Protocol) [RFC938]
ISO-TP4 (ISO Transport Protocol Class 4) [RFC905]
Bulk Data Transfer Protocol [RFC969]
DCCP (Datagram Congestion Control Protocol) [RFC4340]
DSR (Dynamic Source Routing Protocol) [RFC4728]
ESP (Encap Security Payload) [RFC2406]
AH (Authentication Header) [RFC2402]
NARP (NBMA Address Resolution Protocol) [RFC1735]
ICMP for IPv6 [RFC1883]
No Next Header for IPv6 [RFC1883]
Destination Options for IPv6 [RFC1883]
EIGRP (Enhanced Interior Gateway Routing Protocol)
OSPFIGP [RFC1583]
Ethernet-within-IP Encapsulation / RFC3378
Encapsulation Header / RFC1241
IP Payload Compression Protocol / RFC2393
Virtual Router Redundancy Protocol / RFC3768
RSVP-E2E-IGNORE / RFC3175
Mobility Header / RFC3775
UDPLite / RFC3828
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
802
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP PROTOCOL ENTRY )
Table 27-3: IP protocol number and description (cont.)
Protocol Number
137
138
139-252
253
254
255
Protocol Description [RFC]
MPLS-in-IP / RFC4023
MANET Protocols / RFC-ietf-manet-iana-07.txt
Unassigned / IANA
Use for experimentation and testing / RFC3692
Use for experimentation and testing / RFC3692
Reserved / IANA
Mode IPv6 Hardware ACL Configuration (accessed by running the command
ipv6 access-list (named IPv6 hardware ACL) )
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ipv6-hw-acl)#.
Then use this command (and the other “named IPv6 hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL.
You can use the sequence number to explicitly define the order of the first 7 entries in an ACL. If you create more than 7 entries, the order of entry 8 onwards is not based on the sequence number. Instead, the entry with the largest number of match fields has the highest precedence.
Once you have configured the ACL, use the
match access-group command to apply this ACL to a port, VLAN or QoS class-map. Note
that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry to the ACL named “my-acl” to deny IGMP packets from
2001:0db8::0/64 , use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# deny proto 2 2001:0db8::0/64 any
To remove a filter entry that blocks IGMP packets from network 2001:0db8::0/64 from the ACL named “my-acl”, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# no deny proto 2 2001:0db8::0/64 any
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
803
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: IP PROTOCOL ENTRY )
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
show ipv6 access-list (IPv6 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
804
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: TCP OR UDP ENTRY )
(named IPv6 hardware ACL: TCP or UDP entry)
Overview Use this command to add a TCP or UDP filter entry to the current IPv6 hardware access-list. The access-list will match on TCP or UDP packets that have the specified source and destination IP addresses and optionally, port values. You can use the value any instead of source or destination IP address if an address does not matter.
The no variant of this command removes a filter entry from the current hardware access-list. You can specify the filter entry for removal by entering either its sequence number (e.g. no 100 ), or by entering its filter profile without specifying its sequence number (e.g. no deny tcp 2001:0db8::0/64 any ).
You can find the sequence number by running the
Hardware ACLs will permit access unless explicitly denied by an ACL action.
Syntax [< sequence-number >] < action > {tcp|udp} <source-addr > [eq
< 0-65535 >] < dest-addr > [eq < 0-65535 >] [vlan < 1-4094 >] no < sequence-number > no < action > {tcp|udp} <source-addr > [eq < 0-65535 >] < dest-addr >
[eq < 0-65535 >] [vlan < 1-4094 >]
Parameter
< sequencenumber >
Description
The sequence number for the filter entry of the selected access control list, in the range 1-65535. If you do not specify a sequence number, the switch puts the entry at the end of the ACL and assigns it the next available multiple of 10 as its sequence number. .
<action> The action that the switch will take on matching packets: deny Reject packets that match the source and destination filtering specified with this command.
permit Permit packets that match the source and destination filtering specified with this command.
send-to-cpu Send matching packets to the CPU.
tcp udp
Match against TCP packets.
Match against UDP packets.
<source-addr> The source addresses to match against. You can specify a single host, a subnet, or all source addresses. The following are the valid formats for specifying the source: any Match any source IP address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
805
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: TCP OR UDP ENTRY )
Parameter Description host <ip-addr> Match a single source host with the
IP address given by <ip-addr> in dotted decimal notation.
<
< ip-addr prefix >
>/ Match any source IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
<
< ip-addr > reverse-mask >
Match any source IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
< dest-addr > The destination addresses to match against. You can specify a single host, a subnet, or all destination addresses. The following are the valid formats for specifying the destination: any host <ip-addr>
Match any destination IP address.
Match a single destination host with the IP address given by <ip-addr> in dotted decimal notation.
<
< ip-addr prefix >
>/ Match any destination IP address within the specified subnet. Specify the subnet by entering the IPv4 address, then a forward slash, then the prefix length.
<
< ip-addr > reverse-mask >
Match any destination IP address within the specified subnet. Specify the subnet by entering a reverse mask in dotted decimal format. For example, entering “192.168.1.1
0.0.0.255” is the same as entering
192.168.1.1/24.
eq < 0-65535 > Match on the specified source or destination TCP or UDP port number.
vlan <1-4094> The VLAN to match against. The ACL will match against the specified ID in the packet’s VLAN tag.
Mode IPv6 Hardware ACL Configuration (accessed by running the command
ipv6 access-list (named IPv6 hardware ACL) )
Default On an interface controlled by a hardware ACL, any traffic that does not explicitly match a filter is permitted.
Usage To use this command, first run the command
awplus(config-ipv6-hw-acl)#.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
806
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( NAMED IP V 6 HARDWARE ACL: TCP OR UDP ENTRY )
Then use this command (and the other “named IPv6 hardware ACL: entry” commands) to add filter entries. You can add multiple filter entries to an ACL.
You can use the sequence number to explicitly define the order of the first 7 entries in an ACL. If you create more than 7 entries, the order of entry 8 onwards is not based on the sequence number. Instead, the entry with the largest number of match fields has the highest precedence.
Once you have configured the ACL, use the
match access-group command to apply this ACL to a port, VLAN or QoS class-map. Note
that the ACL will only apply to incoming data packets.
You can use ACLs to redirect packets, by sending them to the CPU. Use such ACLs with caution. They could prevent control packets from reaching the correct destination, such as EPSR healthcheck messages and VCStack messages.
Examples To add a filter entry that blocks all SSH traffic from network 2001:0db8::0/64 to the hardware IPv6 access-list named “my-acl”, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# deny tcp 2001:0db8::0/64 any eq 22
To add a filter entry that blocks all SSH traffic from network 2001:0db8::0/64 on the default VLAN (vlan1) to the hardware IPv6 access-list named “my-acl”, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# deny tcp 2001:0db8::0/64 any eq 22 vlan 1
To remove an ACL filter entry that blocks all SSH traffic from network 2001:0db8::0/
64 from the hardware IPv6 access-list named “my-acl”, use the commands: awplus# configure terminal awplus(config)# ipv6 access-list my-acl awplus(config-ipv6-hw-acl)# no deny tcp 2001:0db8::0/64 any eq
22
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
show ipv6 access-list (IPv6 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
807
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IPV 6 TRAFFIC FILTER
ipv6 traffic-filter
Overview This command adds an IPv6 hardware-based access-list to an interface. The number of access-lists that can be added is determined by the amount of available space in the hardware-based packet classification tables.
Use the no variant of this command to remove an IPv6 hardware-based access-list from an interface.
Syntax ipv6 traffic-filter < ipv6-access-list-name > no ipv6 traffic-filter < ipv6-access-list-name >
Parameter Description
<ipv6-access-list-name> Hardware IPv6 access-list name.
Mode Interface Configuration (to apply an IPv6 hardware ACL to a specific switch port).
Usage This command adds an IPv6 hardware-based access-list to an interface. The number of access-lists that can be added is determined by the amount of available space in the hardware-based packet classification tables.
To apply the access-list to all ports on the switch, execute the command in the
Global Configuration mode. To apply the access-list to a Layer 2 interface or Layer
2 interface range, apply the command in the Interface Configuration mode. See the examples for each mode below.
Examples To add access-list “acl1” as a traffic-filter to interface port1.0.1, enter the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# ipv6 traffic-filter acl1
To remove access-list “acl1” as a traffic-filter from interface port1.0.1, enter the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no ipv6 traffic-filter acl1
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
(named IPv6 hardware ACL: ICMP entry)
808 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IPV 6 TRAFFIC FILTER
(named IPv6 hardware ACL: IPv6 packet entry)
(named IPv6 hardware ACL: IP protocol entry)
(named IPv6 hardware ACL: TCP or UDP entry)
show ipv6 access-list (IPv6 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
809
IP V 6 H ARDWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW IPV 6 ACCESS LIST (IP V 6 H ARDWARE ACL S )
show ipv6 access-list (IPv6 Hardware ACLs)
Overview Use this command to display all configured hardware IPv6 access-lists or the IPv6 access-list specified by name. Omitting the optional name parameter will display all IPv6 ACLs.
Syntax show ipv6 access-list [ <name >]
Parameter
<name>
Description
Hardware IPv6 access-list name.
Mode User Exec and Privileged Exec
Example To show all configured IPv6 access-lists use the command: awplus# show ipv6 access-list
Output Figure 27-1: Example output from the show ipv6 access-list command
IPv6 access-list deny_icmp
deny icmp any any vlan 1
IPv6 access-list deny_ssh
deny tcp abcd::0/64 any eq 22
Related
Commands
ipv6 access-list (named IPv6 hardware ACL)
(named IPv6 hardware ACL: ICMP entry)
(named IPv6 hardware ACL: IPv6 packet entry)
(named IPv6 hardware ACL: IP protocol entry)
(named IPv6 hardware ACL: TCP or UDP entry)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
810
28
IPv6 Software
Access Control List
(ACL) Commands
Introduction
Overview This chapter provides an alphabetical reference for the IPv6 Software Access
Control List (ACL) commands, and contains detailed command information and command examples about IPv6 software ACLs as applied to Routing and
Multicasting, which are not applied to interfaces.
For information about ACLs, see the ACL Feature Overview and Configuration
Guide .
To apply ACLs to an LACP channel group, apply it to all the individual switch ports in the channel group. To apply ACLs to a static channel group, apply it to the static channel group itself. For more information on link aggregation see the following references:
•
• the Link Aggregation Feature Overview_and_Configuration Guide
.
Note that text in parenthesis in command names indicates usage not keyword entry. For example, ipv6-access-list (named) indicates named IPv6 ACLs entered as ipv6-access-list < name > where < name > is a placeholder not a keyword.
Note also that parenthesis surrounding ACL filters indicates the type of ACL filter not the keyword entry in the CLI. For example, (ipv6 access-list standard IPv6 filter) represents command entry in the format shown in the syntax:
[< sequence-number >] {deny|permit}
{< source-ipv6-address/prefix-length >|any}
NOTE : Software ACLs will deny access unless explicitly permitted by an ACL action.
Sub-modes Many of the ACL commands operate from sub-modes that are specific to particular
ACL types. The following table shows the CLI prompts at which ACL commands are entered.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
811
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
Table 28-1: IPv6 Software Access List Commands and Prompts
Command Name
show ipv6 access-list (IPv6 Software
ipv6 access-list standard (named)
(ipv6 access-list standard filter)
Command Mode
Privileged Exec
Global Configuration
IPv6 Standard ACL
Configuration
Prompt awplus# awplus(config)# awplus(config-ipv6-std-acl)#
Command List •
•
•
•
“ ipv6 access-list standard (named) ” on page 813
“ (ipv6 access-list standard filter) ” on page 815
“ show ipv6 access-list (IPv6 Software ACLs) ” on page 817
“ vty ipv6 access-class (named) ” on page 818
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
812
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IPV 6 ACCESS LIST STANDARD ( NAMED )
ipv6 access-list standard (named)
Overview This command configures an IPv6 standard access-list for filtering frames that permit or deny IPv6 packets from a specific source IPv6 address.
The no variant of this command removes a specified IPv6 standard access-list.
Syntax
[list-name] ipv6 access-list standard <ipv6-acl-list-name> no ipv6 access-list standard <ipv6-acl-list-name>
Parameter
<ipv6-acl-list-name>
Description
A user-defined name for the IPv6 software standard access-list.
Syntax [deny| permit] ipv6 access-list standard <ipv6-acl-list-name> [{deny|permit}
{< ipv6-source-address/prefix-length >|any} [exact-match]] no ipv6 access-list standard <ipv6-acl-list-name>
[{deny|permit} {< ipv6-source-address/prefix -length>|any}
[exact-match]]
Parameter
<ipv6-acl-list-name> deny permit
<ipv6-source-address/ prefix-length> any exact-match
Description
A user-defined name for the IPv6 software standard access-list.
The IPv6 software standard access-list rejects packets that match the type, source, and destination filtering specified with this command.
The IPv6 software standard access-list permits packets that match the type, source, and destination filtering specified with this command.
Specifies a source address and prefix length.
The IPv6 address prefix uses the format
X:X::/prefix-length. The prefix-length is usually set between 0 and 64.
Matches any source IPv6 address.
Exact match of the prefixes.
Mode Global Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage Use IPv6 standard access-lists to control the transmission of IPv6 packets on an interface, and restrict the content of routing updates. The switch stops checking the IPv6 standard access-list when a match is encountered.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
813
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
IPV 6 ACCESS LIST STANDARD ( NAMED )
For backwards compatibility you can either create IPv6 standard access-lists from within this command, or you can enter ipv6 access-list standard followed by only the IPv6 standard access-list name. This latter (and preferred) method moves you to the (config-ipv6-std-acl) prompt for the selected
IPv6 standard access-list, and from here you can configure the filters for this selected IPv6 standard access-list.
NOTE : Software ACLs will deny access unless explicitly permitted by an ACL action.
Example To enter the IPv6 Standard ACL Configuration mode for the access-list named my-list , use the commands: awplus# configure terminal awplus(config)# ipv6 access-list standard my-list awplus(config-ipv6-std-acl)#
Related
Commands
(ipv6 access-list standard filter)
show ipv6 access-list (IPv6 Software ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
814
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( IPV 6 ACCESS LIST STANDARD FILTER )
(ipv6 access-list standard filter)
Overview Use this ACL filter to add a filter entry for an IPv6 source address and prefix length to the current standard IPv6 access-list. If a sequence number is specified, the new entry is inserted at the specified location. Otherwise, the new entry is added at the end of the access-list.
The no variant of this command removes a filter entry for an IPv6 source address and prefix from the current standard IPv6 access-list. You can specify the filter entry for removal by entering either its sequence number, or its filter entry profile.
Syntax [icmp] [ <sequence-number >] {deny|permit}
{< ipv6-source-address/prefix-length >|any} no {deny|permit} {< ipv6-source-address/prefix-length >|any} no < sequence-number >
Parameter Description
< sequence-number > <1-65535>
The sequence number for the filter entry of the selected access control list.
deny permit
< ipv6-source- address/prefix- length > any
Specifies the packets to reject.
Specifies the packets to accept.
IPv6 source address and prefix-length in the form X:X::X:X/P.
Any IPv6 source host address.
Mode IPv6 Standard ACL Configuration
Default Any traffic controlled by a software ACL that does not explicitly match a filter is denied.
Usage The filter entry will match on any IPv6 packet that has the specified IPv6 source address and prefix length. The parameter any may be specified if an address does not matter.
NOTE
: Software ACLs will deny access unless explicitly permitted by an ACL action.
Examples To add an ACL filter entry with sequence number 5 that will deny any IPv6 packets to the standard IPv6 access-list named my-list , enter the commands: awplus# configure terminal awplus(config)# ipv6 access-list standard my-list awplus(config-ipv6-std-acl)# 5 deny any
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
815
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
( IPV 6 ACCESS LIST STANDARD FILTER )
To remove the ACL filter entry that will deny any IPv6 packets from the standard
IPv6 access-list named my-list , enter the commands: awplus# configure terminal awplus(config)# ipv6 access-list standard my-list awplus(config-ipv6-std-acl)# no deny any
Alternately, to remove the ACL filter entry with sequence number 5 to the standard IPv6 access-list named my-list , enter the commands: awplus# configure terminal awplus(config)# ipv6 access-list standard my-list awplus(config-ipv6-std-acl)# no 5
Related
Commands
ipv6 access-list standard (named)
show ipv6 access-list (IPv6 Software ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
816
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
SHOW IPV 6 ACCESS LIST (IP V 6 S OFTWARE ACL S )
show ipv6 access-list (IPv6 Software ACLs)
Overview Use this command to display all configured IPv6 access-lists or the IPv6 access-list specified by name.
Syntax show ipv6 access-list [ <access-list-name> ] show ipv6 access-list standard [ <access-list-name> ]
Parameter
< access-list-name > standard
Description
Only display information about an IPv6 access-list with the specified name.
Only display information about standard access-lists.
Mode User Exec and Privileged Exec
Example To show all configured IPv6 access-lists, use the following command: awplus# show ipv6 access-list
Output Figure 28-1: Example output from show ipv6 access-list
IPv6 access-list deny_icmp
deny icmp any any vlan 1
IPv6 access-list deny_ssh
deny tcp abcd::0/64 any eq 22
Example To show the IPv6 access-list named deny_icmp, use the following command: awplus# show ipv6 access-list deny_icmp
Output Figure 28-2: Example output from show ipv6 access-list for a named ACL
IPv6 access-list deny_icmp
deny icmp any any vlan 1
Related
Commands
ipv6 access-list standard (named)
(ipv6 access-list standard filter)
817 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
IP V 6 S OFTWARE A CCESS C ONTROL L IST (ACL) C OMMANDS
VTY IPV 6 ACCESS CLASS ( NAMED )
vty ipv6 access-class (named)
Overview For IPv6, use this command to set a standard named software access list to be the management ACL. This is then applied to all available VTY lines for controlling remote access by Telnet and SSH. This command allows or denies packets containing the IPv6 addresses included in the ACL to create a connection to your device.
ACLs that are attached using this command have an implicit ‘deny-all’ filter as the final entry in the ACL. A typical configuration is to permit a specific address, or range of addresses, and rely on the ‘deny-all’ filter to block all other access.
Use the no variant of this command to remove the access list.
Syntax vty ipv6 access-class <access-name> no vty ipv6 access-class [ <access-name> ]
Parameter Description
<access-name> Specify an IPv6 standard software access-list name
Mode Global Configuration
Examples To set the named standard access-list named access-ctrl to be the IPv6 management ACL, use the following commands: awplus# configure terminal awplus(config)# vty ipv6 access-class access-ctrl
To remove access-ctrl from the management ACL, use the following commands: awplus# configure terminal awplus(config)# no vty ipv6 access-class access-ctrl
Output Figure 28-3: Example output from the show running-config command
awplus#showrunning-config|grep access-class vty ipv6 access-class access-ctrl
Related
Commands
818 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
29
QoS Commands
Introduction
Overview This chapter provides an alphabetical reference for Quality of Service commands.
QoS uses ACLs. For more information about ACLs, see the ACL Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ default-action ” on page 823
“ description (QoS policy-map) ” on page 824
“ egress-rate-limit ” on page 825
“ match access-group ” on page 826
“ match eth-format protocol ” on page 830
“ match mac-type ” on page 833
“ match tcp-flags ” on page 834
“ mls qos enable ” on page 837
“ mls qos map cos-queue to ” on page 838
“ mls qos map premark-dscp to ” on page 839
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
819
Q O S C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
“ priority-queue ” on page 843
“ remark new-cos ” on page 844
“ service-policy input ” on page 846
“ show class-map ” on page 847
“ show mls qos interface ” on page 849
“ show mls qos maps cos-queue ” on page 851
“ show mls qos maps premark-dscp ” on page 852
“ show platform classifier statistics utilization brief ” on page 853
“ show policy-map ” on page 854
“ wrr-queue weight queues ” on page 856
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
820
Q O S C OMMANDS
CLASS
class
Overview Use this command to associate an existing class-map to a policy or policy-map
(traffic classification), and to enter Policy Map Class Configuration mode to configure the class- map.
Use the no variant of this command to delete an existing class-map.
If your class-map does not exist, you can create it by using the class-map
command.
Syntax class {< name >|default} no class < name >
Parameter
< name > default
Description
Name of the (already existing) class-map.
Specify the default class-map.
Mode Policy Map Configuration
Example The following example creates the policy-map pmap1 (using the policy-map command), then associates this to an already existing class-map named cmap1 , use the commands: awplus# configure terminal awplus(config)# policy-map pmap1 awplus(config-pmap)# class cmap1 awplus(config-pmap-c)#
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
821
Q O S C OMMANDS
CLASS MAP
class-map
Overview Use this command to create a class-map.
Use the no variant of this command to delete the named class-map.
Syntax class-map < name > no class-map < name >
Parameter
< name >
Description
Name of the class-map to be created.
Mode Global Configuration
Example This example creates a class-map called cmap1 , use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
822
Q O S C OMMANDS
DEFAULT ACTION
default-action
Overview Sets the action for the default class-map belonging to a particular policy-map. The action for a non-default class-map depends on the action of any ACL that is applied to the policy-map.
The default action can therefore be thought of as specifying the action that will be applied to any data that does not meet the criteria specified by the applied matching commands.
Use the no variant of this command to reset to the default action of ‘permit’.
Syntax default-action [permit|deny|send-to-cpu] no default-action
Parameter permit deny send-to-cpu
Description
Packets to permit.
Packets to deny.
Specify packets to send to the CPU.
Default The default is ‘ permit ’.
Mode Policy Map Configuration
Examples To set the action for the default class-map to deny , use the command: awplus(config-pmap)# default-action deny
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
823
Q O S C OMMANDS
DESCRIPTION (Q O S POLICY MAP )
description (QoS policy-map)
Overview Adds a textual description of the policy-map. This can be up to 80 characters long.
Use the no variant of this command to remove the current description from the policy-map.
Syntax description < line > no description
Parameter
< line >
Description
Up to 80 character long line description.
Mode Policy Map Configuration
Example To add the description, VOIP traffic, use the command: awplus(config-pmap)# description VOIP traffic
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
824
Q O S C OMMANDS
EGRESS RATE LIMIT
egress-rate-limit
Overview Use this command to limit the amount of traffic that can be transmitted per second from this port.
Use the no variant of this command to disable the limiting of traffic egressing on the interface.
Syntax egress-rate-limit < rate-limit > no egress-rate-limit
Parameter Description
< rate-limit > Bandwidth <1-10000000 units per second> (usable units: k, m, g).
The egress rate limit can be configured in multiples of 64kbps. If you configure a value that is not an exact multiple of 64kbps, then the value will be rounded up to the nearest higher exact multiple of 64kbps. The minimum is 64 Kb.
The default unit is Kb ( k ), but Mb ( m ) or Gb ( g ) can also be specified. The command syntax is not case sensitive, so a value such as 20m or 20M will be interpreted as 20 megabits.
Mode Interface Configuration
Examples To enable egress rate limiting on a port, with a limit of 64 Kbps, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# egress-rate-limit 64k
% Egress rate limit has been set to 64 Kb
To disable egress rate limiting on a port, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no egress-rate-limit
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
825
Q O S C OMMANDS
MATCH ACCESS GROUP
match access-group
Overview Use this command to apply an ACL to a class-map or VLAN.
Use the no variant of this command to remove the match.
Syntax match access-group {< hw-IP-ACL >|< hw-MAC-ACL >|< hw-named-ACL >} no match access-group
{< hw-IP-ACL >|< hw-MAC-ACL >|< hw-named-ACL >}
Parameter Description
< hw-IP-ACL >
< hw-MAC-ACL >
Specify a hardware IP ACL number in the range <3000-3699>.
Specify a hardware MAC ACL number in the range <4000-4699>.
< hw-named-ACL > Specify a hardware named ACL (IP, IPv6 or MAC address entries).
Mode Class Map or VLAN Access-Map
Usage First create an access-list that applies the appropriate action to matching packets.
Then use the match access-group command to apply this access-list as desired.
Note that this command will apply the access-list matching only to incoming data packets.
Examples To configure a class-map named “cmap1”, which matches traffic against access-list
3001, which allows IP traffic from any source to any destination, use the commands: awplus# configure terminal awplus(config)# access-list 3001 permit ip any any awplus(config)# class-map cmap1 awplus(config-cmap)# match access-group 3001
To configure a class-map named “cmap2”, which matches traffic against access-list
4001, which allows MAC traffic from any source to any destination, use the commands: awplus# configure terminal awplus(config)# access-list 4001 permit any any awplus(config)# class-map cmap2 awplus(config-cmap)# match access-group 4001
826 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
Q O S C OMMANDS
MATCH ACCESS GROUP
To configure a class-map named “cmap3”, which matches traffic against access-list
“hw_acl”, which allows IP traffic from any source to any destination, use the commands: awplus# configure terminal awplus(config)# access-list hardware hw_acl awplus(config-ip-hw-acl)# permit ip any any awplus(config)# class-map cmap3 awplus(config-cmap)# match access-group hw_acl
To apply ACL 3001 to VLAN 48, where the ACL drops IP traffic from any source to any destination, use the commands: awplus# configure terminal awplus(config)# access-list 3001 deny ip any any awplus(config)# vlan access-map deny_all awplus(config-vlan-access-map)# match access-group 3001 awplus(config-vlan-access-map)# exit awplus(config)# vlan filter deny_all vlan-list 48 input
Related
Commands
Command changes
Version 5.4.6-2.1: support for VLAN access-maps added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
827
Q O S C OMMANDS
MATCH COS
match cos
Overview Use this command to define a COS to match against incoming packets.
Use the no variant of this command to remove CoS.
Syntax match cos < 0-7 > no match cos
Parameter
< 0-7 >
Description
Specify the CoS value.
Mode Class Map Configuration
Examples To set the class-map’s CoS to 4 , use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# match cos 4
To remove CoS from a class-map, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# no match cos
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
828
Q O S C OMMANDS
MATCH DSCP
match dscp
Overview Use this command to define the DSCP to match against incoming packets.
Use the no variant of this command to remove a previously defined DSCP.
Syntax match dscp < 0-63 > no match dscp
Parameter
< 0-63 >
Description
Specify DSCP value (only one value can be specified).
Mode Class Map Configuration
Usage Use the match dscp command to define the match criterion after creating a class-map.
Examples To configure a class-map named cmap1 with criterion that matches DSCP 56, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# match dscp 56
To remove a previously defined DSCP from a class-map named cmap1, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# no match dscp
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
829
Q O S C OMMANDS
MATCH ETH FORMAT PROTOCOL
match eth-format protocol
Overview This command sets the Ethernet format and the protocol for a class-map to match on.
Select one Layer 2 format and one Layer 3 protocol when you issue this command.
Use the no variant of this command to remove the configured Ethernet format and protocol from a class-map.
Syntax match eth-format < layer-two-format > protocol
< layer-three-protocol > no match eth-format protocol
Parameter Description
< layer-two-formats > ethii-tagged
<word> any
EthII Tagged Packets (enter the parameter name).
ethii-untagged ethii-any
EthII Untagged Packets (enter the parameter name).
EthII Tagged or Untagged Packets (enter the parameter name).
< layer-three-protocols >
A Valid Protocol Number in hexidecimal.
Note that the parameter “any” is only valid when used with the netwarerawtagged and netwarerawuntagged protocol options.
sna-path-control Protocol Number 04 (enter the parameter name or its number).
proway-lan Protocol Number 0E (enter the parameter name or its number).
eia-rs Protocol Number 4E (enter the parameter name or its number).
proway Protocol Number 8E (enter the parameter name or its number).
ipx-802dot2 Protocol Number E0 (enter the parameter name or its number).
netbeui Protocol Number F0 (enter the parameter name or its number).
iso-clns-is Protocol Number FE (enter the parameter name or its number).
xdot75-internet Protocol Number 0801(enter the parameter name or its number).
nbs-internet Protocol Number 0802 (enter the parameter name or its number).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
830
Q O S C OMMANDS
MATCH ETH FORMAT PROTOCOL
Parameter ecma-internet
Description
Protocol Number 0803 (enter the parameter name or its number).
chaosnet Protocol Number 0804 (enter the parameter name or its number).
xdot25-level-3 Protocol Number 0805 (enter the parameter name or its number).
arp Protocol Number 0806 (enter the parameter name or its number).
xns-compat Protocol Number 0807 (enter the parameter name or its number).
banyan-systems Protocol Number 0BAD (enter the parameter name or its number).
bbn-simnet Protocol Number 5208 (enter the parameter name or its number).
dec-mop-dump-ld Protocol Number 6001 (enter the parameter name or its number).
dec-mop-rem- cdons dec-decnet
Protocol Number 6002 (enter the parameter name or its number).
Protocol Number 6003 (enter the parameter name or its number).
dec-lat Protocol Number 6004 (enter the parameter name or its number).
dec-diagnostic Protocol Number 6005 (enter the parameter name or its number).
dec-customer Protocol Number 6006 (enter the parameter name or its number).
dec-lavc Protocol Number 6007 (enter the parameter name or its number).
rarp Protocol Number 8035 (enter the parameter name or its number).
dec-lanbridge Protocol Number 8038 (enter the parameter name or its number).
dec-encryption Protocol Number 803D (enter the parameter name or its number).
appletalk Protocol Number 809B (enter the parameter name or its number).
ibm-sna Protocol Number 80D5 (enter the parameter name or its number).
appletalk-aarp Protocol Number 80F3 (enter the parameter name or its number).
snmp Protocol Number 814CV.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
831
Q O S C OMMANDS
MATCH ETH FORMAT PROTOCOL
Parameter ethertalk-2
Description
Protocol Number 809B (enter the parameter name or its number).
ethertalk-2-aarp Protocol Number 80F3 (enter the parameter name or its number).
ipx-snap Protocol Number 8137 (enter the parameter name or its number).
ipx-802dot3 Protocol Number FFFF (enter the parameter name or its number).
ip Protocol Number 0800 (enter the parameter name or its number).
ipx Protocol Number 8137 (enter the parameter name or its number).
Mode Class Map Configuration
Examples To set the eth-format to ethii-tagged and the protocol to 0800 (IP) for class-map cmap1, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# match eth-format ethii-tagged protocol
0800 awplus# awplus(config-cmap)# match eth-format ethii-tagged protocol ip
To remove the eth-format and the protocol from the class-map cmap1, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# no match eth-format protocol
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
832
Q O S C OMMANDS
MATCH MAC TYPE
match mac-type
Overview Use this command to set the MAC type for a class-map to match on.
Use no variant of this command to remove the MAC type match entry.
Syntax match mac-type {l2bcast|l2mcast|l2ucast} no match mac-type
Parameter l2bcast l2mcast l2ucast
Description
Layer 2 Broadcast traffic.
Layer 2 Multicast traffic.
Layer 2 Unicast traffic.
Mode Class Map Configuration
Examples To set the class-map’s MAC type to Layer 2 multicast, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# match mac-type l2mcast
To remove the class-map’s MAC type entry, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# no match mac-type
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
833
Q O S C OMMANDS
MATCH TCP FLAGS
match tcp-flags
Overview Sets one or more TCP flags (control bits) for a class-map to match on.
Use the no variant of this command to remove one or more TCP flags for a class-map to match on.
Syntax match tcp-flags {[ack][fin][psh][rst][syn]} no match tcp-flags {[ack][fin][psh][rst][syn]}
Parameter ack fin psh rst syn
Description
Acknowledge.
Finish.
Push
Reset.
Synchronize.
Mode Class Map Configuration
Examples To set the class-map’s TCP flags to ack and syn , use the commands: awplus# configure terminal awplus(config)# class-map awplus(config-cmap)# match tcp-flags ack syn
To remove the TCP flags ack and rst , use the commands: awplus# configure terminal awplus(config)# class-map awplus(config-cmap)# no match tcp-flags ack rst
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
834
Q O S C OMMANDS
MATCH VLAN
match vlan
Overview Use this command to define the VLAN ID as match criteria.
Use the no variant of this command to disable the VLAN ID used as match criteria.
Syntax match vlan < 1-4094 > no match vlan
Parameter
< 1-4094 >
Description
The VLAN number.
Mode Class Map Configuration
Examples To configure a class-map named cmap1 to include traffic from VLAN 3, use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# match vlan 3
To disable the configured VLAN ID as a match criteria for the class-map named cmap1 , use the commands: awplus# configure terminal awplus(config)# class-map cmap1 awplus(config-cmap)# no match vlan
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
835
Q O S C OMMANDS
MLS QOS COS
mls qos cos
Overview This command assigns a CoS (Class of Service) user-priority value to untagged frames entering a specified interface. By default, all untagged frames are assigned a CoS value of 0.
Use the no variant of this command to return the interface to the default CoS setting for untagged frames entering the interface.
Syntax mls qos cos < 0-7 > no mls qos cos
Parameter
< 0-7 >
Description
The Class of Service, user-priority value.
Default By default, all untagged frames are assigned a CoS value of 0 . Note that for tagged frames, the default behavior is not to alter the CoS value.
Mode Interface Configuration
Example To assign a CoS user priority value of 2 to all untagged packets entering ports 1.0.1 to 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.6
awplus(config-if)# mls qos cos 2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
836
Q O S C OMMANDS
MLS QOS ENABLE
mls qos enable
Overview Use this command to globally enable QoS on the switch.
Use the no variant of this command to globally disable QoS and remove all QoS configuration. The no variant of this command removes all class-maps, policy-maps, and policers that have been created. Running the no mls qos command will therefore remove all pre-existing QoS configurations on the switch.
Mode Global Configuration
Syntax mls qos enable no mls qos
Example To enable QoS on the switch, use the commands: awplus# configure terminal awplus(config)# mls qos enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
837
Q O S C OMMANDS
MLS QOS MAP COS QUEUE TO
mls qos map cos-queue to
Overview Use this command to set the default CoS to egress queue mapping. This is the default queue mapping for packets that do not get assigned an egress queue via any other QoS functionality.
Use the no variant of this command to reset the cos-queue map back to its default setting. The default mappings for this command are:
CoS Priority : 0 1 2 3 4 5 6 7
----------------------------------
CoS QUEUE: 1 0 0 1 2 2 3 3
Syntax mls qos map cos-queue < cos-priority > to < queue-number > no mls qos map cos-queue
Parameter Description
< cos-priority > CoS priority value. Can take a value between 0 and 7.
<queue-number > Queue number. Can take a value between 0 and 3.
Mode Global Configuration
Examples To map CoS 2 to queue 0 , use the command: awplus# configure terminal awplus(config)# mls qos map cos-queue 2 to 0
To set the cos-queue map back to its defaults, use the command: awplus# configure terminal awplus(config)# no mls qos map cos-queue
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
838
Q O S C OMMANDS
MLS QOS MAP PREMARK DSCP TO
mls qos map premark-dscp to
Overview This command configures the premark-dscp map. It is used when traffic is classified by a class-map that has
trust dscp configured. Based on a lookup DSCP,
the map determines new QoS settings for the traffic.
The no variant of this command resets the premark-dscp map to its defaults. If no
DSCP is specified then all DSCP entries will be reset to their defaults.
Syntax mls qos map premark-dscp < 0-63 > to [new-queue < 0-4 >] no mls qos map premark-dscp [< 0-63 >]
Parameter Description premark-dscp < 0-63 > The DSCP value on ingress.
new-queue < 0-3 > Modify Egress Queue.
Mode Global Configuration
Usage With the
mls qos map premark-dscp command enables you to specify the queue for packets.
is enabled on a port, the switch cannot use the CoS (802.1p priority) value to determine queue settings for traffic egressing that port.
Therefore, non-IP packets will not be prioritized on that port. Non-IP packets will all go into queue 0.
Example To send packets to queue 2 if they have a DSCP of 34, use the commands: awplus# configure terminal awplus(config)# mls qos map premark-dscp 34 to new-queue 2
Example To reset the entry for DSCP 1 use the command: awplus# configure terminal awplus(config)# no mls qos map premark-dscp 1
Related
Commands
show mls qos maps premark-dscp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
839
Q O S C OMMANDS
NO POLICE
no police
Overview Use this command to disable any policer previously configured on the class-map.
Syntax no police
Mode Policy Map Class Configuration
Usage This command disables any policer previously configured on the class-map.
Example To disable policing on a class-map use the command: awplus# configure terminal awplus(config)# policy-map name awplus(config-pmap)# class classname awplus(config-pmap-c)# no police
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
840
Q O S C OMMANDS
POLICE SINGLE RATE ACTION
police single-rate action
Overview Configures a single-rate policer for a class-map.
Syntax police single-rate < rate > < number > < number > action drop-red
Parameter
< rate >
< number > action
Description
Specify the maximum rate (1-16000000 kbps).
Specify any decimal number between 0 and 16777216. The switch ignores these values.
Specify the action if the rate is exceeded.
drop-red Drop the red packets.
Mode Policy Map Class Configuration
Usage You can use a policer to meter the traffic on a port and drop non-conforming (red) packets.
Example To configure a single rate meter measuring traffic of 10 Mbps that drops a sustained burst of traffic over this rate, use the commands: awplus# configure terminal awplus(config)# policy-map name awplus(config-pmap)# class classname awplus(config-pmap-c)# police single-rate 10000 1875000 1875000 action drop-red
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
841
Q O S C OMMANDS
POLICY MAP
policy-map
Overview Use this command to create a policy-map and to enter Policy Map Configuration mode to configure the specified policy-map.
Use the no variant of this command to delete an existing policy-map.
Syntax policy-map < name > no policy-map < name >
Parameter
< name >
Description
Name of the policy-map.
Mode Global Configuration
Example To create a policy-map called pmap1, use the commands: awplus# configure terminal awplus(config)# policy-map pmap1 awplus(config-pmap)#
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
842
Q O S C OMMANDS
PRIORITY QUEUE
priority-queue
Overview This command configures strict priority based scheduling.
Syntax priority-queue 0 1 2 3
Parameter
0 1 2 3
Description
Set the switch’s queues to use strict priority scheduling. With strict priority scheduling, the switch will empty the highest numbered queue first, then start processing the next lowest numbered queue.
Mode Interface Configuration.
Note that the switch applies the setting to all ports.
Usage Queue scheduling is a system-wide setting. All queues on all ports must use the same setting. By default, the queues on all ports are set for priority queuing.
If any queues are set to use weighted round robin, all queues use it.
This means that the switch only uses strict priority if all queues are set to use strict priority.
When you enter a command to set a WRR weight on a queue, the switch applies that to all ports. It displays the following message to indicate this: awplus(config-if)#wrr-queue weight 2 queues 0
% Queue weight changed for all ports
% All egress queues set to WRR scheduling
Note that the emptying sequence for priority queuing is always highest queue number to lowest queue number.
Example To apply priority based scheduling, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# priority-queue 0 1 2 3
Related
Commands
843 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
Q O S C OMMANDS
REMARK NEW COS
remark new-cos
Overview This command enables you to configure and remark the CoS flag in the data packet and the input into the CoS to queue map. This changes the destination egress queue.
Syntax remark new-cos < 0-7 > both no remark new-cos both
Parameter Description
< 0-7 > both
The new value for the CoS flag and the input into the CoS to queue map.
Remarks (with the same value) both the CoS flag in the packet and the input to the CoS to queue map.
Mode Policy Map Class Configuration
Usage The default CoS to Queue mappings are shown in the following table:
CoS Value 0
Egress Queue No 1
1
0
2
0
3
1
4
2
5
2
6
3
7
3
)
The relationship between this command and the CoS to queue map is shown in the following figure.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
844
Q O S C OMMANDS
REMARK NEW COS
%XISTING#O3VALUE
Figure 29-1: Remarking and the CoS to Q map
2EMARKNEWCOSEXTERNAL
2EMARKNEWCOSBOTH
2EMARKNEWCOSINTERNAL
#O3&LAGIN0ACKET
#OSTO1UEUE
-APPING
%GRESSQUEUE
VALUE
#O36ALUE
.EW#O3INTERNAL
%GRESS1UEUE
4HEABOVEMAPPINGISSETBYTHECOMMAND MLSQOSMAPCOSQUEUETO ANDDISPLAYEDBYTHECOMMAND
SHOWMLSQOSMAPSCOSQUEUE 7ITHTHE REMARKNEWCOS COMMANDUNSETORSETTO EXTERNAL THEQUEUEMAPPING
TAKESITSINPUTFROMTHE%XISTING#O3VALUE7ITHTHE REMARKNEWCOS COMMANDSETTO INTERNALORBOTH THE
QUEUEMAPPINGTAKESITSINPUTFROMTHEVALUESETBYTHECOMMAND REMARKNEWCOS .OTETHATALTHOUGHTHE
#O3TO1UEUEMAPAPPLIESTOTHEWHOLESWITCHTHE REMARKNEWCOS COMMANDAPPLIESPERINDIVIDUALCLASSMAP
1O3??1?-AP?"#?1
Table 29-1: CoS to egress queue remarking function
Input
CoS field = 1
CoS field = 1
CoS set to 1
Command
Remark new-cos (not configured)
Remark new-cos 2 external
Remark new-cos 2 internal
Output
CoS value = 1
Packet sent to egress queue 0
CoS value = 2
Packet sent to egress queue 0
CoS value = 1
Packet sent to egress queue 1
CoS set to 1 Remark new-cos 2 both CoS value = 2
Packet sent to egress queue 1
Note: This table assumes that the CoS to Queue map is set to its default values.
Example For policy-map “pmap3” and class-map “cmap1”, set the CoS value to 2 and also set the input to the CoS to queue map so that the traffic is assigned to egress queue 0: awplus# configure terminal awplus(config)# policy-map pmap3 awplus(config-pmap)# class cmap1 awplus(config-pmap-c)# remark new-cos 2 both
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
845
Q O S C OMMANDS
SERVICE POLICY INPUT
service-policy input
Overview Use this command to apply a policy-map to the input of an interface.
Use the no variant of this command to remove a policy-map and interface association.
Syntax service-policy input < policy-map > no service-policy input < policy-map >
Parameter
< policy-map >
Description
Policy map name that will be applied to the input.
Mode Interface Configuration
Usage This command can be applied to switch ports or static channel groups, but not to dynamic (LACP) channel groups.
Example To apply a policy-map named pmap1 to interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# service-policy input pmap1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
846
Q O S C OMMANDS
SHOW CLASS MAP
show class-map
Overview Use this command to display the QoS class-maps’ criteria for classifying traffic.
Syntax show class-map [< class-map-name >]
Parameter
<class-map-name>
Description
Name of the class-map.
Mode User Exec and Privileged Exec
Example To display a QoS class-map’s match criteria for classifying traffic, use the command: awplus# show class-map cmap1
Output Figure 29-2: Example output from the show class-map command
awplus#show class-map
CLASS-MAP-NAME: myClass
Match Mac Type: 2 l2mcast
CLASS-MAP-NAME: default
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
847
Q O S C OMMANDS
SHOW MLS QOS
show mls qos
Overview Use this command to display whether QoS is enabled or disabled on the switch.
Syntax show mls qos
Mode User Exec and Privileged Exec
Example To display whether QoS is enabled or disabled, use the command: awplus# show mls qos
Output Figure 29-3: Example output from the show mls qos command awplus#show mls qos
Enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
848
Q O S C OMMANDS
SHOW MLS QOS INTERFACE
show mls qos interface
Overview Displays the current settings for the interface. This includes its default CoS and queue, scheduling used for each queue, and any policies/maps that are attached.
Syntax show mls qos interface [< port >]
Parameter
< port >
Description
Switch port.
Mode User Exec and Privileged Exec
Example To display current CoS and queue settings for interface port1.0.1, use the command: awplus# show mls qos interface port1.0.1
Output Figure 29-4: Example output from the show mls qos interface command
awplus#show mls qos interface port1.0.1
Interface: port1.0.1
INPUT-POLICY-MAP-NAME: myPolicy
CLASS-MAP-NAME: default
Policer counters enabled
CLASS-MAP-NAME: myClass
Match Mac Type: 2 l2mcast
Policer counters enabled
Remark CoS and CoS-Queue Map Index to 6
Number of egress queues: 4
Egress Queue: 0
Status: Enabled
Scheduler: Strict Priority
Egress Queue: 1
Status: Enabled
Scheduler: Strict Priority
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
849
Q O S C OMMANDS
SHOW MLS QOS INTERFACE
Egress Queue: 2
Status: Enabled
Scheduler: Strict Priority
Egress Queue: 3
Status: Enabled
Scheduler: Strict Priority
Trust Mode: Ports default priority
VLAN Priority Overide: Not Configured
Egress Traffic Shaping: Not Configured
The number of COS Values mapped: 8
Cos (Queue): 0(1), 1(0), 2(0), 3(1), 4(2), 5(2), 6(3), 7(3)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
850
Q O S C OMMANDS
SHOW MLS QOS MAPS COS QUEUE
show mls qos maps cos-queue
Overview Show the current configuration of the cos-queue map.
Syntax show mls qos maps cos-queue
Mode User Exec and Privileged Exec
Example To display the current configuration of the cos-queue map, use the command: awplus# show mls qos maps cos-queue
Output Figure 29-5: Example output from show mls qos maps cos-queue
COS-TO-QUEUE-MAP:
COS : 0 1 2 3 4 5 6 7
----------------------------------
QUEUE: 1 0 0 1 2 2 3 3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
851
Q O S C OMMANDS
SHOW MLS QOS MAPS PREMARK DSCP
show mls qos maps premark-dscp
Overview This command displays the premark-dscp map. This map is used to determine the queue on the basis of the DSCP.
Syntax show mls qos maps premark-dscp [< 0-63 >]
Parameter
< 0-63 >
Description
DSCP table entry.
Mode User Exec and Privileged Exec
Example To display the premark-dscp map for DSCP 1, use the command: awplus# show mls qos maps premark-dscp 1
Output Figure 29-6: Example output from the show mls qos maps premark-dscp command awplus#show mls qos maps premark-dscp 63
PREMARK-DSCP-MAP:
DSCP 1
-------------------------------
New queue 2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
852
Q O S C OMMANDS
SHOW PLATFORM CLASSIFIER STATISTICS UTILIZATION BRIEF
show platform classifier statistics utilization brief
Overview This command displays the number of used entries available for various platform functions, and the percentage that number of entries represents of the total available.
Syntax show platform classifier statistics utilization brief
Mode Privileged Exec
Example To display the platform classifier utilization statistics, use the following command: awplus# show platform classifier statistics utilization brief
Output Figure 29-7: Output from the show platform classifier statistics utilization brief command
awplus#show platform classifier statistics utilization brief
[Instance 0]
Number of Entries:
Policy Type Group ID Used / Total
---------------------------------------------
ACL 1476395009 0 / 118 ( 0%)
Web Auth Inactive 0 / 0 ( 0%)
QoS 0 / 128 ( 0%)
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
853
Q O S C OMMANDS
SHOW POLICY MAP
show policy-map
Overview Displays the policy-maps configured on the switch. The output also shows whether or not they are connected to a port (attached / detached) and shows their associated class-maps.
Syntax show policy-map [< name >]
Parameter
< name >
Description
The name of a specific policy-map.
Mode User Exec and Privileged Exec
Example To display a listing of the policy-maps configured on the switch, use the command: awplus# show policy-map
Output Figure 29-8: Example output from the show policy-map command
awplus#show policy-map
POLICY-MAP-NAME: myPolicy
State: attached
Default class-map action: permit
CLASS-MAP-NAME: default
Policer counters enabled
CLASS-MAP-NAME: myClass
Match Mac Type: 2 l2mcast
Policer counters enabled
Remark CoS and CoS-Queue Map Index to 6
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
854
Q O S C OMMANDS
TRUST DSCP
trust dscp
Overview This command enables the premark-dscp map to send traffic to a particular egress queue, based on a lookup DSCP value.
Syntax trust dscp no trust
Mode Policy-Map Configuration. Because policy-maps are applied to ports, you can think of trust dscp as a per-port setting.
Examples To enable the premark-dscp map lookup for policy-map pmap1, use the commands: awplus# configure terminal awplus(config)# policy-map pmap1 awplus(config-pmap)# trust dscp
To disable the premark-dscp map lookup for policy-map pmap1, use the commands: awplus# configure terminal awplus(config)# policy-map pmap1 awplus(config-pmap)# no trust
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
855
Q O S C OMMANDS
WRR QUEUE WEIGHT QUEUES
wrr-queue weight queues
Overview This command configures weighted round-robin based scheduling on the specified egress queues on switch port interfaces only. The weights are specified as ratios relative to each other.
Syntax wrr-queue weight < 1-15 > queues [0][1][2][3][4][5][6][7]
Parameter
< 1-15 >
[0][1][2][3]
Description
Weight (the higher the number the greater will be the queue servicing).
Selects one or more queues numbered 0 to 3.
Mode Interface Configuration for switch port interfaces only (not for static aggregated interfaces).
Usage If any queues are set to use weighted round robin, all queues use it.
When you enter a command to set a WRR weight on a queue, the switch applies that to all ports. It displays the following message to indicate this: awplus(config-if)#wrr-queue weight 2 queues 0
% Queue weight changed for all ports
% All egress queues set to WRR scheduling
You cannot apply weighted round-robin based scheduling to static aggregated interfaces (for example, awplus(config)#interface sa2 ). Attempting to apply weighted round-robin based scheduling on aggregated interfaces will display the console error shown below: awplus# configure terminal awplus(config)# interface sa2 awplus(config-if)# wrr-queue weight
% Invalid input detected at ^ marker
Example In this example, the queues are configured as follows:
•
• queue 3 is configured WRR with a weighting value of 15 queue 2 is configured WRR with a weighting value of 8
856 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
Q O S C OMMANDS
WRR QUEUE WEIGHT QUEUES
• queues 0 and 1 are configured as WRR with weighting values of 4 awplus# configure terminal awplus(config)# interface port1.0.1-1.0.6
awplus(config-if)# wrr-queue weight 15 queues 3 awplus(config-if)# wrr-queue weight 8 queues 2 awplus(config-if)# wrr-queue weight 4 queues 0 1
In this example, the queues are processed in turn. Four times as much traffic goes out queue 3 as goes out queues 0 or 1.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
857
30
802.1X Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure
802.1X port access control. For more information, see the AAA and Port
Authentication Feature Overview and Configuration Guide
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ dot1x accounting ” on page 860
“ dot1x authentication ” on page 861
“ dot1x control-direction ” on page 863
“ dot1x eapol-version ” on page 866
“ dot1x initialize interface ” on page 868
“ dot1x initialize supplicant ” on page 869
“ dot1x keytransmit ” on page 870
“ dot1x max-auth-fail ” on page 871
“ dot1x max-reauth-req ” on page 873
“ dot1x port-control ” on page 875
“ dot1x timeout tx-period ” on page 877
“ show debugging dot1x ” on page 879
“ show dot1x diagnostics ” on page 883
show dot1x interface ” on page 885
show dot1x sessionstatistics ” on page 890
show dot1x statistics interface ” on page 891
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
858
802.1X C OMMANDS
•
•
•
“ show dot1x supplicant ” on page 892
“ show dot1x supplicant interface ” on page 894
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
859
802.1X C OMMANDS
DOT 1 X ACCOUNTING
dot1x accounting
Overview This command overrides the default RADIUS accounting method for IEEE
802.1X-based authentication on an interface by allowing you to apply a user-defined named method list.
Use the no variant of this command to remove the named list from the interface and apply the default method list.
Syntax dot1x accounting {default|< list-name >} no dot1x accounting
Parameter default
< list-name >
Description
Apply the default accounting method list
Apply the user-defined named list
Default The default method list is applied to an interface by default.
Mode Interface Mode
Example To apply the named list 'vlan10_acct' on the vlan10 interface, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# dot1x accounting vlan10_acct
To remove the named list from the vlan10 interface and set the authentication method back to default , use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no dot1x accounting
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
860
802.1X C OMMANDS
DOT 1 X AUTHENTICATION
dot1x authentication
Overview This command overrides the default 802.1X-based authentication method on an interface by allowing you to apply a user-defined named list.
Use the no variant of this command to remove the named list from the interface and apply the default method.
Syntax dot1x authentication {default|< list-name >} no dot1x authentication
Parameter default
< list-name >
Description
Apply the default authentication method list
Apply the user-defined named list
Default The default method list is applied to an interface by default.
Mode Interface Mode
Example To apply the named list 'vlan10_auth' on the vlan10 interface, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# dot1x authentication vlan10_auth
To remove the named list from the vlan10 interface and set the authentication method back to default , use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no dot1x authentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
861
802.1X C OMMANDS
DEBUG DOT 1 X
debug dot1x
Overview Use this command to enable 802.1X IEEE Port-Based Network Access Control troubleshooting functions.
Use the no variant of this command to disable this function.
Syntax debug dot1x [all|auth-web|event|nsm|packet|timer] no debug all dot1x no debug dot1x [all|auth-web|event|nsm|packet|timer]
Parameter all auth-web events nsm packet timer
Description
Used with the no variant of this command exclusively; turns off all debugging for 802.1X.
Specifies debugging for 802.1X auth-web information.
Specifies debugging for 802.1X events.
Specifies debugging for NSM messages.
Specifies debugging for 802.1X packets.
Specifies debugging for 802.1X timers.
Mode Privileged Exec and Global Configuration
Usage This command turns on a mode where trace-level information is output during? authentication conversations. Be aware that this is a very verbose output.? It is mostly useful to capture this as part of escalating an issue to ATI support.
Examples Use this command without any parameters to turn on normal 802.1X debug information.
awplus# debug dot1x awplus# show debugging dot1x
802.1X debugging status:
802.1X events debugging is
802.1X timer debugging is on
802.1X packets debugging is on
802.1X NSM debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
862
802.1X C OMMANDS
DOT 1 X CONTROL DIRECTION
dot1x control-direction
Overview This command sets the direction of the filter for the unauthorized interface.
If the optional in parameter is specified with this command then packets entering the specified port are discarded. The in parameter discards the ingress packets received from the supplicant.
If the optional both parameter is specified with this command then packets entering (ingress) and leaving (egress) the specified port are discarded. The both parameter discards the packets received from the supplicant and sent to the supplicant.
The no variant of this command sets the direction of the filter to both . The port will then discard both ingress and egress traffic.
Syntax dot1x control-direction {in|both} no dot1x control-direction
Parameter in both
Description
Discard received packets from the supplicant (ingress packets).
Discard received packets from the supplicant (ingress packets) and transmitted packets to the supplicant (egress packets).
Default The authentication port direction is set to both by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the port direction to the default ( both ) for port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x control-direction
To set the port direction to in for port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x control-direction in
To set the port direction to in for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x control-direction in
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
863
802.1X C OMMANDS
DOT 1 X CONTROL DIRECTION
To set the port direction to the default ( both ) for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no dot1x control-direction
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
864
802.1X C OMMANDS
DOT 1 X EAP
dot1x eap
Overview This command selects the transmit mode for the EAP packet. If the authentication feature is not enabled then EAP transmit mode is not enabled. The default setting discards EAP packets.
Syntax dot1x eap {discard|forward|forward-untagged-vlan|forward-vlan}
Parameter Description discard forward
Discard.
Forward to all ports on the switch.
forward-untagged-vlan Forward to ports with the same untagged VLAN.
forward-vlan Forward to ports with the same VLAN.
Default The transmit mode is set to discard EAP packets by default.
Mode Global Configuration
Examples To set the transmit mode of EAP packet to forward to forward EAP packets to all ports on the switch, use the commands: awplus# configure terminal awplus(config)# dot1x eap forward
To set the transmit mode of EAP packet to discard to discard EAP packets, use the commands: awplus# configure terminal awplus(config)# dot1x eap discard
To set the transmit mode of EAP packet to forward-untagged-vlan to forward EAP packets to ports with the same untagged vlan, use the commands: awplus# configure terminal awplus(config)# dot1x eap forward-untagged-vlan
To set the transmit mode of EAP packet to forward-vlan to forward EAP packets to ports with the same vlan, use the commands: awplus# configure terminal awplus(config)# dot1x eap forward-vlan
865 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
802.1X C OMMANDS
DOT 1 X EAPOL VERSION
dot1x eapol-version
Overview This command sets the EAPOL protocol version for EAP packets when 802.1X port authentication is applied.
Use the no variant of this command to set the EAPOL protocol version to 1.
The default EAPOL protocol version is version 1.
Syntax dot1x eapol-version {1|2} no dot1x eapol-version
Parameter
1
2
Description
EAPOL version.
EAPOL version.
Default The EAP version for 802.1X authentication is set to 1 by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the EAPOL protocol version to 2 for port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x eapol-version 2
To set the EAPOL protocol version to the default version (1) for interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x eapol-version
To set the EAPOL protocol version to 2 for authentication profile 'student', use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x eapol-version 2
To set the EAPOL protocol version to the default version (1) for authentication profile 'student', use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no dot1x eapol-version
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
866
802.1X C OMMANDS
DOT 1 X EAPOL VERSION
Validation
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
867
802.1X C OMMANDS
DOT 1 X INITIALIZE INTERFACE
dot1x initialize interface
Overview This command removes authorization for a connected interface with the specified <interface-list>.
The connection will attempt to re-authorize when the specified port attempts to make use of the network connection.
NOTE : Reauthentication could be a long time after the use of this command because the reauthorization attempt is not triggered by this command. The attempt is triggered by the first packet from the interface trying to access the network resources.
Syntax dot1x initialize interface <interface-list>
Parameter Description
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.6
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.2-1.0.4
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Examples To initialize 802.1X port authentication on the interface port1.0.2
, use the command: awplus# dot1x initialize interface port1.0.2
To unauthorize switch port1.0.1
and attempt reauthentication on switch port1.0.1
, use the command: awplus# dot1x initialize interface port1.0.1
Validation
Commands
Related
Commands
868 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
802.1X C OMMANDS
DOT 1 X INITIALIZE SUPPLICANT
dot1x initialize supplicant
Overview This command removes authorization for a connected supplicant with the specified MAC address or username . The connection will attempt to re-authorize when the specified supplicant attempts to make use of the network connection.
NOTE : Reauthentication could be a long time after the use of this command because the reauthorization attempt is not triggered by this command. The attempt is triggered by the first packet from the supplicant trying to access the network resources.
Syntax dot1x initialize supplicant {< macadd >|username}
Parameter dot1x initialize supplicant
< macadd > username
Description
IEEE 802.1X Port-Based Access Control.
Initialize the port to attempt reauthentication.
Specify the supplicant to initialize.
MAC (hardware address of the supplicant.
The name of the supplicant entry.
Mode Privileged Exec
Example To initialize the supplicant authentication, use the commands awplus# configure terminal awplus(config)# dot1x initialize supplicant 0090.99ab.a020
awplus(config)# dot1x initialize supplicant guest
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
869
802.1X C OMMANDS
DOT 1 X KEYTRANSMIT
dot1x keytransmit
Overview This command enables key transmission on the interface specified previously in
Interface mode.
The no variant of this command disables key transmission on the interface specified.
Syntax dot1x keytransmit no dot1x keytransmit
Default Key transmission for port authentication is enabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port.
Usage Use this command to enable key transmission over an Extensible Authentication
Protocol (EAP) packet between the authenticator and supplicant. Use the no variant of this command to disable key transmission.
Examples To enable the key transmit feature on interface port1.0.2
, after it has been disabled by negation, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x keytransmit
To disable the key transmit feature from the default startup configuration on interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x keytransmit
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
870
802.1X C OMMANDS
DOT 1 X MAX AUTH FAIL
dot1x max-auth-fail
Overview Use this command to configure the maximum number of login attempts for a supplicant (client device) using the auth-fail vlan feature, when using 802.1X port authentication on an interface.
The no variant of this command resets the maximum login attempts for a supplicant (client device) using the auth-fail vlan feature, to the default configuration of 3 login attempts.
Syntax dot1x max-auth-fail < 0-10 > no dot1x max-auth-fail
Parameter
< 0-10 >
Description
Specify the maximum number of login attempts for supplicants on an interface using 802.1X port authentication.
Default The default maximum number of login attempts for a supplicant on an interface using 802.1X port authentication is three (3) login attempts.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage This command sets the maximum number of login attempts for supplicants on an interface. The supplicant is moved to the auth-fail VLAN from the Guest VLAN after the number of failed login attempts using 802.1X authentication is equal to the number set with this command.
See the AAA and Port Authentication Feature Overview and Configuration Guide for information about:
•
• the auth-fail VLAN feature, and restrictions regarding combinations of authentication enhancements working together
Examples To configure the maximum number of login attempts for a supplicant on interface port1.0.2
to a single ( 1 ) login attempt, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x max-auth-fail 1
To configure the maximum number of login attempts for a supplicant on interface port1.0.2
to the default number of three ( 3 ) login attempts, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x max-auth-fail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
871
802.1X C OMMANDS
DOT 1 X MAX AUTH FAIL
To configure the maximum number of login attempts for a supplicant on authentication profile 'student' to a single (1) login attempt, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x max-auth-fail 1
To configure the maximum number of login attempts for a supplicant on authentication profile 'student' to the default number of three (3) login attempts, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no dot1x max-auth-fail
Validation
Commands
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
872
802.1X C OMMANDS
DOT 1 X MAX REAUTH REQ
dot1x max-reauth-req
Overview This command sets the number of reauthentication attempts before an interface is unauthorized.
The no variant of this command resets the reauthentication delay to the default.
Syntax dot1x max-reauth-req < 1-10 > no dot1x max-reauth-req
Parameter
< 1-10 >
Description
Specify the maximum number of reauthentication attempts for supplicants on an interface using 802.1X port authentication.
Default The default maximum reauthentication attempts for interfaces using 802.1X port authentication is two (2) reauthentication attempts, before an interface is unauthorized.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Use this command to set the maximum reauthentication attempts after failure.
Examples To configure the maximum number of reauthentication attempts for interface port1.0.2
to a single (1) reauthentication request, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x max-reauth-req 1
To configure the maximum number of reauthentication attempts for interface port1.0.2
to the default maximum number of two (2) reauthentication attempts, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x max-reauth-req
To configure the maximum number of reauthentication attempts for authentication profile 'student' to a single (1) reauthentication request, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x max-reauth-req 1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
873
802.1X C OMMANDS
DOT 1 X MAX REAUTH REQ
To configure the maximum number of reauthentication attempts for authentication profile 'student' to the default maximum number of two (2) reauthentication attempts, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no dot1x max-reauth-req
Validation
Commands
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
874
802.1X C OMMANDS
DOT 1 X PORT CONTROL
dot1x port-control
Overview This command enables 802.1X port authentication on the interface specified, and sets the control of the authentication port.
The no variant of this command disables the port authentication on the interface specified.
Syntax dot1x port-control {force-unauthorized|force-authorized|auto} no dot1x port-control
Parameter auto
Description force-unauthorized Force the port state to unauthorized.
Specify this to force a port to always be in an unauthorized state.
force-authorized Force the port state to authorized.
Specify this to force a port to always be in an authorized state.
Allow the port client to negotiate authentication.
Specify this to enable authentication on the port.
Default 802.1X port control is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Use this command to force a port state.
When port-control is set to auto , the 802.1X authentication feature is executed on the interface, but only if the aaa authentication dot1x command has been issued.
Examples To enable port authentication on the interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x port-control auto
To enable port authentication force authorized on the interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x port-control force-authorized
875 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
802.1X C OMMANDS
DOT 1 X PORT CONTROL
To disable port authentication on the interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x port-control
To enable port authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x port-control auto
To enable port authentication force authorized on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x port-control force-authorized
To disable port authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no dot1x port-control
Validation
Commands
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
876
802.1X C OMMANDS
DOT 1 X TIMEOUT TX PERIOD
dot1x timeout tx-period
Overview This command sets the transmit timeout for the authentication request on the specified interface.
The no variant of this command resets the transmit timeout period to the default
(30 seconds).
Syntax dot1x timeout tx-period < 1-65535 > no dot1x timeout tx-period
Parameter
< 1-65535 >
Description
Seconds.
Default The default transmit period for port authentication is 30 seconds.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Use this command to set the interval between successive attempts to request an
ID.
Examples To set the transmit timeout period to 5 seconds on interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x timeout tx-period 5
To reset transmit timeout period to the default (30 seconds) on interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no dot1x timeout tx-period
To set the transmit timeout period to 5 seconds on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# dot1x timeout tx-period 5
To reset transmit timeout period to the default (30 seconds) on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no dot1x timeout tx-period
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
877
802.1X C OMMANDS
DOT 1 X TIMEOUT TX PERIOD
Validation
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
878
802.1X C OMMANDS
SHOW DEBUGGING DOT 1 X
show debugging dot1x
Overview Use this command to display the 802.1X debugging option set.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show debugging dot1x
Mode User Exec and Privileged Exec
Usage This is a sample output from the show debugging dot1x command.
awplus# debug dot1x awplus# show debugging dot1x
802.1X debugging status:
802.1X events debugging is on
802.1X timer debugging is on
802.1X packets debugging is on
802.1X NSM debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
879
802.1X C OMMANDS
SHOW DOT 1 X
show dot1x
Overview This command shows authentication information for dot1x (802.1X) port authentication.
If you specify the optional all parameter then this command also displays all authentication information for each port available on the switch.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x [all]
Parameter all
Description
Displays all authentication information for each port available on the switch.
Mode Privileged Exec
Example awplus# show dot1x all
Table 1: Example output from the show dot1x command awplus# show dot1x all
802.1X Port-Based Authentication Enabled
RADIUS server address: 150.87.18.89:1812
Next radius message id: 5
RADIUS client address: not configured
Authentication info for interface port1.0.6
portEnabled: true - portControl: Auto portStatus: Authorized reAuthenticate: disabled reAuthPeriod: 3600
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
PAE: connectTimeout: 30
BE: suppTimeout: 30 - serverTimeout: 30
CD: adminControlledDirections: in
KT: keyTxEnabled: false critical: disabled guestVlan: disabled dynamicVlanCreation: single-dynamic-vlan assignFailActionRule: deny hostMode: multi-supplicant maxSupplicant:
256
880 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
802.1X C OMMANDS
SHOW DOT 1 X
Table 1: Example output from the show dot1x command (cont.) dot1x: enabled protocolVersion: 1 authMac: enabled method: PAP reauthRelearning: disabled authWeb: enabled method: PAP lockCount: 3 packetForwarding: disabled twoStepAuthentication:
configured: enabled
actual: enabled
SupplicantMac: none supplicantMac: none
Supplicant name: manager
Supplicant address: 00d0.59ab.7037
authenticationMethod: 802.1X Authentication
portStatus: Authorized - currentId: 1
abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
BE: state: Idle - reqCount: 0 - idFromServer: 0
CD: adminControlledDirections: in - operControlledDirections: in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
criticalState: off
dynamicVlanId: 2
802.1X statistics for interface port1.0.6
EAPOL Frames Rx: 5 - EAPOL Frames Tx: 16
EAPOL Start Frames Rx: 0 - EAPOL Logoff Frames Rx: 0
EAP Rsp/Id Frames Rx: 3 - EAP Response Frames Rx: 2
EAP Req/Id Frames Tx: 8 - EAP Request Frames Tx: 2
Invalid EAPOL Frames Rx: 0 - EAP Length Error Frames Rx: 0
EAPOL Last Frame Version Rx: 1 - EAPOL Last Frame Src: 00d0.59ab.7037
Authentication session statistics for interface port1.0.6
session user name: manager
session authentication method: Remote server
session time: 19440 secs
session terminate cause: Not terminated yet
Authentication Diagnostics for interface port1.0.6
Supplicant address: 00d0.59ab.7037
authEnterConnecting: 2
authEaplogoffWhileConnecting: 1
authEnterAuthenticating: 2
authSuccessWhileAuthenticating: 1
authTimeoutWhileAuthenticating: 1
authFailWhileAuthenticating: 0
authEapstartWhileAuthenticating: 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
881
802.1X C OMMANDS
SHOW DOT 1 X
Table 1: Example output from the show dot1x command (cont.)
authEaplogoggWhileAuthenticating: 0
authReauthsWhileAuthenticated: 0
authEapstartWhileAuthenticated: 0
authEaplogoffWhileAuthenticated: 0
BackendResponses: 2
BackendAccessChallenges: 1
BackendOtherrequestToSupplicant: 3
BackendAuthSuccess: 1
BackendAuthFails: 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
882
802.1X C OMMANDS
SHOW DOT 1 X DIAGNOSTICS
show dot1x diagnostics
Overview This command shows 802.1X authentication diagnostics for the specified interface
(optional), which may be a static channel (or static aggregator) or a dynamic (or
LACP) channel group or a switch port.
If no interface is specified then authentication diagnostics are shown for all interfaces.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x diagnostics [interface < interface-list >]
Parameter Description interface Specify a port to show.
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.2-1.0.4
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Example See the sample output below showing 802.1X authentication diagnostics for port1.0.5
: awplus# show dot1x diagnostics interface port1.0.5
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
883
802.1X C OMMANDS
SHOW DOT 1 X DIAGNOSTICS
Output Figure 30-1: Example output from the show dot1x diagnostics command
Authentication Diagnostics for interface port1.0.5
Supplicant address: 00d0.59ab.7037
authEnterConnecting: 2
authEaplogoffWhileConnecting: 1
authEnterAuthenticating: 2
authSuccessWhileAuthenticating: 1
authTimeoutWhileAuthenticating: 1
authFailWhileAuthenticating: 0
authEapstartWhileAuthenticating: 0
authEaplogoggWhileAuthenticating: 0
authReauthsWhileAuthenticated: 0
authEapstartWhileAuthenticated: 0
authEaplogoffWhileAuthenticated: 0
BackendResponses: 2
BackendAccessChallenges: 1
BackendOtherrequestToSupplicant: 3
BackendAuthSuccess: 1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
884
802.1X C OMMANDS
SHOW DOT 1 X INTERFACE
show dot1x interface
Overview This command shows the status of 802.1X port-based authentication on the specified interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port.
Use the optional diagnostics parameter to show authentication diagnostics for the specified interfaces. Use the optional sessionstatistics parameter to show authentication session statistics for the specified interfaces. Use the optional statistics parameter to show authentication diagnostics for the specified interfaces. Use the optional supplicant parameter to show the supplicant state for the specified interfaces.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x interface < interface-list >
[diagnostics|sessionstatistics|statistics|supplicant [brief]]
Parameter Description
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.3-1.0.5
. Do not mix interface types in a list
The specified interfaces must exist.
diagnostics brief
Diagnostics.
sessionstatistics Session Statistics.
statistics Statistics.
supplicant Supplicant.
Brief summary of supplicant state.
Mode Privileged Exec
Examples See the sample output below showing 802.1X authentication status for port1.0.6
: awplus# show dot1x interface port1.0.6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
885
802.1X C OMMANDS
SHOW DOT 1 X INTERFACE
Table 2: Example output from the show dot1x interface command for a port awplus#show dot1x interface port1.0.6Authentication info for interface port1.0.6
portEnabled: true - portControl: Auto
portStatus: Authorized
reAuthenticate: disabled
reAuthPeriod: 3600
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
PAE: connectTimeout: 30
BE: suppTimeout: 30 - serverTimeout: 30
CD: adminControlledDirections: in
KT: keyTxEnabled: false
critical: disabled
guestVlan: disabled
dynamicVlanCreation: single-dynamic-vlan
assignFailActionRule: deny
hostMode: multi-supplicant
maxSupplicant: 256 dot1x: enabled protocolVersion: 1 authMac: enabled method: PAP reauthRelearning: disabled authWeb: enabled method: PAP lockCount: 3 packetForwarding: disabled
twoStepAuthentication:
configured: enabled
actual: enabled supplicantMac: none
See the sample output below showing 802.1X authentication sessionstatistics for port1.0.6
: awplus# show dot1x interface port1.0.6 sessionstatistics awplus#show dot1x interface port1.0.6 sessionstatistics
Authentication session statistics for interface port1.0.6
session user name: manager
session authentication method: Remote server
session time: 19440 secs
session terminat cause: Not terminated yet
See sample output below showing 802.1X authentication diagnostics for port1.0.6
: awplus# show dot1x interface port1.0.6 diagnostics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
886
802.1X C OMMANDS
SHOW DOT 1 X INTERFACE awplus#show dot1x interface port1.0.6 diagnostics
Authentication Diagnostics for interface port1.0.6
Supplicant address: 00d0.59ab.7037
authEnterConnecting: 2
authEaplogoffWhileConnecting: 1
authEnterAuthenticating: 2
authSuccessWhileAuthenticating: 1
authTimeoutWhileAuthenticating: 1
authFailWhileAuthenticating: 0
authEapstartWhileAuthenticating: 0
authEaplogoggWhileAuthenticating: 0
authReauthsWhileAuthenticated: 0
authEapstartWhileAuthenticated: 0
authEaplogoffWhileAuthenticated: 0
BackendResponses: 2
BackendAccessChallenges: 1
BackendOtherrequestToSupplicant: 3
BackendAuthSuccess: 1
See sample output below showing the supplicant on the interface port1.0.6
: awplus# show dot1x interface port1.0.6 supplicant awplus#show dot1x interface port1.0.6 supplicant authenticationMethod: dot1x
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 1
webBasedAuthenticationSupplicantNum: 0
Supplicant name: manager
Supplicant address: 00d0.59ab.7037
authenticationMethod: dot1x
portStatus: Authorized - currentId: 4
abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
BE: state: Idle - reqCount: 0 - idFromServer: 3
BE: suppTimeout: 30 - serverTimeout: 30
CD: adminControlledDirections: in - operControlledDirections: in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
See sample output below showing 802.1X ( dot1x ) authentication statistics for port1.0.6
: awplus# show dot1x statistics interface port1.0.6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
887
802.1X C OMMANDS
SHOW DOT 1 X INTERFACE
C613-50135-01 Rev A awplus#show dot1x statistics interface port1.0.6802.1X statistics for interface port1.0.6
EAPOL Frames Rx: 5 - EAPOL Frames Tx: 16
EAPOL Start Frames Rx: 0 - EAPOL Logoff Frames Rx: 0
EAP Rsp/Id Frames Rx: 3 - EAP Response Frames Rx: 2
EAP Req/Id Frames Tx: 8 - EAP Request Frames Tx: 2
Invalid EAPOL Frames Rx: 0 - EAP Length Error Frames Rx: 0
EAPOL Last Frame Version Rx: 1 - EAPOL Last Frame
Src:00d0.59ab.7037
Table 30-1: Parameters in the output of show dot1x interface
Parameter portEnabled portControl portStatus reAuthenticate reAuthPeriod abort fail start timeout success state mode reAuthCount quietperiod reAuthMax
BE state reqCount
Description
Interface operational status (Up-true/down-false).
Current control status of the port for 802.1X control.
802.1X status of the port (authorized/unauthorized).
Reauthentication enabled/disabled status on port.
Value holds meaning only if reauthentication is enabled.
Indicates that authentication should be aborted when set to true.
Indicates failed authentication attempt when set to false.
Indicates authentication should be started when set to true.
Indicates authentication attempt timed out when set to true.
Indicates authentication successful when set to true.
Current 802.1X operational state of interface.
Configured 802.1X mode.
Reauthentication count.
Time between reauthentication attempts.
Maximum reauthentication attempts.
Backend authentication state machine variables and constants.
State of the state machine.
Count of requests sent to server.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
888
802.1X C OMMANDS
SHOW DOT 1 X INTERFACE
Table 30-1: Parameters in the output of show dot1x interface (cont.)
Parameter suppTimeout serverTimeout maxReq
CD adminControlledDi r ections operControlledDir e ctions
KR rxKey
KT keyAvailable keyTxEnabled
Description
Supplicant timeout.
Server timeout.
Maximum requests to be sent.
Controlled Directions State machine.
Administrative value (Both/In).
Operational Value (Both/In).
Key receive state machine.
True when EAPOL-Key message is received by supplicant or authenticator. false when key is transmitted.
Ket Transmit State machine.
False when key has been transmitted by authenticator, true when new key is available for key exchange.
Key transmission enabled/disabled status.
Related
Commands
show dot1x statistics interface
show dot1x supplicant interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
889
802.1X C OMMANDS
SHOW DOT 1 X SESSIONSTATISTICS
show dot1x sessionstatistics
Overview This command shows authentication session statistics for the specified interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x sessionstatistics [interface < interface-list >]
Parameter interface
Description
Specify a port to show.
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Example See sample output below showing 802.1X ( dot1x ) authentication session statistics for port1.0.6
: awplus# show dot1x sessionstatistics interface port1.0.6
Authentication session statistics for interface port1.0.6
session user name: manager
session authentication method: Remote server
session time: 19440 secs
session terminat cause: Not terminated yet
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
890
802.1X C OMMANDS
SHOW DOT 1 X STATISTICS INTERFACE
show dot1x statistics interface
Overview This command shows the authentication statistics for the specified interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x statistics interface < interface-list >
Parameter
<interface-list>
Description
The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Example See sample output below showing 802.1X authentication statistics for port1.0.6
: awplus# show dot1x statistics interface port1.0.6
802.1X statistics for interface port1.0.6
EAPOL Frames Rx: 5 - EAPOL Frames Tx: 16
EAPOL Start Frames Rx: 0 - EAPOL Logoff Frames Rx: 0
EAP Rsp/Id Frames Rx: 3 - EAP Response Frames Rx: 2
EAP Req/Id Frames Tx: 8 - EAP Request Frames Tx: 2
Invalid EAPOL Frames Rx: 0 - EAP Length Error Frames Rx: 0
EAPOL Last Frame Version Rx: 1 - EAPOL Last Frame
Src:00d0.59ab.7037
891 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
802.1X C OMMANDS
SHOW DOT 1 X SUPPLICANT
show dot1x supplicant
Overview This command shows the supplicant state of the authentication mode set for the switch.
This command shows a summary when the optional brief parameter is used.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x supplicant [< macadd >] [brief]
Parameter
< macadd > brief
Description
MAC (hardware) address of the Supplicant.
Brief summary of the Supplicant state.
Mode Privileged Exec
Example See sample output below showing the 802.1X authenticated supplicant on the switch: awplus# show dot1x supplicant authenticationMethod: dot1x totalSupplicantNum: 1 authorizedSupplicantNum: 1 macBasedAuthenticationSupplicantNum: 0 dot1xAuthenticationSupplicantNum: 1 webBasedAuthenticationSupplicantNum: 0
Supplicant name: manager
Supplicant address: 00d0.59ab.7037
authenticationMethod: dot1x
Two-Step Authentication:
firstAuthentication: Pass - Method: mac
secondAuthentication: Pass - Method: dot1x portStatus: Authorized - currentId: 4 abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
BE: state: Idle - reqCount: 0 - idFromServer: 3
BE: suppTimeout: 30 - serverTimeout: 30
CD: adminControlledDirections: in - operControlledDirections: in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
See sample output below showing the supplicant on the switch using the brief parameter: awplus# show dot1x supplicant 00d0.59ab.7037 brief
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
892
802.1X C OMMANDS
SHOW DOT 1 X SUPPLICANT
Interface port1.0.6
authenticationMethod: dot1x
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 1
webBasedAuthenticationSupplicantNum: 0
Interface VID Mode MAC Address Status IP Address Username
========= === ==== =========== ====== ========== ======== port1.0.6
2 D 00d0.59ab.7037 Authenticated 192.168.2.201 manager
See sample output below showing the supplicant on the switch using the brief parameter: awplus# show dot1x supplicant brief
For example, if two-step authentication is configured with 802.1X authentication as the first method and web authentication as the second method then the output is as follows:
Interface port1.0.6 authenticationMethod: dot1x/web
Two-Step Authentication
firstMethod: dot1x
secondMethod: web
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 0
webBasedAuthenticationSupplicantNum: 1
otherAuthenticationSupplicantNum: 0
Interface VID Mode MAC Address Status IP Address Username
=========== ==== ==== ============== ================= =============== ======== port1.0.6
5 W 0008.0d5e.c216 Authenticated 192.168.1.200 web
Related
Commands
show dot1x supplicant interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
893
802.1X C OMMANDS
SHOW DOT 1 X SUPPLICANT INTERFACE
show dot1x supplicant interface
Overview This command shows the supplicant state of the authentication mode set for the interface, which may be a static channel (or static aggregator) or a dynamic (or
LACP) channel group or a switch port.
This command shows a summary when the optional brief parameter is used.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show dot1x supplicant interface < interface-list > [brief]
Parameter Description
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
brief Brief summary of the Supplicant state.
Mode Privileged Exec
Examples See sample output below showing the supplicant on the interface port1.0.6
: awplus# show dot1x interface port1.0.6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
894
802.1X C OMMANDS
SHOW DOT 1 X SUPPLICANT INTERFACE
Interface port1.0.6 authenticationMethod: dot1x
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 1
webBasedAuthenticationSupplicantNum: 0
otherAuthenticationSupplicantNum: 0
Supplicant name: VCSPCVLAN10
Supplicant address: 0000.cd07.7b60
authenticationMethod: 802.1X
Two-Step Authentication:
firstAuthentication: Pass - Method: mac
secondAuthentication: Pass - Method: dot1x
portStatus: Authorized - currentId: 3
abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2
BE: state: Idle - reqCount: 0 - idFromServer: 2
CD: adminControlledDirections:in - operControlledDirections:in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
See sample output below showing the supplicant on the switch using the brief parameter: awplus# show dot1x supplicant interface brief
Interface port1.0.6
authenticationMethod: dot1x
Two-Step Authentication:
firstMethod: mac
secondMethod: dot1x totalSupplicantNum: 1 authorizedSupplicantNum: 1 macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 1 webBasedAuthenticationSupplicantNum: 0
Interface VID Mode MAC Address Status IP Address Username
========= === ==== =========== ====== ========== ======== port1.0.6
2 D 00d0.59ab.7037 Authenticated 192.168.2.201 manager
See the sample output below for static channel group (static aggregator) interface sa1 : awplus# show dot1x interface sa1 supplicant brief
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
895
802.1X C OMMANDS
SHOW DOT 1 X SUPPLICANT INTERFACE awplus#show dot1x interface sa1 supplicant brief
Interface sa1
authenticationMethod: dot1x
Two-Step Authentication:
firstMethod: mac
secondMethod: dot1x
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 1
webBasedAuthenticationSupplicantNum: 0
otherAuthenticationSupplicantNum: 0
Interface VID Mode MAC Address Status IP Address Username
========= ==== ==== ============== ================= =============== ======== sa1 1 D 00d0.59ab.7037 Authenticated -- test1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
896
802.1X C OMMANDS
UNDEBUG DOT 1 X
undebug dot1x
Overview This command applies the functionality of the no
variant of the debug dot1x command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
897
31
Authentication
Commands
Introduction
Overview This chapter provides an alphabetical reference for authentication commands. For more information, see the AAA and Port Authentication Feature Overview and
Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ auth auth-fail vlan ” on page 901
“ auth dynamic-vlan-creation ” on page 904
“ auth guest-vlan ” on page 907
“ auth guest-vlan forward ” on page 910
“ auth host-mode ” on page 912
“ auth max-supplicant ” on page 916
“ auth profile (Global Configuration) ” on page 918
“ auth profile (Interface Configuration) ” on page 919
“ auth reauthentication ” on page 920
“ auth roaming disconnected ” on page 921
“ auth roaming enable ” on page 923
“ auth supplicant-ip ” on page 925
“ auth supplicant-mac ” on page 927
“ auth timeout connect-timeout ” on page 930
auth timeout quiet-period ” on page 932
auth timeout reauth-period ” on page 933
auth timeout server-timeout ” on page 935
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
898
A UTHENTICATION C OMMANDS
C613-50135-01 Rev A
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ auth timeout supp-timeout ” on page 937
“ auth two-step enable ” on page 939
“ auth-mac accounting ” on page 942
“ auth-mac authentication ” on page 943
“ auth-mac enable ” on page 944
“ auth-mac method ” on page 946
“ auth-mac password ” on page 948
“ auth-mac reauth-relearning ” on page 949
“ auth-mac username ” on page 950
“ auth-web accounting ” on page 951
“ auth-web authentication ” on page 952
“ auth-web enable ” on page 953
“ auth-web forward ” on page 955
“ auth-web max-auth-fail ” on page 958
“ auth-web method ” on page 960
“ auth-web-server blocking-mode ” on page 961
“ auth-web-server dhcp ipaddress ” on page 962
“ auth-web-server dhcp lease ” on page 963
“ auth-web-server dhcp-wpad-option ” on page 964
“ auth-web-server host-name ” on page 965
“ auth-web-server intercept-port ” on page 966
“ auth-web-server ipaddress ” on page 967
“ auth-web-server page language ” on page 968
“ auth-web-server login-url ” on page 969
“ auth-web-server page logo ” on page 970
“ auth-web-server page sub-title ” on page 971
“ auth-web-server page success-message ” on page 972
“ auth-web-server page title ” on page 973
“ auth-web-server page welcome-message ” on page 974
“ auth-web-server ping-poll enable ” on page 975
“ auth-web-server ping-poll failcount ” on page 976
“ auth-web-server ping-poll interval ” on page 977
“ auth-web-server ping-poll reauth-timer-refresh ” on page 978
“ auth-web-server ping-poll timeout ” on page 979
“ auth-web-server port ” on page 980
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
899
A UTHENTICATION C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ auth-web-server redirect-delay-time ” on page 981
“ auth-web-server redirect-url ” on page 982
“ auth-web-server session-keep ” on page 983
“ auth-web-server ssl ” on page 984
“ auth-web-server ssl intercept-port ” on page 985
“ copy proxy-autoconfig-file ” on page 986
“ copy web-auth-https-file ” on page 987
“ description (Authentication Profile) ” on page 988
“ erase proxy-autoconfig-file ” on page 989
“ erase web-auth-https-file ” on page 990
“ platform mac-vlan-hashing-algorithm ” on page 991
“ show auth diagnostics ” on page 994
“ show auth interface ” on page 996
“ show auth sessionstatistics ” on page 999
“ show auth statistics interface ” on page 1000
“ show auth supplicant ” on page 1001
“ show auth supplicant interface ” on page 1004
“ show auth two-step supplicant brief ” on page 1005
“ show auth-web-server ” on page 1006
“ show auth-web-server page ” on page 1007
“ show proxy-autoconfig-file ” on page 1008
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
900
A UTHENTICATION C OMMANDS
AUTH AUTH FAIL VLAN
auth auth-fail vlan
Overview Use this command to enable the auth-fail vlan feature on the specified vlan interface. This feature assigns supplicants (client devices) to the specified VLAN if they fail port authentication.
Use the no variant of this command to disable the auth-fail vlan feature for a specified VLAN interface.
Syntax auth auth-fail vlan < 1-4094 > no auth auth-fail vlan
Parameter Description
< 1-4094 > Assigns the VLAN ID to any supplicants that have failed port authentication.
Default The auth-fail vlan feature is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Use the auth-fail vlan feature when using Web-Authentication instead of the Guest
VLAN feature, when you need to separate networks where one supplicant (client device) requires authentication and another supplicant does not require authentication from the same interface.
This is because the DHCP lease time using the Web-Authentication feature is shorter, and the auth-fail vlan feature enables assignment to a different VLAN if a supplicant fails authentication.
To enable the auth-fail vlan feature with Web Authentication, you need to set the
Web Authentication Server virtual IP address by using the auth-web-server ipaddress command or the
auth-web-server dhcp ipaddress command.
When using 802.1X port authentication, use a
command to set the maximum number of login attempts. Three login attempts are allowed by default for 802.1X port authentication before supplicants trying to authenticate
See the AAA and Port Authentication Feature Overview and Configuration Guide for information about:
• the auth-fail VLAN feature, which allows the Network Administrator to separate the supplicants who attempted authentication, but failed, from the supplicants who did not attempt authentication, and
• restrictions regarding combinations of authentication enhancements working together
Use appropriate ACLs (Access Control Lists) on interfaces for extra security if a supplicant allocated to the designated auth-fail vlan can access the same network
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
901
A UTHENTICATION C OMMANDS
AUTH AUTH FAIL VLAN
•
•
• as a supplicant on the Guest VLAN. For more information about ACL concepts, and configuring ACLs see the ACL Feature Overview and Configuration Guide . For more information about ACL commands see:
IPv4 Hardware Access Control List (ACL) Commands
IPv4 Software Access Control List (ACL) Commands
IPv6 Software Access Control List (ACL) Commands
Examples To enable the auth-fail vlan feature for port1.0.2 and assign VLAN 100, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth auth-fail vlan 100
To disable the auth-fail vlan feature for port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth auth-fail vlan
To enable the auth-fail vlan feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth auth-fail vlan 100
To disable the auth-fail vlan feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth auth-fail vlan
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
902
A UTHENTICATION C OMMANDS
AUTH CRITICAL
auth critical
Overview This command enables the critical port feature on the interface. When the critical port feature is enabled on an interface, and all the RADIUS servers are unavailable, then the interface becomes authorized.
The no variant of this command disables critical port feature on the interface.
Syntax auth critical no auth critical
Default The critical port of port authentication is disabled.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To enable the critical port feature on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth critical
To disable the critical port feature on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth critical
To enable the critical port feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth critical
To disable the critical port feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth critical
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
903
A UTHENTICATION C OMMANDS
AUTH DYNAMIC VLAN CREATION
auth dynamic-vlan-creation
Overview This command enables and disables the Dynamic VLAN assignment feature.
The Dynamic VLAN assignment feature allows a supplicant (client device) to be placed into a specific VLAN based on information returned from the RADIUS server during authentication, on a given interface.
Use the no variant of this command to disable the Dynamic VLAN assignment feature.
Syntax auth dynamic-vlan-creation [rule {deny|permit}] [type
{multi|single}] no auth dynamic-vlan-creation
Parameter rule deny permit type multi single
Description
VLAN assignment rule.
Deny a differently assigned VLAN ID. This is the default rule.
Permit a differently assigned VLAN ID.
Specifies whether multiple different VLANs can be assigned to supplicants (client devices) attached to the port, or whether only a single VLAN can be assigned to supplicants on the port.
Multiple Dynamic VLAN.
Single Dynamic VLAN.
Default By default, the Dynamic VLAN assignment feature is disabled.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage If the Dynamic VLAN assignment feature is enabled (disabled by default), VLAN assignment is dynamic. If the Dynamic VLAN assignment feature is disabled then
RADIUS attributes are ignored and configured VLANs are assigned to ports.
Dynamic VLANs may be associated with authenticated MAC addresses if the type parameter is applied with the rule parameter.
The rule parameter deals with the case where there are multiple supplicants attached to a port, and the type parameter has been set to single-vlan . The parameter specifies how the switch should act if different VLAN IDs end up being assigned to different supplicants. The keyword value deny means that once a given VID has been assigned to the first supplicant, then if any subsequent supplicant is assigned a different VID, that supplicant is rejected. The keyword value permit means that once a given VID has been assigned to the first supplicant, then if any subsequent supplicant is assigned a different VID, that supplicant is accepted, but it is actually assigned the same VID as the first supplicant.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
904
A UTHENTICATION C OMMANDS
AUTH DYNAMIC VLAN CREATION
If you issue an auth dynamic-vlan-creation command without a rule parameter then a second supplicant with a different VLAN ID is rejected. It is not assigned to the first supplicant’s VLAN. Issuing an auth dynamic-vlan-creation command without a rule parameter has the same effect as issuing an auth dynamic-vlan-creation rule deny command rejecting supplicants with differing
VIDs.
The type parameter specifies whether multiple different VLANs can be assigned to supplicants attached to the port, or whether only a single VLAN can be assigned to supplicants on the port. The type parameter can select the port base VLAN or the
MAC base VLAN from the RADIUS VLAN ID. This can be used when the host-mode is set to multi-supplicant. For single -host ports, the VLAN ID will be assigned to the port. It is not supported with the Guest VLAN feature. Display the ID assigned using a show vlan command. For multi -host ports, the VLAN ID will be assigned to the
MAC address of the authenticated supplicant. The VLAN ID assigned for the MAC
Base VLAN is displayed using the show platform table vlan command.
To configure Dynamic Vlan with Web Authentication, you need to set Web
Authentication Server virtual IP address by using the auth-web-server ipaddress
command or the auth-web-server dhcp ipaddress command. You also need to
create a hardware access-list that can be applied to the switch port interface.
You need to configure an IPv4 address for the VLAN interface on which Web
Authentication is running.
Examples To enable the Dynamic VLAN assignment feature on interface port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport access vlan 10 awplus(config-if)# auth-web enable awplus(config-if)# auth dynamic-vlan-creation awplus(config-if)# interface vlan10 awplus(config-if)# ip address 10.1.1.1/24
To enable the Dynamic VLAN assignment feature with Web Authentication on interface port1.0.2
when Web Authentication is needed, use the commands: awplus# configure terminal awplus(config)# auth-web-server ipaddress 1.2.3.4
awplus(config)# access-list hardware acl-web send-to-cpu ip any
1.2.3.4
awplus(config)# interface port1.0.2
awplus(config-if)# auth-web enable awplus(config-if)# auth dynamic-vlan-creation awplus(config-if)# access-group acl-web awplus(config-if)# interface vlan1 awplus(config-if)# ip address 10.1.1.1/24
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
905
A UTHENTICATION C OMMANDS
AUTH DYNAMIC VLAN CREATION
To disable the Dynamic VLAN assignment feature on interface port1.0.2
, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth dynamic-vlan-creation
To enable the Dynamic VLAN assignment feature on authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth dynamic-vlan-creation
To disable the Dynamic VLAN assignment feature on authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth dynamic-vlan-creation
Validation
Commands
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
906
A UTHENTICATION C OMMANDS
AUTH GUEST VLAN
auth guest-vlan
Overview This command enables and configures the Guest VLAN feature on the interface specified by associating a Guest VLAN with an interface. This command does not start authentication. The supplicant's (client device’s) traffic is associated with the native VLAN of the interface if its not already associated with another VLAN. The routing option enables routing from the Guest VLAN to another VLAN, so the switch can lease DHCP addresses and accept access to a limited network.
The no variant of this command disables the guest VLAN feature on the interface specified.
Syntax auth guest-vlan < 1-4094 > [routing] no auth guest-vlan [routing]
Parameter
< 1-4094 > routing
Description
VLAN ID (VID).
Enables routing from the Guest VLAN to other VLANs.
Default The Guest VLAN authentication feature is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage The Guest VLAN feature may be used by supplicants (client devices) that have not attempted authentication, or have failed the authentication process. Note that if a port is in multi-supplicant mode with per-port dynamic VLAN configuration, after the first successful authentication, subsequent hosts cannot use the guest VLAN due to the change in VLAN ID. This may be avoided by using per-user dynamic
VLAN assignment.
When using the Guest VLAN feature with the multi-host mode, a number of supplicants can communicate via a guest VLAN before authentication. A supplicant’s traffic is associated with the native VLAN of the specified switch port.
The supplicant must belong to a VLAN before traffic from the supplicant can be associated.
Note that you must enable 802.1X on the port and define a VLAN using the vlan
command before you can configure it as a guest VLAN.
Roaming Authentication cannot be enabled if DHCP snooping is enabled ( service dhcp-snooping
command), and vice versa.
The Guest VLAN feature in previous releases had some limitations that have been removed. Until this release the Guest VLAN feature could not lease the IP address to the supplicant using DHCP Server or DHCP Relay features unless
Web-Authentication was also applied. When using NAP authentication, the supplicant should have been able to log on to a domain controller to gain certification, but the Guest VLAN would not accept access to another VLAN.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
907
A UTHENTICATION C OMMANDS
AUTH GUEST VLAN
•
•
The Guest VLAN routing mode in this release overcomes these issues. With the
Guest VLAN routing mode, the switch can lease DHCP addresses and accept access to a limited network.
Note that Guest VLAN can use only untagged ports.
See the AAA and Port Authentication Feature Overview and Configuration Guide for information about:
Guest VLAN, and restrictions regarding combinations of authentication enhancements working together
Examples To define vlan100 and assign the guest VLAN feature to vlan100 on interface port1.0.2, and enable routing from the guest VLAN to other VLANs, use the following commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 100 awplus(config-vlan)# exit awplus(config)# interface port1.0.2
awplus(config-if)# dot1x port-control auto awplus(config-if)# auth guest-vlan 100 routing
To disable the guest VLAN feature on port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth guest-vlan
To define vlan100 and assign the guest VLAN feature to vlan100 on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 100 awplus(config-vlan)# exit awplus(config)# auth profile student awplus(config-auth-profile)# auth guest-vlan 100
To disable the guest VLAN feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth guest-vlan
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
908
A UTHENTICATION C OMMANDS
AUTH GUEST VLAN
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
909
A UTHENTICATION C OMMANDS
AUTH GUEST VLAN FORWARD
auth guest-vlan forward
Overview Use this command to enable packet forwarding from the Guest VLAN to a destination IP address or subnet. If this command is configured, the device can lease DHCP addresses and accept access to a limited part of your network. Also, when using NAP authentication, the supplicant can log on to a domain controller to gain certification.
Use the no variant of this command to disable packet forwarding from the Guest
VLAN to a destination IP address or subnet.
Syntax auth guest-vlan forward { <ip-address> | <ip-address/mask> }
[dns|tcp <1-65535> |udp <1-65535> ] no auth guest-vlan forward { <ip-address> | <ip-address/mask> }
[dns|tcp <1-65535> |udp <1-65535> ]
Parameter
<ip-address>
<ip-address/ mask>
Description
The IP address or subnet to which the guest VLAN can forward packets, in dotted decimal notation dns Enable forwarding of DNS packets tcp < 1-65535 > Enable forwarding of packets for the specified TCP port number udp < 1-65535 > Enable forwarding of packets for the specified UDP port number
Default Forwarding is disabled by default.
Mode Interface Configuration mode for a specified switch port, or Authentication Profile mode
Usage
Before using this command, you must configure the guest VLAN with the auth guest-vlan command.
Example To enable packet forwarding from the guest VLAN to the destination IP address on interface port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth guest-vlan forward 10.0.0.1
To enable forwarding of DNS packets from the guest VLAN to the destination IP address on interface port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth guest-vlan forward 10.0.0.1 dns
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
910
A UTHENTICATION C OMMANDS
AUTH GUEST VLAN FORWARD
To disable forwarding of DNS packets from the guest VLAN to the destination IP address on port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth guest-vlan forward 10.0.0.1 dns
To enable the tcp forwarding port 137 on authentication profile 'student', use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth guest-vlan forward 10.0.0.1 tcp 137
To disable the tcp forwarding port 137 authentication profile 'student', use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth guest-vlan forward
10.0.0.1 tcp 137
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
911
A UTHENTICATION C OMMANDS
AUTH HOST MODE
auth host-mode
Overview This command selects the host mode on the specified interface.
Use the no variant of this command to set host mode to the default setting (single host).
Syntax auth host-mode {single-host|multi-host|multi-supplicant} no auth host-mode
Parameter single-host
Description
Single host mode. In this mode, only one host may be authorized with the port. If other hosts out the interface attempt to authenticate, the authenticator blocks the attempt.
multi-host Multi host mode. In this mode, multiple hosts may be authorized with the port; however only one host must be successfully authenticated at the Authentication Server for all hosts to be authorized with the port. Upon one host being successfully authenticated (state Authenticated), the other hosts will be automatically authorized at the port (state
ForceAuthorized). If no host is successfully authenticated, then all hosts are not authorized with the port.
multi-supplicant Multi supplicant (client device) mode. In this mode, multiple hosts may be authorized with the port, but each host must be individually authenticated with the Authentication Server to be authorized with the port. Supplicants which are not authenticated are not authorized with the port, while supplicants which are successfully authenticated are authorized with the port.
Default The default host mode for port authentication is for a single host.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Ports residing in the unauthorized state for host(s) or supplicant(s), change to an authorized state when the host or supplicant has successfully authenticated with the Authentication Server.
When multi-host mode is used or auth critical feature is used, all hosts do not need to be authenticated.
Examples To set the host mode to multi-supplicant on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth host-mode multi-supplicant
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
912
A UTHENTICATION C OMMANDS
AUTH HOST MODE
To set the host mode to default (single host) on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth host-mode
To set the host mode to multi-supplicant on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth host-mode multi-supplicant
To set the host mode to default (single host) on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth host-mode
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
913
A UTHENTICATION C OMMANDS
AUTH LOG
auth log
Overview Use this command to configure the types of authentication feature log messages that are output to the log file.
Use the no variant of this command to remove either specified types or all types of authentication feature log messages that are output to the log file.
Syntax auth log {dot1x|auth-mac|auth-web}
{success|failure|logoff|all} no auth log {do1x|auth-mac|auth-web}
{success|failure|logoff|all}
Parameter dot1x auth-mac auth-web success failure logoff all
Description
Specify only 802.1X-Authentication log messages are output to the log file.
Specify only MAC-Authentication log messages are output to the log file.
Specify only Web-Authentication log messages are output to the log file.
Specify only successful authentication log messages are output to the log file.
Specify only authentication failure log messages are output to the log file.
Specify only authentication log-off messages are output to the log file.
Note that link down, age out and expired ping polling messages will be included.
Specify all types of authentication log messages are output to the log file Note that this is the default behavior for the authentication logging feature.
Default All types of authentication log messages are output to the log file by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To configure the logging of MAC authentication failures to the log file for supplicants (client devices) connected to interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth log auth-mac failure
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
914
A UTHENTICATION C OMMANDS
AUTH LOG
To disable the logging of all types of authentication log messages to the log file for supplicants (client devices) connected to interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth log all
To configure the logging of web authentication failures to the log file for supplicants (client devices) connected to authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth log auth-web failure
To disable the logging of all types of authentication log messages to the log file for supplicants (client devices) connected to authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth log all
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
915
A UTHENTICATION C OMMANDS
AUTH MAX SUPPLICANT
auth max-supplicant
Overview This command sets the maximum number of supplicants (client devices) that can be authenticated on the selected port. Once this value is exceeded, further supplicants will not be authenticated.
The no variant of this command resets the maximum supplicant number to the default.
Syntax auth max-supplicant < 2-1024 > no auth max-supplicant
Parameter
< 2-1024 >
Description
Limit number.
Default The max supplicant of port authentication is 1024.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the maximum number of supplicants to 10 on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth max-supplicant 10
To reset the maximum number of supplicant to default on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth max-supplicant
To set the maximum number of supplicants to 10 on authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth max-supplicant 10
To reset the maximum number of supplicant to default on authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth max-supplicant
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
916
A UTHENTICATION C OMMANDS
AUTH MAX SUPPLICANT
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
917
A UTHENTICATION C OMMANDS
AUTH PROFILE (G LOBAL C ONFIGURATION )
auth profile (Global Configuration)
Overview Use this command to enter port authentication profile mode and configure a port authentication profile.
If the specified profile does not exist a new authentication profile is created with the name provided.
Use the no variant of this command to delete the specified port authentication profile.
Syntax auth profile < profile-name > no auth profile < profile-name >
Parameter
< varname >
Description
Name of the profile to create or configure.
Default No port authentication profiles are created by default.
Mode Global Configuration
Usage A port authentication profile is a configuration object that aggregates multiple port authentication commands. These profiles are attached or detached from an
interface using the auth profile (Interface Configuration)
command.
Example To create a new authentication profile ‘student’, use the following commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)#
To delete an authentication profile ‘student’, use the following commands: awplus# configure terminal awplus(config)# no auth profile student
Related
Commands
auth profile (Interface Configuration)
description (Authentication Profile)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
918
A UTHENTICATION C OMMANDS
AUTH PROFILE (I NTERFACE C ONFIGURATION )
auth profile (Interface Configuration)
Overview Use this command to attach a port authentication profile to the current interface.
Use the no variant of this command to detach a port authentication profile from the current interface.
Syntax auth profile < profile-name > no auth profile < profile-name >
Parameter
< profile-name >
Description
The name of the profile to attach to the current interface.
Default No profile is attached by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port.
Usage This command attaches a authentication profile, created using the
(Global Configuration) command, to a static channel, a dynamic (LACP) channel
group, or a switch port.
You can only attach one profile to an interface at a time, use the no variant of the command to detach a profile before attempting to attach another one.
Example To attach the authentication profile ‘student’ to port1.0.1, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# auth profile student
To detach the authentication profile ‘student’ from port1.0.1, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no auth profile student
Related
Commands
auth profile (Global Configuration)
919 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A UTHENTICATION C OMMANDS
AUTH REAUTHENTICATION
auth reauthentication
Overview This command enables re-authentication on the interface specified in the Interface mode, which may be a static channel group (or static aggregator) or a dynamic (or
LACP) channel group or a switch port.
Use the no variant of this command to disables reauthentication on the interface.
Syntax auth reauthentication no auth reauthentication
Default Reauthentication of port authentication is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To enable reauthentication on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth reauthentication
To disable reauthentication on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth reauthentication
To enable reauthentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth reauthentication
To disable reauthentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth reauthentication
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
920
A UTHENTICATION C OMMANDS
AUTH ROAMING DISCONNECTED
auth roaming disconnected
Overview This command allows a supplicant to move to another authenticating interface without reauthentication, even if the link is down for the interface that the supplicant is currently connected to.
You must enter the
command on both interfaces before using this command.
The no variant of this command disables roaming authentication on interfaces that are link-down, and forces a supplicant to be reauthenticated when moving between interfaces.
See the AAA and Port Authentication Feature Overview and Configuration Guide for further information about this feature.
Syntax auth roaming disconnected no auth roaming disconnected
Default By default, the authentication status for a roaming supplicant is deleted when an interface goes down, so supplicants must reauthenticate.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Note that 802.1X port authentication, MAC-authentication, or Web-authentication must be configured before using this feature. The port that the supplicant is moving to must have the same authentication configuration as the port the supplicant is moving from.
Roaming Authentication cannot be enabled if DHCP snooping is enabled ( service dhcp-snooping
command), and vice versa.
Examples To allow supplicants to move from port1.0.2 without reauthentication even when the link is down, when using 802.1X authentication, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# dot1x port-control auto awplus(config-if)# auth roaming enable awplus(config-if)# auth roaming disconnected
To require supplicants to reauthenticate when moving from port1.0.2 if the link is down, when using 802.1X authentication, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth roaming disconnected
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
921
A UTHENTICATION C OMMANDS
AUTH ROAMING DISCONNECTED
To allow supplicants using authentication profile ‘student’ to move between ports without reauthentication even when the link is down, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth roaming disconnected
To require supplicants using authentication profile ‘student’ to reauthenticate when moving between ports if the link is down, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth roaming disconnected
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
922
A UTHENTICATION C OMMANDS
AUTH ROAMING ENABLE
auth roaming enable
Overview This command allows a supplicant to move to another authenticating interface without reauthentication, providing the link is up for the interface that the supplicant is is currently connected to.
The no variant of this command disables roaming authentication on an interface, and forces a supplicant to be reauthenticated when moving between interfaces.
See the AAA and Port Authentication Feature Overview and Configuration Guide for further information about this feature.
Syntax auth roaming enable no auth roaming enable
Default Roaming authentication is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Note that 802.1X port authentication, MAC-authentication, or Web-authentication must be configured before using this feature. The port that the supplicant is moving to must have the same authentication configuration as the port the supplicant is moving from.
This command only enables roaming authentication for links that are up. If you want roaming authentication on links that are down, you must also use the
command auth roaming disconnected
.
Roaming Authentication cannot be enabled if DHCP snooping is enabled ( service dhcp-snooping
command), and vice versa.
Examples To enable roaming authentication for port1.0.4, when using 802.1X authentication, use the commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# dot1x port-control auto awplus(config-if)# auth roaming enable
To disable roaming authentication for port1.0.4, use the commands: awplus# configure terminal awplus(config)# interface port1.0.4
awplus(config-if)# no auth roaming enable
To enable roaming authentication for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth roaming enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
923
A UTHENTICATION C OMMANDS
AUTH ROAMING ENABLE
To disable roaming authentication for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth roaming enable
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
924
A UTHENTICATION C OMMANDS
AUTH SUPPLICANT IP
auth supplicant-ip
Overview This command adds a supplicant (client device) IP address on a given interface and provides parameters for its configuration.
Use the no variant of this command to delete the supplicant IP address and reset other parameters to their default values. The IP address can be determined before authentication for only auth-web client.
Syntax auth supplicant-ip < ip-add r> [max-reauth-req < 1-10 >]
[port-control {auto|force-authorized|force-unauthorized}]
[quiet-period < 1-65535 >] [reauth-period < 1-4294967295 >]
[supp-timeout < 1-65535 >] [server-timeout < 1-65535 >]
[reauthentication] no auth supplicant-ip <ip-addr> [reauthentication]
Parameter
< ip-addr > max-reauth-req
Description
IP address of the supplicant entry in A.B.C.D/P format.
The number of reauthentication attempts before becoming unauthorized.
< 1-10 > port-control auto
Count of reauthentication attempts (default 2).
Port control commands.
A port control parameter that allows port clients to negotiate authentication.
force-authorized A port control parameter that forces the port state to authorized.
force-unauthorized A port control parameter that forces the port state to unauthorized.
quiet-period Quiet period during which the port remains in the HELD state (default 60 seconds).
< 1-65535 > reauth-period
Seconds for quiet period.
Seconds between reauthorization attempts (default 3600 seconds).
< 1-4294967295 > supp-timeout
< 1-65535 >
Seconds for reauthorization attempts (reauth-period).
Supplicant response timeout.
Seconds for supplicant response timeout (default 30 seconds).
server-timeout The period, in seconds, before the authentication server response times out.
< 1-65535 > The server-timeout period, in seconds, default 3600 seconds.
reauthentication Enable reauthentication on a port.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
925
A UTHENTICATION C OMMANDS
AUTH SUPPLICANT IP
Default No supplicant IP address for port authentication exists by default until first created with the auth supplicant-ip command. The defaults for parameters applied are as shown in the table above.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, a switch port, or Authentication Profile.
Examples To add the supplicant IP address 192.168.10.0/24 to force authorized port control for interface port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth supplicant-ip 192.168.10.0/24 port-control force-authorized
To delete the supplicant IP address 192.168.10.0/24 for interface port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth supplicant-ip 192.168.10.0/24
To disable reauthentication for the supplicant(s) IP address 192.168.10.0/24 for interface port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth supplicant-ip 192.168.10.0/24 reauthentication
To add the supplicant IP address 192.168.10.0/24 to force authorized port control for auth profile 'student', use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth supplicant-ip
192.168.10.0/24 port-control force-authorized
To disable reauthentication for the supplicant IP address 192.168.10.0/24, for auth profile 'student', use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-if)# no auth supplicant-ip 192.168.10.0/24 reauthentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
926
A UTHENTICATION C OMMANDS
AUTH SUPPLICANT MAC
auth supplicant-mac
Overview This command adds a supplicant (client device) MAC address or MAC mask on a given interface with the parameters as specified in the table below.
Use the no variant of this command to delete the supplicant MAC address and reset other parameters to their default values.
Syntax auth supplicant-mac < mac-add r> [mask <mac-addr-mask> ]
[max-reauth-req < 1-10 >] [port-control
{auto|force-authorized|force-unauthorized|skip-second-auth}]
[quiet-period < 1-65535 >] [reauth-period < 1-4294967295 >]
[supp-timeout < 1-65535 >] [server-timeout < 1-65535 >]
[reauthentication] no auth supplicant-mac <mac-addr> [reauthentication]
Parameter
< mac-addr >
Description
MAC (hardware) address of the supplicant entry in
HHHH.HHHH.HHHH MAC address hexadecimal format.
mask A mask applied to MAC addresses in order to select only those addresses containing a specific string.
< mac-addr -mask> The mask comprises a string of three (period separated) bytes, where each byte comprises four hexadecimal characters that will generally be either 1or 0. When the mask is applied to a specific MAC address, a match is only required for characters that correspond to a 1 in the mask.
Characters that correspond to a 0 in the mask are effectively ignored.
In the examples section below, the mask ffff.ff00.0000 is applied for the MAC address 0000.5E00.0000. The applied mask will then match only those MAC addresses that begin with 0000.5E (in this case the OUI component). The remaining portion of the addresses (in this case the NIC component) will be ignored.
port-control auto
Port control commands.
Allow port client to negotiate authentication.
force-authorized Force port state to authorized.
force-unauthorized Force port state to unauthorized.
skip-second-auth quiet-period
< 1-65535 > reauth-period
Skip the second authentication.
Quiet period in the HELD state (default 60 seconds).
Seconds for quiet period.
Seconds between reauthorization attempts (default 3600 seconds).
< 1-4294967295 > Seconds for reauthorization attempts (reauth-period).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
927
A UTHENTICATION C OMMANDS
AUTH SUPPLICANT MAC
Parameter supp-timeout
< 1-65535 > server-timeout
< 1-65535 > reauthentication max-reauth-req
< 1-10 >
Description
Supplicant response timeout (default 30 seconds).
Seconds for supplicant response timeout.
Authentication server response timeout (default 30 seconds).
Seconds for authentication server response timeout.
Enable reauthentication on a port.
No of reauthentication attempts before becoming unauthorized (default 2).
Count of reauthentication attempts.
Default No supplicant MAC address for port authentication exists by default until first created with the auth supplicant-mac command. The defaults for parameters are shown in the table above.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To add the supplicant MAC address 0000.5E00.5343 to force authorized port control for port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth supplicant-mac 0000.5E00.5343 port-control force-authorized
To apply the mask ffff.ff00.0000 in order to add any supplicant whose MAC address begins with 000.5E, and then to force authorized port control for port 1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth supplicant-mac 0000.5E00.0000 mask ffff.ff00.0000 port-control force-authorized
To delete the supplicant MAC address 0000.5E00.5343 for port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth supplicant-mac 0000.5E00.5343
To reset reauthentication to disabled for the supplicant MAC address
0000.5E00.5343 for port1.0.2, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth supplicant-mac 0000.5E00.5343 reauthentication
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
928
A UTHENTICATION C OMMANDS
AUTH SUPPLICANT MAC
To add the supplicant MAC address 0000.5E00.5343 to force authorized port control for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth supplicant-mac
0000.5E00.5343 port-control force-authorized
To delete the supplicant MAC address 0000.5E00.5343 for authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth supplicant-mac
0000.5E00.5343
To disable reauthentication for the supplicant MAC address 0000.5E00.5343 for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth supplicant-mac
0000.5E00.5343 reauthentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
929
A UTHENTICATION C OMMANDS
AUTH TIMEOUT CONNECT TIMEOUT
auth timeout connect-timeout
Overview This command sets the connect-timeout period for the interface.
Use the no variant of this command to reset the connect-timeout period to the default.
Syntax auth timeout connect-timeout < 1-65535 > no auth timeout connect-timeout
Parameter
< 1-65535 >
Description
Specifies the connect-timeout period (in seconds).
Default The connect-timeout default is 30 seconds.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage This command is used for MAC- and Web-Authentication. If the connect-timeout has lapsed and the supplicant has the state connecting , then the supplicant is
deleted. When auth-web-server session-keep
or
is enabled, we recommend you configure a longer connect-timeout period.
Examples To set the connect-timeout period to 3600 seconds for port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth timeout connect-timeout 3600
To reset the connect-timeout period to the default (30 seconds) for port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth timeout connect-timeout
To set the connect-timeout period to 3600 seconds for authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth timeout connect-timeout 3600
930 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A UTHENTICATION C OMMANDS
AUTH TIMEOUT CONNECT TIMEOUT
To reset the connect-timeout period to the default (30 seconds) for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth timeout connect-timeout
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
931
A UTHENTICATION C OMMANDS
AUTH TIMEOUT QUIET PERIOD
auth timeout quiet-period
Overview This command sets a time period for which another authentication request is not accepted on a given interface, after an authentication request has failed.
Use the no variant of this command to reset the quiet period to the default.
Syntax auth timeout quiet-period < 1-65535 > no auth timeout quiet-period
Parameter
< 1-65535 >
Description
Specifies the quiet period (in seconds).
Default The quiet period for port authentication is 60 seconds.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the quiet period to 10 seconds for interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth timeout quiet-period 10
To reset the quiet period to the default (60 seconds) for interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth timeout quiet-period
To set the quiet period to 10 seconds for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth timeout quiet-period 10
To reset the quiet period to the default (60 seconds) for authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth timeout quiet-period
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
932
A UTHENTICATION C OMMANDS
AUTH TIMEOUT REAUTH PERIOD
auth timeout reauth-period
Overview This command sets the timer for reauthentication on a given interface. The re-authentication for the supplicant (client device) is executed at this timeout. The timeout is only applied if the auth reauthentication command is applied.
Use the no variant of this command to reset the reauth-period parameter to the default (3600 seconds).
Syntax auth timeout reauth-period < 1-4294967295 > no auth timeout reauth-period
Parameter Description
< 1-4294967295 > The reauthentication timeout period (in seconds).
Default The default reauthentication period for port authentication is 3600 seconds, when reauthentication is enabled on the port.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the reauthentication period to 1 day for interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth timeout reauth-period 86400
To reset the reauthentication period to the default (3600 seconds) for interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth timeout reauth-period
To set the reauthentication period to 1 day for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth timeout reauth-period 86400
To reset the reauthentication period to the default (3600 seconds) for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth timeout reauth-period
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
933
A UTHENTICATION C OMMANDS
AUTH TIMEOUT REAUTH PERIOD
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
934
A UTHENTICATION C OMMANDS
AUTH TIMEOUT SERVER TIMEOUT
auth timeout server-timeout
Overview This command sets the timeout for the waiting response from the RADIUS server on a given interface.
The no variant of this command resets the server-timeout to the default (30 seconds).
Syntax auth timeout server-timeout < 1-65535 > no auth timeout server-timeout
Parameter
< 1-65535 >
Description
Server timeout period (in seconds).
Default The server timeout for port authentication is 30 seconds.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the server timeout to 120 seconds for interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth timeout server-timeout 120
To set the server timeout to the default (30 seconds) for interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth timeout server-timeout
To set the server timeout to 120 seconds for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth timeout server-timeout 120
To set the server timeout to the default (30 seconds) for authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth timeout server-timeout
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
935
A UTHENTICATION C OMMANDS
AUTH TIMEOUT SERVER TIMEOUT
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
936
A UTHENTICATION C OMMANDS
AUTH TIMEOUT SUPP TIMEOUT
auth timeout supp-timeout
Overview This command sets the timeout of the waiting response from the supplicant (client device) on a given interface.
The no variant of this command resets the supplicant timeout to the default (30 seconds).
Syntax auth timeout supp-timeout < 1-65535 > no auth timeout supp-timeout
Parameter
< 1-65535 >
Description
The sup-timeout period (in seconds).
Default The supplicant timeout for port authentication is 30 seconds.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the server timeout to 2 seconds for interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth timeout supp-timeout 2
To reset the server timeout to the default (30 seconds) for interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth timeout supp-timeout
To set the server timeout to 2 seconds for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth timeout supp-timeout 2
To reset the server timeout to the default (30 seconds) for authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth timeout supp-timeout
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
937
A UTHENTICATION C OMMANDS
AUTH TIMEOUT SUPP TIMEOUT
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
938
A UTHENTICATION C OMMANDS
AUTH TWO STEP ENABLE
auth two-step enable
Overview This command enables a two-step authentication feature on an interface. When this feature is enabled, the supplicant is authorized in a two-step process. If authentication succeeds, the supplicant becomes authenticated. This command will apply the two-step authentication method based on 802.1X-, MAC- or
Web-Authentication.
The no variant of this command disables the two-step authentication feature.
Syntax auth two-step enable no auth two-step enable
Default Two step authentication is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage The single step authentication methods (either user or device authentication) have a potential security risk:
•
• an unauthorized user can access the network with an authorized device, or an authorized user can access the network with an unauthorized device.
Two-step authentication solves this problem by authenticating both the user and the device. The supplicant will only become authenticated if both these steps are successful. If the first authentication step fails, then the second step is not started.
Examples To enable the two step authentication feature, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth two-step enable
To disable the two step authentication feature, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth two-step enable
To enable MAC-Authentication followed by 802.1X-Authentication, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode access awplus(config-if)# auth-mac enable awplus(config-if)# dot1x port-control auto awplus(config-if)# auth dynamic-vlan-creation awplus(config-if)# auth two-step enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
939
A UTHENTICATION C OMMANDS
AUTH TWO STEP ENABLE
To enable MAC-Authentication followed by Web-Authentication, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode access awplus(config-if)# auth-mac enable awplus(config-if)# auth-web enable awplus(config-if)# auth dynamic-vlan-creation awplus(config-if)# auth two-step enable
To enable 802.1X-Authentication followed by Web-Authentication, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode access awplus(config-if)# auth-web enable awplus(config-if)# dot1x port-control auto awplus(config-if)# auth dynamic-vlan-creation awplus(config-if)# auth two-step enable
To enable the two step authentication feature for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth two-step enable
To disable the two step authentication feature for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth two-step enable
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
940
A UTHENTICATION C OMMANDS
AUTH TWO STEP ENABLE
Relat ed
Commands
auth profile (Global Configuration)
show auth two-step supplicant brief
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
941
A UTHENTICATION C OMMANDS
AUTH MAC ACCOUNTING
auth-mac accounting
Overview This command overrides the default RADIUS accounting method for MAC-based authentication on an interface by allowing you to apply a user-defined named list.
Use the no variant of this command to remove the named list from the interface and apply the default method.
Syntax auth-mac accounting {default|< list-name >} no auth-mac accounting
Parameter default
< list-name >
Description
Apply the default accounting method list
Apply the user-defined named list
Default The default method list is applied to an interface by default.
Mode Interface Mode
Example To apply the named list 'vlan10_acct' on the vlan10 interface, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# auth-mac accounting vlan10_acct
To remove the named list from the vlan10 interface and set the accounting method back to default , use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no auth-mac accounting
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
942
A UTHENTICATION C OMMANDS
AUTH MAC AUTHENTICATION
auth-mac authentication
Overview This command overrides the default MAC-based authentication method on an interface by allowing you to apply a user-defined named list.
Use the no variant of this command to remove the named list from the interface and apply the default method.
Syntax auth-mac authentication {default|< list-name >} no auth-mac authentication
Parameter default
< list-name >
Description
Apply the default authentication method list
Apply a user-defined named list
Default The default method list is applied to an interface by default.
Mode Interface Mode
Example To apply the named list 'vlan10_auth' on the vlan10 interface, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# auth-mac authentication vlan10_auth
To remove the named list from the vlan10 interface and set the authentication method back to default , use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no auth-mac authentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
943
A UTHENTICATION C OMMANDS
AUTH MAC ENABLE
auth-mac enable
Overview This command enables MAC-based authentication on the interface specified in the
Interface command mode.
Use the no variant of this command to disable MAC-based authentication on an interface.
Syntax auth-mac enable no auth-mac enable
Default MAC-Authentication is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Enabling spanning-tree edgeport on ports after enabling MAC-based authentication avoids unnecessary re-authentication when the port state changes, which does not happen when spanning tree edgeport is enabled. Note that re-authentication is correct behavior without spanning-tree edgeport enabled.
Applying switchport mode access on ports is also good practice to set the ports to access mode with ingress filtering turned on, whenever ports for
MAC-Authentication are in a VLAN.
Examples To enable MAC-Authentication on interface port1.0.2
and enable spanning tree edgeport to avoid unnecessary re-authentication, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-mac enable awplus(config-if)# spanning-tree edgeport awplus(config-if)# switchport mode access
To disable MAC-Authentication on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth-mac enable
To enable MAC authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-mac enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
944
A UTHENTICATION C OMMANDS
AUTH MAC ENABLE
To disable MAC authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-mac enable
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
945
A UTHENTICATION C OMMANDS
AUTH MAC METHOD
auth-mac method
Overview This command sets the type of authentication method for MAC-Authentication that is used with RADIUS on the interface specified in the Interface command mode.
The no variant of this command resets the authentication method used to the default method (PAP) as the RADIUS authentication method used by the
MAC-Authentication.
Syntax auth-mac method [eap-md5|pap] no auth-mac method
Parameter eap-md5 pap
Description
Enable EAP-MD5 of authentication method.
Enable PAP of authentication method.
Default The MAC-Authentication method is PAP.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the MAC-Authentication method to pap on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-mac method pap
To set the MAC-Authentication method to the default on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth-mac method
To enable MAC authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-mac enable
946 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A UTHENTICATION C OMMANDS
AUTH MAC METHOD
To disable MAC authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-mac enable
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
947
A UTHENTICATION C OMMANDS
AUTH MAC PASSWORD
auth-mac password
Overview This command changes the password for MAC-based authentication.
Use the no variant of this command to return the password to its default.
Syntax auth-mac [encrypted] password < password > no auth-mac password
Parameter Description auth-mac encrypted
MAC-based authentication
Specify an encrypted password password Configure the password
< password > The new password. Passwords can be up to 64 characters in length and can contain any printable characters except
• ?
• " (double quotes)
• space
Default By default, the password is the MAC address of the supplicant
Mode Global Configuration
Usage Changing the password increases the security of MAC-based authentication, because the default password is easy for an attacker to discover. This is particularly important if:
•
• some MAC-based supplicants on the network are intelligent devices, such as computers, and/or you are using two-step authentication (see the “Ensuring Authentication
Methods Require Different Usernames and Passwords” section of the AAA and Port Authentication Feature_Overview and Configuration Guide ).
Examples To change the password to verySecurePassword, use the commands: awplus# configure terminal awplus(config)# auth-mac password verySecurePassword
Validation
Command
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
948
A UTHENTICATION C OMMANDS
AUTH MAC REAUTH RELEARNING
auth-mac reauth-relearning
Overview This command sets the MAC address learning of the supplicant (client device) to re-learning for re-authentication on the interface specified in the Interface command mode.
Use the no variant of this command to disable the auth-mac re-learning option.
Syntax auth-mac reauth-relearning no auth-mac reauth-relearning
Default Re-learning for port authentication is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To enable the re-authentication re-learning feature on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-mac reauth-relearning
To disable the re-authentication re-learning feature on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awpl us(config-if)# no auth-mac reauth-relearning
To enable the re-authentication re-learning feature on authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-mac reauth-relearning
To disable the re-authentication re-learning feature on authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-mac reauth-relearning
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
949
A UTHENTICATION C OMMANDS
AUTH MAC USERNAME
auth-mac username
Overview Use this command to specify the format of the MAC address in the username and password field when a request for MAC-based authorization is sent to a RADIUS server.
Syntax auth-mac username {ietf|unformatted} {lower-case|upper-case}
Parameter ietf unformatted lower-case upper-case
Description
The MAC address includes a hyphen between each 2 bytes.
(Example: xx-xx-xx-xx-xx-xx)
The MAC address does not include hyphens. (Example: xxxxxxxxxxxx)
The MAC address uses lower-case characters (a-f )
The MAC address uses upper-case characters (A-F)
Default auth-mac username ietf lower-case
Mode Global Configuration
Usage This command is provided to allow other vendors’, AlliedWare, and AlliedWare
Plus switches to share the same format on the RADIUS server.
Example To configure the format of the MAC address in the username and password field to be changed to IETF and upper-case, use the following commands: awplus# configure terminal awplus(config)# auth-mac username ietf upper-case
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
950
A UTHENTICATION C OMMANDS
AUTH WEB ACCOUNTING
auth-web accounting
Overview This command overrides the default RADIUS accounting method for Web-based authentication on an interface by allowing you to apply a user-defined named list.
Use the no variant of this command to remove the named list from the interface and apply the default method.
Syntax auth-web accounting {default|< list-name >} no auth-web accounting
Parameter default
< list-name >
Description
Apply the default accounting method list
Apply a named accounting method list
Default The default method list is applied to an interface by default.
Mode Interface Mode
Example To apply the named list ‘vlan10_acct' on the vlan10 interface, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# auth-web accounting vlan10_acct
To remove the named list from the vlan10 interface and set the accounting method back to default , use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no auth-web accounting
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
951
A UTHENTICATION C OMMANDS
AUTH WEB AUTHENTICATION
auth-web authentication
Overview This command overrides the default Web-based authentication method on an interface by allowing you to apply a user-defined named list.
Use the no variant of this command to remove the named list from the interface and apply the default method.
Syntax auth-web authentication {default|< list-name >} no auth-web authentication
Parameter default
< list-name >
Description
Apply the default authentication method list
Apply the user-defined named list
Default The default method list is applied to an interface by default.
Mode Interface Mode
Example To apply the named list 'vlan10_auth' on the vlan10 interface, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# auth-web authentication vlan10_auth
To remove the named list from the vlan10 interface and set the authentication method back to default , use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no auth-web authentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
952
A UTHENTICATION C OMMANDS
AUTH WEB ENABLE
auth-web enable
Overview This command enables Web-based authentication in Interface mode on the interface specified.
Use the no variant of this command to apply its default.
Syntax auth-web enable no auth-web enable
Default Web-Authentication is disabled by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage Web-based authentication cannot be enabled if DHCP snooping is enabled by using the
service dhcp-snooping command, and vice versa. You need to configure
an IPv4 address for the VLAN interface on which Web Authentication is running.
Examples To enable Web-Authentication on static-channel-group 2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# static-channel-group 2 awplus(config-if)# exit awplus(config)# interface sa2 awplus(config-if)# auth-web enable
To disable Web-Authentication on static-channel-group 2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# static-channel-group 2 awplus(config-if)# exit awplus(config)# interface sa2 awplus(config-if)# no auth-web enable
To enable Web authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-web enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
953
A UTHENTICATION C OMMANDS
AUTH WEB ENABLE
To disable Web authentication on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-web enable
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
954
A UTHENTICATION C OMMANDS
AUTH WEB FORWARD
auth-web forward
Overview This command enables the Web-authentication packet forwarding feature on the interface specified. This command also enables ARP forwarding, and adds forwarded packets to the tcp or udp port number specified.
The no variant of this command disables the specified packet forwarding feature on the interface.
Syntax auth-web forward [< ip-address >| <ip-address/prefix-length >]
{dns|tcp <1-65535>|udp <1-65535>}
Or auth-web forward {arp|dhcp|dns|tcp <1-65535>|udp <1-65535>}
The no variant of this command are: no auth-web forward [< ip-address >| <ip-address/prefix-length >]
{dns|tcp <1-65535>|udp <1-65535>}
Or no auth-web forward {arp|dhcp|dns|tcp <1-65535>|udp <1-65535>}
Parameter
< ip-address >
< ip-address/
prefix-length > arp dhcp dns tcp
<1-65535> udp
<1-65535>
Description
The IP address or subnet on which the Web-authentication is to be enabled.
Enable forwarding of ARP.
Enable forwarding of DHCP (67/udp).
Enable forwarding of DNS (53/udp).
Enable forwarding of TCP specified port number.
TCP Port number.
Enable forwarding of UDP specified port number.
UDP Port number.
Default Packet forwarding for port authentication is enabled by default for “arp”, “dhcp” and “dns”.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Usage For more information about the < ip-address > parameter, and an example, see the
“auth- web forward” section in the Alliedware Plus Technical Tips and Tricks.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
955
A UTHENTICATION C OMMANDS
AUTH WEB FORWARD
Examples To enable the ARP forwarding feature on interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-web forward arp
To add the TCP forwarding port 137 on interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-web forward tcp 137
To add the DNS Server IP address 192.168.1.10 on interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# switchport mode access awplus(config-if)# auth-web enable awplus(config-if)# auth dynamic-vlan-creation awplus(config-if)# auth-web forward 192.168.1.10 dns
To disable the ARP forwarding feature on interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth-web forward arp
To delete the TCP forwarding port 137 on interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth-web forward tcp 137
To delete the all of TCP forwarding on interface port1.0.2, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth-web forward tcp
To enable the arp forwarding feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-web forward arp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
956
A UTHENTICATION C OMMANDS
AUTH WEB FORWARD
To add the tcp forwarding port 137 on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-web forward tcp 137
To disable the ARP forwarding feature on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-web forward arp
To delete the tcp forwarding port 137 on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-web forward tcp 137
To delete all tcp forwarding on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-web forward tcp
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
957
A UTHENTICATION C OMMANDS
AUTH WEB MAX AUTH FAIL
auth-web max-auth-fail
Overview This command sets the number of authentication failures allowed before rejecting further authentication requests. When the supplicant (client device) fails more than the specified number of times, then login requests are refused during the quiet period.
The no variant of this command resets the maximum number of authentication failures to the default.
Syntax auth-web max-auth-fail < 0-10 > no auth-web max-auth-fail
Parameter
< 0-10 >
Description
The maximum number of authentication requests allowed before failing.
Default The maximum number of authentication failures is set to 3.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Examples To set the lock count to 5 on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-web max-auth-fail 5
To set the lock count to the default on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no auth-web max-auth-fail
To set the lock count to 5 on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-web max-auth-fail 5
To set the lock count to the default on authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-web max-auth-fail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
958
A UTHENTICATION C OMMANDS
AUTH WEB MAX AUTH FAIL
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
959
A UTHENTICATION C OMMANDS
AUTH WEB METHOD
auth-web method
Overview This command sets the Web-authentication access method that is used with
RADIUS on the interface specified.
The no variant of this command sets the authentication method to PAP for the interface specified when Web-Authentication is also used with the RADIUS authentication method.
Syntax auth-web method {eap-md5|pap} no auth-web method
Parameter eap-md5 pap
Description
Enable EAP-MD5 as the authentication method.
Enable PAP as the authentication method.
Default The Web-Authentication method is set to PAP by default.
Mode Interface Configuration for a static channel, a dynamic (LACP) channel group, or a switch port; or Authentication Profile mode.
Example To set the Web-Authentication method to eap-md5 on interface port1.0.2
, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# auth-web method eap-md5
To set the web authentication method to eap-md5 for authentication profile
‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# auth-web method eap-md5
To reset the web authentication method to the default (PAP) for authentication profile ‘student’, use the commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no auth-web method
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
960
A UTHENTICATION C OMMANDS
AUTH WEB SERVER BLOCKING MODE
auth-web-server blocking-mode
Overview Use this command to enable blocking mode for the Web-Authentication server.
The blocking mode displays an authentication success or failure screen immediately from the response result from a RADIUS server.
Use the no variant of this command to disable blocking mode for the
Web-Authentication server.
Syntax auth-web-server blocking-mode no auth-web-server blocking-mode
Default By default, blocking mode is disabled for the Web-Authentication server.
Mode Global Configuration
Example To enable blocking mode for the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server blocking-mode
To disable blocking mode for the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server blocking-mode
Related
Commands
auth-web-server redirect-delay-time
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
961
A UTHENTICATION C OMMANDS
AUTH WEB SERVER DHCP IPADDRESS
auth-web-server dhcp ipaddress
Overview Use this command to assign an IP address and enable the DHCP service on the
Web-Authentication server for supplicants (client devices).
Use the no variant of this command to remove an IP address and disable the DHCP service on the Web-Authentication server for supplicants.
Syntax auth-web-server dhcp ipaddress < ip-address/prefix-length > no auth-web-server dhcp ipaddress
Parameter
< ip-addr/ prefix-length >
Description
The IPv4 address and prefix length assigned for the DHCP service on the Web-Authentication server for supplicants.
Default No IP address for the Web-Authentication server is set by default.
Mode Global Configuration
Usage See the AAA and Port Authentication Feature Overview and Configuration Guide for information about:
•
• using DHCP with web authentication, and restrictions regarding combinations of authentication enhancements working together
You cannot use the IPv4 address assigned to the device’s interface as the
Web-Authentication server address.
Examples To assign the IP address 10.0.0.1
to the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server dhcp ipaddress 10.0.0.1/8
To remove an IP address on the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server dhcp ipaddress
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
962
A UTHENTICATION C OMMANDS
AUTH WEB SERVER DHCP LEASE
auth-web-server dhcp lease
Overview Use this command to set the DHCP lease time for supplicants (client devices) using the DHCP service on the Web-Authentication server.
Use the no variant of this command to reset to the default DHCP lease time for supplicants using the DHCP service on the Web-Authentication server.
Syntax auth-web-server dhcp lease < 20-60 > no auth-web-server dhcp lease
Parameter
< 20-60 >
Description
DHCP lease time for supplicants using the DHCP service on the Web-
Authentication server in seconds.
Default The default DHCP lease time for supplicants using the DHCP service on the Web-
Authentication server is set to 30 seconds.
Mode Global Configuration
Usage See the AAA and Port Authentication Feature Overview and Configuration Guide for information about:
•
• using DHCP with web authentication, and restrictions regarding combinations of authentication enhancements working together
Examples To set the DHCP lease time to 1 minute for supplicants using the DHCP service on the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server dhcp lease 60
To reset the DHCP lease time to the default setting (30 seconds) for supplicants using the DHCP service on the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server dhcp lease
Validation
Commands
Related
Commands
auth-web-server dhcp ipaddress
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
963
A UTHENTICATION C OMMANDS
AUTH WEB SERVER DHCP WPAD OPTION
auth-web-server dhcp-wpad-option
Overview This command sets the DHCP WPAD (Web Proxy Auto-Discovery) option for the
Web-Authentication temporary DHCP service.
For more information and examples, see the “Web Auth Proxy” section in the
Alliedware Plus Technical Tips and Tricks.
Use the no variant of this command to disable the DHCP WPAD function.
Syntax auth-web-server dhcp wpad-option < url > no auth-web-server dhcp wpad-option
Parameter
< url >
Description
URL to the server which gets a .pac file.
Default The Web-Authentication server DHCP WPAD option is not set.
Mode Global Configuration
Usage If the supplicant is configured to use WPAD, the supplicant’s web browser will use
TCP port 80 as usual. Therefore, the packet can be intercepted by
Web-Authentication as normal, and the Web-Authentication Login page can be sent. However, after authentication, the browser does not know where to get the
WPAD file and so cannot access external web pages. The WPAD file is usually named proxy.pac file and tells the browser what web proxy to use.
Use this command to tell the supplicant where it can get this file from. The switch itself can be specified as the source for this file, and it can deliver it to the supplicant on request.
Example To specify that the proxy.pac file is found on the server at 192.168.1.100, use the following commands: awplus# configure terminal awplus(config)# auth-web-server dhcp wpad-option http://192.168.1.100/proxy/proxy.pac
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
964
A UTHENTICATION C OMMANDS
AUTH WEB SERVER HOST NAME
auth-web-server host-name
Overview This command assigns a hostname to the web authentication server.
Use the no variant of this command to remove the hostname from the web authentication server.
Syntax auth-web-server host-name < hostname > no auth-web-server host-name
Parameter
< hostname >
Description
URL string of the hostname
Default The web authentication server has no hostname.
Mode Global Configuration
Usage When the web authentication server uses HTTPS protocol, the web browser will validate the certificate. If the certificate is invalid, the web page gives a warning message before displaying server content. However, the web page will not give warning message if the server has a hostname same as the one stored in the installed certificate.
Examples To set the auth.example.com as the hostname of the web authentication server, use the commands: awplus# configure terminal awplus(config)# auth-web-server host-name auth.example.com
To remove hostname auth.example.com from the web authentication server, use the commands: awplus# configure terminal awplus(config)# no auth-web-server host-name
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
965
A UTHENTICATION C OMMANDS
AUTH WEB SERVER INTERCEPT PORT
auth-web-server intercept-port
Overview This command specifies any additional TCP port numbers that the
Web-Authentication server is to intercept.
Use the no variant of this command to stop intercepting the TCP port numbers.
Syntax auth-web-server intercept-port {< 1-65535 >|any} no auth-web-server intercept-port {< 1-65535 >|any}
Parameter
< 1-65535 > any
Description
TCP port number.
Intercept all TCP packets
Default No additional TCP port numbers are intercepted by default.
Mode Global Configuration
Usage If this command is not specified, AlliedWare Plus Web-Authentication intercepts the supplicant’s initial TCP port 80 connection to a web page and sends it the Web-
Authentication Login page. However, if the supplicant is configured to use a web proxy, then it will usually be using TCP port 8080 (or another user configured port number). In this case Web-Authentication cannot intercept the connection.
To overcome this limitation you can use this command to tell the switch which additional port it should intercept, and then send the Web-Authentication Login page to the supplicant.
When the web authentication switch is in a guest network, the switch does not know the proxy server’s port number in the supplicant’s proxy setting. To overcome this limitation, you can use the any option in this command to intercept all TCP packets.
When you use this command in conjunction with a proxy server configured in the web browser, you must add the proxy server’s network as a ‘No Proxy’ network.
You can specify ‘No Proxy’ networks in the proxy settings in your web browser. For more information, see the “Web Auth Proxy” section in the Alliedware Plus
Technical Tips and Tricks.
Example To additionally intercept port number 3128, use the following commands: awplus# configure terminal awplus(config)# auth-web-server intercept-port 3128
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
966
A UTHENTICATION C OMMANDS
AUTH WEB SERVER IPADDRESS
auth-web-server ipaddress
Overview This command sets the IP address for the Web-Authentication server.
Use the no variant of this command to delete the IP address for the
Web-Authentication server.
You cannot use the IPv4 address assigned to the device’s interface as the
Web-Authentication server address.
Syntax auth-web-server ipaddress < ip-address > no auth-web-server ipaddress
Parameter
< ip-address >
Description
Web-Authentication server dotted decimal IP address in
A.B.C.D format.
Default The Web-Authentication server address on the system is not set by default.
Mode Global Configuration
Examples To set the IP address 10.0.0.1
to the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server ipaddress 10.0.0.1
To delete the IP address from the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server ipaddress
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
967
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PAGE LANGUAGE
auth-web-server page language
Overview Use this command to set the presentation language of Web authentication pages.
Titles and subtitles of Web authentication pages will be set accordingly. Note that presently only English or Japanese are offered.
Use the no variant of this command to set the presentation language of Web authentication pages to its default (English).
Syntax auth-web-server page language {english|japanese} no auth-web-server page language
Parameter english japanese
Description
Web authentication pages are presented in English.
Web authentication pages are presented in Japanese.
Default Web authentication pages are presented in English by default.
Mode Global Configuration
Examples To set Japanese as the presentation language of Web authentication pages, use the following commands: awplus# configure terminal awplus(config)# auth-web-server page language japanese
To set English as the presentation language of Web authentication pages, use the following commands: awplus# configure terminal awplus(config)# auth-web-server page language english
To unset the presentation language of Web authentication pages and use English as the default presentation language, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server page language
Related
Commands
auth-web-server page sub-title
968 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A UTHENTICATION C OMMANDS
AUTH WEB SERVER LOGIN URL
auth-web-server login-url
Overview This command sets the web-authentication login page URL. This lets you replace the login page with your own page. See “Customising the Login Page” in the AAA and Port Authentication Feature Overview and Configuration Guide for details.
Use the no variant of this command to delete the URL.
Syntax auth-web-server login-url < URL > no auth-web-server login-url
Parameter
< URL >
Description
Set login page URL
Default The built-in login page is set by default.
Mode Global Configuration
Examples To set http://example.com/login.html as the login page, use the commands: awplus# configure terminal awplus(config)# auth-web-server login-url http://example.com/login.html
To unset the login page URL, use the commands: awplus# configure terminal awplus(config)# no auth-web-server login-url
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
969
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PAGE LOGO
auth-web-server page logo
Overview This command sets the type of logo that will be displayed on the web authentication page.
Use the no variant of this command to set the logo type to auto .
Note that if you need to customize the login page extensively, you can instead replace it with your own page. See “Customising the Login Page” in the AAA and
Port Authentication Feature Overview and Configuration Guide .
Syntax auth-web-server page logo {auto|default|hidden} no auth-web-server page logo
Parameter auto default hidden
Description
Display the custom logo if installed; otherwise display the default logo
Display the default logo
Hide the logo
Default Logo type is auto by default.
Mode Global Configuration
Examples To display the default logo with ignoring installed custom logo, use the commands: awplus# configure terminal awplus(config)# auth-web-server page logo default
To set back to the default logo type auto , use the commands: awplus# configure terminal awplus(config)# no auth-web-server page logo
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
970
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PAGE SUB TITLE
auth-web-server page sub-title
Overview This command sets the custom sub-title on the web authentication page.
Use the no variant of this command to reset the sub-title to its default.
Note that if you need to customize the login page extensively, you can instead replace it with your own page. See “Customising the Login Page” in the AAA and
Port Authentication Feature Overview and Configuration Guide .
Syntax auth-web-server page sub-title {hidden|text < sub-title >} no auth-web-server page sub-title
Parameter hidden
<sub-title>
Description
Hide the sub-title
Text string of the sub-title
Default “Allied-Telesis” is displayed by default.
Mode Global Configuration
Examples To set the custom sub-title, use the commands: awplus# configure terminal awplus(config)# auth-web-server page sub-title text Web
Authentication
To hide the sub-title, use the commands: awplus# configure terminal awplus(config)# auth-web-server page sub-title hidden
To change back to the default title, use the commands: awplus# configure terminal awplus(config)# no auth-web-server page sub-title
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
971
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PAGE SUCCESS MESSAGE
auth-web-server page success-message
Overview This command sets the success message on the web-authentication page.
Use the no variant of this command to remove the success message.
Note that if you need to customize the login page extensively, you can instead replace it with your own page. See “Customising the Login Page” in the AAA and
Port Authentication Feature Overview and Configuration Guide .
Syntax auth-web-server page success-message text < success-message > no auth-web-server page success-message
Parameter
<success-message>
Description
Text string of the success message
Default No success message is set by default.
Mode Global Configuration
Examples To set the success message on the web-authentication page, use the commands: awplus# configure terminal awplus(config)# auth-web-server page success-message text Your success message
To unset the success message on the web-authentication page, use the commands: awplus# configure terminal awplus(config)# no auth-web-server page success-message
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
972
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PAGE TITLE
auth-web-server page title
Overview This command sets the custom title on the web authentication page.
Use the no variant of this command to remove the custom title.
Note that if you need to customize the login page extensively, you can instead replace it with your own page. See “Customising the Login Page” in the AAA and
Port Authentication Feature Overview and Configuration Guide .
Syntax auth-web-server page title {hidden|text < title >} no auth-web-server page title
Parameter hidden
<title>
Description
Hide the title
Text string of the title
Default “Web Access Authentication Gateway” is displayed by default.
Mode Global Configuration
Examples To set the custom title on the web authentication page, use the commands: awplus# configure terminal awplus(config)# auth-web-server page title text Login
To hide the title on the web authentication page, use the commands: awplus# configure terminal awplus(config)# auth-web-server page title hidden
To unset the custom title on the web authentication page, use the commands: awplus# configure terminal awplus(config)# no auth-web-server page title
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
973
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PAGE WELCOME MESSAGE
auth-web-server page welcome-message
Overview This command sets the welcome message on the web-authentication login page.
Use the no variant of this command to remove the welcome message.
Note that if you need to customize the login page extensively, you can instead replace it with your own page. See “Customising the Login Page” in the AAA and
Port Authentication Feature Overview and Configuration Guide .
Syntax auth-web-server page welcome-message text < welcome-message > no auth-web-server page welcome-message
Parameter
<welcome-message>
Description
Text string of the welcome message
Default No welcome message is set by default.
Mode Global Configuration
Examples To set the welcome message on the web-authentication page, use the commands: awplus# configure terminal awplus(config)# auth-web-server page welcome-message text Your welcome message
To remove the welcome message on the web-authentication page, use the commands: awplus# configure terminal awplus(config)# no auth-web-server page welcome-message
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
974
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PING POLL ENABLE
auth-web-server ping-poll enable
Overview This command enables the ping polling to the supplicant (client device) that is authenticated by Web-Authentication.
The no variant of this command disables the ping polling to the supplicant that is authenticated by Web-Authentication.
Syntax auth-web-server ping-poll enable no auth-web-server ping-poll enable
Default The ping polling feature for Web-Authentication is disabled by default.
Mode Global Configuration
Examples To enable the ping polling feature for Web-Authentication, use the following commands: awplus# configure terminal awplus(config)# auth-web-server ping-poll enable
To disable the ping polling feature for Web-Authentication, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server ping-poll enable
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
975
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PING POLL FAILCOUNT
auth-web-server ping-poll failcount
Overview This command sets a fail count for the ping polling feature when used with
Web-Authentication. The failcount parameter specifies the number of unanswered pings. A supplicant (client device) is logged off when the number of unanswered pings are greater than the failcount set with this command.
Use the no variant of this command to resets the fail count for the ping polling feature to the default (5 pings).
Syntax auth-web-server ping-poll failcount < 1-100 > no auth-web-server ping-poll failcount
Parameter
< 1-100 >
Description
Count.
Default The default failcount for ping polling is 5 pings.
Mode Global Configuration
Examples To set the failcount of ping polling to 10 pings, use the following commands: awplus# configure terminal awplus(config)# auth-web-server ping-poll failcount 10
To set the failcount of ping polling to default, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server ping-poll failcount
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
976
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PING POLL INTERVAL
auth-web-server ping-poll interval
Overview This command is used to change the ping poll interval. The interval specifies the time period between pings when the supplicant (client device) is reachable.
Use the no variant of this command to reset to the default period for ping polling
(30 seconds).
Syntax auth-web-server ping-poll interval < 1-65535 > no auth-web-server ping-poll interval
Parameter
< 1-65535 >
Description
Seconds.
Default The interval for ping polling is 30 seconds by default.
Mode Global Configuration
Examples To set the interval of ping polling to 60 seconds, use the following commands: awplus# configure terminal awplus(config)# auth-web-server ping-poll interval 60
To set the interval of ping polling to the default (30 seconds), use the following commands: awplus# configure terminal awplus(config)# no auth-web-server ping-poll interval
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
977
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PING POLL REAUTH TIMER REFRESH
auth-web-server ping-poll reauth-timer-refresh
Overview This command modifies the reauth-timer-refresh parameter for the
Web-Authentication feature. The reauth-timer-refresh parameter specifies whether a re-authentication timer is reset and when the response from a supplicant (a client device) is received.
Use the no variant of this command to reset the reauth-timer-refresh parameter to the default setting (disabled).
Syntax auth-web-server ping-poll reauth-timer-refresh no auth-web-server ping-poll reauth-timer-refresh
Default The reauth-timer-refresh parameter is disabled by default.
Mode Global Configuration
Examples To enable the reauth-timer-refresh timer, use the following commands: awplus# configure terminal awplus(config)# auth-web-server ping-poll reauth-timer-refresh
To disable the reauth-timer-refresh timer, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server ping-poll reauth-timer-refresh
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
978
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PING POLL TIMEOUT
auth-web-server ping-poll timeout
Overview This command modifies the ping poll timeout parameter for the
Web-Authentication feature. The timeout parameter specifies the time in seconds to wait for a response to a ping packet.
Use the no variant of this command to reset the timeout of ping polling to the default (1 second).
Syntax auth-web-server ping-poll timeout < 1-30 > no auth-web-server ping-poll timeout
Parameter
< 1-30 >
Description
Seconds.
Default The default timeout for ping polling is 1 second.
Mode Global Configuration
Examples To set the timeout of ping polling to 2 seconds, use the command: awplus# configure terminal awplus(config)# auth-web-server ping-poll timeout 2
To set the timeout of ping polling to the default (1 second), use the command: awplus# configure terminal awplus(config)# no auth-web-server ping-poll timeout
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
979
A UTHENTICATION C OMMANDS
AUTH WEB SERVER PORT
auth-web-server port
Overview This command sets the HTTP port number for the Web-Authentication server.
Use the no variant of this command to reset the HTTP port number to the default
(80).
Syntax auth-web-server port < port-number > no auth-web-server port
Parameter
< port-number >
Description
Set the local Web-Authentication server port within the TCP port number range 1 to 65535.
Default The Web-Authentication server HTTP port number is set to 80 by default.
Mode Global Configuration
Examples To set the HTTP port number 8080 for the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server port 8080
To reset to the default HTTP port number 80 for the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server port
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
980
A UTHENTICATION C OMMANDS
AUTH WEB SERVER REDIRECT DELAY TIME
auth-web-server redirect-delay-time
Overview Use this command to set the delay time in seconds before redirecting the supplicant to a specified URL when the supplicant is authorized.
Use the variant no to reset the delay time set previously.
Syntax auth-web-server redirect-delay-time < 5-60 > no auth-web-server redirect-delay-time
Parameter Description redirect-delay-time Set the delay time before jumping to a specified
URL after the supplicant is authorized.
< 5-60 > The time in seconds.
Default The default redirect delay time is 5 seconds.
Mode Global Configuration
Examples To set the delay time to 60 seconds for the Web-Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server redirect-delay-time 60
To reset the delay time, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server redirect-delay-time
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
981
A UTHENTICATION C OMMANDS
AUTH WEB SERVER REDIRECT URL
auth-web-server redirect-url
Overview This command sets a URL for supplicant (client device) authentication. When a supplicant is authorized it will be automatically redirected to the specified URL.
Note that if the http redirect feature is used then this command is ignored.
Use the no variant of this command to delete the URL string set previously.
Syntax auth-web-server redirect-url < url > no auth-web-server redirect-url
Parameter
< url >
Description
URL (hostname or dotted IP notation).
Default The redirect URL for the Web-Authentication server feature is not set by default
(null).
Mode Global Configuration
Examples To enable and set redirect a URL string www.alliedtelesis.com for the Web-
Authentication server, use the following commands: awplus# configure terminal awplus(config)# auth-web-server redirect-url http://www.alliedtelesis.com
To delete a redirect URL string, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server redirect-url
Related
Commands
auth-web-server redirect-delay-time
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
982
A UTHENTICATION C OMMANDS
AUTH WEB SERVER SESSION KEEP
auth-web-server session-keep
Overview This command enables the session-keep feature to jump to the original URL after being authorized by Web-Authentication.
Use the no variant of this command to disable the session keep feature.
Syntax auth-web-server session-keep no auth-web-server session-keep
Default The session-keep feature is disabled by default.
Mode Global Configuration
Usage This function doesn't ensure to keep session information in all cases.
Authenticated supplicant may be redirected to unexpected page when session-keep is enabled. This issue occurred by supplicant sending HTTP packets automatically after authentication page is displayed and the URL is written.
Examples To enable the session-keep feature, use the following commands: awplus# configure terminal awplus(config)# auth-web-server session-keep
To disable the session-keep feature, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server session-keep
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
983
A UTHENTICATION C OMMANDS
AUTH WEB SERVER SSL
auth-web-server ssl
Overview This command enables HTTPS functionality for the Web-Authentication server feature.
Use the no variant of this command to disable HTTPS functionality for the
Web-Authentication server.
Syntax auth-web-server ssl no auth-web-server ssl
Default HTTPS functionality for the Web-Authentication server feature is disabled by default.
Mode Global Configuration
Examples To enable HTTPS functionality for the Web-Authentication server feature, use the following commands: awplus# configure terminal awplus(config)# auth-web-server ssl
To disable HTTPS functionality for the Web-Authentication server feature, use the following commands: awplus# configure terminal awplus(config)# no auth-web-server ssl
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
984
A UTHENTICATION C OMMANDS
AUTH WEB SERVER SSL INTERCEPT PORT
auth-web-server ssl intercept-port
Overview Use this command to register HTTPS intercept port numbers when the HTTPS server uses custom port number (not TCP port number 443).
Note that you need to use the auth-web-server intercept-port command to register HTTP intercept port numbers.
Use the no variant of this command to delete registered port number.
Syntax auth-web-server ssl intercept-port < 1-65535 > no auth-web-server ssl intercept-port < 1-65535 >
Parameter
< 1-65535 >
Description
TCP port number in the range from 1 through 65535
Default 443/TCP is registered by default.
Mode Global Configuration
Examples To register HTTPS port number 3128, use the commands: awplus# configure terminal awplus(config)# auth-web-server ssl intercept-port 3128
To delete HTTPS port number 3128, use the commands: awplus# configure terminal awplus(config)# no auth-web-server ssl intercept-port 3128
Validation
Commands
Related
Commands
auth-web-server intercept-port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
985
A UTHENTICATION C OMMANDS
COPY PROXY AUTOCONFIG FILE
copy proxy-autoconfig-file
Overview Use this command to download the proxy auto configuration (PAC) file to your switch. The Web-Authentication supplicant can get the downloaded file from the system web server.
Syntax copy < filename > proxy-autoconfig-file
Parameter Description
< filename > The URL of the PAC file.
Mode Privileged Exec
Example To download the PAC file to this device, use the command: awplus# copy tftp://server/proxy.pac proxy-autoconfig-file
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
986
A UTHENTICATION C OMMANDS
COPY WEB AUTH HTTPS FILE
copy web-auth-https-file
Overview Use this command to download the SSL server certificate for web-based authentication. The file must be in PEM (Privacy Enhanced Mail) format, and contain the private key and the server certificate.
Syntax copy < filename > web-auth-https-file
Parameter Description
< filename > The URL of the server certificate file.
Mode Privileged Exec
Example To download the server certificate file veriSign_cert.pem
from the TFTP server directory server , use the command: awplus# copy tftp://server/veriSign_cert.pem web-auth-https-file
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
987
A UTHENTICATION C OMMANDS
DESCRIPTION (A UTHENTICATION P ROFILE )
description (Authentication Profile)
Overview Use this command to add a description to an authentication profile in
Authentication Profile mode.
Use the no variant of this command to remove the current description.
Syntax description < description >
Parameter Description
< description > Text describing the selected authentication profile.
Default No description configured by default.
Mode Authentication Profile
Example To add a description to the authentication profile ‘student’, use the following commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# description student room setting
To remove a description from the authentication profile ‘student’, use the following commands: awplus# configure terminal awplus(config)# auth profile student awplus(config-auth-profile)# no description
Related
Commands
auth profile (Global Configuration)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
988
A UTHENTICATION C OMMANDS
ERASE PROXY AUTOCONFIG FILE
erase proxy-autoconfig-file
Overview Use this command to remove the proxy auto configuration file.
Syntax erase proxy-autoconfig-file
Mode Privileged Exec
Example To remove the proxy auto configuration file, use the command: awplus# erase proxy-autoconfig-file
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
989
A UTHENTICATION C OMMANDS
ERASE WEB AUTH HTTPS FILE
erase web-auth-https-file
Overview Use this command to remove the SSL server certificate for web-based authentication.
Syntax erase web-auth-https-file
Mode Privileged Exec
Example To remove the SSL server certificate file for web-based authentication use the command: awplus# erase web-auth-https-file
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
990
A UTHENTICATION C OMMANDS
PLATFORM MAC VLAN HASHING ALGORITHM
platform mac-vlan-hashing-algorithm
Overview This command enables you to change the MAC VLAN hash-key-generating algorithm.
The no variant of this command returns the hash-key algorithm to the default of crc32l
Syntax platform mac-vlan-hashing-algorithm
{crc16l|crc16u|crc32l|crc32u} no platform mac-vlan-hashing-algorithm
Parameter crc16l crc16u crc32l crc32u
Description
The algorithm that will apply to the lower bits of CRC-16
The algorithm that will apply to the upper bits of CRC-16
The algorithm that will apply to the lower bits of CRC-32
The algorithm that will apply to the upper bits of CRC-32
Default The hash-key algorithm is crc32l by default.
Mode Global configuration
Usage Occasionally, when using the Multiple Dynamic VLAN feature, a supplicant cannot be authenticated because a collision occurs within the VLAN MAC table. This can happen when more than four different MAC addresses produce the same hash-key.
When this situation occurs, collisions can sometimes be avoided by changing the hashing algorithm from its default of crc32l. Several different algorithms may need to be tried to rectify the problem.
You must restart the switch for this command to take effect.
Note that this command is intended for technical support staff, or advanced end users.
Example To change the hash-key generating algorithm applying to the lower bits of CRC-16, use the command: awplus# configure terminal awplus(config)# platform mac-vlan-hashing-algorithm crc16l
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
991
A UTHENTICATION C OMMANDS
SHOW AUTH
show auth
Overview This command shows the configuration state of authentication.
Syntax show auth [all]
Parameter all
Description
Display all authentication information for each authenticated interface. This can be a static channel (or static aggregator), or a dynamic (or LACP) channel group, or a switch port.
Mode Privileged Exec
Example To display all authentication information, enter the command: awplus# show auth all
Output Figure 31-1: Example output from the show auth command awplus# show auth all
802.1X Port-Based Authentication Enabled
MAC-based Port Authentication Disabled
WEB-based Port Authentication Enabled
RADIUS server address (auth): 150.87.17.192:1812
Last radius message id: 4
Authentication Info for interface port1.0.1 portEnabled: true - portControl: Auto
portStatus: Authorized
reAuthenticate: disabled
reAuthPeriod: 3600
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
BE: suppTimeout: 30 - serverTimeout: 30
CD: adminControlledDirections: in
KT: keyTxEnabled: false
critical: disabled
guestVlan: disabled
authFailVlan: disabled
dynamicVlanCreation: disabled
hostMode: single-host
dot1x: enabled
protocolVersion: 1
authMac: disabled
authWeb: enabled
method: PAP
maxAuthFail: 3
packetForwarding:
10.0.0.1 80/tcp
dns
dhcp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
992
A UTHENTICATION C OMMANDS
SHOW AUTH twoStepAuthentication:
configured: enabled
actual: enabled supplicantMac: none
Supplicant name: oha
Supplicant address: 000d.6013.5398
authenticationMethod: WEB-based Authentication
Two-Step Authentication:
firstAuthentication: Pass - Method: dot1x
secondAuthentication: Pass - Method: web
portStatus: Authorized - currentId: 3
abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2
BE: state: Idle - reqCount: 0 - idFromServer: 2
CD: adminControlledDirections: in - operControlledDirections: in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
993
A UTHENTICATION C OMMANDS
SHOW AUTH DIAGNOSTICS
show auth diagnostics
Overview This command shows authentication diagnostics, optionally for the specified interface, which may be a static channel (or static aggregator) or a dynamic (or
LACP) channel group or a switch port.
If no interface is specified then authentication diagnostics are shown for all interfaces.
Syntax show auth diagnostics [interface < interface-list >]
Parameter interface
Description
Specify ports to show.
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Example To display authentication diagnostics for port1.0.6
, enter the command: awplus# show auth diagnostics interface port1.0.6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
994
A UTHENTICATION C OMMANDS
SHOW AUTH DIAGNOSTICS
Output Figure 31-2: Example output from the show auth diagnostics command
Authentication Diagnostics for interface port1.0.6
Supplicant address: 00d0.59ab.7037
authEnterConnecting: 2
authEaplogoffWhileConnecting: 1
authEnterAuthenticating: 2
authSuccessWhileAuthenticating: 1
authTimeoutWhileAuthenticating: 1
authFailWhileAuthenticating: 0
authEapstartWhileAuthenticating: 0
authEaplogoggWhileAuthenticating: 0
authReauthsWhileAuthenticated: 0
authEapstartWhileAuthenticated: 0
authEaplogoffWhileAuthenticated: 0
BackendResponses: 2
BackendAccessChallenges: 1
BackendOtherrequestToSupplicant: 3
BackendAuthSuccess: 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
995
A UTHENTICATION C OMMANDS
SHOW AUTH INTERFACE
show auth interface
Overview This command shows the status of port authentication on the specified interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port.
Use the optional diagnostics parameter to show authentication diagnostics for the specified interface. Use the optional sessionstatistics parameter to show authentication session statistics for the specified interface. Use the optional statistics parameter to show authentication diagnostics for the specified interface. Use the optional supplicant (client device) parameter to show the supplicant state for the specified interface.
Syntax show auth interface < interface-list >
[diagnostics|sessionstatistics|statistics|supplicant [brief]]
Parameter Description
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
diagnostics Diagnostics.
sessionstatistics Session statistics.
statistics Statistics.
supplicant brief
Supplicant (client device).
Brief summary of supplicant state.
Mode Privileged Exec
Example To display the Web based authentication status for port1.0.6
, enter the command: awplus# show auth interface port1.0.6
If web-based authentication is not configured, the output will be
% Port-Control not configured on port1.0.6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
996
A UTHENTICATION C OMMANDS
SHOW AUTH INTERFACE
To display the Web based authentication status for port1.0.1
, enter the command: awplus# show auth interface port1.0.1
awplus# show auth interface port1.0.1
Authentication Info for interface port1.0.1
portEnabled: true - portControl: Auto
portStatus: Authorized
reAuthenticate: disabled
reAuthPeriod: 3600
PAE: quietPeriod: 60 - maxReauthReq: 2 - txPeriod: 30
BE: suppTimeout: 30 - serverTimeout: 30
CD: adminControlledDirections: in
KT: keyTxEnabled: false
critical: disabled
guestVlan: disabled
guestVlanForwarding:
none
authFailVlan: disabled
dynamicVlanCreation: disabled
hostMode: single-host
dot1x: enabled
protocolVersion: 1
authMac: disabled
authWeb: enabled
method: PAP
maxAuthFail: 3
packetForwarding:
10.0.0.1 80/tcp
dns
dhcp
twoStepAuthentication:
configured: enabled
actual: enabled
supplicantMac: none
To display Web-Authentication diagnostics for port1.0.6
, enter the command: awplus# show auth interface port1.0.6 diagnostics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
997
A UTHENTICATION C OMMANDS
SHOW AUTH INTERFACE
Authentication Diagnostics for interface port1.0.6
Supplicant address: 00d0.59ab.7037
authEnterConnecting: 2 authEaplogoffWhileConnecting: 1
authEnterAuthenticating: 2
authSuccessWhileAuthenticating: 1
authTimeoutWhileAuthenticating: 1
authFailWhileAuthenticating: 0
authEapstartWhileAuthenticating: 0
authEaplogoggWhileAuthenticating: 0
authReauthsWhileAuthenticated: 0
authEapstartWhileAuthenticated: 0
authEaplogoffWhileAuthenticated: 0
BackendResponses: 2
BackendAccessChallenges: 1
BackendOtherrequestToSupplicant: 3
BackendAuthSuccess: 1
To display Web-Authentication session statistics for port1.0.6
, enter the command: awplus# show auth interface port1.0.6 sessionstatistics
Authentication session statistics for interface port1.0.6
session user name: manager
session authentication method: Remote server
session time: 19440 secs
session terminat cause: Not terminated yet
To display Web-Authentication statistics for port1.0.6
, enter the command: awplus# show auth statistics interface port1.0.6
To display the Web-Authenticated supplicant on interface port1.0.6
, enter the command: awplus# show auth interface port1.0.6 supplicant
Related
Commands
show dot1x statistics interface
show dot1x supplicant interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
998
A UTHENTICATION C OMMANDS
SHOW AUTH SESSIONSTATISTICS
show auth sessionstatistics
Overview This command shows authentication session statistics for the specified interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port.
Syntax show auth sessionstatistics [interface < interface-list >]
Parameter interface
<interface-list>
Description
Specify ports to show.
The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Example To display authentication statistics for port1.0.6
, enter the command: awplus# show auth sessionstatistics interface port1.0.6
Output Figure 31-3: Example output from the show auth sessionstatistics command
Authentication session statistics for interface port1.0.6
session user name: manager
session authentication method: Remote server
session time: 19440 secs
session terminat cause: Not terminated yet
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
999
A UTHENTICATION C OMMANDS
SHOW AUTH STATISTICS INTERFACE
show auth statistics interface
Overview This command shows the authentication statistics for the specified interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port.
Syntax show auth statistics interface < interface-list >
Parameter Description
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
Mode Privileged Exec
Example To display Web-Authentication statistics for port1.0.4
, enter the command: awplus# show auth statistics interface port1.0.4
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1000
A UTHENTICATION C OMMANDS
SHOW AUTH SUPPLICANT
show auth supplicant
Overview This command shows the supplicant (client device) state when authentication is configured for the switch. Use the optional brief parameter to show a summary of the supplicant state.
Syntax show auth supplicant [< macadd >] [brief]
Parameter
< macadd > brief
Description
Mac (hardware) address of the supplicant.
Entry format is HHHH.HHHH.HHHH (hexadecimal).
Brief summary of the supplicant state.
Mode Privileged Exec
Examples To display a summary of authenticated supplicant information on the device, enter the command: awplus# show auth supplicant brief
To display authenticated supplicant information on the device, enter the command: awplus# show auth supplicant
To display authenticated supplicant information for device with MAC address
0000.5E00.5301
, enter the command: awplus# show auth supplicant 0000.5E00.5301
Output Figure 31-4: Example output from show auth supplicant brief awplus#show auth supplicant brief
Interface port2.0.3
authenticationMethod: dot1x/mac/web
Two-Step Authentication
firstMethod: mac
secondMethod: dot1x/web
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 0
webBasedAuthenticationSupplicantNum: 1
otherAuthenticationSupplicantNum: 0RADIUS Group Configuration
Interface VID Mode MAC Address Status IP Address Username
=========== ==== ==== ============== ================= =============== ======== port2.0.3 1 W 001c.233e.e15a Authenticated 192.168.1.181 test
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1001
A UTHENTICATION C OMMANDS
SHOW AUTH SUPPLICANT
Figure 31-5: Example output from show auth supplicant awplus#show auth supplicant
Interface port2.0.3
authenticationMethod: dot1x/mac/web
Two-Step Authentication
firstMethod: mac
secondMethod: dot1x/web
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 0
webBasedAuthenticationSupplicantNum: 1
otherAuthenticationSupplicantNum: 0
Supplicant name: test
Supplicant address: 0000.5E00.5301
authenticationMethod: WEB-based Authentication
Two-Step Authentication:
firstAuthentication: Pass - Method: mac
secondAuthentication: Pass - Method: web
portStatus: Authorized - currentId: 1
abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2
BE: state: Idle - reqCount: 0 - idFromServer: 0
CD: adminControlledDirections: in - operControlledDirections: in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
RADIUS server group (auth): radius
RADIUS server (auth): 192.168.1.40
Figure 31-6: Example output from show auth supplicant 0000.5E00.5301
awplus#show auth supplicant 0000.5E00.5301
Interface port2.0.3
Supplicant name: test
Supplicant address: 0000.5E00.5301
authenticationMethod: WEB-based Authentication
Two-Step Authentication:
firstAuthentication: Pass - Method: mac
secondAuthentication: Pass - Method: web
portStatus: Authorized - currentId: 1
abort:F fail:F start:F timeout:F success:T
PAE: state: Authenticated - portMode: Auto
PAE: reAuthCount: 0 - rxRespId: 0
PAE: quietPeriod: 60 - maxReauthReq: 2
BE: state: Idle - reqCount: 0 - idFromServer: 0
CD: adminControlledDirections: in - operControlledDirections: in
CD: bridgeDetected: false
KR: rxKey: false
KT: keyAvailable: false - keyTxEnabled: false
RADIUS server group (auth): radius
RADIUS server (auth): 192.168.1.40
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1002
A UTHENTICATION C OMMANDS
SHOW AUTH SUPPLICANT
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1003
A UTHENTICATION C OMMANDS
SHOW AUTH SUPPLICANT INTERFACE
show auth supplicant interface
Overview This command shows the supplicant (client device) state for the authentication mode set for the interface, which may be a static channel (or static aggregator) or a dynamic (or LACP) channel group or a switch port. Use the optional brief parameter to show a summary of the supplicant state.
Syntax show auth-web supplicant interface < interface-list > [brief]
Parameter Description
<interface-list> The interfaces or ports to configure. An interface-list can be:
• an interface (e.g. vlan2 ), a switch port (e.g. port1.0.6
), a static channel group (e.g. sa2 ) or a dynamic (LACP) channel group (e.g. po2 )
• a continuous range of interfaces, ports, static channel groups or dynamic (LACP) channel groups separated by a hyphen; e.g. vlan2-8 , or port1.0.1-1.0.4
, or sa1-2 , or po1-2
• a comma-separated list of the above; e.g. port1.0.1,port1.0.4-1.0.6
. Do not mix interface types in a list
The specified interfaces must exist.
brief Brief summary of the supplicant state.
Mode Privileged Exec
Examples To display the authenticated supplicant on the interface port1.0.3
, enter the command: awplus# show auth supplicant interface port1.0.3
To display brief summary output for the authenticated supplicant, enter the command: awplus# show auth supplicant brief
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1004
A UTHENTICATION C OMMANDS
SHOW AUTH TWO STEP SUPPLICANT BRIEF
show auth two-step supplicant brief
Overview This command displays the supplicant state of the two-step authentication feature on the interface.
Syntax show auth two-step supplicant [interface < ifrange >] brief
Parameter interface
< ifrange >
Description
The interface selected for display.
The interface types which can be specified as < ifrange >
• Switch port (e.g. port1.0.6)
• Static channel group (e.g. sa3)
• Dynamic (LACP) channel group (e.g. po4)
Mode Privileged Exec
Usage Do not mix interface types in a list. The specified interfaces must exist.
Example To display the supplicant state of the two-step authentication feature, enter the command: awplus# show two-step supplicant interface port1.0.6 brief
Output Figure 31-7: Example output from show auth two-step supplicant brief
interface port1.0.6
authenticationMethod: dot1x/mac
Two-Step Authentication:
firstMethod:mac
secondMethod:dot1x
totalSupplicantNum: 1
authorizedSupplicantNum: 1
macBasedAuthenticationSupplicantNum: 0
dot1xAuthenticationSupplicantNum: 1
webBasedAuthenticationSupplicantNum: 0
otherAuthenticationSupplicantNum: 0
Interface VID Mode MAC Address Status FirstStep SecondStep
========== === ==== =========== ====== ========= ========== port1.0.6 1 D 000b..db67.00f7 Authenticated Pass Pass
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1005
A UTHENTICATION C OMMANDS
SHOW AUTH WEB SERVER
show auth-web-server
Overview This command shows the Web-Authentication server configuration and status on the switch.
Syntax show auth-web-server
Mode Privileged Exec
Example To display Web-Authentication server configuration and status, enter the command: awplus# show auth-web-server
Output Figure 31-8: Example output from the show auth-web-server command
Web authentication server
Server status: enabled
Server mode: none
Server address: 192.168.1.1/24
DHCP server enabled
DHCP lease time: 20
DHCP WPAD Option URL: http://192.168.1.1/proxy.pac
HTTP Port No: 80
Security: disabled
Certification: default
SSL Port No: 443
Redirect URL: -
Redirect Delay Time: 5
HTTP Redirect: enabled
Session keep: disabled
PingPolling: disabled
PingInterval: 30
Timeout: 1
FailCount: 5
ReauthTimerReFresh: disabled
Related
Commands
auth-web-server redirect-delay-time
1006 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A UTHENTICATION C OMMANDS
SHOW AUTH WEB SERVER PAGE
show auth-web-server page
Overview This command displays the web-authentication page configuration and status.
Syntax show auth-web-server page
Mode Privileged Exec
Examples To show the web-authentication page information, use the command: awplus# show auth-web-server page
Figure 31-9: Example output from the show auth-web-server page command awplus#show auth-web-server page
Web authentication page
Logo: auto
Title: default
Sub-Title: Web Authentication
Welcome message: Your welcome message
Success message: Your success message
Related
Commands
auth-web-server page sub-title
auth-web-server page success-message
auth-web-server page welcome-message
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1007
A UTHENTICATION C OMMANDS
SHOW PROXY AUTOCONFIG FILE
show proxy-autoconfig-file
Overview This command displays the contents of the proxy auto configuration (PAC) file.
Syntax show proxy-autoconfig-file
Mode Privileged Exec
Example To display the contents of the proxy auto configuration (PAC) file, enter the command: awplus# show auth proxy-autoconfig-file
Output Figure 31-10: Example output from the show proxy-autoconfig -file function FindProxyForURL(url,host)
{
if (isPlainHostName(host) ||
isInNet(host, “192.168.1.0”,”255.255.255.0”)) {
return “DIRECT”;
}
else {
return “PROXY 192.168.110.1:8080”;
}
}
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1008
32
AAA Commands
Introduction
Overview This chapter provides an alphabetical reference for AAA commands for
Authentication, Authorization and Accounting. For more information, see the AAA
Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ aaa accounting auth-mac ” on page 1011
“ aaa accounting auth-web ” on page 1013
“ aaa accounting commands ” on page 1015
“ aaa accounting dot1x ” on page 1017
“ aaa accounting login ” on page 1019
“ aaa accounting update ” on page 1022
“ aaa authentication auth-mac ” on page 1024
“ aaa authentication auth-web ” on page 1026
“ aaa authentication dot1x ” on page 1028
“ aaa authentication enable default group tacacs+ ” on page 1030
“ aaa authentication enable default local ” on page 1032
“ aaa authentication login ” on page 1033
“ aaa authorization commands ” on page 1035
“ aaa authorization config-commands ” on page 1037
“ aaa group server ” on page 1038
“ aaa local authentication attempts lockout-time ” on page 1040
aaa local authentication attempts max-fail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1009
AAA C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ authorization commands ” on page 1044
“ clear aaa local user lockout ” on page 1046
“ login authentication ” on page 1048
“ radius-secure-proxy aaa ” on page 1050
“ server (radsecproxy-aaa) ” on page 1051
“ server mutual-authentication ” on page 1053
“ server name-check ” on page 1054
“ server trustpoint ” on page 1055
“ show aaa local user locked ” on page 1057
“ show aaa server group ” on page 1058
“ show debugging aaa ” on page 1059
“ show radius server group ” on page 1060
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1010
AAA C OMMANDS
AAA ACCOUNTING AUTH MAC
aaa accounting auth-mac
Overview This command configures an accounting method list for MAC-based authentication. An accounting method list specifies what type of accounting messages are sent and which RADIUS servers the accounting messages are sent to.
Use this command to configure either the default method list, which is automatically applied to interfaces with MAC-based authentication enabled, or a
named method list, which can be applied to an interface with the auth-mac accounting
command.
Use the no variant of this command to disable either the default or a named accounting method list for MAC-based authentication. Once all method lists are disabled, AAA accounting for MAC-based authentication is disabled globally.
Syntax aaa accounting auth-mac {default|< list-name >}
{start-stop|stop-only|none} group {< group-name >|radius} no aaa accounting auth-mac {default|< list-name >}
Parameter default
< list-name > start-stop
Description
Configure the default accounting method list
Configure a named accounting method list
Sends a start accounting message at the beginning of the session and a stop accounting message at the end of the session.
stop-only none radius
Only sends a stop accounting message at the end of the session.
No accounting record sent.
group Use a server group
< group-name > Server group name.
Use all RADIUS servers.
Default RADIUS accounting for MAC-based Authentication is disabled by default
Mode Global Configuration
Usage This command can be used to configure either the default accounting method list or a named accounting method list:
• default : the default accounting method list which is automatically applied to all interfaces with MAC-based authentication enabled.
• < list-name> : a user named list which can be applied to an interface using the
There are two ways to define servers where RADIUS accounting messages are sent:
• group radius
: use all RADIUS servers configured by radius-server host
command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1011
AAA C OMMANDS
AAA ACCOUNTING AUTH MAC
•
•
•
• group < group-name> : use the specified RADIUS server group configured
command
The accounting event to send to the RADIUS server is configured with the following options: start-stop : sends a start accounting message at the beginning of a session and a stop accounting message at the end of the session.
stop-only : sends a stop accounting message at the end of a session.
none : disables accounting.
Examples To enable the default RADIUS accounting for MAC-based authentication, and use all available RADIUS servers, use the commands: awplus# configure terminal awplus(config)# aaa accounting auth-mac default start-stop group radius
To disable RADIUS accounting for MAC-based Authentication, use the commands: awplus# configure terminal awplus(config)# no aaa accounting auth-mac default
To enable a named RADIUS accounting method list 'vlan10_acct' for MAC-based authentication, with the RADIUS server group 'rad_group_vlan10, use the commands: awplus# configure terminal awplus(config)# aaa accounting auth-mac vlan10_acct start-stop group rad_group_vlan10
To disable a named RADIUS accounting method list 'vlan10_acct' for MAC-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa accounting auth-mac vlan10_acct
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1012
AAA C OMMANDS
AAA ACCOUNTING AUTH WEB
aaa accounting auth-web
Overview This command configures an accounting method list for Web-based authentication. An accounting method list specifies what type of accounting messages are sent and which RADIUS servers the accounting messages are sent to.
Use this command to configure either the default method list, which is automatically applied to interfaces with Web-based authentication enabled, or a
named method list, which can be applied to an interface with the auth-web accounting
command.
Use the no variant of this command to disable either the default or a named accounting method list for Web-based authentication. Once all method lists are disabled, AAA accounting for Web-based authentication is disabled globally.
Syntax aaa accounting auth-web {default|< list-name >}
{start-stop|stop-only|none} group {< group-name >|radius} no aaa accounting auth-web {default|< list-name >}
Parameter default
< list-name > start-stop
Description
Configure the default accounting method list
Configure a named accounting method list
Sends a start accounting message at the beginning of the session and a stop accounting message at the end of the session.
stop-only none radius
Only sends a stop accounting message at the end of the session.
No accounting record sent.
group Use a server group
< group-name > Server group name.
Use all RADIUS servers.
Default RADIUS accounting for Web-based authentication is disabled by default.
Mode Global Configuration
Usage This command can be used to configure either the default accounting method list or a named accounting method list:
• default : the default accounting method list which is automatically applied to all interfaces with Web-based authentication enabled.
• < list-name> : a user named list which can be applied to an interface using the
There are two ways to define servers where RADIUS accounting messages are sent:
• group radius
: use all RADIUS servers configured by radius-server host
command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1013
AAA C OMMANDS
AAA ACCOUNTING AUTH WEB
•
•
•
• group < group-name> : use the specified RADIUS server group configured
command
Configure the accounting event to be sent to the RADIUS server with the following options: start-stop : sends a start accounting message at the beginning of a session and a stop accounting message at the end of the session.
stop-only : sends a stop accounting message at the end of a session.
none : disables accounting.
Examples To enable the default RADIUS accounting method for Web-based authentication, and use all available RADIUS servers, use the commands: awplus# configure terminal awplus(config)# aaa accounting auth-web default start-stop group radius
To disable the default RADIUS accounting method for Web-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa accounting auth-web default
To enable a named RADIUS accounting method list 'vlan10_acct' for Web-based authentication, with the RADIUS server group 'rad_group_vlan10, use the commands: awplus# configure terminal awplus(config)# aaa accounting auth-web vlan10_acct start-stop group rad_group_vlan10
To disable a named RADIUS accounting method list 'vlan10_acct' for Web-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa accounting auth-web vlan10_acct
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1014
AAA C OMMANDS
AAA ACCOUNTING COMMANDS
aaa accounting commands
Overview This command configures and enables TACACS+ accounting on commands entered at a specified privilege level. Once enabled for a privilege level, accounting messages for commands entered at that privilege level will be sent to a TACACS+ server.
In order to account for all commands entered on a device, configure command accounting for each privilege level separately.
The command accounting message includes, the command as entered, the date and time the command finished executing, and the user-name of the user who executed the command.
Use the no variant of this command to disable command accounting for a specified privilege level.
Syntax aaa accounting commands < 1-15 > default stop-only group tacacs+ no aaa accounting commands < 1-15 > default
Parameter
< 1-15 > default stop-only group tacacs+
Description
The privilege level being configured, in the range 1 to 15.
Use the default method list, this means the command is applied globally to all user exec sessions.
Send accounting message when the commands have stopped executing.
Specify the server group where accounting messages are sent.
Only the tacacs+ group is available for this command.
Use all TACACS+ servers configured by the tacacs-server host
command.
Default TACACS+ command accounting is disabled by default.
Mode Global Configuration
Usage This command only supports a default method list, this means that it is applied to every console and VTY line.
The stop-only parameter indicates that the command accounting messages are sent to the TACACS+ server when the commands have stopped executing.
The group tacacs+ parameters signifies that the command accounting messages
are sent to the TACACS+ servers configured by the tacacs-server host
command.
Note that up to four TACACS+ servers can be configured for accounting. The servers are checked for reachability in the order they are configured with only the first reachable server being used. If no server is found, the accounting message is dropped.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1015
AAA C OMMANDS
AAA ACCOUNTING COMMANDS
Command accounting cannot coexist with triggers. An error message is displayed if you attempt to enable command accounting while a trigger is configured.
Likewise, an error message is displayed if you attempt to configure a trigger while command accounting is configured.
Examples To configure command accounting for privilege levels 1, 7, and 15, use the following commands: awplus# configure terminal awplus(config)# aaa accounting commands 1 default stop-only group tacacs+ awplus(config)# aaa accounting commands 7 default stop-only group tacacs+ awplus(config)# aaa accounting commands 15 default stop-only group tacacs+
To disable command accounting for privilege levels 1, 7, and 15, use the following commands: awplus# configure terminal awplus(config)# no aaa accounting commands 1 default awplus(config)# no aaa accounting commands 7 default awplus(config)# no aaa accounting commands 15 default
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1016
AAA C OMMANDS
AAA ACCOUNTING DOT 1 X
aaa accounting dot1x
Overview This command configures an accounting method list for IEEE 802.1X-based authentication. An accounting method list specifies what type of accounting messages are sent and which RADIUS servers the accounting messages are sent to.
Use this command to configure either the default method list, which is automatically applied to interfaces with IEEE 802.1X-based authentication enabled, or a named method list, which can be applied to an interface with the
command.
Use the no variant of this command to disable either the default or a named accounting method list for 802.1X-based authentication. Once all method lists are disabled, AAA accounting for 802.1x-based authentication is disabled globally.
Syntax aaa accounting dot1x {default|< list-name >}
{start-stop|stop-only|none} group {< group-name >|radius} no aaa accounting dot1x {default|< list-name >}
Parameter default
< list-name > start-stop
Description
Configure the default accounting method list
Configure a named accounting method list
Sends a start accounting message at the beginning of the session and a stop accounting message at the end of the session.
stop-only none radius
Only sends a stop accounting message at the end of the session.
No accounting record sent.
group Use a server group
< group-name > Server group name.
Use all RADIUS servers.
Default RADIUS accounting for 802.1X-based authentication is disabled by default (there is no default server set by default).
Mode Global Configuration
Usage This command can be used to configure either the default accounting method list or a named accounting method list:
•
• default : the default accounting method list which is automatically applied to all interfaces with 802.1X-based authentication enabled.
< list-name> : a user named list which can be applied to an interface using the
There are two ways to define servers where RADIUS accounting messages will be sent:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1017
AAA C OMMANDS
AAA ACCOUNTING DOT 1 X
•
•
•
•
• group radius
: use all RADIUS servers configured by radius-server host
command.
group < group-name> : use the specified RADIUS server group configured
command.
The accounting event to send to the RADIUS server is configured by the following options: start-stop : sends a start accounting message at the beginning of a session and a stop accounting message at the end of the session.
stop-only : sends a stop accounting message at the end of a session.
none : disables accounting.
Examples To enable RADIUS accounting for 802.1X-based authentication, and use all available RADIUS Servers, use the commands: awplus# configure terminal awplus(config)# aaa accounting dot1x default start-stop group radius
To disable RADIUS accounting for 802.1X-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa accounting dot1x default
To enable a named RADIUS accounting method list 'vlan10_acct' for 802.1X-based authentication, with the RADIUS server group 'rad_group_vlan10, use the commands: awplus# configure terminal awplus(config)# aaa accounting dot1x vlan10_acct start-stop group rad_group_vlan10
To disable a named RADIUS accounting method list 'vlan10_acct' for 802.1X-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa accounting dot1x vlan10_acct
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1018
AAA C OMMANDS
AAA ACCOUNTING LOGIN
aaa accounting login
Overview This command configures RADIUS and TACACS+ accounting for login shell sessions. The specified method list name can be used by the accounting login command in the Line Configuration mode. If the default parameter is specified, then this creates a default method list that is applied to every console and VTY line, unless another accounting method list is applied on that line.
Note that unlimited RADIUS servers and up to four TACACS+ servers can be configured and consulted for accounting. The first server configured is regarded as the primary server and if the primary server fails then the backup servers are consulted in turn. A backup server is consulted if the primary server fails, i.e. is unreachable.
Use the no variant of this command to remove an accounting method list for login shell sessions configured by an aaa accounting login command. If the method list being deleted is already applied to a console or VTY line, accounting on that line will be disabled. If the default method list name is removed by this command, it will disable accounting on every line that has the default accounting configuration.
Syntax aaa accounting login
{default|< list-name >}{start-stop|stop-only|none} {group
{radius|tacacs+|< group-name >}} no aaa accounting login {default|< list-name >}
Parameter default
< list-name > start-stop stop-only none group
Description
Default accounting method list.
Named accounting method list.
Start and stop records to be sent.
Stop records to be sent.
No accounting record to be sent.
Specify the servers or server group where accounting packets are sent.
radius
Use all RADIUS servers configured by the radius-server host command.
tacacs+
Use all TACACS+ servers configured by the tacacs-server host
command.
<group-name>
Use the specified RADIUS server group, as configured by the aaa group server
command.
Default Accounting for login shell sessions is disabled by default.
Mode Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1019
AAA C OMMANDS
AAA ACCOUNTING LOGIN
Usage This command enables you to define a named accounting method list. The items that you define in the accounting options are:
•
• the types of accounting packets that will be sent the set of servers to which the accounting packets will be sent
You can define a default method list with the name default and any number of other named method lists. The name of any method list that you define can then be used as the < list-name > parameter in the
command.
If the method list name already exists, the command will replace the existing configuration with the new one.
There are two ways to define servers where RADIUS accounting messages are sent:
• group radius : use all RADIUS servers configured by
command
• group <group-name> : use the specified RADIUS server group configured
command
There is one way to define servers where TACACS+ accounting messages are sent:
•
•
•
• group tacacs+ : use all TACACS+ servers configured by
command
The accounting event to send to the RADIUS or TACACS+ server is configured with the following options: start-stop : sends a start accounting message at the beginning of a session and a stop accounting message at the end of the session.
stop-only : sends a stop accounting message at the end of a session.
none : disables accounting.
Examples To configure RADIUS accounting for login shell sessions, use the following commands: awplus# configure terminal awplus(config)# aaa accounting login default start-stop group radius
To configure TACACS+ accounting for login shell sessions, use the following commands: awplus# configure terminal awplus(config)# aaa accounting login default start-stop group tacacs+
To reset the configuration of the default accounting list, use the following commands: awplus# configure terminal awplus(config)# no aaa accounting login default
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1020
AAA C OMMANDS
AAA ACCOUNTING LOGIN
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1021
AAA C OMMANDS
AAA ACCOUNTING UPDATE
aaa accounting update
Overview This command enables periodic accounting reporting to either the RADIUS or
TACACS+ accounting server(s) wherever login accounting has been configured.
Note that unlimited RADIUS servers and up to four TACACS+ servers can be configured and consulted for accounting. The first server configured is regarded as the primary server and if the primary server fails then the backup servers are consulted in turn. A backup server is consulted if the primary server fails, i.e. is unreachable.
Use the no variant of this command to disable periodic accounting reporting to the accounting server(s).
Syntax aaa accounting update [periodic < 1-65535 >] no aaa accounting update
Parameter periodic
< 1-65535 >
Description
Send accounting records periodically.
The interval to send accounting updates (in minutes). The default is
30 minutes.
Default Periodic accounting update is disabled by default.
Mode Global Configuration
Usage Use this command to enable the device to send periodic AAA login accounting reports to the accounting server. When periodic accounting report is enabled, interim accounting records are sent according to the interval specified by the periodic parameter. The accounting updates are start messages.
If the no variant of this command is used to disable periodic accounting reporting, any interval specified by the periodic parameter is reset to the default of 30 minutes when accounting reporting is reenabled, unless this interval is specified.
Examples To configure the switch to send period accounting updates every 30 minutes, the default period, use the following commands: awplus# configure terminal awplus(config)# aaa accounting update
To configure the switch to send period accounting updates every 10 minutes, use the following commands: awplus# configure terminal awplus(config)# aaa accounting update periodic 10
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1022
AAA C OMMANDS
AAA ACCOUNTING UPDATE
To disable periodic accounting update wherever accounting has been configured, use the following commands: awplus# configure terminal awplus(config)# no aaa accounting update
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1023
AAA C OMMANDS
AAA AUTHENTICATION AUTH MAC
aaa authentication auth-mac
Overview This command enables MAC-based authentication globally and allows you to enable either the default authentication method list (in this case, a list of RADIUS servers), which is automatically applied to every interface running MAC-based authentication, or a user named authentication method list, which is applied to an interface with the
command.
Use the no variant of this command to disable either the default or a named method list for MAC-based authentication. Once all method lists are disabled
MAC-based authentication is disabled globally.
Syntax aaa authentication auth-mac {default|< list-name >} group
{< group-name >|radius} no aaa authentication auth-mac {default|< list-name >}
Parameter default
< list-name > group
< group-name > radius
Description
Configure the default authentication method list
Configure a named authentication method list
Use a server group
Server group name.
Use all RADIUS servers.
Default MAC-based Port Authentication is disabled by default.
Mode Global Configuration
Usage This command can be used to configure either the default authentication method list or a named authentication method list:
• default : the default authentication method list which is automatically applied to all interfaces with Web-based authentication enabled.
• < list-name> : a user named list which can be applied to an interface using the
auth-web authentication command.
There are two ways to define servers where RADIUS accounting messages are sent:
•
• group radius
: use all RADIUS servers configured by radius-server host
command group <group-name> : use the specified RADIUS server group configured
command
All configured RADIUS Servers are automatically members of the server group radius . If a server is added to a named group < group-name >, it also remains a member of the group radius .
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1024
AAA C OMMANDS
AAA AUTHENTICATION AUTH MAC
Examples To enable MAC-based authentication globally for all RADIUS servers, and use all available RADIUS servers, use the commands: awplus# configure terminal awplus(config)# aaa authentication auth-mac default group radius
To disable MAC-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa authentication auth-mac default
To enable MAC-based authentication for named list 'vlan10_auth', with RADIUS server group 'rad_group_vlan10, use the commands: awplus# configure terminal awplus(config)# aaa authentication auth-mac vlan10_auth group rad_group_vlan10
To disable MAC-based authentication for named list 'vlan10_auth', use the commands: awplus# configure terminal awplus(config)# no aaa authentication auth-mac vlan10_acct
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1025
AAA C OMMANDS
AAA AUTHENTICATION AUTH WEB
aaa authentication auth-web
Overview This command enables Web-based authentication globally and allows you to enable either the default authentication method list (in this case, a list of RADIUS servers), which is automatically applied to every interface running Web-based authentication, or a user named authentication method list, which is applied to an interface with the
auth-web authentication command.
Use the no variant of this command to disable either the default or a named method list for Web-based authentication. Once all method lists are disabled
Web-based authentication is disabled globally.
Syntax aaa authentication auth-web {default|< list-name >} group
{< group-name >|radius} no aaa authentication auth-web {default|< list-name >}
Parameter default
< list-name > group
< group-name > radius
Description
Configure the default authentication method list
Configure a named authentication method list
Use a server group
Server group name.
Use all RADIUS servers.
Default Web-based authentication is disabled by default.
Mode Global Configuration
Usage This command can be used to configure either the default authentication method list or a named authentication method list:
• default : the default authentication method list which is automatically applied to all interfaces with Web-based authentication enabled.
• < list-name> : a user named list which can be applied to an interface using the
auth-web authentication command.
There are two ways to define servers where RADIUS accounting messages are sent:
•
• group radius
: use all RADIUS servers configured by radius-server host
command group < group-name> : use the specified RADIUS server group configured
command
Note that you need to configure an IPv4 address for the VLAN interface on which
Web authentication is running.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1026
AAA C OMMANDS
AAA AUTHENTICATION AUTH WEB
Examples To enable Web-based authentication globally for all RADIUS servers, and use all available RADIUS servers, use the commands: awplus# configure terminal awplus(config)# aaa authentication auth-web default group radius
To disable Web-based authentication, use the commands: awplus# configure terminal awplus(config)# no aaa authentication auth-web default
To enable Web-based authentication for named list 'vlan10_auth', with RADIUS server group 'rad_group_vlan10, use the commands: awplus# configure terminal awplus(config)# aaa authentication auth-web vlan10_auth group rad_group_vlan10
To disable Web-based authentication for named list 'vlan10_auth', use the commands: awplus# configure terminal awplus(config)# no aaa authentication vlan10_auth
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1027
AAA C OMMANDS
AAA AUTHENTICATION DOT 1 X
aaa authentication dot1x
Overview This command enables IEEE 802.1X-based authentication globally and allows you to enable either the default authentication method list (in this case, a list of RADIUS servers), which is automatically applied to every interface running IEEE
802.1X-based authentication, or a user named authentication method list, which is applied to an interface with the
command.
Use the no variant of this command to disable either the default or a named method list for 802.1X-based authentication. Once all method lists are disabled
802.1x-based authentication is disabled globally.
Syntax aaa authentication dot1x {default|< list-name >} group
{< group-name >|radius} no aaa authentication dot1x {default|< list-name >}
Parameter default
< list-name > group
< group-name > radius
Description
Configure the default authentication method list
Configure a named authentication method list
Use a server group
Server group name.
Use all RADIUS servers.
Default 802.1X-based Port Authentication is disabled by default.
Mode Global Configuration
Usage This command can be used to configure either the default authentication method list or a named authentication method list:
• default : the default authentication method list which is automatically applied to all interfaces with 802.1X-based authentication enabled.
• < list-name> : a user named list which can be applied to an interface using the
aaa authentication dot1x command.
There are two ways to define servers where RADIUS accounting messages are sent:
•
• group radius
: use all RADIUS servers configured by radius-server host
command group < group-name> : use the specified RADIUS server group configured
command
Examples To enable 802.1X-based authentication globally with all RADIUS servers, and use all available RADIUS servers, use the command: awplus# configure terminal awplus(config)# aaa authentication dot1x default group radius
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1028
AAA C OMMANDS
AAA AUTHENTICATION DOT 1 X
To disable 802.1X-based authentication, use the command: awplus# configure terminal awplus(config)# no aaa authentication dot1x default
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1029
AAA C OMMANDS
AAA AUTHENTICATION ENABLE DEFAULT GROUP TACACS +
aaa authentication enable default group tacacs+
Overview This command enables AAA authentication to determine the privilege level a user can access for passwords authenticated against the TACACS+ server.
Use the no variant of this command to disable privilege level authentication.
Syntax aaa authentication enable default group tacacs+ [local] [none] no aaa authentication enable default
Parameter local none
Description
Use the locally configured enable password ( enable password command) for authentication.
No authentication.
Default Local privilege level authentication is enabled by default (
aaa authentication enable default local
command).
Mode Global Configuration
Usage A user is configured on a TACACS+ server with a maximum privilege level. When
they enter the enable (Privileged Exec mode) command they are prompted for an
enable password which is authenticated against the TACACS+ server. If the password is correct and the specified privilege level is equal to or less than the users maximum privilege level, then they are granted access to that level. If the user attempts to access a privilege level that is higher than their maximum configured privilege level, then the authentication session will fail and they will remain at their current privilege level.
NOTE : If both local and none are specified, you must always specify local first.
If the TACACS+ server goes offline, or is not reachable during enable password authentication, and command level authentication is configured as:
•
• aaa authentication enable default group tacacs+ then the user is never granted access to Privileged Exec mode.
aaa authentication enable default group tacacs+ local then the user is authenticated using the locally configured enable password, which if entered correctly grants the user access to Privileged Exec mode. If no enable password is locally configured ( enable password command), then the enable authentication will fail until the TACACS+ server becomes available again.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1030
AAA C OMMANDS
AAA AUTHENTICATION ENABLE DEFAULT GROUP TACACS +
• aaa authentication enable default group tacacs+ none then the user is granted access to Privileged Exec mode with no authentication. This is true even if a locally configured enable password is configured.
• aaa authentication enable default group tacacs+ local none then the user is authenticated using the locally configured enable password.
If no enable password is locally configured, then the enable authentication will grant access to Privileged Exec mode with no authentication.
If the password for the user is not successfully authenticated by the server, then the user is again prompted for an enable password when they enter enable via the CLI.
Examples To enable a privilege level authentication method that will not allow the user to access Privileged Exec mode if the TACACS+ server goes offline, or is not reachable during enable password authentication, use the following commands: awplus# configure terminal awplus(config)# aaa authentication enable default group tacacs+
To enable a privilege level authentication method that will allow the user to access
Privileged Exec mode if the TACACS+ server goes offline, or is not reachable during enable password authentication, and a locally configured enable password is configured, use the following commands: awplus# configure terminal awplus(config)# aaa authentication enable default group tacacs+ local
To disable privilege level authentication, use the following commands: awplus# configure terminal awplus(config)# no aaa authentication enable default
Related
Commands
aaa authentication enable default local
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1031
AAA C OMMANDS
AAA AUTHENTICATION ENABLE DEFAULT LOCAL
aaa authentication enable default local
Overview This command enables AAA authentication to determine the privilege level a user can access for passwords authenticated locally.
Syntax aaa authentication enable default local
Default Local privilege level authentication is enabled by default.
Mode Global Configuration
Usage The privilege level configured for a particular user in the local user database is the
privilege threshold above which the user is prompted for an enable (Privileged
command.
Examples To enable local privilege level authentication command, use the following commands: awplus# configure terminal awplus(config)# aaa authentication enable default local
To disable privilege level authentication, use the following commands: awplus# configure terminal awplus(config)# no aaa authentication enable default
Related
Commands
aaa authentication enable default group tacacs+
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1032
AAA C OMMANDS
AAA AUTHENTICATION LOGIN
aaa authentication login
Overview Use this command to create an ordered list of methods to use to authenticate user login, or to replace an existing method list with the same name. Specify one or more of the options local or group , in the order you want them to be applied. If the default method list name is specified, it is applied to every console and VTY line immediately unless another method list is applied to that line by the
login authentication command. To apply a non-default method list, you must also use
the
Use the no variant of this command to remove an authentication method list for user login. The specified method list name is deleted from the configuration. If the method list name has been applied to any console or VTY line, user login authentication on that line will fail.
Note that the no aaa authentication login default command does not remove the default method list. This will return the default method list to its default state
( local is the default).
Syntax aaa authentication login {default|< list-name >} {[local] [group
{radius|tacacs+|< group-name >}]} no aaa authentication login {default|< list-name >}
Parameter default
< list-name > local group radius tacacs+
< group-name >
Description
Set the default authentication server for user login.
Name of authentication server.
Use the local username database.
Use server group.
Use all RADIUS servers configured by the radius-server host command.
Use all TACACS+ servers configured by the tacacs-server host
command.
Use the specified RADIUS server group, as configured by the
command.
Default If the default server is not configured using this command, user login authentication uses the local user database only.
If the default method list name is specified, it is applied to every console and VTY line immediately unless a named method list server is applied to that line by the loginauthentication command.
local is the default state for the default method list unless a named method list is applied to that line by the login authentication command. Reset to the default method list using the no aaa authentication login default command.
Mode Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1033
AAA C OMMANDS
AAA AUTHENTICATION LOGIN
Usage When a user attempts to log in, the switch sends an authentication request to the first authentication server in the method list. If the first server in the list is reachable and it contains a username and password matching the authentication request, the user is authenticated and the login succeeds. If the authentication server denies the authentication request because of an incorrect username or password, the user login fails. If the first server in the method list is unreachable, the switch sends the request to the next server in the list, and so on.
For example, if the method list specifies group tacacs+ local , and a user attempts to log in with a password that does not match a user entry in the first TACACS+ server, if this TACACS+ server denies the authentication request, then the switch does not try any other TACACS+ servers not the local user database; the user login fails.
Examples To configure the default authentication method list for user login to first use all available RADIUS servers for user login authentication, and then use the local user database, use the following commands: awplus# configure terminal awplus(config)# aaa authentication login default group radius local
To configure a user login authentication method list called USERS to first use the
RADIUS server group RAD_GROUP1 for user login authentication, and then use the local user database, use the following commands: awplus# configure terminal awplus(config)# aaa authentication login USERS group RAD_GROUP1 local
To configure a user login authentication method list called USERS to first use the
TACACS+ servers for user login authentication, and then use the local user database, use the following commands: awplus# configure terminal awplus(config)# aaa authentication login USERS group tacacs+ local
To return to the default method list ( local is the default server), use the following commands: awplus# configure terminal awplus(config)# no aaa authentication login default
To delete an existing authentication method list USERS created for user login authentication, use the following commands: awplus# configure terminal awplus(config)# no aaa authentication login USERS
Related
Commands
aaa authentication enable default group tacacs+
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1034
AAA C OMMANDS
AAA AUTHORIZATION COMMANDS
aaa authorization commands
Overview This command configures a method list for commands authorization that can be applied to console or VTY lines. When command authorization is enabled for a privilege level, only authorized users can executed commands in that privilege level.
Use the no variant of this command to remove a named method list or disable the default method list for a privilege level.
Syntax aaa authorization commands < privilege-level >
{default|< list-name >} group tacac+ [none] no aaa authorization commands < privilege-level >
{default|< list-name >}
Parameter Description
<privilege-level> The privilege level of the set of commands the method list will be applied to.
AlliedWare Plus defines three sets of commands, that are indexed by a level value:
Level = 1 : All commands that can be accessed by a user with privilege level between 1 and 6 inclusive
Level = 7: All commands that can be accessed by a user with privilege level between 7 and 14 inclusive
Level = 15 : All commands that can be accessed by a user with privilege level 15 group Specify the server group where authorization messages are sent. Only the tacacs+ group is available for this command.
tacac+
Use all TACACS+ servers configured by the host command.
default
< list-name > none
Configure the default authorization commands method list.
Configure a named authorization commands method list
If specified, this provides a local fallback to command authorization so that if authorization servers become unavailable then the device will accept all commands normally allowed for the privilege level of the user.
Mode Global Configuration
Usage TACACS+ command authorization provides centralized control of the commands available to a user of an AlliedWare Plus device. Once enabled:
• The command string and username are encrypted and sent to the first available configured TACACS+ server (the first server configured) for authorization.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1035
AAA C OMMANDS
AAA AUTHORIZATION COMMANDS
•
•
The TACACS+ server decides if the user is authorized to execute the command and returns the decision to the AlliedWare Plus device.
Depending on this decision the device will then either execute the command or notify the user that authorization has failed.
If multiple TACACS+ servers are configured, and the first server is unreachable or does not respond, the other servers will be queried, in turn, for an authorization decision. If all servers are unreachable and a local fallback has been configured, with the none parameter, then commands are authorized based on the user’s privilege level; the same behavior as if command authorization had not been configured. If, however, the local fallback is not configured and all servers become unreachable then all commands except logout , exit , and quit will be denied.
The default method list is defined with a local fallback unless configured differently using this command.
Example To configure a commands authorization method list, named TAC15, using all
TACACS+ servers to authorize commands for privilege level 15, with a local fallback, use the following commands: awplus# configure terminal awplus(config)# aaa authorization commands 15 TAC15 group tacacs+ none
To configure the default method list to authorize commands for privilege level 7, with no local fallback, use the following commands: awplus# configure terminal awplus(config)# aaa authorization commands 7 default group tacacs+
To remove the authorization method list TAC15, use the following commands: awplus# configure terminal awplus(config)# no aaa authorization commands 15 TAC15
Related
Commands
aaa authorization config-commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1036
AAA C OMMANDS
AAA AUTHORIZATION CONFIG COMMANDS
aaa authorization config-commands
Overview Use this command to enable command authorization on configuration mode commands. By default, command authorization applies to commands in exec mode only.
Use the no variant of this command to disable command authorization on configuration mode commands.
Syntax aaa authorization config-commands no aaa authorization config-commands
Default By default, command authorization is disabled on configuration mode commands.
Mode Global Configuration
Usage If authorization of configuration mode commands is not enabled then all configuration commands are accepted by default, including command authorization commands.
NOTE : Authorization of configuration commands is required for a secure TACACS+ command authorization configuration as it prevents the feature from being disabled to gain access to unauthorized exec mode commands.
Example To enable command authorization for configuration mode commands, use the commands: awplus# configure terminal awplus(config)# aaa authorization config-commands
To disable command authorization for configuration mode commands, use the commands: awplus# configure terminal awplus(config)# no aaa authorization config-commands
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1037
AAA C OMMANDS
AAA GROUP SERVER
aaa group server
Overview This command configures a RADIUS server group. A server group can be used to specify a subset of RADIUS servers in aaa commands. The group name radius is predefined, which includes all RADIUS servers configured by the radius-server host command.
RADIUS servers are added to a server group using the server command. Each
RADIUS server should be configured using the radius-server host command.
Use the no variant of this command to remove an existing RADIUS server group.
Syntax aaa group server radius < group-name> no aaa group server radius < group-name>
Parameter Description
< group-name > Server group name.
Mode Global Configuration
Usage Use this command to create an AAA group of RADIUS servers, and to enter Server
Group Configuration mode, in which you can add servers to the group. Use a server group to specify a subset of RADIUS servers in AAA commands. Each RADIUS server must be configured by the radius-server host command. To add RADIUS servers to a server group, use the server command.
Examples To create a RADIUS server group named GROUP1 with hosts 192.168.1.1
,
192.168.2.1
and 192.168.3.1
, use the commands: awplus(config)# aaa group server radius GROUP1 awplus(config-sg)# server 192.168.1.1 auth-port 1812 acct-port
1813 awplus(config-sg)# server 192.168.2.1 auth-port 1812 acct-port
1813 awplus(config-sg)# server 192.168.3.1 auth-port 1812 acct-port
1813
To remove a RADIUS server group named GROUP1 from the configuration, use the command: awplus(config)# no aaa group server radius GROUP1
1038 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
AAA C OMMANDS
AAA GROUP SERVER
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1039
AAA C OMMANDS
AAA LOCAL AUTHENTICATION ATTEMPTS LOCKOUT TIME
aaa local authentication attempts lockout-time
Overview This command configures the duration of the user lockout period.
Use the no variant of this command to restore the duration of the user lockout period to its default of 300 seconds (5 minutes).
Syntax aaa local authentication attempts lockout-time < lockout-tiime> no aaa local authentication attempts lockout-time
Parameter
< lockout-time >
Description
<0-10000>. Time in seconds to lockout the user.
Mode Global Configuration
Default The default for the lockout-time is 300 seconds (5 minutes).
Usage While locked out all attempts to login with the locked account will fail. The lockout
Examples To configure the lockout period to 10 minutes (600 seconds), use the commands: awplus# configure terminal awplus(config)# aaa local authentication attempts lockout-time
600
To restore the default lockout period of 5 minutes (300 seconds), use the commands: awplus# configure terminal awplus(config)# no aaa local authentication attempts lockout-time
Related
Commands
aaa local authentication attempts max-fail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1040
AAA C OMMANDS
AAA LOCAL AUTHENTICATION ATTEMPTS MAX FAIL
aaa local authentication attempts max-fail
Overview This command configures the maximum number of failed login attempts before a user account is locked out. Every time a login attempt fails the failed login counter is incremented.
Use the no variant of this command to restore the maximum number of failed login attempts to the default setting (five failed login attempts).
Syntax aaa local authentication attempts max-fail < failed-logins> no aaa local authentication attempts max-fail
Parameter Description
< failed-logins > < 1-32 >. Number of login failures allowed before locking out a user.
Mode Global Configuration
Default The default for the maximum number of failed login attempts is five failed login attempts.
Usage When the failed login counter reaches the limit configured by this command that
When a successful login occurs the failed login counter is reset to 0 . When a user account is locked out all attempts to login using that user account will fail.
Examples To configure the number of login failures that will lock out a user account to two login attempts, use the commands: awplus# configure terminal awplus(config)# aaa local authentication attempts max-fail 2
To restore the number of login failures that will lock out a user account to the default number of login attempts (five login attempts), use the commands: awplus# configure terminal awplus(config)# no aaa local authentication attempts max-fail
Related
Commands
aaa local authentication attempts lockout-time
1041 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
AAA C OMMANDS
AAA LOGIN FAIL DELAY
aaa login fail-delay
Overview Use this command to configure the minimum time period between failed login attempts. This setting applies to login attempts via the console, SSH and Telnet.
Use the no variant of this command to reset the minimum time period to its default value.
Syntax aaa login fail-delay [ <1-10> ] no aaa login fail-delay [ <1-10> ]
Parameter
<1-10>
Description
The minimum number of seconds required between login attempts
Default 1 second
Mode Global configuration
Example To apply a delay of at least 5 seconds between login attempts, use the following commands: awplus# configure terminal awplus(config)# aaa login fail-delay 5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1042
AAA C OMMANDS
ACCOUNTING LOGIN
accounting login
Overview This command applies a login accounting method list to console or VTY lines for user login. When login accounting is enabled using this command, logging events generate an accounting record to the accounting server.
The accounting method list must be configured first using this command. If an accounting method list is specified that has not been created by this command then accounting will be disabled on the specified lines.
The no variant of this command resets AAA Accounting applied to console or VTY lines for local or remote login. default login accounting is applied after issuing the no accounting login command. Accounting is disabled with default .
Syntax accounting login {default|< list-name >} no accounting login
Parameter Description default Default accounting method list.
< list-name > Named accounting method list.
Default By default login accounting is disabled in the default accounting server. No accounting will be performed until accounting is enabled using this command.
Mode Line Configuration
Examples To apply the accounting server USERS to all VTY lines, use the following commands: awplus# configure terminal awplus(config)# line vty 0 32 awplus(config-line)# accounting login USERS
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1043
AAA C OMMANDS
AUTHORIZATION COMMANDS
authorization commands
Overview This command applies a command authorization method list, defined using the
command, to console and VTY lines.
Use the no variant of this command to reset the command authorization configuration on the console and VTY lines.
Syntax authorization commands < privilege-level > {default|< list-name >} no authorization commands < privilege-level >
Parameter Description
<privilege-level> The privilege level of the set of commands the method list will be applied to.
AlliedWare Plus defines three sets of commands, that are indexed by a level value:
Level = 1 : All commands that can be accessed by a user with privilege level between 1 and 6 inclusive
Level = 7: All commands that can be accessed by a user with privilege level between 7 and 14 inclusive
Level = 15 : All commands that can be accessed by a user with privilege level 15 default
< list-name >
Configure the default authorization commands method list.
Configure a named authorization commands method list
Default The default method list is applied to each console and VTY line by default.
Mode Line Configuration
Usage If the specified method list does not exist users will not be enable to execute any commands in the specified method list on the specified VTY lines.
Example To apply the TAC15 command authorization method list with privilege level 15 to
VTY lines 0 to 5, use the following commands: awplus# configure terminal awplus(config)# line vty 0 5 awplus(config-line)# authorization commands 15 TAC15
To reset the command authorization configuration with privilege level 15 on VTY lines 0 to 5, use the following commands: awplus# configure terminal awplus(config)# line vty 0 5 awplus(config-line)# no authorization commands 15
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1044
AAA C OMMANDS
AUTHORIZATION COMMANDS
aaa authorization config-commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1045
AAA C OMMANDS
CLEAR AAA LOCAL USER LOCKOUT
clear aaa local user lockout
Overview Use this command to clear the lockout on a specific user account or all user accounts.
Syntax clear aaa local user lockout {username < username >|all}
Parameter Description username Clear lockout for the specified user.
<username> Specifies the user account.
all Clear lockout for all user accounts.
Mode Privileged Exec
Examples To unlock the user account ‘ bob ’ use the following command: awplus# clear aaa local user lockout username bob
To unlock all user accounts use the following command: awplus# clear aaa local user lockout all
Related
Commands
aaa local authentication attempts lockout-time
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1046
AAA C OMMANDS
DEBUG AAA
debug aaa
Overview This command enables AAA debugging.
Use the no variant of this command to disable AAA debugging.
Syntax debug aaa [accounting|all|authentication|authorization] no debug aaa [accounting|all|authentication|authorization]
Parameter Description accounting all
Accounting debugging.
All debugging options are enabled.
authentication Authentication debugging.
authorization Authorization debugging.
Default AAA debugging is disabled by default.
Mode Privileged Exec
Examples To enable authentication debugging for AAA, use the command: awplus# debug aaa authentication
To disable authentication debugging for AAA, use the command: awplus# no debug aaa authentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1047
AAA C OMMANDS
LOGIN AUTHENTICATION
login authentication
Overview Use this command to apply an AAA server for authenticating user login attempts from a console or remote logins on these console or VTY lines. The authentication method list must be specified by the aaa authentication login command. If the method list has not been configured by the aaa authentication login command, login authentication will fail on these lines.
Use the no variant of this command to reset AAA Authentication configuration to use the default method list for login authentication on these console or VTY lines.
Command
Syntax login authentication {default|< list-name >} no login authentication
Parameter default
Description
The default authentication method list. If the default method list has not been configured by the
command, the local user database is used for user login authentication.
Named authentication server.
<list-name>
Default
The default login authentication method list, as specified by the aaa authentication login
command, is used to authenticate user login. If this has not been specified, the default is to use the local user database.
Mode Line Configuration
Examples To reset user authentication configuration on all VTY lines, use the following commands: awplus# configure terminal awplus(config)# line vty 0 32 awplus(config-line)# no login authentication
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1048
AAA C OMMANDS
PROXY PORT
proxy-port
Overview Use this command to change the local UDP port used for communication between local RADIUS client applications and the RadSecProxy AAA application. Any unused UDP port may be selected. The default port is 1645.
Use the no variant of this command to change the UDP port back to the default of
1645.
Syntax proxy-port < port > no proxy-port
Parameter
<port>
Description
UDP Port Number, 1-65536.
Default The default port is 1645.
Mode RadSecProxy AAA Configuration Mode
Usage It is not necessary to change the value from the default unless UDP port 1645 is required for another purpose.RADIUS requests received on this port from external devices will be ignored. The port is only used for local (intra-device) communication.
Example To configure change the UDP port to 7001, use the following commands: awplus# configure terminal awplus(config)# radius-secure-proxy aaa awplus(config-radsecproxy-aaa)# proxy-port 7001
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1049
AAA C OMMANDS
RADIUS SECURE PROXY AAA
radius-secure-proxy aaa
Overview Use this command to enter the RadSecProxy AAA (authentication, authorization, and accounting) application configuration mode. This application allows local
RADIUS-based clients on system to communicate with remote RadSec servers via a secure (TLS) proxy.
Syntax radius-secure-proxy aaa
Mode Global Configuration Mode
Example To change mode from User Exec mode to the RadSecProxy AAA configuration mode, use the commands: awplus# configure terminal awplus(config)# radius-secure-proxy aaa awplus(config-radsecproxy-aaa)#
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1050
AAA C OMMANDS
SERVER ( RADSECPROXY AAA )
server (radsecproxy-aaa)
Overview Use this command to add a server to the RadSecProxy AAA application. Local
RADIUS client applications will attempt, via the proxy, to communicate with any
RadSec servers that are operational (in addition to any non-TLS RADIUS servers that are configured).
Use the no variant of this command to delete a previously-configured server from the RadSecProxy AAA application.
Syntax server {< hostname >|< ip-addr >} [timeout <1-1000>] [name-check
{on|off}] no server {< hostname >|< ip-addr >}
Parameter
< hostname >
< ip-addr > timeout
<1-1000> name-check
Description
Hostname of RadSec server
Specify the client IPv4 address, in dotted decimal notation
(A.B.C.D).
Specify the amount of time that the RadSecProxy AAA application should wait before receiving replies from this server. RADIUS server timeout (which defaults to 5 seconds).
Time in seconds to wait for a server reply.
Specify whether or not to enforce certificate name checking for this client. If the parameter is not specified then the global behavior, which defaults to on , is used.
on
Enable name checking for this client.
off
Disable name checking for this client.
Mode RadSecProxy AAA Configuration Mode
Usage The server may be specified by its domain name or by its IPv4 address. If a domain name is used, it must be resolvable using a configured DNS name server.
Each server may be configured with a timeout; if not specified, the global timeout value for RADIUS servers will be used. The global timeout may be changed using the radius-server timeout command. The default global timeout is 5 seconds.
Each server may be configured to use certificate name-checking; if not specified, the global behavior defined by server name-check or no server name-check will be used. If name checking is enabled, the Common Name portion of the subject field of the server’s X.509 certificate must match the domain name or IP address specified in this command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1051
AAA C OMMANDS
SERVER ( RADSECPROXY AAA )
Example To add a server which waits 3 seconds before receiving replies, use the commands: awplus# configure terminal awplus(config)# radius-secure-proxy aaa awplus(config-radsecproxy-aaa)# client mynas.local name-check off
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1052
AAA C OMMANDS
SERVER MUTUAL AUTHENTICATION
server mutual-authentication
Overview This command enables or disables mutual certificate authentication for all
RadSecProxy servers. When enabled, the RadSecProxy AAA application will send a local X.509 certificate to the server when establishing a TLS connection.
Use the no variant of this command to disable mutual certificate validation causing the RadSecProxy AAA application to not transmit a certificate to the server.
NOTE
: If mutual authentication is disabled on the client (AAA) application but enabled on the server, a connection will not be established.
Syntax server mutual-authentication no server mutual-authentication
Default Mutual authentication is enabled by default.
Mode RadSecProxy AAA Configuration Mode
Example Disable mutual certificate validation with the following command: awplus# configure terminal awplus(config)# radius-secure-proxy aaa awplus(config-radsecproxy-aaa)# no server mutual-authentication
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1053
AAA C OMMANDS
SERVER NAME CHECK
server name-check
Overview This command sets the global behavior for certificate name-checking for the
RadSecProxy AAA application to on . This behavior will be used for all servers associated with the application that do not specify a behavior on a per-server basis.
If name-checking is enabled, the Common Name portion of the subject field of the client’s X.509 certificate must match the domain name or IP address specified in the server (radsecproxy-aaa) command.
Use the no variant of this command to set the global behavior for certificate name checking to off
Syntax server name-check no server name-check
Default Certificate name checking is on by default.
Mode RadSecProxy AAA Configuration Mode
Example Disable certificate name checking globally with the following command: awplus# configure terminal awplus(config)# radius-secure-proxy aaa awplus(config-radsecproxy-aaa)# no server name-check
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1054
AAA C OMMANDS
SERVER TRUSTPOINT
server trustpoint
Overview This command adds one or more trustpoints to be used with the RadSecProxy AAA application. Multiple trustpoints may be specified, or the command may be executed more than once, to add multiple trustpoints to the application.
The no version of this command removes one or more trustpoints from the list of trustpoints associated with the application.
Syntax server trustpoint [< trustpoint-list >] no server trustpoint [< trustpoint-list >]
Parameter
<trustpoint-list>
Description
Specify one or more trustpoints to be added or deleted.
Default By default, no trustpoints are associated with the application.
Mode RadSecProxy AAA Configuration Mode
Usage The device certificate associated with first trustpoint added to the application will be transmitted to remote servers. The certificate received from the remote server must have an issuer chain that terminates with the root CA certificate for any of the trustpoints that are associated with the application.
If no trustpoints are specified in the command, the trustpoint list will be unchanged.
If no server trustpoint is issued without specifying any trustpoints, then all trustpoints will be disassociated from the application.
Example You can add multiple trustpoints to the RadSecProxy AAA application by executing the command multiple times: awplus# configure terminal awplus(config)# radius-secure-proxy aaa awplus(config-radsecproxy-aaa)# server trustpoint example_1 awplus(config-radsecproxy-aaa)# server trustpoint example_2
Alternatively, add multiple trustpoints with a single command: awplus(config-radsecproxy-aaa)# server trustpoint example_3 example_4
Disassociate all trustpoints from the RadSecProxy AAA application using the command: awplus(config-radsecproxy-aaa)# no server trustpoint
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1055
AAA C OMMANDS
SERVER TRUSTPOINT
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1056
AAA C OMMANDS
SHOW AAA LOCAL USER LOCKED
show aaa local user locked
Overview This command displays the current number of failed attempts, last failure time and location against each user account attempting to log into the device.
Note that once the lockout count has been manually cleared by another privileged
account using the clear aaa local user lockout command or a locked account
successfully logs into the system after waiting for the lockout time, this command will display nothing for that particular account.
Syntax show aaa local user locked
Mode User Exec and Privileged Exec
Example To display the current failed attempts for local users, use the command: awplus# show aaa local user locked
Output Figure 32-1: Example output from the show aaa local user locked command awplus# show aaa local user locked
Login Failures Latest failure From bob 3 05/23/14 16:21:37 ttyS0 manager 5 05/23/14 16:31:44 192.168.1.200
Related
Commands
aaa local authentication attempts lockout-time
aaa local authentication attempts max-fail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1057
AAA C OMMANDS
SHOW AAA SERVER GROUP
show aaa server group
Overview Use this command to list AAA users and any method lists applied to them.
Syntax show aaa server group
Mode Privileged Exec
Example To show the AAA configuration on a device, use the command: awplus# aaa server group
Output Figure 32-2: Example output from aaa server group awplus#show aaa server group
User List Name Method Acct-Event
======== ==== ============= ================ ======= ========== login auth default - local
-------- ---- ------------- ---------------- ------- --------- login acct - - -
-------- ---- ------------- ---------------- ------- --------- dot1x auth default radius group dot1x auth vlan30_auth rad_group_1 group dot1x auth vlan40_auth rad_group_2 group
-------- ---- ------------- ---------------- ------- --------- dot1x acct vlan30_acct rad_group_4 group start-stop dot1x acct vlan40_acct rad_group_5 group start-stop
-------- ---- ------------- ---------------- ------- --------- auth-mac auth default radius group auth-mac auth vlan10_auth rad_group_vlan10 group auth-mac auth vlan20_auth rad_group_vlan20 group
-------- ---- ------------- ---------------- ------- --------- auth-mac acct vlan10_acct rad_group_vlan10 group start-stop auth-mac acct vlan20_acct rad_group_vlan20 group start-stop
-------- ---- ------------- ---------------- ------- --------- auth-web auth default radius group
-------- ---- ------------- ---------------- ------- --------- auth-web acct default rad_group_3 group start-stop
-------- ---- ------------- ---------------- ------- ----------
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1058
AAA C OMMANDS
SHOW DEBUGGING AAA
show debugging aaa
Overview This command displays the current debugging status for AAA (Authentication,
Authorization, Accounting).
Syntax show debugging aaa
Mode User Exec and Privileged Exec
Example To display the current debugging status of AAA, use the command: awplus# show debug aaa
Output Figure 32-3: Example output from the show debug aaa command
AAA debugging status:
Authentication debugging is on
Accounting debugging is off
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1059
AAA C OMMANDS
SHOW RADIUS SERVER GROUP
show radius server group
Overview Use this command to show the RADIUS server group configuration.
Syntax show radius server group [< group-name >]
Parameter
< group-name >
Description
RADIUS server group name.
Default Command name is set to something by default.
Mode Privileged Exec
Usage Use this command with the <group-name> parameter to display information for a specific RADIUS server group, or without the parameter to display information for all RADIUS server groups.
Example To display information for all RADIUS server groups, use the command: awplus# show radius server group
To display a information for a RADIUS server group named ‘rad_group_list1’, use the command: awplus# show radius server group rad_group_list1
Output Figure 32-4: Example output from show radius server group awplus#show radius server group
RADIUS Group Configuration
Group Name : radius?
Server Host/ Auth Acct Auth Acct
IP Address Port Port Status Status
-----------------------------------------
192.168.1.101 1812 1813 Active Active
192.168.1.102 1812 1813 Active Active
Group Name : rad_group_list1
Server Host/ Auth Acct Auth Acct
IP Address Port Port Status Status
-----------------------------------------
192.168.1.101 1812 1813 Active Active
Group Name : rad_group_list2
Server Host/ Auth Acct Auth Acct
IP Address Port Port Status Status
-----------------------------------------
192.168.1.102 1812 1813 Active Active
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1060
AAA C OMMANDS
SHOW RADIUS SERVER GROUP
Figure 32-5: Example output from show radius server group rad_group_list1 awplus#show radius server group rad_group_list1
RADIUS Group Configuration
Group Name : rad_group_list1
Server Host/ Auth Acct Auth Acct
IP Address Port Port Status Status
-----------------------------------------
192.168.1.101 1812 1813 Active Active
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1061
AAA C OMMANDS
UNDEBUG AAA
undebug aaa
Overview This command applies the functionality of the no
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1062
33
RADIUS Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure the device to use RADIUS servers.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
auth radius send nas-identifier
deadtime (RADIUS server group) ” on page 1066
radius-server retransmit ” on page 1074
show debugging radius ” on page 1080
show radius statistics ” on page 1084
1063 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
RADIUS C OMMANDS
AUTH RADIUS SEND NAS IDENTIFIER
auth radius send nas-identifier
Overview Use this command to enable the device to include the NAS-Identifier(32) attribute in RADIUS authentication requests.
Use the no variant of this command to stop including the NAS-Identifier attribute.
Syntax auth radius send nas-identifier [ <name> |vlan-id] no auth radius send nas-identifier
Parameter
<name> vlan-id
Description
Send this user-defined text as the NAS-Identifier. You can specify up to 253 characters.
Send the VLAN ID of the authentication port as the NAS-Identifier.
This is the configured VLAN ID, not the dynamic VLAN ID or guest
VLAN ID.
Mode Global Configuration
Example To use a user-defined identifier of NASID100 as the NAS-Identifier attribute, use the commands: awplus# configure terminal awplus(config)# auth radius send nas-identifier NASID100
To use the VLAN ID as the NAS-Identifier attribute, use the commands: awplus# configure terminal awplus(config)# auth radius send nas-identifier vlan-id
To stop sending the NAS-Identifier attribute, use the commands: awplus# configure terminal awplus(config)# no auth radius send nas-identifier
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1064
RADIUS C OMMANDS
AUTH RADIUS SEND SERVICE TYPE
auth radius send service-type
Overview Use this command to enable the device to include the Service-Type(6) attribute in
RADIUS authentication requests. The Service-Type attribute has a value of:
•
• Framed(2) for 802.1x
Call-Check(10) for MAC authentication
• Unbound(5) for Web authentication.
Use the no variant of this command to stop including the Service-Type attribute.
Syntax auth radius send service-type no auth radius send service-type
Mode Global Configuration
Example To send the Service-Type attribute, use the commands: awplus# configure terminal awplus(config)# auth radius send service-type
Related
Commands
auth radius send nas-identifier
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1065
RADIUS C OMMANDS
DEADTIME (RADIUS SERVER GROUP )
deadtime (RADIUS server group)
Overview Use this command to configure the deadtime parameter for the RADIUS server group. This command overrides the global dead-time configured by the
radius-server deadtime command. The configured deadtime is the time period in
minutes to skip a RADIUS server for authentication or accounting requests if the server is “dead”. Note that a RADIUS server is considered “dead” if there is no response from the server within a defined time period.
Use the no variant of this command to reset the deadtime configured for the
RADIUS server group. If the global deadtime for RADIUS server is configured the value will be used for the servers in the group. The global deadtime for the RADIUS server is set to 0 minutes by default.
Syntax deadtime < 0-1440 > no deadtime
Parameter
< 0-1440 >
Description
Amount of time in minutes.
Default The deadtime is set to 0 minutes by default.
Mode Server Group Configuration
Usage If the RADIUS server does not respond to a request packet, the packet is retransmitted the number of times configured for the retransmit parameter (after waiting for a timeout period to expire). The server is then marked “dead”, and the time is recorded. The deadtime parameter configures the amount of time to skip a dead server; if a server is dead, no request message is sent to the server for the deadtime period.
Examples To configure the deadtime for 5 minutes for the RADIUS server group “GROUP1”, use the command: awplus(config)# aaa group server radius GROUP1 awplus(config-sg)# server 192.168.1.1 awplus(config-sg)# deadtime 5
To remove the deadtime configured for the RADIUS server group “GROUP1”, use the command: awplus(config)# aaa group server radius GROUP1 awplus(config-sg)# no deadtime
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1066
RADIUS C OMMANDS
DEBUG RADIUS
debug radius
Overview This command enables RADIUS debugging. If no option is specified, all debugging options are enabled.
Use the no variant of this command to disable RADIUS debugging. If no option is specified, all debugging options are disabled.
Syntax debug radius [packet|event|all] no debug radius [packet|event|all]
Parameter packet event all
Description
Debugging for RADIUS packets is enabled or disabled.
Debugging for RADIUS events is enabled or disabled.
Enable or disable all debugging options.
Default RADIUS debugging is disabled by default.
Mode Privileged Exec
Examples To enable debugging for RADIUS packets, use the command: awplus# debug radius packet
To enable debugging for RADIUS events, use the command: awplus# debug radius event
To disable debugging for RADIUS packets, use the command: awplus# no debug radius packet
To disable debugging for RADIUS events, use the command: awplus# no debug radius event
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1067
RADIUS C OMMANDS
IP RADIUS SOURCE INTERFACE
ip radius source-interface
Overview This command configures the source IP address of every outgoing RADIUS packet to use a specific IP address or the IP address of a specific interface. If the specified interface is down or there is no IP address on the interface, then the source IP address of outgoing RADIUS packets depends on the interface the packets leave.
Use the no variant of this command to remove the source interface configuration.
The source IP address in outgoing RADIUS packets will be the IP address of the interface from which the packets are sent.
Syntax ip radius source-interface {< interface> |< ip-address> } no ip radius source-interface
Parameter
<interface>
<ip-address>
Description
Interface name.
IP address in the dotted decimal format A.B.C.D.
Default Source IP address of outgoing RADIUS packets depends on the interface the packets leave.
Mode Global Configuration
Examples To configure all outgoing RADIUS packets to use the IP address of the interface
“vlan1” for the source IP address, use the following commands: awplus# configure terminal awplus(config)# ip radius source-interface vlan1
To configure the source IP address of all outgoing RADIUS packets to use
192.168.1.10, use the following commands: awplus# configure terminal awplus(config)# ip radius source-interface 192.168.1.10
To reset the source interface configuration for all outgoing RADIUS packets, use the following commands: awplus# configure terminal awplus(config)# no ip radius source-interface
Related
Commands
1068 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
RADIUS C OMMANDS
RADIUS SERVER DEADTIME
radius-server deadtime
Overview Use this command to specify the global deadtime for all RADIUS servers. If a
RADIUS server is considered dead, it is skipped for the specified deadtime. This command specifies for how many minutes a RADIUS server that is not responding to authentication requests is passed over by requests for RADIUS authentication.
Use the no variant of this command to reset the global deadtime to the default of
0 seconds, so that RADIUS servers are not skipped even if they are dead.
Syntax radius-server deadtime <minutes > no radius-server deadtime
Parameter
<minutes>
Description
RADIUS server deadtime in minutes in the range 0 to 1440 (24 hours).
Default The default RADIUS deadtime configured on the system is 0 seconds.
Mode Global Configuration
Usage The RADIUS client considers a RADIUS server to be dead if it fails to respond to a request after it has been retransmitted as often as specified globally by the
radius-server retransmit command or for the server by the
command. To improve RADIUS response times when some servers may be unavailable, set a deadtime to skip dead servers.
Examples To set the dead time of the RADIUS server to 60 minutes, use the following commands: awplus# configure terminal awplus(config)# radius-server deadtime 60
To disable the dead time of the RADIUS server, use the following commands: awplus# configure terminal awplus(config)# no radius-server deadtime
Related
Commands
deadtime (RADIUS server group)
1069 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
RADIUS C OMMANDS
RADIUS SERVER HOST
radius-server host
Overview Use this command to specify a remote RADIUS server host for authentication or accounting, and to set server-specific parameters. The parameters specified with this command override the corresponding global parameters for RADIUS servers.
This command specifies the IP address or host name of the remote RADIUS server host and assigns authentication and accounting destination UDP port numbers.
This command adds the RADIUS server address and sets parameters to the RADIUS server. The RADIUS server is added to the running configuration after you issue this command. If parameters are not set using this command then common system settings are applied.
Use the no variant of this command to remove the specified server host as a
RADIUS authentication and/or accounting server and set the destination port to the default RADIUS server port number (1812).
Syntax radius-server host {< host-name >|< ip-address >} [acct-port
< 0-65535 >] [auth-port < 0-65535 >] [key < key-string >] [retransmit
< 0-100 >] [timeout < 1-1000 >] no radius-server host {< host-name >|< ip-address >} [acct-port
< 0-65535 >] [auth-port < 0-65535 >]
Parameter
<host-name>
<ip-address> acct-port
< 0-65535 auth-port
< 0-65535 timeout
>
>
Description
Server host name. The DNS name of the RADIUS server host.
The IP address of the RADIUS server host.
Accounting port. Specifies the UDP destination port for RADIUS accounting requests. If 0 is specified, the server is not used for accounting. The default UDP port for accounting is 1813.
UDP port number
(Accounting port number is set to 1813 by default)
Specifies the UDP destination port for RADIUS accounting requests. If 0 is specified, the host is not used for accounting.
Authentication port. Specifies the UDP destination port for
RADIUS authentication requests. If 0 is specified, the server is not used for authentication. The default UDP port for authentication is 1812.
UDP port number
(Authentication port number is set to 1812 by default)
Specifies the UDP destination port for RADIUS authentication requests. If 0 is specified, the host is not used for authentication.
Specifies the amount of time to wait for a response from the server. If this parameter is not specified the global value configured by the radius-server timeout command is used.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1070
RADIUS C OMMANDS
RADIUS SERVER HOST
Parameter
< 1-1000 > retransmit
< 0-100 > key
<key-string>
Description
Time in seconds to wait for a server reply
(timeout is set to 5 seconds by default)
The time interval (in seconds) to wait for the RADIUS server to reply before retransmitting a request or considering the server dead. This setting overrides the global value set by the radius- server timeout command.
If no timeout value is specified for this server, the global value is used.
Specifies the number of retries before skip to the next server. If this parameter is not specified the global value configured by the radius-server retransmit command is used.
Maximum number of retries
(maximum number of retries is set to 3 by default)
The maximum number of times to resend a RADIUS request to the server, if it does not respond within the timeout interval, before considering it dead and skipping to the next RADIUS server. This setting overrides the global setting of the radius- server retransmit command.
If no retransmit value is specified, the global value is used.
Set shared secret key with RADIUS servers
Shared key string applied
Specifies the shared secret authentication or encryption key for all RADIUS communications between this device and the RADIUS server. This key must match the encryption used on the RADIUS daemon. All leading spaces are ignored, but spaces within and at the end of the string are used. If spaces are used in the string, do not enclose the string in quotation marks unless the quotation marks themselves are part of the key. This setting overrides the global setting of the radius-server key c ommand. If no key value is specified, the global value is used.
Default The RADIUS client address is not configured (null) by default. No RADIUS server is configured.
Mode Global Configuration
Usage Multiple radius -server host commands can be used to specify multiple hosts. The software searches for hosts in the order they are specified. If no host-specific timeout, retransmit, or key values are specified, the global values apply to that host. If there are multiple RADIUS servers for this client, use this command multiple times—once to specify each server.
If you specify a host without specifying the auth port or the acct port, it will by default be configured for both authentication and accounting, using the default
UDP ports. To set a host to be a RADIUS server for authentication requests only, set the acct-port parameter to 0; to set the host to be a RADIUS server for accounting requests only, set the auth-port parameter to 0.
A RADIUS server is identified by IP address, authentication port and accounting port. A single host can be configured multiple times with different authentication or accounting ports. All the RADIUS servers configured with this command are
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1071
RADIUS C OMMANDS
RADIUS SERVER HOST included in the predefined RADIUS server group radius, which may be used by AAA authentication, authorization and accounting commands. The client transmits
(and retransmits, according to the retransmit and timeout parameters) RADIUS authentication or accounting requests to the servers in the order you specify them, until it gets a response.
Examples To add the RADIUS server 10.0.0.20
, use the following commands: awplus# configure terminal awplus(config)# radius-server host 10.0.0.20
To set the secret key to allied on the RADIUS server 10.0.0.20
, use the following commands: awplus# configure terminal awplus(config)# radius-server host 10.0.0.20 key allied
To delete the RADIUS server 10.0.0.20
, use the following commands: awplus# configure terminal awplus(config)# no radius-server host 10.0.0.20
To configure rad1.company.com
for authentication only, use the following commands: awplus# configure terminal awplus(config)# radius-server host rad1.company.com acct-port 0
To remove the RADIUS server rad1.company.com
configured for authentication only, use the following commands: awplus# configure terminal awplus(config)# no radius-server host rad1.company.com acct-port 0
To configure rad2.company.com
for accounting only, use the following commands: awplus# configure terminal awplus(config)# radius-server host rad2.company.com auth-port 0
To configure 192.168.1.1 with authentication port 1000, accounting port 1001 and retransmit count 5, use the following commands: awplus# configure terminal awplus(config)# radius-server host 192.168.1.1 auth-port 1000 acct-port 1001 retransmit 5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1072
RADIUS C OMMANDS
RADIUS SERVER KEY
radius-server key
Overview This command sets a global secret key for RADIUS authentication on the device.
The shared secret text string is used for RADIUS authentication between the device and a RADIUS server.
Note that if no secret key is explicitly specified for a RADIUS server, the global secret key will be used for the shared secret for the server.
Use the no variant of this command to reset the secret key to the default (null).
Syntax radius-server key <key > no radius-server key
Parameter
< key >
Description
Shared secret among radius server and 802.1X client.
Default The RADIUS server secret key on the system is not set by default (null).
Mode Global Configuration
Usage Use this command to set the global secret key shared between this client and its
RADIUS servers. If no secret key is specified for a particular RADIUS server using the radius-server host c ommand, this global key is used.
After enabling AAA authentication with the aaa authentication login command, set the authentication and encryption key using the radius-server key command so the key entered matches the key used on the RADIUS server.
Examples To set the global secret key to allied for RADIUS server, use the following commands: awplus# configure terminal awplus(config)# radius-server key allied
To set the global secret key to secret for RADIUS server, use the following commands: awplus# configure terminal awplus(config)# radius-server key secret
To delete the global secret key for RADIUS server, use the following commands: awplus# configure terminal awplus(config)# no radius-server key
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1073
RADIUS C OMMANDS
RADIUS SERVER RETRANSMIT
radius-server retransmit
Overview This command sets the retransmit counter to use RADIUS authentication on the device. This command specifies how many times the device transmits each
RADIUS request to the RADIUS server before giving up.
This command configures the retransmit parameter for RADIUS servers globally.
If the retransmit parameter is not specified for a RADIUS server by the radius-server host command then the global configuration set by this command is used for the server instead.
Use the no variant of this command to reset the re-transmit counter to the default
(3).
Syntax radius-server retransmit <retries> no radius-server retransmit
Parameter
<retries>
Description
RADIUS server retries in the range <0-100>.
The number of times a request is resent to a RADIUS server that does not respond, before the server is considered dead and the next server is tried. If no retransmit value is specified for a particular RADIUS server using the radius-server host command, this global value is used.
Default The default RADIUS retransmit count on the device is 3.
Mode Global Configuration
Examples To set the RADIUS retransmit count to 1, use the following commands: awplus# configure terminal awplus(config)# radius-server retransmit 1
To set the RADIUS retransmit count to the default (3), use the following commands: awplus# configure terminal awplus(config)# no radius-server retransmit
To configure the RADIUS retransmit count globally with 5, use the following commands: awplus# configure terminal awplus(config)# radius-server retransmit 5
To disable retransmission of requests to a RADIUS server, use the following commands: awplus# configure terminal awplus(config)# radius-server retransmit 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1074
RADIUS C OMMANDS
RADIUS SERVER RETRANSMIT
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1075
RADIUS C OMMANDS
RADIUS SERVER TIMEOUT
radius-server timeout
Overview Use this command to specify the RADIUS global timeout value. This is how long the device waits for a reply to a RADIUS request before retransmitting the request, or considering the server to be dead. If no timeout is specified for the particular
RADIUS server by the radius-server host command, it uses this global timeout value.
Note that this command configures the timeout parameter for RADIUS servers globally.
The no variant of this command resets the transmit timeout to the default (5 seconds).
Syntax radius-server timeout <seconds> no radius-server timeout
Parameter
<seconds>
Description
RADIUS server timeout in seconds in the range 1 to 1000.
The global time in seconds to wait for a RADIUS server to reply to a request before retransmitting the request, or considering the server to be dead (depending on the radius-server retransmit command).
Default The default RADIUS transmit timeout on the system is 5 seconds.
Mode Global Configuration
Examples To globally set the device to wait 20 seconds before retransmitting a RADIUS request to unresponsive RADIUS servers, use the following commands: awplus# configure terminal awplus(config)# radius-server timeout 20
To set the RADIUS timeout parameter to 1 second, use the following commands: awplus# configure terminal awplus(config)# radius-server timeout 1
To set the RADIUS timeout parameter to the default (5 seconds), use the following commands: awplus# configure terminal awplus(config)# no radius-server timeout
To configure the RADIUS server timeout period globally with 3 seconds, use the following commands: awplus# configure terminal awplus(config)# radius-server timeout 3
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1076
RADIUS C OMMANDS
RADIUS SERVER TIMEOUT
To reset the global timeout period for RADIUS servers to the default, use the following command: awplus# configure terminal awplus(config)# no radius-server timeout
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1077
RADIUS C OMMANDS
SERVER (S ERVER G ROUP )
server (Server Group)
Overview This command adds a RADIUS server to a server group in Server-Group
Configuration mode. The RADIUS server should be configured by the
The server is appended to the server list of the group and the order of configuration determines the precedence of servers. If the server exists in the server group already, it will be removed before added as a new server.
The server is identified by IP address and authentication and accounting UDP port numbers. So a RADIUS server can have multiple entries in a group with different authentication and/or accounting UDP ports. The auth-port specifies the UDP destination port for authentication requests to the server. To disable authentication for the server, set auth-port to 0. If the authentication port is missing, the default port number is 1812. The acct-port specifies the UDP destination port for accounting requests to the server. To disable accounting for the server, set acct-port to 0. If the accounting port is missing, the default port number is 1812.
Use the no variant of this command to remove a RADIUS server from the server group.
Syntax server {< hostname >|< ip-address >} [auth-port
< 0-65535 >][acct-port < 0-65535 >] no server {< hostname >|< ip-address >} [auth-port
< 0-65535 >][acct-port < 0-65535 >]
Parameter
<hostname>
<ip-address> auth-port
< 0-65535 > acct-port
< 0-65535 >
Description
Server host name
Server IP address
The server is identified by IP address, authentication and accounting UDP port numbers. So a RADIUS server can have multiple entries in a group with different authentication and/or accounting UDP ports.
Authentication port
The auth-port specifies the UDP destination port for authentication requests to the server. To disable authentication for the server, set auth-port to 0. If the authentication port is missing, the default port number is 1812.
UDP port number (default: 1812)
Accounting port
The acct-port specifies the UDP destination port for accounting requests to the server. To disable accounting for the server, set acct-port to 0. If the accounting port is missing, the default port number is 1813.
UDP port number (default: 1813)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1078
RADIUS C OMMANDS
SERVER (S ERVER G ROUP )
Default The default Authentication port number is 1812 and the default Accounting port number is 1813.
Mode Server Group Configuration
Usage The RADIUS server to be added must be configured by the radius-server host command. In order to add or remove a server, the auth-port and acct-port parameters in this command must be the same as the corresponding parameters in the radius-server host command.
Examples To create a RADIUS server group RAD_AUTH1 for authentication, use the following commands: awplus# configure terminal awplus(config)# aaa group server radius RAD_AUTH1 awplus(config-sg)# server 192.168.1.1 acct-port 0 awplus(config-sg)# server 192.168.2.1 auth-port 1000 acct-port
0
To create a RADIUS server group RAD_ACCT1 for accounting, use the following commands: awplus# configure terminal awplus(config)# aaa group server radius RAD_ACCT1 awplus(config-sg)# server 192.168.2.1 auth-port 0 acct-port
1001 awplus(config-sg)# server 192.168.3.1 auth-port 0
To remove server 192.168.3.1 from the existing server group GROUP1 , use the following commands: awplus# configure terminal awplus(config)# aaa group server radius GROUP1 awplus(config-sg)# no server 192.168.3.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1079
RADIUS C OMMANDS
SHOW DEBUGGING RADIUS
show debugging radius
Overview This command displays the current debugging status for the RADIUS servers.
Syntax show debugging radius
Mode User Exec and Privileged Exec
Example To display the current debugging status of RADIUS servers, use the command: awplus# show debugging radius
Output Figure 33-1: Example output from the show debugging radius command
RADIUS debugging status:
RADIUS event debugging is off
RADIUS packet debugging is off
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1080
RADIUS C OMMANDS
SHOW RADIUS
show radius
Overview This command displays the current RADIUS server configuration and status.
Syntax show radius
Mode User Exec and Privileged Exec
Example To display the current status of RADIUS servers, use the command: awplus# show radius
Output Figure 33-2: Example output from the show radius command showing RADIUS servers
RADIUS Global Configuration
Source Interface : not configured
Secret Key : secret
Timeout : 5 sec
Retransmit Count : 3
Deadtime : 20 min
Server Host : 192.168.1.10
Authentication Port : 1812
Accounting Port : 1813
Secret Key : secret
Timeout : 3 sec
Retransmit Count : 2
Server Host : 192.168.1.11
Authentication Port : 1812
Accounting Port : not configured
Server Name/ Auth Acct Auth Acct
IP Address Port Port Status Status
-----------------------------------------------------------
192.168.1.10 1812 1813 Alive Alive
192.168.1.11 1812 N/A Alive N/A
Example See the sample output below showing RADIUS client status and RADIUS configuration: awplus# show radius
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1081
RADIUS C OMMANDS
SHOW RADIUS
Output Figure 33-3: Example output from the show radius command showing RADIUS client status
RADIUS global interface name: awplus
Secret key:
Timeout: 5
Retransmit count: 3
Deadtime: 0
Server Address: 150.87.18.89
Auth destination port: 1812
Accounting port: 1813
Secret key: swg
Timeout: 5
Retransmit count: 3
Deadtime: 0show radius local-server group
Output Parameter
Source
Interface
Secret Key
Timeout
Retransmit
Count
Deadtime
Interim-Update
Meaning
The interface name or IP address to be used for the source address of all outgoing RADIUS packets.
A shared secret key to a radius server.
A time interval in seconds.
The number of retry count if a RADIUS server does not response.
A time interval in minutes to mark a RADIUS server as “dead”.
A time interval in minutes to send Interim-Update Accounting report.
Group Deadtime The deadtime configured for RADIUS servers within a server group.
Server Host
Authentication
Port
The RADIUS server hostname or IP address.
The destination UDP port for RADIUS authentication requests.
Accounting Port The destination UDP port for RADIUS accounting requests.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1082
RADIUS C OMMANDS
SHOW RADIUS
Output Parameter
Auth Status
Acct Status
Meaning
The status of the authentication port.
The status (“dead”, “error”, or “alive”) of the RADIUS authentica tion server and, if dead, how long it has been dead for.
Alive
Error
Dead
The server is alive.
The server is not responding.
The server is detected as dead and it will not be used for deadtime period. The time displayed in the output shows the server is in dead status for that amount of time.
Unknown The server is never used or the status is unknown.
The status of the accounting port.
The status (“dead”, “error”, or “alive”) of the RADIUS accounting server and, if dead, how long it has been dead for.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1083
RADIUS C OMMANDS
SHOW RADIUS STATISTICS
show radius statistics
Overview This command shows the RADIUS client statistics for the device.
Syntax show radius statistics
Mode User Exec and Privileged Exec
Example See the sample output below showing RADIUS client statistics and RADIUS configuration: awplus# show radius statistics
Output Figure 33-4: Example output from the show radius statistics command:
RADIUS statistics for Server: 150.87.18.89
Access-Request Tx : 5 - Retransmit : 0
Access-Accept Rx : 1 - Access-Reject Rx : 2
Access-Challenge Rx : 2
Unknown Type : 0 - Bad Authenticator : 0
Malformed Access-Resp : 0 - Wrong Identifier : 0
Bad Attribute : 0 - Packet Dropped : 0
TimeOut : 0 - Dead count : 0
Pending Request : 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1084
RADIUS C OMMANDS
UNDEBUG RADIUS
undebug radius
Overview This command applies the functionality of the no
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1085
34
Public Key
Infrastructure
Commands
Introduction
Overview This chapter provides an alphabetical reference of commands used to configure the Public Key Infrastructure (PKI) capabilities on an AlliedWare Plus device.
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ crypto key generate rsa ” on page 1087
“ crypto key zeroize ” on page 1088
“ crypto pki authenticate ” on page 1089
“ crypto pki enroll ” on page 1090
“ crypto pki enroll user ” on page 1091
“ crypto pki export pem ” on page 1093
“ crypto pki export pkcs12 ” on page 1094
“ crypto pki import pem ” on page 1096
“ crypto pki import pkcs12 ” on page 1098
“ crypto pki trustpoint ” on page 1099
“ enrollment (trustpoint configuration mode) ” on page 1100
“ fingerprint (trustpoint configuration mode) ” on page 1101
“ no crypto pki certificate ” on page 1103
“ rsakeypair (trustpoint configuration mode) ” on page 1104
“ show crypto key mypubkey rsa ” on page 1105
“ show crypto pki certificates ” on page 1106
show crypto pki enrollment user
subject-name (trustpoint configuration) ” on page 1110
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1086
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO KEY GENERATE RSA
crypto key generate rsa
Overview Use this command to generate a cryptographic public/private key pair for the
Rivest-Shamir-Adleman (RSA) encryption algorithm.
Syntax crypto key generate rsa [label <keylabel> ] [ <1024-4096> ]
Parameter
<keylabel>
<1024-4096>
Description
The name of the key to be created. The name must start with an alphanumeric character, and may only contain alphanumeric characters, underscores, dashes, or periods. The maximum length of the name is 63 characters. If no label is specified the default value “server-default” is used.
The bit length for the key. If no bit length is specified the default of 2048 is used.
Mode Privileged Exec
Usage The generated key may be used for multiple server certificates in the system. A key is referenced by its label. A bit length between 1024 and 4096 bits may be specified. Larger bit lengths are more secure, but require more computation time.
The specified key must not already exist.
Example To create a key with the label "example-server-key" and a bit length of 2048, use the commands: awplus> enable awplus# crypto key generate rsa label example-server-key 2048
Related
Commands
rsakeypair (trustpoint configuration mode)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1087
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO KEY ZEROIZE
crypto key zeroize
Overview Use this command to delete one or all cryptographic public/private key pairs.
Syntax crypto key zeroize rsa <keylabel> crypto key zeroize all
Parameter rsa <keylabel> all
Description
Delete a single key pair for the Rivest-Shamir-Adleman (RSA) encryption algorithm.
Delete all keys.
Mode Privileged Exec
Usage Note that this command has the same effect as using the delete command (it deletes the file from Flash memory but does not overwrite it with zeros).
The specified key must exist but must not be in use for any existing server certificates.
A key may not be deleted if it is associated with the server certificate or server certificate signing request for an existing trustpoint. To remove a server certificate so that the key may be deleted, use the no crypto pki enroll command to de-enroll the server.
Example To delete an RSA key named "example-server-key", use the following command: awplus# crypto key zeroize rsa example-server-key
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1088
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI AUTHENTICATE
crypto pki authenticate
Overview Use this command to authenticate a trustpoint by generating or importing the root CA certificate. This must be done before the server can be enrolled to the trustpoint.
Syntax crypto pki authenticate < trustpoint >
Parameter
<trustpoint>
Description
The name of the trustpoint to be authenticated.
Mode Privileged Exec
Usage If the trustpoint’s enrollment setting is “selfsigned”, then this command causes a private key to be generated for the root CA, and a self-signed certificate to be generated based on that key.
If the trustpoint’s enrollment setting is “terminal”, then this command prompts the user to paste a certificate Privacy Enhanced Mail (PEM) file at the CLI terminal.
If the certificate is a valid selfsigned CA certificate, then it will be stored as the trustpoint’s root CA certificate.
The specified trustpoint must already exist, and its enrollment mode must have been defined.
Example To show the enrollment setting of a trustpoint named “example” and then generate a certificate from it, use the commands: awplus> enable awplus# configure terminal awplus(config)# crypto pki trustpoint example awplus(ca-trustpoint)# enrollment selfsigned awplus(config)# exit awplus# exit awplus# crypto pki authenticate example
Related
Commands
enrollment (trustpoint configuration mode)
1089 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI ENROLL
crypto pki enroll
Overview Use this command to enroll the local server to the specified trustpoint.
Use the no variant of this command to de-enroll the server by removing its certificate
Syntax crypto pki enroll < trustpoint > no crypto pki enroll < trustpoint >
Parameter
<trustpoint>
Description
The name of the trustpoint to be enrolled
Mode Privileged Exec
Usage For the local server, “enrollment” is the process of creating of a certificate for the server that has been signed by a CA associated with the trustpoint. The public portion of the RSA key pair specified using the rsakeypair parameter for the trustpoint will be included in the server certificate.
If the trustpoint represents a locally self-signed certificate authority, then this command results in the direct generation of the server certificate, signed by the root CA for the trustpoint.
If the trustpoint represents an external certificate authority, then this command results in the generation of a Certificate Signing Request (CSR) file, which is displayed at the terminal in Privacy-Enhanced Mail (PEM) format, suitable for copying and pasting into a file or message. The CSR must be sent to the external
CA for processing. When the CA replies with the signed certificate, that certificate should be imported using the crypto pki import pem command, to complete the enrollment process.
The specified trustpoint must already exist, and it must already be authenticated.
Example To enroll the local server with the trustpoint “example”, use the following commands: awplus> enable awplus# crypto pki enroll example
Related
Commands
enrollment (trustpoint configuration mode)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1090
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI ENROLL USER
crypto pki enroll user
Overview Use this command to enroll a single RADIUS user or all RADIUS users to the specified trustpoint.
Use the no variant of this command to remove the PKCS#12 file from the system.
Note that the PKCS#12 files are generated in a temporary (volatile) file system, so a system restart also results in removal of all of the files.
Syntax crypto pki enroll < trustpoint>
{user < username >|local-radius-all-users} no crypto pki enroll < trustpoint>
{user < username >|local-radius-all-users}
Parameter
<trustpoint>
<username>
Description
The name of the trustpoint to which users are to be enrolled.
The name of the user to enroll to the trustpoint.
Mode Privileged Exec
Usage For RADIUS users, “enrollment” is the process of generating a private key and a corresponding client certificate for each user, with the certificate signed by the root CA for the trustpoint. The resulting certificates may be exported to client devices, for use with PEAP or EAP-TLS authentication with the local RADIUS server.
The specified trustpoint must represent a locally self-signed certificate authority.
The private key and certificate are packaged into a PKCS#12-formatted file, suitable for export using the crypto pki export pkcs12 command. The private key is encrypted for security, with a passphrase that is entered at the command line.
The passphrase is required when the PKCS#12 file is imported on the client system.
The passphrase is not stored anywhere on the device, so users are responsible for remembering it until the export-import process is complete.
If local-radius-all-users is specified instead of an individual user, then keys and certificates for all RADIUS users will be generated at once. All the keys will be encrypted using the same passphrase.
The specified trustpoint must already exist, it must represent a locally self-signed
CA, and it must already have been authenticated.
Example To enroll the user “example-user” with the trustpoint “example”, use the following commands: awplus> enable awplus# crypto pki enroll example user example-user
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1091
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI ENROLL USER
To enroll all local RADIUS users with the trustpoint “example”, use the following commands: awplus> enable awplus# crypto pki enroll example local-radius-all-users
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1092
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI EXPORT PEM
crypto pki export pem
Overview Use this command to export the root CA certificate for the given trustpoint to a file in Privacy-Enhanced Mail (PEM) format. The file may be transferred to the specified destination URL, or displayed at the terminal.
Syntax crypto pki export < trustpoint > pem [terminal|< url >]
Parameter
<trustpoint> terminal
<url>
Description
The name of the trustpoint for which the root CA certificate is tobe exported.
Display the PEM file to the terminal.
Transfer the PEM file to the specified URL.
Default The PEM will be displayed to the terminal by default.
Mode Privileged Exec
Usage The specified trustpoint must already exist, and it must already be authenticated.
Example To display the PEM file for the trustpoint “example” to the terminal, use the following commands: awplus> enable awplus# crypto pki export example pem terminal
To export the PEM file “example.pem” for the trustpoint “example” to the URL
“tftp://server_a/”, use the following commands: awplus> enable awplus# crypto pki export example pem tftp://server_a/example.pem
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1093
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI EXPORT PKCS 12
crypto pki export pkcs12
Overview Use this command to export a certificate and private key for an entity in a trustpoint to a file in PKCS#12 format at the specified URL. The private key is encrypted with a passphrase for security.
Syntax crypto pki export <trustpoint> pkcs12 {ca|server|<username>}
<url>
Parameter
<trustpoint> ca server
<username>
<url>
Description
The name of the trustpoint for which the certificate and key are tobe exported.
If this option is specified, the command exports the root CA certificate and corresponding key.
If this option is specified, the command exports the server certificate and corresponding key.
If a RADIUS username is specified, the command exports the
PKCS#12 file that was previously generated using the crypto pki enroll user command. To avoid ambiguity with keywords, the username may be prefixed by the string “user:”.
The destination URL for the PKCS#12 file. The format of the URLis the same as any valid destination for a file copy command.
Mode Privileged Exec
Usage If the ca option is specified, this command exports the root CA certificate and the corresponding private key, if the trustpoint has been authenticated as a locally selfsigned CA. (If the trustpoint represents an external CA, then there is no private key on the system corresponding to the root CA certificate. Use the crypto pki export pem file to export the certificate by itself.) The command prompts for a passphrase to encrypt the private key.
If the server option is specified, this command exports the server certificate and the corresponding private key, if the server has been enrolled to the trustpoint. The command prompts for a passphrase to encrypt the private key.
If a RADIUS username is specified, this command exports the PKCS#12 file that was generated using the crypto pki enroll user command. (The key within the file was already encrypted as part of the user enrollment process.)
In the event that there is a RADIUS user named “ca” or “server”, enter “user:ca” or
“user:server” as the username.
The key and certificate must already exist.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1094
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI EXPORT PKCS 12
Example To export the PKCS#12 file “example.pk12” for the trustpoint “example” to the URL
“tftp://backup/”, use the following commands: awplus> enable awplus# crypto pki export example pkcs12 ca tftp://backup/example.pk12
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1095
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI IMPORT PEM
crypto pki import pem
Overview This command imports a certificate for the given trustpoint from a file in
Privacy-Enhanced Mail (PEM) format. The file may be transferred from the specified destination URL, or entered at the terminal.
Syntax crypto pki import < trustpoint > pem [terminal|< url >]
Parameter
<trustpoint> terminal
<url>
Description
The name of the trustpoint for which the root CA certificate is to be imported.
Optional parameter, If specified, the command prompts the user to enter (or paste) the PEM file at the terminal. If parameter is specified terminal is assumed by default.
Optional parameter, If specified, the PEM file is transferred from the specified URL
Default The PEM will be imported from the terminal by default.
Mode Privileged Exec
Usage The command is generally used for trustpoints representing external certificate authorities. It accepts root CA certificates, intermediate CA certificates, and server certificates. The system automatically detects the certificate type upon import.
Using this command to import root CA certificates at the terminal is identical to the functionality provided by the crypto pki authenticate command, for external certificate authorities. The imported certificate is validated to ensure it is a proper
CA certificate.
Intermediate CA certificates are validated to ensure they are proper CA certificates, and that the issuer chain ends in a root CA certificate already installed for the trustpoint. If there is no root CA certificate for the trustpoint (i.e., if the trustpoint is unauthenticated) then intermediate CA certificates may not be imported.
Server certificates are validated to ensure that the issuer chain ends in a root CA certificate already installed for the trustpoint. If there is no root CA certificate for the trustpoint (i.e., if the trustpoint is unauthenticated) then server certificates may not be imported.
The specified trustpoint must already exist. If the imported certificate is self-signed, then no certificates may exist for the trustpoint. Otherwise, the issuer’s certificate must already be present for the trustpoint.
Example To import the PEM file for the trustpoint “example” from the terminal, use the following commands: awplus> enable awplus# crypto pki import example pem
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1096
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI IMPORT PEM
To import the PEM file for the trustpoint “example” from the URL “tftp://server_a/”, use the following commands: awplus> enable awplus# crypto pki import example pem tftp://server_a/example.pem
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1097
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI IMPORT PKCS 12
crypto pki import pkcs12
Overview This command imports a certificate and private key for an entity in a trustpoint from a file in PKCS#12 format at the specified URL. The command prompts for a passphrase to decrypt the private key within the file.
Syntax crypto pki import < trustpoint > pkcs12 {ca|server} < url >
Parameter
<trustpoint> ca server
<url>
Description
The name of the trustpoint for which the certificate and key are to be imported.
If this option is specified, the command imports the root CA certificate and corresponding key.
If this option is specified, the command imports the server certificate and corresponding key.
The source URL for the PKCS#12 file. The format of the URLis the same as any valid destination for a file copy command.
Mode Privileged Exec
Usage If the ca option is specified, this command imports the root CA certificate and the corresponding private key. This is only valid if the root CA certificate does not already exist for the trustpoint (i.e., if the trustpoint is unauthenticated).
If the server option is specified, this command imports the server certificate and the corresponding private key. The imported private key is given a new unique label of the form “localN”, where N is a non-negative integer. This operation is only valid if the server certificate does not already exist for the trustpoint (i.e., if the server is not enrolled to the trustpoint).
PKCS#12 files for RADIUS users may not be imported with this command. (There is no value in doing so, as the files are not needed on the local system.)
The specified trustpoint must already exist. The key and certificate must not already exist.
Example To import the PKCS#12 file “example.pk12” for the trustpoint “example” to the URL
“tftp://backup/”, use the following commands: awplus> enable awplus# crypto pki import example pkcs12 ca tftp://backup/example.pk12
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1098
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
CRYPTO PKI TRUSTPOINT
crypto pki trustpoint
Overview Use this command to declare the named trustpoint and enter trustpoint configuration mode.
Use the no variant of this command to destroy the trustpoint.
Syntax crypto pki trustpoint < trustpoint > no crypto pki trustpoint < trustpoint >
Parameter
<trustpoint>
Description
The name of the trustpoint. The name must start with an alphanumeric character, and may only contain alphanumeric characters, underscores, dashes, or periods. The maximum length of the name is 63 characters.
Mode Global Configuration
Usage If the trustpoint did not previously exist, it is created as a new trustpoint. The trustpoint will be empty (unauthenticated) unless the name “local” is selected, in which case the system will automatically authenticate the trustpoint as a local self-signed certificate authority.
The no variant of this command destroys the trustpoint by removing all CA and server certificates associated with the trustpoint, as well as the private key associated with the root certificate (if the root certificate was locally self-signed).
This is a destructive and irreversible operation, so this command should be used with caution.
Example To configure a trustpoint named “example”, use the following commands: awplus> enable awplus# configure terminal awplus(config)# crypto pki trustpoint example
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1099
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
ENROLLMENT ( TRUSTPOINT CONFIGURATION MODE )
enrollment (trustpoint configuration mode)
Overview Use this command to declare how certificates will be added to the system for the current trustpoint.
Syntax enrollment {selfsigned|terminal}
Parameter selfsigned terminal
Description
Sets the enrollment mode for the current trustpoint to selfsigned.
Sets the enrollment mode for the current trustpoint to terminal.
Mode Trustpoint Configuration
Usage If the enrollment is set to selfsigned , then the system will generate a root CA certificate and its associated key when the crypto pki authenticate command is issued. It will generate a server certificate (signed by the root CA certificate) when the crypto pki enroll command is issued.
If the enrollment is set to terminal , then the system will prompt the user to paste the root CA certificate Privacy Enhanced Mail (PEM) file at the terminal, when the crypto pki authenticate command is issued. It will create a Certificate Signing
Request (CSR) file for the local server when the crypto pki enroll command is issued. The server certificate received from the external CA should be imported using the crypto pki import pem command.
The trustpoint named “local” may only use the selfsigned enrollment setting.
If no enrollment mode is specified, the crypto pki authenticate command will fail for the trustpoint.
Example To configure the trustpoint named "example" and set its enrollment to selfsigned , use the following commands: awplus> enable awplus# configure terminal awplus(config)# crypto pki trustpoint example awplus(ca-trustpoint)# enrollment selfsigned
Related
Commands
1100 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
FINGERPRINT ( TRUSTPOINT CONFIGURATION MODE )
fingerprint (trustpoint configuration mode)
Overview Use this command to declare that certificates with the specified fingerprint should be automatically accepted, when importing certificates from an external certificate authority. This can affect the behavior of the crypto pki authenticate and crypto pki import pem commands.
Use the no variant of this command to remove the specified fingerprint from the pre-accepted list.
Syntax fingerprint < word > no fingerprint < word >
Parameter
<word>
Description
The fingerprint as a series of 40 hexadecimal characters, optionally separated into multiple character strings.
Default By default, no fingerprints are pre-accepted for the trustpoint.
Mode Trustpoint Configuration
Usage Specifying a fingerprint adds it to a list of pre-accepted fingerprints for the trustpoint. When a certificate is imported, if it matches any of the pre-accepted values, then it will be saved in the system automatically. If the imported certificate’s fingerprint does not match any pre-accepted value, then the user will be prompted to verify the certificate contents and fingerprint visually.
This command is useful when certificates from an external certificate authority are being transmitted over an insecure channel. If the certificate fingerprint is delivered via a separate messaging channel, then pre-entering the fingerprint value via cut-and-paste may be less errorprone than attempting to verify the fingerprint value visually.
The fingerprint is a series of 40 hexadecimal characters. It may be entered as a continuous string, or as a series of up to multiple strings separated by spaces. The input format is flexible because different certificate authorities may provide the fingerprint string in different formats.
Example To configure a fingerprint “5A81D34C 759CC4DA CFCA9F65 0303AD83 410B03AF” for the trustpoint named “example”, use the following commands: awplus> enable awplus# configure terminal awplus(config)# crypto pki trustpoint example awplus(ca-trustpoint)# fingerprint 5A81D34C 759CC4DA CFCA9F65
0303AD83 410B03AF
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1101
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
FINGERPRINT ( TRUSTPOINT CONFIGURATION MODE )
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1102
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
NO CRYPTO PKI CERTIFICATE
no crypto pki certificate
Overview Use this command to delete a certificate with the specified fingerprint from the specified trustpoint.
Syntax no crypto pki certificate < trustpoint > < word >
Parameter
<trustpoint>
<word>
Description
The name of the trustpoint.
The fingerprint as a series of 40 hexadecimal characters, optionally separated into multiple character strings.
Default By default, no fingerprints are pre-accepted for the trustpoint.
Mode Privileged Exec
Usage The fingerprint can be found in the output of the show crypto pki certificates command. If there are dependent certificates in the trustpoint (i.e., if other certificates were signed by the specified certificate), the command will be rejected.
If the specified certificate is the root CA certificate and the trustpoint represents a locally selfsigned CA, then the corresponding private key is also deleted from the system. Deleting the root CA certificate effectively resets the trustpoint to an unauthenticated state.
Example To delete a certificate with the fingerprint "594EDEF9 C7C4308C 36D408E0
77E784F0 A59E8792" from the trustpoint “example”, use the following commands: awplus> enable awplus# no crypto pki certificate example
594EDEF9 C7C4308C 36D408E0 77E784F0 A59E8792
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1103
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
RSAKEYPAIR ( TRUSTPOINT CONFIGURATION MODE )
rsakeypair (trustpoint configuration mode)
Overview Use this command to declare which RSA key pair should be used to enroll the local server with the trustpoint. Note that this defines the key pair used with the server certificate, not the key pair used with the root CA certificate.
Use the no variant of this command to restore the default value, “server-default”.
Syntax rsakeypair < keylabel > [< 1024-4096 >] no rsakeypair
Parameter
<keylabel>
< 1024-4096 >
Description
The key to be used with the server certificate for this trustpoint.
The name must start with an alphanumeric character, and may only contain alphanumeric characters, underscores, dashes, or periods. The maximum length of the name is 63 characters.
The bit length for the key, to be used if the key is implicitly generated during server enrollment.
Default The default value for keylabel is “server-default”.
The default value for the key bit length is 2048.
Mode Trustpoint Configuration
Usage If the label specified does not refer to an existing key created by the crypto key generate rsa command, the key will be implicitly generated when the crypto pki enroll command is issued to generate the server certificate or the server certificate signing request. The optional numeric parameter defines the bit length for the key, and is only applicable for keys that are implicitly created during enrollment.
This command does not affect server certificates or server certificate signing requests that have already been generated. The trustpoint’s server certificate is set to use whatever key pair was specified for the trustpoint at the time the crypto pki enroll command is issued.
The default key pair is “server-default”. The default bit length is 2048 bits.
Example To configure trustpoint "example" to use the key pair "example-server-key" with a bit length of 2048, use the following commands: awplus> enable awplus# configure terminal awplus(config)# crypto pki trustpoint example awplus(ca-trustpoint)# rsakeypair example-server-key 2048
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1104
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SHOW CRYPTO KEY MYPUBKEY RSA
show crypto key mypubkey rsa
Overview Use this command to display information about the specified
Rivest-Shamir-Adleman encryption key.
Syntax show crypto key mypubkey rsa [< keylabel >]
Parameter
<keylabel>
Description
The name of the key to be shown, if specified.
Default By default, all keys will be shown.
Mode Privileged Exec
Usage If no key label is specified, information about all keys is shown. The command displays the bit length of the key, a key fingerprint (a hash of the key contents to help uniquely identify a key), and a list of trustpoints in which the server certificate is using the key.
The specified keys must exist.
Example To show all keys, use the following commands: awplus> enable awplus# show crypto key mypubkey rsa
Output Figure 34-1: Example output from show crypto key mypubkey rsa awplus#show crypto key mypubkey rsa
-------------------
RSA Key Pair "example-server-key":
Key size : 2048 bits
Fingerprint : 1A605D73 C2274CB7 853886B3 1C802FC6 7CDE45FB
Trustpoints : example
-------------------
RSA Key Pair "server-default":
Key size : 2048 bits
Fingerprint : 34AC4D2D 5249A168 29D426A3 434FFC59 C4A19901
Trustpoints : local
Related
Commands
1105 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SHOW CRYPTO PKI CERTIFICATES
show crypto pki certificates
Overview Use this command to display information about existing certificates for the specified trustpoint.
Syntax show crypto pki certificates [< trustpoint >]
Parameter
<trustpoint>
Description
The trustpoint for which the certificates are to be shown.
Default By default, the certificates for all trustpoints are shown.
Mode Privileged Exec
Usage If no trustpoint is specified, certificates for all trustpoints are shown. The command displays the certificates organized into certificate chains. It starts with the server certificate and then displays its issuer, and continues up the issuer chain until the root CA certificate is reached.
For each certificate, the command displays the certificate type, the subject’s distinguished name (the entity identified by the certificate), the issuer’s distinguished name (the entity that signed the certificate), the validity dates for the certificate, and the fingerprint of the certificate. The fingerprint is a cryptographic hash of the certificate contents that uniquely identifies the certificate.
The specified trustpoints must already exist.
Example To show the certificates for the trustpoint “example”, use the following command: awplus> enable awplus# show crypto pki certificates example
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1106
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SHOW CRYPTO PKI CERTIFICATES
Output Figure 34-2: Example output from show crypto pki certificates awplus>enable awplus#show crypto pki certificates example
-------------------
Trustpoint "example" Certificate Chain
-------------------
Server certificate
Subject : /O=local/CN=local.loc.lc
Issuer : /C=NZ/CN=local_Signing_CA
Valid From : Nov 11 15:35:21 2015 GMT
Valid To : Aug 31 15:35:21 2018 GMT
Fingerprint : 5A81D34C 759CC4DA CFCA9F65 0303AD83 410B03AF
Intermediate CA certificate
Subject : /C=NZ/CN=example_Signing_CA
Issuer : /C=NZ/CN=example_Root_CA
Valid From : Sep 3 18:45:01 2015 GMT
Valid To : Oct 10 18:45:01 2020 GMT
Fingerprint : AE2D5850 9867D258 ABBEE95E 2E0E3D81 60714920
Imported root certificate
Subject : /C=NZ/CN=example_Root_CA
Issuer : /C=NZ/CN=example_Root_CA
Valid From : Jul 23 18:12:10 2015 GMT
Valid To : May 12 18:12:10 2025 GMT
Fingerprint : 594EDEF9 C7C4308C 36D408E0 77E784F0 A59E8792
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1107
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SHOW CRYPTO PKI ENROLLMENT USER
show crypto pki enrollment user
Overview Use this command to display a list of trustpoints for which RADIUS user enrollments have been performed, using the crypto pki enroll user command.
This indicates that PKCS#12 files for the user are available for export for the given trustpoints, using the crypto pki export pkcs12 command.
Syntax crypto pki enrollment user < username >
Parameter
<username>
Description
The user for which enrollments are to be shown.
Mode Privileged Exec
Example To show the list of trustpoints to which user “exampleuser1” is enrolled, use the following commands: awplus> enable awplus(config)# show crypto pki enrollment user exampleuser1
Output Figure 34-3: Example output from show crypto pki enrollment user awplus> enable awplus# show crypto pki enrollment user exampleuser1
User "exampleuser1" is enrolled to the following trustpoints: local,example
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1108
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SHOW CRYPTO PKI TRUSTPOINT
show crypto pki trustpoint
Overview Use this command to display information about the specified trustpoint.
Syntax show crypto pki trustpoint [< trustpoint >]
Parameter
<trustpoint>
Description
The name of the trustpoint to be shown
Default By default, all trustpoints are shown.
Mode Privileged Exec
Usage If no trustpoint is specified, information about all trustpoints is shown. The command displays the authentication status of the trustpoint, the fingerprint of the root CA certificate (if it exists), the enrollment status of the local server with the trustpoint, a list of any applications that are configured to use the trustpoint, and the trustpoint parameters that were configured from trustpoint-configuration mode.
The specified trustpoints must already exist.
Example To show the details of the trustpoint “example”, use the following commands: awplus> enable awplus# show crypto pki trustpoint example
Output Figure 34-4: Example output from show crypto pki trustpoint awplus> enable awplus# show crypto pki trustpoint example
-------------------
Trustpoint "example"
Type : Self-signed certificate authority
Root Certificate: 50C1856B EEC7555A 0F3A61F6 690D9463 67DF74D1
Local Server : The server is enrolled to this trustpoint.
Server Key : example-server-key
Applications : RADIUS
Authentication and Enrollment Parameters:
Enrollment : selfsigned
RSA Key Pair : example-server-key (2048 bits)
--------------------
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1109
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SUBJECT NAME ( TRUSTPOINT CONFIGURATION )
subject-name (trustpoint configuration)
Overview Use this command to specify the distinguished name string that should be used for the subject field in the server certificate, when enrolling the server (generating the server certificate or server certificate signing request).
Syntax subject-name < word >
Parameter
<word>
Description
Specify the subject name as a distinguished name string.
Complex strings (e.g., strings containing spaces) should be surrounded with double-quote characters.
Default If no subject name is specified for the trustpoint, then the system automatically builds a name of the form “/O=AlliedWare Plus/CN=xxxx.yyyy.zzz”, where “xxxx” is the hostname of the system and “yyyy.zzz” is the default search domain for the system.
Mode Trustpoint Configuration
Usage The subject name is specified as a variable number of fields, where each field begins with a forward-slash character (“/”). Each field is of the form “XX=value”, where “XX” is the abbreviation of the node type in the tree.
Common values include:
•
•
•
• “C” (country),
“ST” (state),
“L” (locality),
“O” (organization),
•
• “OU” (organizational unit), and
“CN” (common name).
Of these fields, “CN” is usually the most important.
NOTE : For a server certificate, many applications require that the network name of the server matches the common name in the server’s certificate.
Example To configure the trustpoint named "example" and set its subject name, use the following commands: awplus> enable awplus# configure terminal awplus(config)# crypto pki trustpoint example awplus(ca-trustpoint)# subject-name "/O=My
Company/CN=192.168.1.1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1110
P UBLIC K EY I NFRASTRUCTURE C OMMANDS
SUBJECT NAME ( TRUSTPOINT CONFIGURATION )
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1111
35
TACACS+
Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure the device to use TACACS+ servers. For more information about TACACS+, see the
TACACS+ Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
aaa authorization commands ” on page 1115
aaa authorization config-commands ” on page 1117
tacacs-server host ” on page 1121
tacacs-server timeout ” on page 1124
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1112
TACACS+ C OMMANDS
AUTHORIZATION COMMANDS
authorization commands
Overview This command applies a command authorization method list, defined using the
command, to console and VTY lines.
Use the no variant of this command to reset the command authorization configuration on the console and VTY lines.
Syntax authorization commands < privilege-level > {default|< list-name >} no authorization commands < privilege-level >
Parameter Description
<privilege-level> The privilege level of the set of commands the method list will be applied to.
AlliedWare Plus defines three sets of commands, that are indexed by a level value:
Level = 1 : All commands that can be accessed by a user with privilege level between 1 and 6 inclusive
Level = 7: All commands that can be accessed by a user with privilege level between 7 and 14 inclusive
Level = 15 : All commands that can be accessed by a user with privilege level 15 default
< list-name >
Configure the default authorization commands method list.
Configure a named authorization commands method list
Default The default method list is applied to each console and VTY line by default.
Mode Line Configuration
Usage If the specified method list does not exist users will not be enable to execute any commands in the specified method list on the specified VTY lines.
Example To apply the TAC15 command authorization method list with privilege level 15 to
VTY lines 0 to 5, use the following commands: awplus# configure terminal awplus(config)# line vty 0 5 awplus(config-line)# authorization commands 15 TAC15
To reset the command authorization configuration with privilege level 15 on VTY lines 0 to 5, use the following commands: awplus# configure terminal awplus(config)# line vty 0 5 awplus(config-line)# no authorization commands 15
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1113
TACACS+ C OMMANDS
AUTHORIZATION COMMANDS
aaa authorization config-commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1114
TACACS+ C OMMANDS
AAA AUTHORIZATION COMMANDS
aaa authorization commands
Overview This command configures a method list for commands authorization that can be applied to console or VTY lines. When command authorization is enabled for a privilege level, only authorized users can executed commands in that privilege level.
Use the no variant of this command to remove a named method list or disable the default method list for a privilege level.
Syntax aaa authorization commands < privilege-level >
{default|< list-name >} group tacac+ [none] no aaa authorization commands < privilege-level >
{default|< list-name >}
Parameter Description
<privilege-level> The privilege level of the set of commands the method list will be applied to.
AlliedWare Plus defines three sets of commands, that are indexed by a level value:
Level = 1 : All commands that can be accessed by a user with privilege level between 1 and 6 inclusive
Level = 7: All commands that can be accessed by a user with privilege level between 7 and 14 inclusive
Level = 15 : All commands that can be accessed by a user with privilege level 15 group Specify the server group where authorization messages are sent. Only the tacacs+ group is available for this command.
tacac+
Use all TACACS+ servers configured by the host command.
default
< list-name > none
Configure the default authorization commands method list.
Configure a named authorization commands method list
If specified, this provides a local fallback to command authorization so that if authorization servers become unavailable then the device will accept all commands normally allowed for the privilege level of the user.
Mode Global Configuration
Usage TACACS+ command authorization provides centralized control of the commands available to a user of an AlliedWare Plus device. Once enabled:
• The command string and username are encrypted and sent to the first available configured TACACS+ server (the first server configured) for authorization.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1115
TACACS+ C OMMANDS
AAA AUTHORIZATION COMMANDS
•
•
The TACACS+ server decides if the user is authorized to execute the command and returns the decision to the AlliedWare Plus device.
Depending on this decision the device will then either execute the command or notify the user that authorization has failed.
If multiple TACACS+ servers are configured, and the first server is unreachable or does not respond, the other servers will be queried, in turn, for an authorization decision. If all servers are unreachable and a local fallback has been configured, with the none parameter, then commands are authorized based on the user’s privilege level; the same behavior as if command authorization had not been configured. If, however, the local fallback is not configured and all servers become unreachable then all commands except logout , exit , and quit will be denied.
The default method list is defined with a local fallback unless configured differently using this command.
Example To configure a commands authorization method list, named TAC15, using all
TACACS+ servers to authorize commands for privilege level 15, with a local fallback, use the following commands: awplus# configure terminal awplus(config)# aaa authorization commands 15 TAC15 group tacacs+ none
To configure the default method list to authorize commands for privilege level 7, with no local fallback, use the following commands: awplus# configure terminal awplus(config)# aaa authorization commands 7 default group tacacs+
To remove the authorization method list TAC15, use the following commands: awplus# configure terminal awplus(config)# no aaa authorization commands 15 TAC15
Related
Commands
aaa authorization config-commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1116
TACACS+ C OMMANDS
AAA AUTHORIZATION CONFIG COMMANDS
aaa authorization config-commands
Overview Use this command to enable command authorization on configuration mode commands. By default, command authorization applies to commands in exec mode only.
Use the no variant of this command to disable command authorization on configuration mode commands.
Syntax aaa authorization config-commands no aaa authorization config-commands
Default By default, command authorization is disabled on configuration mode commands.
Mode Global Configuration
Usage If authorization of configuration mode commands is not enabled then all configuration commands are accepted by default, including command authorization commands.
NOTE : Authorization of configuration commands is required for a secure TACACS+ command authorization configuration as it prevents the feature from being disabled to gain access to unauthorized exec mode commands.
Example To enable command authorization for configuration mode commands, use the commands: awplus# configure terminal awplus(config)# aaa authorization config-commands
To disable command authorization for configuration mode commands, use the commands: awplus# configure terminal awplus(config)# no aaa authorization config-commands
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1117
TACACS+ C OMMANDS
IP TACACS SOURCE INTERFACE
ip tacacs source-interface
Overview This command sets the source interface, or IP address, to use for all TACACS+ packets sent from the device. By default, TACACS+ packets use the source IP address of the egress interface.
Use the no variant of this command to remove the source interface configuration and use the source IP address of the egress interface.
Syntax ip tacacs source-interface {< interface> |< ip-address> } no ip tacacs source-interface
Parameter
<interface>
<ip-address>
Description
Interface name.
IP address in the dotted decimal format A.B.C.D.
Default The source IP address of outgoing TACACS+ packets default to the IP address of the egress interface.
Mode Global Configuration
Usage Setting the source interface ensures that all TACACS+ packets sent from the device will have the same source IP address. Once configured this affects all TACACS+ packets, namely accounting, authentication, and authorization.
If the specified interface is down or there is no IP address on the interface, then the source IP address of outgoing TACACS+ packets will default to the IP address of the egress interface.
Example To configure all outgoing TACACS+ packets to use the IP address of the loop-back
“lo” interface as the source IP address, use the following commands: awplus# configure terminal awplus(config)# ip tacacs source-interface lo
To reset the source interface configuration for all TACACS+ packets, use the following commands: awplus# configure terminal awplus(config)# no ip tacacs source-interface
Related
Commands
Command changes
Version 5.4.6-2.1: command added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1118
TACACS+ C OMMANDS
SHOW TACACS +
show tacacs+
Overview This command displays the current TACACS+ server configuration and status.
Syntax show tacacs+
Mode User Exec and Privileged Exec
Example To display the current status of TACACS+ servers, use the command: awplus# show tacacs+
Output Figure 35-1: Example output from the show tacacs+ command
TACACS+ Global Configuration
Source Interface : not configured
Timeout : 5 sec
Server Host/ Server
IP Address Status
-----------------------------------------------------------
192.168.1.10 Alive
192.168.1.11 Unknown
Table 1: Parameters in the output of the show tacacs+ command
Output Parameter
Source Interface
Meaning
IP address of source interface if set with ip tacacs source-interface
.
Timeout A time interval in seconds.
Server Host/IP Address TACACS+ server hostname or IP address.
Server Status The status of the authentication port.
Alive The server is alive.
Dead
Error
The server has timed out.
The server is not responding or there is an error in the key string entered.
Unknown The server is never used or the status is unkown.
Unreachable The server is unreachable.
Unresolved The server name can not be resolved.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1119
TACACS+ C OMMANDS
SHOW TACACS +
Command changes
Version 5.4.6-2.1: Source Interface parameter added
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1120
TACACS+ C OMMANDS
TACACS SERVER HOST
tacacs-server host
Overview Use this command to specify a remote TACACS+ server host for authentication, authorization and accounting, and to set the shared secret key to use with the
TACACS+ server. The parameters specified with this command override the corresponding global parameters for TACACS+ servers.
Use the no variant of this command to remove the specified server host as a
TACACS+ authentication and authorization server.
Syntax tacacs-server host {< host-name >|< ip-address >} [key
[8]< key-string >] no tacacs-server host {< host-name >|< ip-address >}
Parameter Description
< host-name > Server host name. The DNS name of the TACACS+ server host.
< ip-address > The IP address of the TACACS+ server host, in dotted decimal notation A.B.C.D.
key
8
Set shared secret key with TACACS+ servers.
Specifies that you are entering a password as a string that has already been encrypted instead of entering a plain text password.
The running config displays the new password as an encrypted string even if password encryption is turned off.
< key-string > Shared key string applied, a value in the range 1 to 64 characters.
Specifies the shared secret authentication or encryption key for all
TACACS+ communications between this device and the TACACS+ server. This key must match the encryption used on the TACACS+ server. This setting overrides the global setting of the
tacacs-server key command. If no key value is specified, the global
value is used.
Default No TACACS+ server is configured by default.
Mode Global Configuration
Usage A TACACS+ server host cannot be configured multiple times like a RADIUS server.
As many as four TACACS+ servers can be configured and consulted for login authentication, enable password authentication and accounting. The first server configured is regarded as the primary server and if the primary server fails then the backup servers are consulted in turn. A backup server is consulted if the primary server fails, not if a login authentication attempt is rejected. The reasons a server would fail are:
•
• it is not network reachable it is not currently TACACS+ capable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1121
TACACS+ C OMMANDS
TACACS SERVER HOST
• it cannot communicate with the switch properly due to the switch and the server having different secret keys
Examples To add the server tac1.company.com
as the TACACS+ server host, use the following commands: awplus# configure terminal awplus(config)# tacacs-server host tac1.company.com
To set the secret key to secret on the TACACS+ server 192.168.1.1
, use the following commands: awplus# configure terminal awplus(config)# tacacs-server host 192.168.1.1 key secret
To remove the TACACS+ server tac1.company.com
, use the following commands: awplus# configure terminal awplus(config)# no tacacs-server host tac1.company.com
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1122
TACACS+ C OMMANDS
TACACS SERVER KEY
tacacs-server key
Overview This command sets a global secret key for TACACS+ authentication, authorization and accounting. The shared secret text string is used for TACACS+ communications between the switch and all TACACS+ servers.
Note that if no secret key is explicitly specified for a TACACS+ server with the
tacacs-server host command, the global secret key will be used for the shared
secret for the server.
Use the no variant of this command to remove the global secret key.
Syntax tacacs-server key [8] <key-string > no tacacs-server key
Parameter
8
< key-string >
Description
Specifies a string in an encrypted format instead of plain text.
The running config will display the new password as an encrypted string even if password encryption is turned off.
Shared key string applied, a value in the range 1 to 64 characters.
Specifies the shared secret authentication or encryption key for all TACACS+ communications between this device and all
TACACS+ servers. This key must match the encryption used on the TACACS+ server.
Mode Global Configuration
Usage Use this command to set the global secret key shared between this client and its
TACACS+ servers. If no secret key is specified for a particular TACACS+ server using the
tacacs-server host command, this global key is used.
Examples To set the global secret key to secret for TACACS+ server, use the following commands: awplus# configure terminal awplus(config)# tacacs-server key secret
To delete the global secret key for TACACS+ server, use the following commands: awplus# configure terminal awplus(config)# no tacacs-server key
Related
Commands
1123 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
TACACS+ C OMMANDS
TACACS SERVER TIMEOUT
tacacs-server timeout
Overview Use this command to specify the TACACS+ global timeout value. The timeout value is how long the device waits for a reply to a TACACS+ request before considering the server to be dead.
Note that this command configures the timeout parameter for TACACS+ servers globally.
The no variant of this command resets the transmit timeout to the default (5 seconds).
Syntax tacacs-server timeout <seconds> no tacacs-server timeout
Parameter
< seconds >
Description
TACACS+ server timeout in seconds, in the range 1 to 1000.
Default The default timeout value is 5 seconds.
Mode Global Configuration
Examples To set the timeout value to 3 seconds, use the following commands: awplus# configure terminal awplus(config)# tacacs-server timeout 3
To reset the timeout period for TACACS+ servers to the default, use the following commands: awplus# configure terminal awplus(config)# no tacacs-server timeout
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1124
36
DHCP Snooping
Commands
Introduction
Overview This chapter gives detailed information about the commands used to configure
DHCP snooping. For detailed descriptions of related ACL commands, see
Hardware Access Control List (ACL) Commands . For more information about DHCP
snooping, see the DHCP Snooping Feature Overview and Configuration Guide .
DHCP snooping can operate on static link aggregators (e.g. sa2) and dynamic link aggregators (e.g. po2), as well as on switch ports (e.g. port1.0.2).
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
clear ip dhcp snooping binding
clear ip dhcp snooping statistics
ip dhcp snooping agent-option allow-untrusted
ip dhcp snooping agent-option remote-id
ip dhcp snooping database ” on page 1141
ip dhcp snooping delete-by-client
ip dhcp snooping agent-option circuit-id vlantriplet ” on page 1138
ip dhcp snooping delete-by-linkdown ” on page 1143
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1125
DHCP S NOOPING C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ ip dhcp snooping subscriber-id ” on page 1145
“ ip dhcp snooping trust ” on page 1146
“ ip dhcp snooping verify mac-address ” on page 1147
“ ip dhcp snooping violation ” on page 1148
“ ip source binding ” on page 1149
“ service dhcp-snooping ” on page 1151
“ show arp security ” on page 1153
“ show arp security interface ” on page 1154
“ show arp security statistics ” on page 1156
“ show debugging arp security ” on page 1158
“ show debugging ip dhcp snooping ” on page 1159
“ show ip dhcp snooping ” on page 1160
“ show ip dhcp snooping acl ” on page 1161
“ show ip dhcp snooping agent-option ” on page 1164
“ show ip dhcp snooping binding ” on page 1166
“ show ip dhcp snooping interface ” on page 1168
“ show ip dhcp snooping statistics ” on page 1170
“ show ip source binding ” on page 1173
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1126
DHCP S NOOPING C OMMANDS
ARP SECURITY
arp security
Overview Use this command to enable ARP security on untrusted ports in the VLANs, so that the switch only responds to/forwards ARP packets if they have recognized IP and
MAC source addresses.
Use the no variant of this command to disable ARP security on the VLANs.
Syntax arp security no arp security
Default Disabled
Mode Interface Configuration (VLANs)
Usage Enable ARP security to provide protection against ARP spoofing. DHCP snooping
must also be enabled on the switch ( service dhcp-snooping command), and on the
VLANs (
Example To enable ARP security on VLANs 2 to 4, use the commands: awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# arp security
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1127
DHCP S NOOPING C OMMANDS
ARP SECURITY VIOLATION
arp security violation
Overview Use this command to specify an additional action to perform if an ARP security
violation is detected on the ports. ARP security must also be enabled ( arp security command).
Use the no variant of this command to remove the specified action, or all actions.
Traffic violating ARP security will be dropped, but no other action will be taken.
Syntax arp security violation {log|trap|link-down} ...
no arp security violation [log|trap|link-down] ...
Parameter log
Description
Generate a log message. To display these messages, use the show log command.
trap Generate an SNMP notification (trap). To send SNMP notifications,
SNMP must also be configured, and DHCP snooping notifications must
be enabled using the snmp-server enable trap command.
Notifications are limited to one per second and to one per source MAC and violation reason. Additional violations within a second of a notification being sent will not result in further notifications.
Default: disabled.
link-down Shut down the port that received the packet.
Default: disabled.
Default When the switch detects an ARP security violation, it drops the packet. By default, it does not perform any other violation actions.
Mode Interface Configuration (switch ports, static or dynamic aggregated links)
Usage When the switch detects an ARP security violation on an untrusted port in a VLAN that has ARP security enabled, it drops the packet. This command sets the switch to perform additional actions in response to ARP violations.
If a port has been shut down in response to a violation, to bring it back up again after any issues have been resolved, use the
Example To send SNMP notifications for ARP security violations on ports 1.0.1 to 1.0.6, use the commands: awplus# configure terminal awplus(config)# snmp-server enable trap dhcpsnooping awplus(config)# interface port1.0.1-port1.0.6
awplus(config-if)# arp security violation trap
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1128
DHCP S NOOPING C OMMANDS
ARP SECURITY VIOLATION
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1129
DHCP S NOOPING C OMMANDS
CLEAR ARP SECURITY STATISTICS
clear arp security statistics
Overview Use this command to clear ARP security statistics for the specified ports, or for all ports.
Syntax clear arp security statistics [interface < port-list >]
Parameter Description
< port-list > The ports to clear statistics for. If no ports are specified, statistics are cleared for all ports. The ports may be switch ports, or static or dynamic link aggregators.
Mode Privileged Exec
Example To clear statistics for ARP security on interface port1.0.1, use the command: awplus# clear arp security statistics interface port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1130
DHCP S NOOPING C OMMANDS
CLEAR IP DHCP SNOOPING BINDING
clear ip dhcp snooping binding
Overview Use this command to remove one or more DHCP Snooping dynamic entries from the DHCP Snooping binding database. If no options are specified, all entries are removed from the database.
CAUTION : If you remove entries from the database for current clients, they will lose IP connectivity until they request and receive a new DHCP lease. If you clear all entries, all clients connected to untrusted ports will lose connectivity.
Syntax clear ip dhcp snooping binding [< ipaddr >] [interface
<port-list> ] [vlan <vid-list> ]
Parameter
< ipaddr >
<port-list>
Description
Remove the entry for this client IP address.
Remove all entries for these ports. The port list may contain switch ports, and static or dynamic link aggregators (channel groups).
Remove all entries associated with these VLANs.
<vid-list>
Mode Privileged Exec
Usage This command removes dynamic entries from the database. Note that dynamic entries can also be deleted by using the no variant of the
ip dhcp snooping binding command.
Dynamic entries can individually restored by using the
command.
To remove static entries, use the no
variant of the ip source binding command.
Example To remove a dynamic lease entry from the DHCP snooping database for a client with the IP address 192.168.1.2, use the command: awplus# clear ip dhcp snooping binding 192.168.1.2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1131
DHCP S NOOPING C OMMANDS
CLEAR IP DHCP SNOOPING STATISTICS
clear ip dhcp snooping statistics
Overview Use this command to clear DHCP snooping statistics for the specified ports, or for all ports.
Syntax clear ip dhcp snooping statistics [interface < port-list >]
Parameter Description
< port-list > The ports to clear statistics for. If no ports are specified, statistics are cleared for all ports. The port list can contain switch ports, or static or dynamic link aggregators.
Mode Privileged Exec
Example To clear statistics for the DHCP snooping on interface port1.0.1, use the command: awplus# clear ip dhcp snooping statistics interface port1.0.1
Related
Commands
show ip dhcp snooping statistics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1132
DHCP S NOOPING C OMMANDS
DEBUG ARP SECURITY
debug arp security
Overview Use this command to enable ARP security debugging.
Use the no variant of this command to disable debugging for ARP security.
Syntax debug arp security no debug arp security
Default Disabled
Mode Privileged Exec
Example To enable ARP security debugging, use the commands: awplus# debug arp security
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1133
DHCP S NOOPING C OMMANDS
DEBUG IP DHCP SNOOPING
debug ip dhcp snooping
Overview Use this command to enable the specified types of debugging for DHCP snooping.
Use the no variant of this command to disable the specified types of debugging.
Syntax debug ip dhcp snooping {all|acl|db|packet [detail]} no debug ip dhcp snooping {all|acl|db|packet [detail]}
Parameter all acl db packet detail
Description
All DHCP snooping debug.
DHCP snooping access list debug.
DHCP snooping binding database debug.
DHCP snooping packet debug. For the no variant of this command, this option also disables detailed packet debug, if it was enabled.
Detailed packet debug.
Default Disabled
Mode Privileged Exec
Example To enable access list debugging for DHCP snooping, use the commands: awplus# debug ip dhcp snooping acl
Related
Commands
show debugging ip dhcp snooping
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1134
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING
ip dhcp snooping
Overview Use this command to enable DHCP snooping on one or more VLANs.
Use the no variant of this command to disable DHCP snooping on the VLANs.
Syntax ip dhcp snooping no ip dhcp snooping
Default DHCP snooping is disabled on VLANs by default.
Mode Interface Configuration (VLANs)
Usage For DHCP snooping to operate on a VLAN, it must:
•
• be enabled on the particular VLAN by using this command be enabled globally on the switch by using the
• have at least one port connected to a DHCP server configured as a trusted port by using the
ip dhcp snooping trust command
Any ACLs on a port that permit traffic matching DHCP snooping entries and block other traffic, will block all traffic if DHCP snooping is disabled on the port. If you disable DHCP snooping on particular VLANs using this command, you must also
remove any DHCP snooping ACLs from the ports to maintain connectivity (no access-group command).
Examples To enable DHCP snooping on VLANs 2 to 4, use the commands: awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# ip dhcp snooping
To disable DHCP snooping on the switch, use the command: awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# no ip dhcp snooping
Related
Commands
1135 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING AGENT OPTION
ip dhcp snooping agent-option
Overview Use this command to enable DHCP Relay Agent Option 82 information insertion on the switch. When this is enabled, the switch:
•
• inserts DHCP Relay Agent Option 82 information into DHCP packets that it receives on untrusted ports removes DHCP Relay Agent Option 82 information from DHCP packets that it sends to untrusted ports.
Use the no variant of this command to disable DHCP Relay Agent Option 82 insertion.
Syntax ip dhcp snooping agent-option no ip dhcp snooping agent-option
Default DHCP Relay Agent Option 82 insertion is enabled by default when DHCP snooping is enabled.
Mode Global Configuration
Usage
Example To disable DHCP Relay Agent Option 82 on the switch, use the commands: awplus# configure terminal awplus(config)# no ip dhcp snooping agent-option
Related
Commands
ip dhcp snooping agent-option allow-untrusted
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1136
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING AGENT OPTION ALLOW UNTRUSTED
ip dhcp snooping agent-option allow-untrusted
Overview Use this command to enable DHCP Relay Agent Option 82 information reception on untrusted ports. When this is enabled, the switch accepts incoming DHCP packets that contain DHCP Relay Agent Option 82 information on untrusted ports.
Use the no variant of this command to disable DHCP Relay Agent Option 82 information reception on untrusted ports.
Syntax ip dhcp snooping agent-option allow-untrusted no ip dhcp snooping agent-option allow-untrusted
Default Disabled
Mode Global Configuration
Usage If the switch is connected via untrusted ports to edge switches that insert DHCP
Relay Agent Option 82 information into DHCP packets, you may need to allow these DHCP packets through the untrusted ports, by using this command.
When this is disabled (default), the switch treats incoming DHCP packets on untrusted ports that contain DHCP Relay Agent Option 82 information as DHCP snooping violations: it drops them and applies any violation action specified by the
ip dhcp snooping violation command. The switch stores statistics for packets
dropped; to display these statistics, use the show ip dhcp snooping statistics command.
Example To enable DHCP snooping Option 82 information reception on untrusted ports, use the commands: awplus# configure terminal awplus(config)# ip dhcp snooping agent-option allow-untrusted
Related
Commands
show ip dhcp snooping statistics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1137
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING AGENT OPTION CIRCUIT ID VLANTRIPLET
ip dhcp snooping agent-option circuit-id vlantriplet
Overview Use this command to specify the Circuit ID sub-option of the DHCP Relay Agent
Option 82 field as the VLAN ID and port number. The Circuit ID specifies the switch port and VLAN ID that the client-originated DHCP packet was received on.
Use the no variant of this command to set the Circuit ID to the default, the VLAN ID and Ifindex (interface number).
Syntax ip dhcp snooping agent-option circuit-id vlantriplet no ip dhcp snooping agent-option circuit-id
Default By default, the Circuit ID is the VLAN ID and Ifindex (interface number).
Mode Interface Configuration for a VLAN interface.
Usage The Circuit ID sub-option is included in the DHCP Relay Agent Option 82 field of forwarded client DHCP packets:
•
•
DHCP snooping Option 82 information insertion is enabled (
ip dhcp snooping agent-option command; enabled by default), and
DHCP snooping is enabled on the switch (
) and on the
VLAN to which the port belongs ( ip dhcp snooping
)
Examples To set the Circuit ID to vlantriplet for client DHCP packets received on vlan1 , use the commands: awplus# configure terminal awplus(config)# interface vlan1 awplus(config-if)# ip dhcp snooping agent-option circuit-id vlantriplet
To return the Circuit ID format to the default for vlan1 , use the commands: awplus# configure terminal awplus(config)# interface vlan1 awplus(config-if)# no ip dhcp snooping agent-option circuit-id
Related
Commands
ip dhcp snooping agent-option remote-id
show ip dhcp snooping agent-option
1138 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING AGENT OPTION REMOTE ID
ip dhcp snooping agent-option remote-id
Overview Use this command to specify the Remote ID sub-option of the DHCP Relay Agent
Option 82 field. The Remote ID identifies the device that inserted the Option 82 information. If a Remote ID is not specified, the Remote ID sub-option is set to the switch’s MAC address.
Use the no variant of this command to set the Remote ID to the default, the switch’s MAC address.
Syntax ip dhcp snooping agent-option remote-id < remote-id > no ip dhcp snooping agent-option remote-id
Parameter
< remote-id >
Description
An alphanumeric (ASCII) string, 1 to 63 characters in length. If the Remote ID contains spaces, it must be enclosed in double quotes. Wildcards are not allowed.
Default The Remote ID is set to the switch’s MAC address by default.
Mode Interface Configuration for a VLAN interface.
Usage The Remote ID sub-option is included in the DHCP Relay Agent Option 82 field of forwarded client DHCP packets:
•
•
DHCP snooping Option 82 information insertion is enabled (
ip dhcp snooping agent-option command; enabled by default), and
DHCP snooping is enabled on the switch (
) and on the
VLAN to which the port belongs ( ip dhcp snooping
)
Examples To set the Remote ID to myid for client DHCP packets received on vlan1 , use the commands: awplus# configure terminal awplus(config)# interface vlan1 awplus(config-if)# ip dhcp snooping agent-option remote-id myid
To return the Remote ID format to the default for vlan1 , use the commands: awplus# configure terminal awplus(config)# interface vlan1 awplus(config-if)# no ip dhcp snooping agent-option remote-id
Related
Commands
ip dhcp snooping agent-option circuit-id vlantriplet
show ip dhcp snooping agent-option
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1139
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING BINDING
ip dhcp snooping binding
Overview Use this command to manually add a dynamic-like entry (with an expiry time) to the DHCP snooping database. Once added to the database, this entry is treated as a dynamic entry, and is stored in the DHCP snooping database backup file. This command is not stored in the switch’s running configuration.
Use the no variant of this command to delete a dynamic entry for an IP address from the DHCP snooping database, or to delete all dynamic entries from the database.
CAUTION
: If you remove entries from the database for current clients, they will lose IP connectivity until they request and receive a new DHCP lease. If you clear all entries, all clients connected to untrusted ports will lose connectivity.
Syntax ip dhcp snooping binding < ipaddr > [< macaddr >] vlan < vid > interface < port > expiry < expiry-time > no ip dhcp snooping binding [< ipaddr >]
Parameter
< ipaddr >
< macaddr >
< vid >
<port>
Description
Client’s IP address.
Client’s MAC address in HHHH.HHHH.HHHH format.
The VLAN ID for the entry, in the range 1 to 4094.
The port the client is connected to. The port can be a switch port, or a static or dynamic link aggregation (channel group).
< expiry-time > The expiry time for the entry, in the range 5 to 2147483647 seconds.
Mode Privileged Exec
Usage Note that dynamic entries can also be deleted from the DHCP snooping database by using the
clear ip dhcp snooping binding command.
To add or remove static entries from the database, use the
Example To restore an entry in the DHCP snooping database for a DHCP client with the IP address 192.168.1.2, MAC address 0001.0002.0003, on port1.0.6 of vlan6, and with an expiry time of 1 hour, use the commands: awplus# ip dhcp snooping binding 192.168.1.2 0001.0002.0003 vlan 6 interface port1.0.6 expiry 3600
Related
Commands
clear ip dhcp snooping binding
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1140
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING DATABASE
ip dhcp snooping database
Overview Use this command to set the location of the file to which the dynamic entries in the
DHCP snooping database are written. This file provides a backup for the DHCP snooping database.
Use the no variant of this command to set the database location back to the default, nvs .
Syntax ip dhcp snooping database {nvs|flash|usb} no ip dhcp snooping database
Parameter Description nvs The switch checks the database and writes the file to non-volatile storage (NVS) on the switch at 2 second intervals if it has changed.
flash The switch checks the database and writes the file to Flash memory on the switch at 60 second intervals if it has changed.
Default NVS
Mode Global Configuration
Usage If the location of the backup file is changed by using this command, a new file is created in the new location, and the old version of the file remains in the old location. This can be removed if necessary (hidden file: .dhcp.dsn.gz
).
Example To set the location of the DHCP snooping database to non-volatile storage on the switch, use the commands: awplus# configure terminal awplus(config)# ip dhcp snooping database nvs
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1141
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING DELETE BY CLIENT
ip dhcp snooping delete-by-client
Overview Use this command to set the switch to remove a dynamic entry from the DHCP snooping database when it receives a valid DHCP release message with matching
IP address, VLAN ID, and client hardware address on an untrusted port, and to discard release messages that do not match an entry in the database.
Use the no variant of this command to set the switch to forward DHCP release messages received on untrusted ports without removing any entries from the database.
Syntax ip dhcp snooping delete-by-client no ip dhcp snooping delete-by-client
Default Enabled: by default, DHCP lease entries are deleted from the DHCP snooping database when matching DHCP release messages are received.
Mode Global Configuration
Usage DHCP clients send a release message when they no longer wish to use the IP address they have been allocated by a DHCP server. Use this command to enable
DHCP snooping to use the information in these messages to remove entries from its database immediately. Use the no variant of this command to ignore these release messages. Lease entries corresponding to ignored DHCP release messages eventually time out when the lease expires.
Examples To set the switch to delete DHCP snooping lease entries from the DHCP snooping database when a matching release message is received, use the commands: awplus# configure terminal awplus(config)# ip dhcp snooping delete-by-client
To set the switch to forward and ignore the content of any DHCP release messages it receives, use the commands: awplus# configure terminal awplus(config)# no ip dhcp snooping delete-by-client
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1142
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING DELETE BY LINKDOWN
ip dhcp snooping delete-by-linkdown
Overview Use this command to set the switch to remove a dynamic entry from the DHCP snooping database when its port goes down. If the port is part of an aggregated link, the entries in the database are only deleted if all the ports in the aggregated link are down.
Use the no variant of this command to set the switch not to delete entries when ports go down.
Syntax ip dhcp snooping delete-by-linkdown no ip dhcp snooping delete-by-linkdown
Default Disabled: by default DHCP Snooping bindings are not deleted when an interface goes down.
Mode Global Configuration
Examples To set the switch to delete DHCP snooping lease entries from the DHCP snooping database when links go down, use the commands: awplus# configure terminal awplus(config)# ip dhcp snooping delete-by-linkdown
To set the switch not to delete DHCP snooping lease entries from the DHCP snooping database when links go down, use the commands: awplus# configure terminal awplus(config)# no ip dhcp snooping delete-by-linkdown
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1143
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING MAX BINDINGS
ip dhcp snooping max-bindings
Overview Use this command to set the maximum number of DHCP lease entries that can be stored in the DHCP snooping database for each of the ports. Once this limit has been reached, no further DHCP lease allocations made to devices on the port are stored in the database.
Use the no variant of this command to reset the maximum to the default, 1.
Syntax ip dhcp snooping max-bindings < 0-520 > no ip dhcp snooping max-bindings
Parameter
< 0-520 >
Description
The maximum number of bindings that will be stored for the port in the DHCP snooping binding database. If 0 is specified, no entries will be stored in the database for the port.
Default The default for maximum bindings is 1.
Mode Interface Configuration (port)
Usage The maximum number of leases cannot be changed for a port while there are
DHCP snooping Access Control Lists (ACL) associated with the port. Before using this command, remove any DHCP snooping ACLs associated with the ports. To display ACLs used for DHCP snooping, use the
show ip dhcp snooping acl command.
In general, the default (1) will work well on an edge port with a single directly connected DHCP client. If the port is on an aggregation switch that is connected to an edge switch with multiple DHCP clients connected through it, then use this command to increase the number of lease entries for the port.
If there are multiple VLANs configured on the port, the limit is shared between all the VLANs on this port. For example, the default only allows one lease to be stored for one VLAN. To allow connectivity for the other VLANs, use this command to increase the number of lease entries for the port.
Example To set the maximum number of bindings to be stored in the DHCP snooping database to 10 per port for ports 1.0.1 to 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.6
awplus(config-if)# ip dhcp snooping max-bindings 10
Related
Commands
show ip dhcp snooping interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1144
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING SUBSCRIBER ID
ip dhcp snooping subscriber-id
Overview Use this command to set a Subscriber ID for the ports.
Use the no variant of this command to remove Subscriber IDs from the ports.
Syntax ip dhcp snooping subscriber-id [< sub-id >] no ip dhcp snooping subscriber-id
Parameter
< sub-id >
Description
The Subscriber ID; an alphanumeric (ASCII) string 1 to 50 characters in length. If the Subscriber ID contains spaces, it must be enclosed in double quotes. Wildcards are not allowed.
Default No Subscriber ID.
Mode Interface Configuration (port)
Usage The Subscriber ID sub-option is included in the DHCP Relay Agent Option 82 field of client DHCP packets forwarded from a port if:
•
•
• a Subscriber ID is specified for the port using this command, and
DHCP snooping Option 82 information insertion is enabled (
ip dhcp snooping agent-option command; enabled by default), and
DHCP snooping is enabled on the switch (
) and on the
VLAN to which the port belongs ( ip dhcp snooping
)
Examples To set the Subscriber ID for port 1.0.3 to room_534 , use the commands: awplus# configure terminal awplus(config)# interface port1.0.3
awplus(config-if)# ip dhcp snooping subscriber-id room_534
To remove the Subscriber ID from port 1.0.3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.3 awplus(config-if)# no ip dhcp snooping subscriber-id
Related
Commands
show ip dhcp snooping interface
1145 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING TRUST
ip dhcp snooping trust
Overview Use this command to set the ports to be DHCP snooping trusted ports.
Use the no variant of this command to return the ports to their default as untrusted ports.
Syntax ip dhcp snooping trust no ip dhcp snooping trust
Default All ports are untrusted by default.
Mode Interface Configuration (port)
Usage Typically, ports connecting the switch to trusted elements in the network (towards the core) are set as trusted ports, while ports connecting untrusted network elements are set as untrusted. Configure ports connected to DHCP servers as trusted ports.
Example To set switch ports 1.0.1 and 1.0.2 to be trusted ports, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.2
awplus(config-if)# ip dhcp snooping trust
Related
Commands
show ip dhcp snooping interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1146
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING VERIFY MAC ADDRESS
ip dhcp snooping verify mac-address
Overview Use this command to verify that the source MAC address and client hardware address match in DHCP packets received on untrusted ports.
Use the no variant of this command to disable MAC address verification.
Syntax ip dhcp snooping verify mac-address no ip dhcp snooping verify mac-address
Default Enabled—source MAC addresses are verified by default.
Mode Global Configuration
Usage When MAC address verification is enabled, the switch treats DHCP packets with source MAC address and client hardware address that do not match as DHCP snooping violations: it drops them and applies any other violation action specified
by the ip dhcp snooping violation command. To bring the port back up again after
any issues have been resolved, use the
Example To disable MAC address verification on the switch, use the commands: awplus# configure terminal awplus(config)# no ip dhcp snooping verify mac-address
Related
Commands
show ip dhcp snooping statistics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1147
DHCP S NOOPING C OMMANDS
IP DHCP SNOOPING VIOLATION
ip dhcp snooping violation
Overview Use this command to specify the action the switch will take when it detects a DHCP snooping violation by a DHCP packet on the ports.
Use the no variant of this command to disable the specified violation actions, or all violation actions.
Syntax ip dhcp snooping violation {log|trap|link-down} ...
no ip dhcp snooping violation [{log|trap|link-down} ...]
Parameter log trap link-down
Description
Generate a log message. To display these messages, use the
Default: disabled.
Generate an SNMP notification (trap). To send SNMP notifications,
SNMP must also be configured, and DHCP snooping notifications must be enabled using the
snmp-server enable trap command.
Notifications are limited to one per second and to one per source
MAC and violation reason.
Default: disabled.
Set the port status to link-down.
Default: disabled.
Default By default, DHCP packets that violate DHCP snooping are dropped, but no other violation action is taken.
Mode Interface Configuration (port)
Usage If a port has been shut down in response to a violation, to bring it back up again after any issues have been resolved, use the
IP packets dropped by DHCP snooping filters do not result in other DHCP snooping violation actions.
Example To set the switch to send an SNMP notification and set the link status to link-down if it detects a DHCP snooping violation on switch ports 1.0.1 to 1.0.4, use the commands: awplus# configure terminal awplus(config)# snmp-server enable trap dhcpsnooping awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# ip dhcp snooping violation trap link-down
Related
Commands
show ip dhcp snooping interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1148
DHCP S NOOPING C OMMANDS
IP SOURCE BINDING
ip source binding
Overview Use this command to add or replace a static entry in the DHCP snooping database.
Use the no variant of this command to delete the specified static entry or all static entries from the database.
Syntax ip source binding < ipaddr > [< macaddr >] vlan < vid > interface
< port > no ip source binding [< ipaddr >]
Parameter
< ipaddr >
< macaddr >
< vid >
< port >
Description
Client’s IP address. If there is already an entry in the DHCP snooping database for this IP address, then this command replaces it with the new entry.
Client’s MAC address in HHHH.HHHH.HHHH format.
The VLAN ID associated with the entry.
The port the client is connected to.
Mode Global Configuration
Usage This command removes static entries from the database.
To remove dynamic entries, use the clear ip dhcp snooping binding command or
the no
variant of the ip dhcp snooping binding command.
Examples To add a static entry to the DHCP snooping database for a client with the IP address
192.168.1.2, MAC address 0001.0002.0003, on port1.0.6 of vlan6, use the command: awplus# configure terminal awplus(config)# ip source binding 192.168.1.2 0001.0002.0003 vlan 6 interface port1.0.6
To remove the static entry for IP address 192.168.1.2 from the database, use the commands: awplus# configure terminal awplus(config)# no ip source binding 192.168.1.2
To remove all static entries from the database, use the commands: awplus# configure terminal awplus(config)# no ip source binding
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1149
DHCP S NOOPING C OMMANDS
IP SOURCE BINDING
Related
Commands
clear ip dhcp snooping binding
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1150
DHCP S NOOPING C OMMANDS
SERVICE DHCP SNOOPING
service dhcp-snooping
Overview Use this command to enable the DHCP snooping service globally on the switch.
This must be enabled before other DHCP snooping configuration commands can be entered.
Use the no variant of this command to disable the DHCP snooping service on the switch. This removes all DHCP snooping configuration from the running configuration, except for any DHCP snooping maximum bindings settings (
ip dhcp snooping max-bindings command), and any DHCP snooping-based Access
Control Lists (ACLs), which are retained when the service is disabled.
Syntax service dhcp-snooping no service dhcp-snooping
Default DHCP snooping is disabled on the switch by default.
Mode Global Configuration
Usage For DHCP snooping to operate on a VLAN, it must be enabled on the switch by
using this command, and also enabled on the particular VLAN by using the ip dhcp snooping command.
For DHCP snooping to operate on a VLAN, it must:
•
• be enabled globally on the switch by using this command be enabled on the particular VLAN by using the
• have at least one port connected to a DHCP server configured as a trusted port by using the
ip dhcp snooping trust command
If you disable the DHCP snooping service by using the no variant of this command, all DHCP snooping configuration (including ARP security, but excluding maximum bindings and ACLs) is removed from the running configuration, and the DHCP snooping database is deleted from active memory. If you re-enable the service, the switch repopulates the DHCP snooping database from the dynamic lease entries
The DHCP snooping service cannot be enabled on a switch that is configured with any of the following features, or vice versa:
•
• web authentication (
roaming authentication ( auth roaming enable command,
auth roaming disconnected command)
guest VLAN authentication (
•
Any ACLs on a port that permit traffic matching DHCP snooping entries and block other traffic, will block all traffic if DHCP snooping is disabled on the port. If you disable DHCP snooping on the switch using this command, you must also remove any DHCP snooping ACLs from the ports to maintain connectivity (no
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1151
DHCP S NOOPING C OMMANDS
SERVICE DHCP SNOOPING
Examples To enable DHCP snooping on the switch, use the command: awplus# configure terminal awplus(config)# service dhcp-snooping
To disable DHCP snooping on the switch, use the command: awplus# configure terminal awplus(config)# no service dhcp-snooping
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1152
DHCP S NOOPING C OMMANDS
SHOW ARP SECURITY
show arp security
Overview Use this command to display ARP security configuration.
Syntax show arp security
Mode User Exec and Privileged Exec
Example To display ARP security configuration on the switch use the command: awplus# show arp security
Table 1: Example output from the show arp security command
awplus# show arp security
ARP Security Information:
Total VLANs enabled ............. 2
Total VLANs disabled ............ 11
vlan1 .............. Disabled
vlan2 .............. Disabled
vlan3 .............. Disabled
vlan4 .............. Disabled
vlan5 .............. Disabled
vlan100 ............ Disabled
vlan101 ............ Disabled
vlan102 ............ Disabled
vlan103 ............ Disabled
vlan104 ............ Disabled
vlan105 ............ Enabled
vlan1000 ........... Disabled
vlan1001 ........... Enabled
Table 2: Parameters in the output from the show arp security command
Parameter Description
Total VLANs enabled The number of VLANs that have ARP security enabled.
Total VLANs disabled The number of VLANs that have ARP security disabled.
Related
Commands
1153 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP S NOOPING C OMMANDS
SHOW ARP SECURITY INTERFACE
show arp security interface
Overview Use this command to display ARP security configuration for the specified ports or all ports.
Syntax show arp security interface [< port-list >]
Parameter Description
< port-list > The ports to display ARP security information about. The port list can include switch ports, and static or dynamic aggregated links.
Mode User Exec and Privileged Exec
Example To display ARP security configuration for ports, use the command: awplus# show arp security interface
Table 3: Example output from the show arp security interface command
awplus#show arp security interface
Arp Security Port Status and Configuration:
Port: Provisioned ports marked with brackets, e.g. (portx.y.z)
KEY: LG = Log
TR = Trap
LD = Link down
Port Action
------------------------------ port1.0.1 -- -- - port1.0.2 -- -- - port1.0.3 LG TR LD port1.0.4 LG -- - port1.0.5 LG -- - port1.0.6 LG TR -
Table 4: Parameters in the output from the show arp security interface command
Parameter
Action
Port
Description
The action the switch takes when it detects an ARP security violation on the port.
The port. Parentheses indicate that ports are configured for provisioning.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1154
DHCP S NOOPING C OMMANDS
SHOW ARP SECURITY INTERFACE
Table 4: Parameters in the output from the show arp security interface command (cont.)
Parameter
LG, Log
TR, Trap
LD, Link down
Description
Generate a log message
Generate an SNMP notification (trap).
Shut down the link.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1155
DHCP S NOOPING C OMMANDS
SHOW ARP SECURITY STATISTICS
show arp security statistics
Overview Use this command to display ARP security statistics for the specified ports or all ports.
Syntax show arp security statistics [detail] [interface < port-list >]
Parameter detail interface < port-list >
Description
Display detailed statistics.
Display statistics for the specified ports.
Mode User Exec and Privileged Exec
Example To display the brief statistics for the ARP security, use the command: awplus# show arp security statistics
Table 5: Example output from the show arp security statistics command
awplus# show arp security statistics
DHCP Snooping ARP Security Statistics:
In In
Interface Packets Discards
--------------------------------
port1.0.3 20 20
port1.0.4 30 30
Table 6: Parameters in the output from the show arp security statistics command
Parameter
Interface
Description
A port name. Parentheses indicate that ports are configured for provisioning.
In Packets The total number of incoming ARP packets that are processed by
DHCP Snooping ARP Security
In
Discards
The total number of ARP packets that are dropped by DHCP Snooping
ARP Security.
1156 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP S NOOPING C OMMANDS
SHOW ARP SECURITY STATISTICS
Table 7: Example output from the show arp security statistics detail command
awplus#show arp security statistics detail
DHCP Snooping ARP Security Statistics:
Interface ...................... port1.0.3
In Packets ................... 20
In Discards .................. 20
No Lease ................... 20
Bad Vlan ................... 0
Bad Port ................... 0
Source Ip Not Allocated .... 0
Interface ...................... port1.0.4
In Packets ................... 30
In Discards .................. 30
No Lease ................... 30
Bad Vlan ................... 0
Bad Port ................... 0
Source Ip Not Allocated .... 0
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1157
DHCP S NOOPING C OMMANDS
SHOW DEBUGGING ARP SECURITY
show debugging arp security
Overview Use this command to display the ARP security debugging configuration.
Syntax show debugging arp security
Mode User and Privileged Exec
Example To display the debugging settings for ARP security on the switch, use the command: awplus# show debugging arp security
Table 8: Example output from the show debugging arp security command
awplus# show debugging arp security
ARP Security debugging status:
ARP Security debugging is off
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1158
DHCP S NOOPING C OMMANDS
SHOW DEBUGGING IP DHCP SNOOPING
show debugging ip dhcp snooping
Overview Use this command to display the DHCP snooping debugging configuration.
Syntax show debugging ip dhcp snooping
Mode User Exec and Privileged Exec
Example To display the DHCP snooping debugging configuration, use the command: awplus# show debugging ip dhcp snooping
Table 9: Example output from the show debugging ip dhcp snooping command
awplus# show debugging ip dhcp snooping
DHCP snooping debugging status:
DHCP snooping debugging is off
DHCP snooping all debugging is off
DHCP snooping acl debugging is off
DHCP snooping binding DB debugging is off
DHCP snooping packet debugging is off
DHCP snooping detailed packet debugging is off
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1159
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING
show ip dhcp snooping
Overview Use this command to display DHCP snooping global configuration on the switch.
Syntax show ip dhcp snooping
Mode User Exec and Privileged Exec
Example To display global DHCP snooping configuration on the switch, use the command: awplus# show ip dhcp snooping
Table 10: Example output from the show ip dhcp snooping command
DHCP Snooping Information:
DHCP Snooping service ............. Enabled
Option 82 insertion ............... Enabled
Option 82 on untrusted ports ...... Not allowed
Binding delete by client .......... Disabled
Binding delete by link down ....... Disabled
Verify MAC address ................ Disabled
SNMP DHCP Snooping trap ........... Disabled
DHCP Snooping database:
Database location ................. nvs Number of entries in database ..... 2
DHCP Snooping VLANs:
Total VLANs enabled ............... 1
Total VLANs disabled .............. 9
vlan1 .............. Enabled
vlan2 .............. Disabled
vlan3 .............. Disabled
vlan4 .............. Disabled
vlan5 .............. Disabled
vlan100 ............ Disabled
vlan101 ............ Disabled
vlan105 ............ Disabled
vlan1000 ........... Disabled
vlan1001 ........... Disabled
Related
Commands
show ip dhcp snooping agent-option
show ip dhcp snooping interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1160
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING ACL
show ip dhcp snooping acl
Overview Use this command to display information about the Access Control Lists (ACL) that are using the DHCP snooping database.
Syntax show ip dhcp snooping acl show ip dhcp snooping acl [detail|hardware] [interface
[< interface-list> ]]
Parameter detail
Description
Detailed DHCP Snooping ACL information.
hardware interface
DHCP Snooping hardware ACL information.
ACL Interface information.
< interface-list > The interfaces to display information about.
Mode User Exec and Privileged Exec
Example To display DHCP snooping ACL information, use the command: awplus# show ip dhcp snooping acl
Table 11: Example output from the show ip dhcp snooping acl command
awplus#show ip dhcp snooping acl
DHCP Snooping Based Filters Summary:
Maximum Template Attached
Interface Bindings Bindings Filters Hardware Filters
---------------------------------------------------------------
port1.0.1 1 520 0 0
port1.0.2 1 3 2 6
port1.0.3 1 2 4 8
port1.0.4 1 2 7 14
port1.0.5 0 2 6 12
port1.0.6 0 1 0 0
To display DHCP snooping hardware ACL information, use the command: awplus# show ip dhcp snooping acl hardware
1161 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING ACL
Table 12: Example output from the show ip dhcp snooping acl hardware command
awplus#show ip dhcp snooping acl hardware
DHCP Snooping Based Filters in Hardware:
Interface Access-list(/ClassMap) Source IP Source MAC
----------------------------------------------------------------------------
port1.0.2 dhcpsn1 10.10.10.10 aaaa.bbbb.cccc
port1.0.2 dhcpsn1 20.20.20.20 0000.aaaa.bbbb
port1.0.2 dhcpsn1 0.0.0.0 0000.0000.0000
port1.0.2 dhcpsn1 0.0.0.0 0000.0000.0000
port1.0.2 dhcpsn1 0.0.0.0 0000.0000.0000
port1.0.2 dhcpsn1 0.0.0.0 0000.0000.0000
port1.0.3 dhcpsn2/cmap1 30.30.30.30 aaaa.bbbb.dddd
port1.0.3 dhcpsn2/cmap1 40.40.40.40 0000.aaaa.cccc
port1.0.3 dhcpsn2/cmap1 50.50.50.50 0000.aaaa.dddd
port1.0.3 dhcpsn2/cmap1 60.60.60.60 0000.aaaa.eeee
port1.0.3 dhcpsn2/cmap1 0.0.0.0 0000.0000.0000
port1.0.3 dhcpsn2/cmap1 0.0.0.0 0000.0000.0000
port1.0.3 dhcpsn2/cmap1 0.0.0.0 0000.0000.0000
port1.0.3 dhcpsn2/cmap1 0.0.0.0 0000.0000.0000
port1.0.4 dhcpsn3/cmap2 70.70.70.70
port1.0.4 dhcpsn3/cmap2 80.80.80.80
port1.0.4 dhcpsn2/cmap1 70.70.70.70
port1.0.4 dhcpsn2/cmap1 80.80.80.80
port1.0.4 dhcpsn1 70.70.70.70
port1.0.4 dhcpsn1 80.80.80.80
To display detailed DHCP snooping ACL information for port 1.0.4, use the command: awplus# show ip dhcp snooping acl detail interface port1.0.4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1162
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING ACL
Table 13: Example output from the show ip dhcp snooping acl detail interface command
awplus#show ip dhcp snooping acl detail interface port1.0.4
DHCP Snooping Based Filters Information:
port1.0.4 : Maximum Bindings ........... 2
port1.0.4 : Template filters ........... 7
port1.0.4 : Attached hardware filters .. 14
port1.0.4 : Current bindings ........... 1, 1 free
port1.0.4 Client 1 ................ 120.120.120.120
port1.0.4 : Templates: cheese (via class-map: cmap2)
port1.0.4 : 10 permit ip dhcpsnooping 100.0.0.0/8
port1.0.4 : Template: dhcpsn2 (via class-map: cmap1)
port1.0.4 : 10 permit ip dhcpsnooping any
port1.0.4 : 20 permit ip dhcpsnooping 10.0.0.0/8
port1.0.4 : 30 permit ip dhcpsnooping 20.0.0.0/8
port1.0.4 : 40 permit ip dhcpsnooping 30.0.0.0/8
port1.0.4 : Template: dhcpsn1 (via access-group)
port1.0.4 : 10 permit ip dhcpsnooping any mac dhcpsnooping abcd.0000.0000 00
00.ffff.ffff
port1.0.4 : 20 permit ip dhcpsnooping any
Related
Commands
access-list hardware (named hardware ACL)
show access-list (IPv4 Hardware ACLs)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1163
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING AGENT OPTION
show ip dhcp snooping agent-option
Overview Use this command to display DHCP snooping Option 82 information for all interfaces, a specific interface or a range of interfaces.
Syntax show ip dhcp snooping agent-option [interface < interface-list >]
Parameter interface
< interface-list >
Description
Specify the interface.
The name of the interface or interfaces.
Mode User Exec and Privileged Exec
Examples To display DHCP snooping Option 82 information for all interfaces, use the command: awplus# show ip dhcp snooping agent-option
To display DHCP snooping Option 82 information for vlan1, use the command: awplus# show ip dhcp snooping agent-option interface vlan1
To display DHCP snooping Option 82 information for port1.0.1, use the command: awplus# show ip dhcp snooping agent-option interface port1.0.1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1164
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING AGENT OPTION
Output Figure 36-1: Example output from the show ip dhcp snooping agent-option command
awplus#show ip dhcp snooping agent-option
DHCP Snooping Option 82 Configuration:
Key: C Id = Circuit Id Format
R Id = Remote Id
S Id = Subscriber Id
Option 82 insertion ............... Enabled
Option 82 on untrusted ports ...... Not allowed
---------------------------------------------------------------
vlan1 C Id = vlanifindex
R Id = Access-Island-01-M1
vlan2 C Id = vlantriplet
R Id = Access-Island-01-M1
vlan3 C Id = vlantriplet
R Id = Access-Island-01-M3
vlan4 C Id = vlantriplet
R Id = 0000.cd28.074c
vlan5 C Id = vlantriplet
R Id = 0000.cd28.074c
vlan6 C Id = vlantriplet
R Id = 0000.cd28.074c
port1.0.1 S Id =
port1.0.2 S Id =
port1.0.3 S Id = phone_1
port1.0.4 S Id =
port1.0.5 S Id = PC_1
port1.0.6 S Id = phone_2
Related
Commands
ip dhcp snooping agent-option circuit-id vlantriplet
ip dhcp snooping agent-option remote-id
show ip dhcp snooping interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1165
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING BINDING
show ip dhcp snooping binding
Overview Use this command to display all dynamic and static entries in the DHCP snooping binding database.
Syntax show ip dhcp snooping binding
Mode User Exec and Privileged Exec
Example To display entries in the DHCP snooping database, use the command: awplus# show ip dhcp snooping binding
Table 14: Example output from the show ip dhcp snooping binding command awplus# show ip dhcp snooping binding
DHCP Snooping Bindings:
Client MAC Server Expires
IP Address Address IP Address VLAN Port (sec) Type
------------------------------------------------------------------------------
1.2.3.4 aaaa.bbbb.cccc -- 7 1.0.6 Infinite Stat
1.2.3.6 any -- 4077 1.0.6 Infinite Stat
1.3.4.5 any -- 1 sa1 Infinite Stat
111.111.100.101 0000.0000.0001 111.112.1.1 1 1.0.6 4076 Dyna
111.111.101.108 0000.0000.0108 111.112.1.1 1 1.0.6 4084 Dyna
111.111.101.109 0000.0000.0109 111.112.1.1 1 1.0.6 4085 Dyna
111.211.100.101 -- -- 1 1.0.2 2147483325 Dyna
111.211.100.109 00b0.0000.0009 111.112.111.111 1 1.0.2 21 Dyna
111.211.101.101 00b0.0000.0101 111.112.111.111 1 1.0.2 214 Dyna
Total number of bindings in database: 9
Table 15: Parameters in the output from the show ip dhcp snooping binding command
Parameter
Client IPAddress
MAC Address
Server IP
VLAN
Port
Expires (sec)
Description
The IP address of the DHCP client.
The MAC address of the DHCP client.
The IP address of the DHCP server.
The VLAN associated with this entry.
The port the client is connected to.
The time in seconds until the lease expires.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1166
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING BINDING
Table 15: Parameters in the output from the show ip dhcp snooping binding command (cont.)
Parameter
Type
Total number of bindings in database
Description
The source of the entry:
• Dyna: dynamically entered by snooping DHCP traffic, configured by the
command, or loaded from the database backup file.
•
Stat: added statically by the ip source binding
command
The total number of dynamic and static lease entries in the DHCP snooping database.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1167
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING INTERFACE
show ip dhcp snooping interface
Overview Use this command to display information about DHCP snooping configuration and leases for the specified ports, or all ports.
Syntax show ip dhcp snooping interface [< port-list >]
Parameter
< port-list >
Description
The ports to display DHCP snooping configuration information for. If no ports are specified, information for all ports is displayed.
Mode User Exec and Privileged Exec
Example To display DHCP snooping information for all ports, use the command: awplus# show ip dhcp snooping interface
Table 16: Example output from the show ip dhcp snooping interface command
awplus#show ip dhcp snooping interface
DHCP Snooping Port Status and Configuration:
Port: Provisioned ports marked with brackets, e.g. (portx.y.z)
Action: LG = Log
TR = Trap
LD = Link down
Full Max
Port Status Leases Leases Action Subscriber-ID
-------------------------------------------------------------------------------
port1.0.1 Untrusted 1 1 LG -- -
port1.0.2 Untrusted 0 50 LG TR LD Building 1 Level 1
port1.0.3 Untrusted 0 50 LG -- -
port1.0.4 Untrusted 0 50 LG -- -- Building 1 Level 2
port1.0.5 Trusted 0 1 -- -- -
port1.0.6 Trusted 0 1 -- -- -
Table 17: Parameters in the output from the show ip dhcp snooping interface command
Parameter
Port
Status
Description
The port interface name.
The port status: untrusted (default) or trusted.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1168
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING INTERFACE
Table 17: Parameters in the output from the show ip dhcp snooping interface command (cont.)
Parameter
Full Leases
Max Leases
Action
Subscriber
ID
Description
The number of entries in the DHCP snooping database for the port.
The maximum number of entries that can be stored in the database for the port.
The DHCP snooping violation actions for the port.
The subscriber ID for the port. If the subscriber ID is longer than 34 characters, only the first 34 characters are displayed. To display the whole subscriber ID, use the command show running-config dhcp .
Related
Commands
show ip dhcp snooping statistics
dhcp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1169
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING STATISTICS
show ip dhcp snooping statistics
Overview Use this command to display DHCP snooping statistics.
Syntax show ip dhcp snooping statistics [detail] [interface
< interface-list >]
Parameter detail interface
< interface-list >
Description
Display detailed statistics.
Display statistics for the specified interfaces. The interface list can contain switch ports, static or dynamic link aggregators
(channel groups), or VLANs.
Mode User Exec and Privileged Exec
Example To show the current DHCP snooping statistics for all interfaces, use the command: awplus# show ip dhcp snooping statistics
Table 18: Example output from the show ip dhcp snooping statistics command
awplus# show ip dhcp snooping statistics
DHCP Snooping Statistics:
In BOOTP In BOOTP In In
Interface Packets Requests Replies Discards
-----------------------------------------------------------
vlan1 444 386 58 223
port1.0.1 386 386 0 223
port1.0.2 0 0 0 0
port1.0.3 0 0 0 0
port1.0.4 0 0 0 0
port1.0.5 0 0 0 0
port1.0.6 58 0 58 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1170
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING STATISTICS
Table 19: Example output from the show ip dhcp snooping statistics detail command
awplus# show ip dhcp snooping statistics detail
DHCP Snooping Statistics:
Interface ........................................ port1.0.1, All counters 0
Interface ........................................ port1.0.2, All counters 0
Interface ........................................ port1.0.3, All counters 0
Interface ........................................ port1.0.4
In Packets ..................................... 50
In BOOTP Requests ............................ 25
In BOOTP Replies ............................. 25
In Discards .................................... 1
Invalid BOOTP Information .................... 0
Invalid DHCP ACK ............................. 0
Invalid DHCP Release or Decline .............. 0
Invalid IP/UDP Header ........................ 0
Max Bindings Exceeded ........................ 1
Option 82 Insert Error ....................... 0
Option 82 Received Invalid ................... 0
Option 82 Received On Untrusted Port ......... 0
Option 82 Transmit On Untrusted Port ......... 0
Reply Received On Untrusted Port ............. 0
Source MAC/CHADDR Mismatch ................... 0
Static Entry Already Exists .................. 0
Interface ........................................ port1.0.5, All counters 0
Interface ........................................ port1.0.6, All counters 0
Table 20: Parameters in the output from the show ip dhcp snooping statistics command
Parameter
Interface
In Packets
In BOOTP Requests
In BOOTP Replies
In Discards
Invalid BOOTP
Information
Invalid DHCP ACK
Description
The interface name.
The total number of incoming packets that are processed by DHCP Snooping.
The total number of incoming BOOTP Requests.
The total number of incoming BOOTP Replies.
The total number of incoming packets that have been discarded.
Packet contained invalid BOOTP information, such as an invalid BOOTP.OPCode.
A DHCP ACK message was discarded, for reasons such as missing Server Option or Lease Option.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1171
DHCP S NOOPING C OMMANDS
SHOW IP DHCP SNOOPING STATISTICS
Table 20: Parameters in the output from the show ip dhcp snooping statistics command (cont.)
Parameter
Invalid DHCP
Release or Decline
Description
A DHCP Release or Decline message was discarded, for reasons such as mismatch between received interface and current binding information.
Invalid IP/UDP
Header
Max Bindings
Exceeded
A problem was detected in the IP or UDP header of the packet.
Accepting the packet would cause the maximum number of bindings on a port to be exceeded.
Option 82 Insert
Error
An error occurred while trying to insert DHCP Relay
Agent Option 82 information.
Option 82 Received
Invalid
The DHCP Relay Agent Option 82 information received did not match the information inserted by DHCP
Snooping.
Option 82 Received
On Untrusted Port
A packet containing DHCP Relay Agent Option 82 information was received on an untrusted port.
Option 82 Transmit
On Untrusted Port
A packet containing DHCP Relay Agent Option 82 information was to be sent on an untrusted port.
Reply Received On
Untrusted Port
Source MAC/CHADDR
Mismatch
Static Entry
Already Exists
A BOOTP reply was received on an untrusted port.
The L2 Source MAC address of the packet did not match the client hardware address field (BOOTP.CHADDR).
An entry could not be added as a static entry already exists.
Related
Commands
clear ip dhcp snooping statistics
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1172
DHCP S NOOPING C OMMANDS
SHOW IP SOURCE BINDING
show ip source binding
Overview Use this command to display static entries in the DHCP snooping database. These are the entries that have been added by using the
Syntax show ip source binding
Mode User Exec and Privileged Exec
Example To display static entries in the DHCP snooping database information, use the command: awplus# show ip source binding
Table 21: Example output from the show ip source binding command
awplus# show ip source binding
IP Source Bindings:
Client MAC Expires
IP Address Address VLAN Port (sec) Type
---------------------------------------------------------------
1.1.1.1 0000.1111.2222 1 port1.0.1 Infinite Static
Table 22: Parameters in the output from the show ip source binding command
Parameter
Client IP
Address
MAC Address
VLAN
Port
Expires (sec)
Type
Description
The IP address of the DHCP client.
The MAC address of the DHCP client.
The VLAN ID the packet is received on.
The Layer 2 port name the packet is received on.
Always infinite for static bindings, or when the leave time in the DHCP message was 0xffffffff (infinite).
DHCP Snooping binding type: Static
Related
Commands
1173 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
Part 6: Network Availability
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1174
37
Ethernet Protection
Switched Ring
(EPSRing™)
Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
Ethernet Protection Switched Ring (EPSRing™). For more information, see the EPSR
Feature Overview and Configuration Guide .
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
epsr mode master controlvlan primary port
show epsr common segments ” on page 1193
show epsr <epsr-instance> ” on page 1195
show epsr <epsr-instance> counters ” on page 1196
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1175
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1176
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
DEBUG EPSR
debug epsr
Overview This command enables EPSR debugging.
The no variant of this command disables EPSR debugging.
Syntax debug epsr {info|msg|pkt|state|timer|all} no debug epsr {info|msg|pkt|state|timer|all}
Parameter Description info Send general EPSR information to the console.
Using this parameter with the no debug epsr command will explicitly exclude the above information from being sent to the console.
msg Send the decoded received and transmitted EPSR packets to the console.
Using this parameter with the no debug epsr command will explicitly exclude the above packets from being sent to the console.
pkt Send the received and transmitted EPSR packets as raw ASCII text to the console.
Using this parameter with the no debug epsr command will explicitly exclude the above packets from being sent to the console.
state Send EPSR state transitions to the console.
Using this parameter with the no debug epsr command will explicitly exclude state transitions from being sent to the console.
timer Send EPSR timer information to the console.
Using this parameter with the no debug epsr command will explicitly exclude timer information from being sent to the console.
all Send all EPSR debugging information to the console.
Using this parameter with the no debug epsr command will explicitly exclude any debugging information from being sent to the console.
Mode Privileged Exec and Global Configuration
Examples To enable state transition debugging, use the command: awplus# debug epsr state
To disable EPSR packet debugging, use the command: awplus# no debug epsr pkt
Related
Commands
1177 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR
epsr
Overview This command sets the timer values for an EPSR instance. These are only valid for master nodes.
NOTE
: This command will only run on switches that are capable of running as an EPSR master node. However, even if your switch cannot function as an EPSR master node, you still may need to configure this command on whatever switch is the master within your EPSR network.
Syntax epsr < epsr-instance > {hellotime < 1-32767 >|failovertime
< 2-65535 > ringflaptime < 0-65535 >} no epsr < epsr-instance >
CAUTION
: Using the “no” variant of this command will remove the specified EPSR instance.
Parameter Description
<epsr-instance> hellotime < 1-32767 >
Name of the EPSR instance.
The number of seconds between the transmission of health check messages.
failovertime < 2-65535> The number of seconds that a master waits for a returning health check message before entering the failed state. The failover time should be greater than twice the hellotime.
This is to force the master node to wait until it detects the absence of two sequential healthcheck messages before entering the failed state.
ringflaptime < 0-65535 > The minimum number of seconds that a master must remain in the failed state.
Mode EPSR Configuration
Examples To set the hellotimer to 5 seconds for the EPSR instance called blue , use the command: awplus(config-epsr)# epsr blue hellotime 5
To delete the EPSR instance called “blue”, use the command: awplus(config-epsr)# no epsr blue
1178 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR CONFIGURATION
epsr configuration
Overview Use this command to enter EPSR Configuration mode so that EPSR can be configured.
Syntax epsr configuration
Mode Global Configuration
Example To change to EPSR mode, use the command: awplus(config)# epsr configuration
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1179
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR DATAVLAN
epsr datavlan
Overview This command adds a data VLAN or a range of VLAN identifiers to a specified EPSR instance.
The no variant of this command removes a data VLAN or data VLAN range from an
EPSR instance.
Syntax epsr <epsr-instance> datavlan {< vlanid >|< vlanid-range >} no epsr <epsr-instance> datavlan {< vlanid >|< vlanid-range >}
Parameter
< vlanid-range >
Description
<epsr-instance> Name of the EPSR instance.
datavlan Adds a data VLAN to be protected by the EPSR instance.
< vlanid > The VLAN’s VID - a number between 1 and 4094 excluding the number selected for the control VLAN.
Specify a range of VLAN identifiers using a hyphen to separate identifiers.
Mode EPSR Configuration
Usage We recommend you
•
• set the EPSR control VLAN to vlan2, using the
epsr mode master controlvlan primary port
and
epsr mode transit controlvlan commands, then
set the EPSR data VLAN between to be a value between 3 and 4094, using the
Examples To add vlan3 to the EPSR instance called blue , use the command: awplus(config-epsr)# epsr blue datavlan vlan3
To add vlan2 and vlan3 to the EPSR instance called blue , use the command: awplus(config-epsr)# epsr blue datavlan vlan2-vlan3
To remove vlan3 from the EPSR instance called blue , use the command: awplus(config-epsr)# no epsr blue datavlan vlan3
To remove vlan2 and vlan3 from the EPSR instance called blue , use the command: awplus(config-epsr)# no epsr blue datavlan vlan2-vlan3
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1180
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR ENHANCEDRECOVERY ENABLE
epsr enhancedrecovery enable
Overview This command enables EPSR’s enhanced recovery mode. Enhanced recovery mode enables a ring to apply additional recovery procedures when a ring with more than one break partially mends. For more information, see the EPSR Feature
Overview and Configuration Guide .
The no variant of this command disables the enhanced recovery mode.
Syntax epsr <epsr-instance> enhancedrecovery enable no epsr <epsr-instance> enhancedrecovery enable
Parameter Description
<epsr-instance> Name of the EPSR instance.
Default Default is that enhanced recovery mode disabled.
Mode EPSR Configuration
Example To apply enhanced recovery on the EPSR instance called blue , use the command: awplus(config-epsr)# epsr blue enhancedrecovery enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1181
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR MODE MASTER CONTROLVLAN PRIMARY PORT
epsr mode master controlvlan primary port
Overview This command creates a master EPSR instance.
NOTE : This command will only run on switches that are capable of running as an EPSR master node. However, even if your switch cannot function as an EPSR master node, you still need to configure this command on whatever switch is the master within your
EPSR network.
Syntax epsr <epsr-instance> mode master controlvlan < 2-4094 > primaryport < port >
Parameter
<epsr-instance> mode master controlvlan
< 2-4094 > primaryport
< port >
Description
Name of the EPSR instance.
Determines the node is acting as a master.
Sets switch to be the master node for the named EPSR ring.
The VLAN that will transmit EPSR control frames.
VLAN id.
Primary port for the EPSR instance.
The primary port. The port may be a switch port (e.g. port1.0.4
) or a static channel group (e.g. sa2 ). It cannot be a dynamic (LACP) channel group.
NOTE : The software allows you to configure more than two ports or static channel groups to the control VLAN within a single switch. However, we advise against this because in certain situations it can produce unpredictable results.
Mode EPSR Configuration
Example To create a master EPSR instance called blue with vlan2 as the control VLAN and port1.0.1
as the primary port, use the command: awplus(config-epsr)# epsr blue mode master controlvlan vlan2 primaryport port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1182
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR MODE TRANSIT CONTROLVLAN
epsr mode transit controlvlan
Overview This command creates a transit EPSR instance.
Syntax epsr <epsr-instance> mode transit controlvlan < 2-4094 >
Parameter
<epsr-instance> mode transit controlvlan
< 2-4094 >
Description
Name of the EPSR instance.
Determines the node is acting as a transit node.
Sets switch to be the transit node for the named EPSR ring.
The VLAN that will transmit EPSR control frames.
VLAN id.
NOTE : The software allows you to configure more than two ports or static channel groups to the control VLAN within a single switch. However, we advise against this because in certain situations it can produce unpredictable results.
If the control VLAN contains more than two ports (or static channels) an algorithm selects the two ports or channels with the lowest number to be the ring ports. However if the switch has only one channel group is defined to the control vlan, EPSR will not operate on the secondary port.
EPSR does not support Dynamic link aggregation (LACP).
Mode EPSR Configuration
Example To create a transit EPSR instance called blue with vlan2 as the control VLAN, use the command: awplus(config-epsr)# epsr blue mode transit controlvlan vlan2
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1183
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR PRIORITY
epsr priority
Overview This command sets the priority of an EPSR instance on an EPSR node. Priority is used to prevent “superloops” forming under fault conditions with particular ring configurations. Setting a node to have a priority greater than one, also has the effect of turning on superloop protection .
The no variant of this command returns the priority of the EPSR instance back to its default value of 0, which also disables EPSR Superloop prevention.
Syntax epsr <epsr-instance> priority < 0-127 > no <epsr-instance> priority
Parameter
< 0-127 >
Description
<epsr-instance> Name of the EPSR instance.
priority The priority of the ring instance selected by the epsr-name parameter.
The priority to be applied (0 is the lowest priority and represents no superloop protection).
Default The default priority of an EPSR instance on an EPSR node is 0. The negated form of this command resets the priority of an EPSR instance on an EPSR node to the default value.
Mode EPSR Configuration
Example To set the priority of the EPSR instance called blue to the highest priority (127), use the command: awplus(config-epsr)# epsr blue priority 127
To reset the priority of the EPSR instance called blue to the default (0), use the command: awplus(config-epsr)# no epsr blue priority
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1184
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR STATE
epsr state
Overview This command enables or disables an EPSR instance.
Syntax epsr <epsr-instance> state {enabled|disabled}
Parameter Description
<epsr-instance> The name of the EPSR instance.
state The operational state of the ring.
enabled disabled
EPSR instance is enabled.
EPSR instance is disabled.
Mode EPSR Configuration
Example To enable the EPSR instance called blue , use the command: awplus(config-epsr)# epsr blue state enabled
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1185
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
EPSR TRAP
epsr trap
Overview This command enables SNMP traps for an EPSR instance. The traps will be sent when the EPSR instance changes state.
The no variant of this command disables SNMP traps for an EPSR instance. The traps will no longer be sent when the EPSR instance changes state.
Syntax epsr <epsr-instance> trap no epsr <epsr-instance> trap
Parameter
<epsr-instance> trap
Description
Name of the EPSR instance.
SNMP trap for the EPSR instance.
Mode EPSR Configuration
Example To enable traps for the EPSR instance called blue , use the command: awplus(config-epsr)# epsr blue trap
To disable traps for the EPSR instance called blue , use the command: awplus(config-epsr)# no epsr blue trap
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1186
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW DEBUGGING EPSR
show debugging epsr
Overview This command shows the debugging modes enabled for EPSR.
Syntax show debugging epsr
Mode User Exec and Privileged Exec
Example To show the enabled debugging modes, use the command: awplus# show debugging epsr
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1187
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR
show epsr
Overview This command displays information about all EPSR instances.
Syntax show epsr
Mode User Exec and Privileged Exec
Example To show the current settings of all EPSR instances, use the command: awplus# show epsr
Output: non-superloop topology
The following examples show the output display for a non-superloop topology network.
Table 1: Example output from the show epsr command run on a transit node
EPSR Information
-----------------------------------------------------------
Name .......................... test2
Mode .......................... Transit
Status ........................ Enabled
State ......................... Links-Up
Control Vlan .................. 2
Data VLAN(s) .................. 10
Interface Mode ................ Ports Only
First Port .................... port1.0.1
First Port Status ............. Down
First Port Direction .......... Unknown
Second Port ................... port1.0.2
Second Port Status ............ Down
Second Port Direction ......... Unknown
Trap .......................... Enabled
Master Node ................... Unknown
Enhanced Recovery ............. Disabled
------------------------------------------------------------
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1188
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR
Table 2: Example output from the show epsr command run on a master node
EPSR Information
-----------------------------------------------------------
Name ........................ test4
Mode .......................... Master
Status ........................ Enabled
State ......................... Complete
Control Vlan .................. 4
Data VLAN(s) .................. 20
Interface Mode ................ Ports Only
Primary Port .................. port1.0.3
Primary Port Status ........... Forwarding
Secondary Port ................ port1.0.4
Secondary Port Status ......... Forwarding
Hello Time .................... 1 s
Failover Time ................. 2 s
Ring Flap Time ................ 0 s
Trap .......................... Enabled
Enhanced Recovery ............. Disabled
------------------------------------------------------------
NOTE
: The above output is only displayed on an EPSR master.
Output: superloop topology
The following examples show the output display for superloop topology network.
Table 3: Example output from the show epsr command run on a Master Node
EPSR Information
-----------------------------------------------------------
Name ........................ test4
Mode .......................... Master
Status ........................ Enabled
State ......................... Complete
Control Vlan .................. 4
Data VLAN(s) .................. 20
Interface Mode ................ Ports Only
Primary Port .................. port1.0.3
Status ...................... Forwarding (logically blocking)
Is On Common Segment ........ No
Blocking Control ............ Physical
Secondary Port ................ port1.0.4
Status ...................... Blocked
Is On Common Segment ........ No
Blocking Control ............ Physical
Hello Time .................... 1 s
Failover Time ................. 2 s
Ring Flap Time ................ 0 s
Trap .......................... Enabled
Enhanced Recovery ............. Disabled
SLP Priority .................. 12
------------------------------------------------------------
NOTE
: The above output is only displayed on an EPSR master.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1189
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR
Table 4: Example output from the show epsr command run on a Transit Node
EPSR Information
-----------------------------------------------------------
Name .......................... test4
Mode .......................... Transit
Status ........................ Enabled
State ......................... Complete
Control Vlan .................. 4
Data VLAN(s) .................. 20
Interface Mode ................ Ports Only
Primary Port .................. port1.0.3
Status ...................... Forwarding (logically blocking)
Is On Common Segment ........ No
Blocking Control ............ Physical
Secondary Port ................ port1.0.4
Status ...................... Blocked
Is On Common Segment ........ No
Blocking Control ............ Physical
Hello Time .................... 1 s
Failover Time ................. 2 s
Ring Flap Time ................ 0 s
Trap .......................... Enabled
Enhanced Recovery ............. Disabled
SLP Priority .................. 12
------------------------------------------------------------
Table 5: Parameters displayed in the output of the show epsr command
Parameter on
Master Node
Name
Mode
Parameter on
Transit Node
Name
Mode
Description
The name of the EPSR instance.
The mode in which the EPSR instance is configured - either Master or
Transit
Status
State
Status
State
Indicates whether the EPSR instance is enabled or disabled
Indicates state of the EPSR instance's state machine. Master states are: Idle, Complete, and Failed. Transit states are Links-Up,
Links-Down, and Pre-Forwarding.
Control Vlan Control Vlan Displays the VID of the EPSR instance's control VLAN.
Data VLAN(s) Data VLAN(s) The VID(s) of the instance's data VLANs.
Interface
Mode
Interface
Mode
Primary Port First Port
Whether the EPSR instance's ring ports are both physical ports (Ports
Only) or are both static aggregators (Channel Groups Only).
The EPSR instance's primary ring port.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1190
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR
Table 5: Parameters displayed in the output of the show epsr command (cont.)
Parameter on
Master Node
- Status
- Is On
Common
Segment
- Blocking
Control
Secondary
Port
- Status
Parameter on
Transit Node
- Status
- Direction
- Is On
Common
Segment
- Blocking
Control
Second Port
- Status
Description
Whether the ring port is forwarding (Forwarding) or blocking
(Blocked), or has link down (Down), and if forwarding or blocking,
“(logical)” indicates the instance has only logically set the blocking state of the port because it does not have physical control of it.
The ring port on which the last EPSR control packet was received is indicated by “Upstream”. The other ring port is then “Downstream”
Whether the ring port is on a shared common segment link to another node, and if so, “(highest rank)” indicates it is the highest priority instance on that common segment.
Whether the instance has “physical” or “logical” control of the ring port's blocking in the instance's data VLANs.
The EPSR instance's secondary port.
- Is On
Common
Segment
- Blocking
Control
Hello Time
Failover
Time
Ring Flap
Time
Trap
- Direction
- Is On
Common
Segment
- Blocking
Control
Trap
Whether the ring port is forwarding (Forwarding) or blocking
(Blocked), or has link down (Down), and if forwarding or blocking,
“(logical)” indicates the instance has only logically set the blocking state of the port, because it does not have physical control of it. Note that on a master configured for SuperLoop Prevention (non-zero priority) its secondary ring port can be physically forwarding, but logically blocking. This situation arises when it is not the highest priority node in the topology (and so does not receive LINKS-DOWN messages upon common segment breaks) and a break on a common segment in its ring is preventing reception of its own health messages.
The ring port on which the last EPSR control packet was received is indicated by “Upstream”. The other ring port is then “Downstream”
Whether the ring port is on a shared common segment link to another node, and if so, “(highest rank)” indicates it is the highest priority instance on that common segment
Whether the instance has “physical” or “logical” control of the ring port's blocking in the instance's data VLANs
The EPSR instance's setting for the interval between transmissions of health check messages (in seconds)
The time (in seconds) the EPSR instance waits to receive a health check message before it decides the ring is down
The minimum time the EPSR instance must remain in the failed state
Whether the EPSR instance has EPSR SNMP traps enabled
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1191
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR
Table 5: Parameters displayed in the output of the show epsr command (cont.)
Parameter on
Master Node
Parameter on
Transit Node Description
Enhanced
Recovery
Enhanced
Recovery
Whether the EPSR instance has enhanced recovery mode enabled
SLP Priority SLP Priority The EPSR instance's priority (for SuperLoop Prevention)
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1192
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR COMMON SEGMENTS
show epsr common segments
Overview This command displays information about all the superloop common segment ports on the switch.
Syntax show epsr common segments
Example To display information about all the superloop common segment ports on the switch, use the command: awplus# show epsr common segments
Table 6: Example output from the show epsr common segments command
EPSR Common Segments
Common Seg EPSR Port Phys Ctrl Ring
Ring Port Instance Mode Prio Type of Port? Port Status
------------------------------------------------------------------------------- port1.0.24 test_inst_Red Transit 127 Second Yes Fwding
test_inst_Blue Transit 126 Second No Fwding (logical)
test_inst_Green Transit 125 First No Fwding (logical)
sa4 testA Master 15 Primary Yes Blocking
testB Transit 14 Second No Fwding (logical) sa5 test_55 Transit 8 First Yes Down
test_77 Transit 7 First No Down
--------------------------------------------------------------------------------
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1193
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR CONFIG CHECK
show epsr config-check
Overview This command checks the configuration of a specified EPSR instance, or all EPSR instances.
If an instance is enabled, this command will check for the following errors or warnings:
•
•
•
• The control VLAN has the wrong number of ports.
There are no data VLANs.
Some of the data VLANs are not assigned to the ring ports.
The instance is a master with its secondary port on a common segment.
Syntax show epsr [ <instance> ] config-check
Parameter Description
< instance > Name of the EPSR instance to check on.
Mode User Exec and Privileged Exec
Example To check the configuration of all EPSR instances and display the results, use the command: awplus# show epsr config-check
Table 37-1: Example output from show epsr config-check
EPSR Status Description
Instance
--------------------------------------------------------------------------- red OK.
white OK.
blue Warning Primary port is not in data VLANs 29-99.
orange OK.
Don't forget to check that this node's configuration is consistant with all other nodes in the ring.
----------------------------------------------------------------------------
Related
Commands
1194 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR < EPSR INSTANCE >
show epsr <epsr-instance>
Overview This command displays information about the specified EPSR instance.
Syntax show epsr < epsr-instance >
Parameter
<epsr-instance>
Description
Name of the EPSR instance.
Mode User Exec and Privileged Exec
Example To show the current settings of the EPSR instance called blue , use the command: awplus# show epsr blue
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1195
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR < EPSR INSTANCE > COUNTERS
show epsr <epsr-instance> counters
Overview This command displays counter information about the specified EPSR instance.
Syntax show epsr < epsr-instance > counters
Parameter
< epsr-instance >
Description
Name of the EPSR instance.
Mode User Exec and Privileged Exec
Example To show the counters of the EPSR instance called blue , use the command: awplus# show epsr blue counters
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1196
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR COUNTERS
show epsr counters
Overview This command displays counter information about all EPSR instances.
Syntax show epsr counters
Mode User Exec and Privileged Exec
Example To show the counters of all EPSR instances, use the command: awplus# show epsr counters
Related
Commands
epsr mode master controlvlan primary port
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1197
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
SHOW EPSR SUMMARY
show epsr summary
Overview This command displays summary information about all EPSR instances on the switch
Syntax show epsr summary
Mode User Exec and Privileged Exec
Example To display EPSR summary information, use the command: awplus# show epsr summary
Table 38: Example output from the show epsr summary command
EPSR Summary Information
Abbreviations:
M = Master node
T = Transit node
C = is on a common segment with other instances
P = instance on a common segment has physical control of the shared port's
data VLAN blocking
LB = ring port is Logically Blocking - applicable to master only
EPSR Ctrl Primary/1st Secondary/2nd
Instance Mode Status State VLAN Prio Port Status Port Status
------------------------------------------------------------------------------- test-12345 T Enabled Links-Down 6 127 Blocking (C,P) Blocking (C,P) test1 M Enabled Complete 5 12 Fwding Fwding (LB) test2 T Enabled Pre-Fwding 4 126 Fwding (C) Blocking (C) localB T Disabled Idle 40 0 Unknown Unknown localC T Disabled Idle 41 0 Unknown Unknown
--------------------------------------------------------------------------------
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1198
E THERNET P ROTECTION S WITCHED R ING (EPSR ING ™) C OMMANDS
UNDEBUG EPSR
undebug epsr
Overview This command applies the functionality of the no
variant of the debug epsr command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1199
38
RRP Snooping
Commands
Introduction
Overview This section provides an alphabetical reference for commands used to configure the Router Redundancy Protocol (RRP).
Command List •
•
ip rrp snooping ” on page 1201
show ip rrp snooping ” on page 1202
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1200
RRP S NOOPING C OMMANDS
IP RRP SNOOPING
ip rrp snooping
Overview Use this command to enable RRP snooping.
Use the no variant of this command to disable RRP Snooping.
Syntax ip rrp snooping no ip rrp snooping
Default The default is disabled .
Mode Global Configuration
Usage Use this command to enable the RRP Snooping feature. You cannot use RRP
Snooping at the same time as the following features:
•
•
•
•
•
STP, RSTP, or MSTP, except for edge ports. RSTP is enabled by default. To
disable it, use the command spanning-tree enable on page 484.
Port security (the command switchport port-security )
Port authentication
EPSR
Port mirroring
Examples The example below shows you how to enable RRP Snooping.
awplus# configure terminal awplus(config)# ip rrp snooping
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1201
RRP S NOOPING C OMMANDS
SHOW IP RRP SNOOPING
show ip rrp snooping
Overview Use this command to display Router Redundancy Protocol snooping global settings and status.
Syntax show ip rrp snooping
Mode Privileged Exec
Output The following example show the output display for the show ip rrp snooping command awplus#show ip rrp snooping
Status : Enabled
Vlan Master Virtual MAC Address UpTime
------------ ---------- ----------------------- --------------- vlan1 Port1.0.1 00e0.2b00.0085 00:00:39
---------------------------------------------------------------
The following table shows the output display for the show ip rrp snooping command
Parameter
Status
Vlan
Master
Description
Displays if RRP Snooping is enabled or disabled
Displays the VLAN ID
Displays the port ID connected to the master router or the network of the master router
Virtual MAC
Address
UpTime
Displays the virtual MAC address of the router
Displays the time that the current master router has been the master router
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1202
Part 7: Network Management
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1203
39
Allied Telesis
Management
Framework™ (AMF)
Commands
Introduction
This chapter provides an alphabetical reference for Allied Telesis Management
Framework™ (AMF) commands.
AMF master nodes
Every AMF network must have at least one master node, which acts as the core of the AMF network. Not all AlliedWare Plus devices are capable of acting as an AMF master. See the AMF Feature Overview and Configuration Guide for information about AMF master support.
AMF edge FS980M Series, GS900MX Series and XS900MX Series switches can only be used as edge switches in an AMF network. The full management power and convenience of AMF is available on these switches, but they can only link to one other AMF node.
They cannot form cross-links or virtual links.
AMF naming convention
When AMF is enabled on a device, it will automatically be assigned a host name. If a host name has already been assigned, by using the command
183, this will remain. If however, no host name has been assigned, then the name
applied will be the prefix, host_ followed (without a space) by the MAC address of the device. For example, a device whose MAC address is 0016.76b1.7a5e
will have the name host_0016_76b1_7a5e assigned to it.
To efficiently manage your network using AMF, we strongly advise that you devise a naming convention for your network devices, and accordingly apply an appropriate hostname to each device in your AMF network.
AMF and STP On AR-Series firewalls, you cannot use STP at the same time as AMF.
Command List •
•
•
•
•
“ atmf area password ” on page 1210
“ atmf backup area-masters delete ” on page 1213
“ atmf backup area-masters enable ” on page 1214
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1204
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
C613-50135-01 Rev A
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ atmf backup area-masters now ” on page 1215
“ atmf backup area-masters synchronize ” on page 1216
“ atmf backup bandwidth ” on page 1217
“ atmf backup delete ” on page 1218
“ atmf backup enable ” on page 1219
“ atmf backup guests delete ” on page 1220
“ atmf backup guests enable ” on page 1221
“ atmf backup guests now ” on page 1222
“ atmf backup guests synchronize ” on page 1223
“ atmf backup now ” on page 1224
“ atmf backup redundancy enable ” on page 1226
“ atmf backup server ” on page 1227
“ atmf backup stop ” on page 1229
“ atmf backup synchronize ” on page 1230
“ atmf controller ” on page 1232
“ atmf distribute firmware ” on page 1233
“ atmf domain vlan ” on page 1235
“ atmf group (membership) ” on page 1238
“ atmf guest-class ” on page 1240
“ atmf log-verbose ” on page 1242
“ atmf management subnet ” on page 1243
“ atmf management vlan ” on page 1245
“ atmf network-name ” on page 1248
“ atmf provision ” on page 1249
“ atmf provision node clone ” on page 1250
“ atmf provision node configure boot config ” on page 1252
“ atmf provision node configure boot system ” on page 1253
“ atmf provision node create ” on page 1254
“ atmf provision node delete ” on page 1256
“ atmf provision node license-cert ” on page 1258
“ atmf provision node locate ” on page 1260
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1205
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
C613-50135-01 Rev A
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ atmf reboot-rolling ” on page 1261
“ atmf recover guest ” on page 1267
“ atmf recover led-off ” on page 1268
“ atmf remote-login ” on page 1269
“ atmf restricted-login ” on page 1271
“ atmf select-area ” on page 1273
“ atmf virtual-link ” on page 1274
“ atmf working-set ” on page 1276
“ clear atmf links statistics ” on page 1278
“ debug atmf packet ” on page 1281
“ erase factory-default ” on page 1286
“ show atmf area ” on page 1294
“ show atmf area guests ” on page 1297
“ show atmf area guests-detail ” on page 1299
“ show atmf area nodes ” on page 1301
“ show atmf area nodes-detail ” on page 1303
“ show atmf area summary ” on page 1305
“ show atmf backup ” on page 1306
“ show atmf backup area ” on page 1310
“ show atmf backup guest ” on page 1312
“ show atmf detail ” on page 1314
“ show atmf group ” on page 1316
“ show atmf group members ” on page 1318
“ show atmf guest ” on page 1320
“ show atmf links ” on page 1322
“ show atmf links detail ” on page 1324
“ show atmf links guest ” on page 1333
“ show atmf links statistics ” on page 1336
“ show atmf memory (deprecated) ” on page 1339
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1206
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ show atmf nodes ” on page 1340
“ show atmf provision nodes ” on page 1342
“ show atmf tech ” on page 1343
“ show atmf virtual-links ” on page 1346
“ show atmf working-set ” on page 1348
“ show debugging atmf ” on page 1349
“ show debugging atmf packet ” on page 1350
“ show running-config atmf ” on page 1351
“ switchport atmf-agentlink ” on page 1352
“ switchport atmf-arealink remote-area ” on page 1353
“ switchport atmf-crosslink ” on page 1355
“ switchport atmf-guestlink ” on page 1357
“ switchport atmf-link ” on page 1359
“ type atmf node ” on page 1360
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1207
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF AREA
atmf area
Overview This command creates an AMF area and gives it a name and ID number.
Use the no variant of this command to remove the AMF area.
This command is only valid on AMF controllers, master nodes and gateway nodes.
Syntax atmf area < area-name > id < 1-126 > [local] no atmf area < area-name >
Parameter
<area-name>
< 1-126 > local
Description
The AMF area name. The area name can be up to 15 characters long. Valid characters are:
a..z
A..Z
0..9
-
_
Names are case sensitive and must be unique within an
AMF network. The name cannot be the word “local” or an abbreviation of the word “local” (such as “l”, “lo” etc.).
An ID number that uniquely identifies this area.
Set the area to be the local area. The local area contains the device you are configuring.
Mode Global Configuration
Usage This command enables you to divide your AMF network into areas. Each area is managed by at least one AMF master node. Each area can have up to 120 nodes, depending on the license installed on that area’s master node.
The whole AMF network is managed by up to 8 AMF controllers. Each AMF controller can communicate with multiple areas. The number of areas supported on a controller depends on the license installed on that controller.
You must give each area in an AMF network a unique name and ID number.
Only one local area can be configured on a device. You must specify a local area on each controller, remote AMF master, and gateway node.
Example To create the AMF area named New-Zealand , with an ID of 1, and specify that it is the local area, use the command: controller-1(config)# atmf area New-Zealand id 1 local
To configure a remote area named Auckland , with an ID of 100, use the command: controller-1(config)# atmf area Auckland id 100
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1208
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF AREA
Related
Commands
switchport atmf-arealink remote-area
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1209
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF AREA PASSWORD
atmf area password
Overview This command sets a password on an AMF area.
Use the no variant of this command to remove the password.
This command is only valid on AMF controllers, master nodes and gateway nodes.
The area name must have been configured first.
Syntax atmf area < area-name > password [8] < password > no atmf area < area-name > password
Parameter
<area-name>
8
<password>
Description
The AMF area name.
This parameter is displayed in show running-config output to indicate that it is displaying the password in encrypted form. You should not enter 8 on the CLI yourself.
The password is between 8 and 32 characters long. It can include spaces.
Mode Global Configuration
Usage You must configure a password on each area that an AMF controller communicates with, except for the controller’s local area. The areas must already have been created using the
Enter the password identically on both of:
•
• the area that locally contains the controller, and the remote AMF area masters
The command show running-config atmf will display the encrypted version of this password. The encryption keys will match between the controller and the remote AMF master.
If multiple controller and masters exist in an area, they must all have the same area configuration.
Example To give the AMF area named Auckland a password of “secure#1” use the following command on the controller: controller-1(config)# atmf area Auckland password secure#1 and also use the following command on the master node for the Auckland area: auck-master(config)# atmf area Auckland password secure#1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1210
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF AREA PASSWORD
Related
Commands
switchport atmf-arealink remote-area
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1211
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP
atmf backup
Overview This command can only be applied to a master node. It manually schedules an AMF backup to start at a specified time and to execute a specified number of times per day.
Use the no variant of this command to disable the schedule.
Syntax atmf backup {default|< hh:mm > frequency < 1-24 >}
Parameter default
< hh:mm >
Description
Restore the default backup schedule.
Sets the time of day to apply the first backup, in hours and minutes. Note that this parameter uses the 24 hour clock.
backup Enables AMF backup to external media.
frequency < 1-24 > Sets the number of times within a 24 hour period that backups will be taken.
Default Backups run daily at 03:00 AM, by default
Mode Global Configuration
Usage Running this command only configures the schedule. To enable the schedule, you
should then apply the command atmf backup enable
.
We recommend using the ext3 or ext4 filesystem on external media that are used for AMF backups.
Example To schedule backup requests to begin at 11 am and execute twice per day (11 am and 11 pm), use the following command: node_1# configure terminal node_1(config)# atmf backup 11:00 frequency 2
CAUTION : File names that comprise identical text, but with differing case, such as
Test.txt and test.txt, will not be recognized as being different on FAT32 based backup media such as a USB storage device. However, these filenames will be recognized as being different on your Linux based device. Therefore, for good practice, ensure that you apply a consistent case structure for your back-up file names.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1212
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP AREA MASTERS DELETE
atmf backup area-masters delete
Overview Use this command to delete from external media, a backup of a specified node in a specified area.
Note that this command can only be run on an AMF controller.
Syntax atmf backup area-masters delete area < area-name > node
< node-name >
Parameter Description
< area-name > The area that contains the node whose backup will be deleted.
< node-name > The node whose backup will be deleted.
Mode Privileged Exec
Example To delete the backup of the remote area-master named “well-gate” in the AMF area named Wellington, use the command: controller-1# atmf backup area-masters delete area Wellington node well-gate
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1213
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP AREA MASTERS ENABLE
atmf backup area-masters enable
Overview Use this command to enable backup of remote area-masters from the AMF controller. This command is only valid on AMF controllers.
Use the no form of the command to stop backups of remote area-masters.
Syntax atmf backup area-masters enable no atmf backup area-masters enable
Mode Global configuration
Default Remote area backups are disabled by default
Usage Use the following commands to configure the remote area-master backups:
•
•
to configure when the backups begin and how often they run
to configure the backup server.
We recommend using the ext3 or ext4 filesystem on external media that are used for AMF backups.
Example To enable scheduled backups of AMF remote area-masters, use the commands: controller-1# configure terminal controller-1(config)# atmf backup area-masters enable
To disable scheduled backups of AMF remote area-masters, use the commands: controller-1# configure terminal controller-1(config)# no atmf backup area-masters enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1214
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP AREA MASTERS NOW
atmf backup area-masters now
Overview Use this command to run an AMF backup of one or more remote area-masters from the AMF controller immediately.
This command is only valid on AMF controllers.
Syntax atmf backup area-masters now [area < area-name >|area < area-name > node < node-name >]
Parameter Description
< area-name > The area whose area-masters will be backed up.
< node-name > The node that will be backed up.
Mode Privileged Exec
Example To back up all local master nodes in all areas controlled by controller-1, use the command controller-1# atmf backup area-masters now
To back up all local masters in the AMF area named Wellington, use the command controller-1# atmf backup area-masters now area Wellington
To back up the local master “well-master” in the Wellington area, use the command controller-1# atmf backup area-masters now area Wellington node well-master
Related
Commands
atmf backup area-masters enable
atmf backup area-masters synchronize
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1215
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP AREA MASTERS SYNCHRONIZE
atmf backup area-masters synchronize
Overview Use this command to synchronize backed-up area-master files between the active remote file server and the backup remote file server. Files are copied from the active server to the remote server.
Note that this command is only valid on AMF controllers.
Syntax atmf backup area-masters synchronize
Mode Privileged Exec
Example To synchronize backed-up files between the remote file servers for all area-masters, use the command: controller-1# atmf backup area-masters synchronize
Related
Commands
atmf backup area-masters enable
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1216
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP BANDWIDTH
atmf backup bandwidth
Overview This command sets the maximum bandwidth in kilobytes per second (kBps) available to the AMF backup process. This command enables you to restrict the bandwidth that is utilized for downloading file contents during a backup.
NOTE : This command will only run on an AMF master. An error message will be generated if the command is attempted on node that is not a master.
Also note that setting the bandwidth value to zero will allow the transmission of as much bandwidth as is available, which can exceed the maximum configurable speed of 1000 kBps. In effect, zero means unlimited.
Use the no variant of this command to reset (to its default value of zero) the maximum bandwidth in kilobytes per second (kBps) available when initiating an
AMF backup. A value of zero tells the backup process to transfer files using unlimited bandwidth.
Syntax atmf backup bandwidth < 0-1000 > no atmf backup bandwidth
Parameter
< 0-1000 >
Description
Sets the bandwidth in kilobytes per second (kBps)
Default The default value is zero, allowing unlimited bandwidth when executing an AMF backup.
Mode Global Configuration
Examples To set an atmf backup bandwidth of 750 kBps, use the commands: node2# configure terminal node2(config)# atmf backup bandwidth 750
To set the AMF backup bandwidth to the default value for unlimited bandwidth, use the commands: node2# configure terminal node2(config)# no atmf backup bandwidth
Related
Commands
1217 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP DELETE
atmf backup delete
Overview This command removes the backup file from the external media of a specified AMF node.
Note that this command can only be run from an AMF master node.
Syntax atmf backup delete < node-name >
Parameter
<node-name>
Description
The AMF node name of the backup file to be deleted.
Mode Privileged Exec
Example To delete the backup file from node2, use the following command:
Node_1# atmf backup delete node2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1218
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP ENABLE
atmf backup enable
Overview This command enables automatic AMF backups on the AMF master node that you are connected to. By default, automatic backup starts at 3:00 AM. However, this schedule can be changed by the
atmf backup command. Note that backups are
initiated and stored only on the master nodes.
Use the no variant of this command to disable any AMF backups that have been scheduled and previously enabled.
Syntax atmf backup enable no atmf backup enable
Default Automatic AMF backup functionality is enabled on the AMF master when it is configured and external media, i.e. an SD card or a USB storage device or remote server, is detected.
Mode Global Configuration
Usage A warning message will appear if you run the
command with either insufficient or marginal memory availability on your external storage device.
You can use the command show atmf backup on page 1306 to check the amount
of space available on your external storage device.
We recommend using the ext3 or ext4 filesystem on external media that are used for AMF backups.
Example To turn on automatic AMF backup, use the following command:
AMF_Master_1# configure terminal
AMF_Master_1(config)# atmf backup enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1219
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP GUESTS DELETE
atmf backup guests delete
Overview This command removes a guest node’s backup files from external media such as a
USB drive, SD card, or an external file server.
Syntax atmf backup guests delete < node-name > < guest-port >
Parameter
<node-name>
<guest-port>
Description
The name of the guest’s parent node.
The port number on the parent node.
Mode User Exec/Privileged Exec
Example On a parent node named node1 (which, in this case, the user has a direct console connection to) use the following command to remove the backup files of the guest node that is directly connected to port1.0.3.
node1# atmf backup guests delete node1 port1.0.3
Related
Command
atmf backup area-masters delete
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1220
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP GUESTS ENABLE
atmf backup guests enable
Overview Use this command to enable backups of remote guest nodes from an AMF master.
Use the no variant of this command to disable the ability of the guest nodes to be backed up.
Syntax atmf backup guests enable no atmf backup guests enable
Default Guest node backups are enabled by default.
Mode Global Config
Usage We recommend using the ext3 or ext4 filesystem on external media that are used for AMF backups.
Example On the AMF master node, enable all scheduled guest node backups: atmf-master# configure terminal atmf-master(config)# atmf backup guests enable
Related
Commands
atmf backup area-masters enable
atmf backup guests synchronize
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1221
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP GUESTS NOW
atmf backup guests now
Overview This command manually triggers an AMF backup of guest nodes on a AMF Master.
Syntax atmf backup guests now [< node-name >] [< guest-port >]
Parameter
<node-name>
<guest-port>
Description
The name of the guest’s parent node.
The port number that connects to the guest node.
Default N/A
Mode Privileged Exec
Example Use the following command to manually trigger the backup of all guests in the
AMF network awplus# atmf backup guests now
Example To manually trigger the backup of a guest node connected to port 1.0.23 of node1, use the following command: awplus# atmf backup guests now node1 port1.0.23
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1222
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP GUESTS SYNCHRONIZE
atmf backup guests synchronize
Overview This command initiates a manual synchronization of all guest backup file-sets across remote file servers and various redundancy backup media, such as USB storage devices. This facility ensures that each device contains the same backup image files. Note that this backup synchronization process will occur as part of the regular backups scheduled by the
Syntax atmf backup guests synchronize
Default N/A
Mode User Exec/Privileged Exec
Example To synchronize backups across remote file servers and storage devices, use the command:
Node1# atmf backup guests synchronize
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1223
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP NOW
atmf backup now
Overview This command initiates an immediate AMF backup of either all AMF members, or a selected AMF member. Note that this backup information is stored in the external media on the master node of the device on which this command is run, even though the selected AMF member may not be a master node.
Note that this command can only be run on an AMF master node.
Syntax atmf backup now [ <nodename> ]
Parameter
<nodename> or
< hostname >
Description
The name of the AMF member to be backed up, as set by the
command hostname on page 183. Where no name has been assigned
to this device, then you must use the default name, which is the word
“host”, then an underscore, then (without a space) the MAC address of the device to be backed up. For example host_0016_76b1_7a5e.
Note that the node-name appears as the command Prompt when in
Privileged Exec mode.
Default A backup is initiated for all nodes on the AMF (but stored on the master nodes).
Mode Privileged Exec
Usage Although this command will select the AMF node to be backed-up, it can only be run from any AMF master node.
NOTE : The backup produced will be for the selected node but the backed-up config will reside on the external media of the AMF master node on which the command was run.
However, this process will result in the information on one master being more up-to-date. To maintain concurrent backups on both masters, you can apply the backup now command to the master working-set. This is shown in Example 4 below.
Example 1 In this example, an AMF member has not been assigned a host name. The following command is run on the AMF_Master_2 node to immediately backup the device that is identified by its MAC address of 0016.76b1.7a5e:
AMF_Master_2# atmf backup now host_0016_76b1_7a5e
NOTE : When a host name is derived from its MAC address, the syntax format entered changes from XXXX.XXXX.XXXX to XXXX_XXXX_XXXX.
Example 2 In this example, an AMF member has the host name, office_annex . The following command will immediately backup this device:
AMF_Master_2# atmf backup now office_annex
This command is initiated on the device’s master node named AMF_Master_2 and initiates an immediate backup on the device named office_annex .
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1224
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP NOW
Example 3 To initiate from AMF_master_1 an immediate backup of all AMF member nodes, use the following command:
AMF_Master_1# amf backup now
Example 4 To initiate an immediate backup of the node with the host-name “office_annex” and store the configuration on both masters, use the following process:
From the AMF_master_1, set the working-set to comprise only of the automatic group, master nodes.
AMF_Master_1# atmf working-set group master
This command returns the following display:
============================
AMF_Master_1, AMF_Master_2
===============================
Working set join
Backup the AMF member with the host name, office_annex on both the master nodes as defined by the working set.
AMF_Master[2]# atmf backup now office_annex
Note that the [2] shown in the command prompt indicates a 2 node working-set.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1225
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP REDUNDANCY ENABLE
atmf backup redundancy enable
Overview This command is used to enable or disable AMF backup redundancy.
Syntax atmf backup redundancy enable no atmf backup redundancy enable
Default Disabled
Mode Global Configuration
Usage If the AMF Master or Controller supports any removable media (SD card/USB), it uses the removable media as the redundant backup for the AMF data backup.
This feature is valid only if remote file servers are configured on the AMF Master or
Controller.
We recommend using the ext3 or ext4 filesystem on external media that are used for AMF backups.
Example To enable AMF backup redundancy, use the commands: awplus# configure terminal awplus(config)# atmf backup redundancy enable
To disable AMF backup redundancy, use the commands: awplus# configure terminal awplus(config)# no atmf backup redundancy enable
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1226
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP SERVER
atmf backup server
Overview This command configures remote file servers as the destination for AMF backups.
Use the no variant of this command to remove the destination server(s). When all servers are removed the system will revert to backup from external media.
Syntax atmf backup server id {1|2} < hostlocation > username < username >
[path < path >|port <1-65535>] no atmf backup server id {1|2}
Parameter id
{1|2}
Description
Remote server backup server identifier.
< username > path
The backup server identifier number (1 or 2). Note that there can be up to two backup servers, numbered 1 and 2 respectively, and you would need to run this command separately for each server.
< hostlocation > Either the name or the IP address (IPv4 or IPv6) of the selected backup server (1 or 2).
username Configure the username to log in with on the selected remote file server.
The selected remote file server’s username.
The location of the backup files on the selected remote file server. By default this will be the home directory of the username used to log in with.
< path > The directory path utilized to store the backup files on the selected remote file server. No spaces are allowed in the path.
port The connection to the selected remote backup file server using
SSH. By default SSH connects to a device on TCP port 22 but this can be changed with this command.
<1-65535> A TCP port within the specified range.
Defaults Remote backup servers are not configured. The default SSH TCP port is 22. The path utilized on the remote file server is the home directory of the username.
Mode Global Exec
Usage The hostname and username parameters must both be configured.
Examples To configure server 1 with an IPv4 address and a username of backup1 , use the commands:
AMF_Master_1# configure terminal
AMF_Master_1(config)# atmf backup server id 1 192.168.1.1 username backup1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1227
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP SERVER
To configure server 1 with an IPv6 address and a username of backup1 , use the command:
AMF_backup1_1# configure terminal
AMF_Master_1(config)# atmf backup server id 1 FFEE::01 username backup1
To configure server 2 with a hostname and username, use the command:
AMF_Master_1# configure terminal
AMF_Master_1(config)# atmf backup server id 2 www.example.com username backup2
To configure server 2 with a hostname and username in addition to the optional path and port parameters, use the command:
AMF_Master_1# configure terminal
AMF_Master_1(config)# atmf backup server id 2 www.example.com username backup2 path tokyo port 1024
To unconfigure the AMF remote backup file server 1, use the command:
AMF_Master_1# configure terminal
AMF_Master_1(config)# no atmf backup server id 1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1228
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP STOP
atmf backup stop
Overview Running this command stops a backup that is currently running on the master node you are logged onto. Note that if you have two masters and want to stop both, then you can either run this command separately on each master node, or add both masters to a working set, and issue this command to the working set.
Note that this command can only be run on a master node.
Syntax atmf backup stop
Mode Privileged Exec
Usage This command is used to halt an AMF backup that is in progress. In this situation the backup process will finish on its current node and then stop.
Example To stop a backup that is currently executing on master node node-1, use the following command:
AMF_Master_1# amf backup stop
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1229
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF BACKUP SYNCHRONIZE
atmf backup synchronize
Overview For the master node you are connected to, this command initiates a system backup of files from the node’s active remote file server to its backup remote file server. Note that this process happens automatically each time the network is backed up.
Note that this command can only be run from a master node.
Syntax atmf backup synchronize
Mode Privileged Exec
Example When connected to the master node AMF_Master_1, the following command will initiate a backup of all system related files from its active remote file server to its backup remote file server.
AMF_Master_1# atmf backup synchronize
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1230
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF CLEANUP
atmf cleanup
Overview This command erases all data from NVS and all data from flash excluding the following:
•
• the current release file the backup release file
• license files
It then reboots to put the device in a clean state ready to be used as a replacement node on a provisioned port.
Syntax atmf cleanup
Mode Privileged Exec
Usage This command is an alias to the
command.
Example To erase data, use the command:
Node_1# atmf cleanup
This command will erase all NVS, all flash contents except for the boot release, and any license files, and then reboot the switch. Continue? (y/n):y
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1231
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF CONTROLLER
atmf controller
Overview Use this command to configure the device as an AMF controller. This enables you to split a large AMF network into multiple areas.
The number of areas supported on a controller depends on the license installed on that controller.
Syntax atmf controller no atmf controller
Mode Global configuration
Usage A valid AMF license must be available before this command can be applied.
Example To configure the node named controller-1 as an AMF controller, use the commands: controller-1# configure terminal controller-1(config)# atmf controller
To stop the node named controller-1 from being an AMF controller, use the commands: controller-1# configure terminal controller-1(config)# no atmf controller
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1232
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF DISTRIBUTE FIRMWARE
atmf distribute firmware
Overview This command can be used to upgrade software one AMF node at a time. A URL can be selected from any media location. The latest compatible release for a node will be selected from this location.
Several procedures are performed to ensure the upgrade will succeed. This includes checking the current node release boots from flash. If there is enough space on flash the software release is copied to flash on the new location.
The new release name is updated using the boot system
command. The old release will become the backup release file. If a release file exists in a remote device (such as TFTP or HTTP, for example) then the URL should specify the exact release filename without using a wild card character.
The command will continue to upgrade software until all nodes are upgraded. At the end of the upgrade cycle the command should be used on the working-set.
Syntax atmf distribute firmware < filename >
Parameter
< filename >
Description
The filename and path of the file. See the File Management Feature
Overview and Configuration Guide for valid syntax.
Mode Privileged Exec
Examples To upgrade nodes in a AMF network with a predefined AMF group called “teams”, use the following commands:
Team1# atmf working-set group teams
=============================
Team1, Team2, Team3:
=============================
Working set join
ATMF_NETWORK[3]# atmf distribute firmware card:*.rel
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1233
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF DISTRIBUTE FIRMWARE
Retrieving data from Team1
Retrieving data from Team2
Retrieving data from Team3
ATMF Firmware Upgrade:
Node Name New Release File Status
---------------------------------------------------------------
Team1 x510-5.4.6-1.4.rel Release ready
Team2 x610-5.4.6-1.4.rel Release ready
Team3 x610-5.4.6-1.4.rel Release ready
Continue the rolling reboot ? (y/n):y
================================================================
Copying Release : x510-5.4.6-1.4.rel to Team1
Updating Release : x510-5.4.6-1.4.rel information on Team1
================================================================
Copying Release : x610-5.4.6-1.4.rel to Team2
Updating Release : x610-5.4.6-1.4.rel information on Team2
================================================================
Copying Release : x610-5.4.6-1.4.rel to Team3
Updating Release : x610-5.4.6-1.4.rel information on Team3
================================================================
New firmware will not take effect until nodes are rebooted.
================================================================
ATMF_NETWORK[3]#
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1234
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF DOMAIN VLAN
atmf domain vlan
Overview The AMF domain VLAN is one of the internal VLANs that are used to communicate information about the state of the AMF network between nodes. AMF uses its internal VLANS (the management VLAN and the domain VLAN) to communicate its inter nodal network status information. These VLANs must be reserved for AMF and not used for other purposes.
When an AMF network is first created all its nodes are assigned a domain VLAN with a default (domain) VID of 4091. An important point conceptually is that although this VLAN then exists globally across the AMF network, it is assigned separately to each domain. The AMF network therefore can be thought of as comprising a series of domain VLANS each having the same VID and each being applied to a horizontal slice (domain) of the AMF. It follows therefore that the domain VLANs are only applied to ports that form cross-links and not to ports that form uplinks/downlinks.
If you assign a VLAN ID to this VLAN (i.e. changing its value from the default of
4091) then you will need to do this separately on every device within the AMF network. The AMF domain subnet will then be applied to this new VID when all devices within the AMF network are next rebooted.
Use the no variant of this command to reset the VLAN ID to its default value of
4091.
Syntax atmf domain vlan < 2-4090 > no atmf domain vlan
Parameter
< 2-4090 >
Description
The VLAN number in the range 2 to 4090.
Default The default domain VLAN ID for the AMF is 4091.
Mode Global Configuration
Usage The VLANs involved in this process must be reserved for AMF and cannot be used for other purposes. This command enables you to change the domain VLAN to match your network’s specific configuration.
CAUTION : Setting this command, then rebooting the device, will only apply the AMF
VLAN for the device being configured. The new domain VLAN will not become effective for the AMF network until all its member nodes have been updated, and all its member devices rebooted.
As part of its automatic creation process, this VLAN will also be assigned an IP subnet address based on the value configured by the command
atmf management subnet on page 1243. Refer to this command for more information.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1235
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF DOMAIN VLAN
Examples To change the AMF domain VLAN to 4000 use the following commands: node-1# configure terminal node-1(config)# atmf domain vlan 4000
To reset the AMF domain VLAN to its default of 4091, use the following commands: node-1# configure terminal node-1(config)# no atmf domain vlan
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1236
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF ENABLE
atmf enable
Overview This command manually enables (turns on) the AMF feature for the device being configured.
Use the no variant of this command to disable (turn off) the AMF feature on the member node.
Syntax atmf enable no atmf enable
Default Once AMF is configured, the AMF feature starts automatically when the device starts up.
Mode Global Configuration
Usage The device does not auto negotiate AMF domain specific settings such as the
Network Name. You should therefore, configure your device with any domain specific (non default) settings before enabling AMF.
Examples To turn off AMF, use the command:
MyNode# config terminal
MyNode(config)# no atmf enable
To turn on AMF, use the command:
MyNode(config)# atmf enable
This command returns the following display:
% Warning: The ATMF network config has been set to enable
% Save the config and restart the system for this change to take effect.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1237
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF GROUP ( MEMBERSHIP )
atmf group (membership)
Overview This command configures a device to be a member of one or more AMF groups.
Groups exist in three forms: Implicit Groups, Automatic Groups, and User-defined
Groups.
• Implicit Groups
–
– all: All nodes in the AMF current: The current working-set
– local: The originating node.
Note that the Implicit Groups do not appear in show group output.
•
•
Automatic Groups - These are defined by hardware architecture, e.g. x510, x610, x8100, AR3050S, AR4050S.
User-defined Groups - These enable you to define arbitrary groups of AMF members based on your own criteria.
Each node in the AMF is automatically assigned membership to the implicit groups, and the automatic groups that are appropriate to its node type, e.g. x610,
PoE. Similarly, nodes that are configured as masters are automatically assigned to the master group.
Use the no variant of this command to remove the membership.
Syntax atmf group <group-list> no atmf group <group-list>
Parameter Description
<group-list> A list of group names. These should be entered as a comma delimited list without spaces.
Mode Global Configuration
Usage You can use this command to define your own arbitrary groups of AMF members based on your own network’s configuration requirements. Applying a node to a non existing group will result in the group automatically being created.
Note that the master nodes are automatically assigned to be members of the pre-existing master group.
The following example configures the device to be members of three groups; two are company departments, and one comprises all devices located in building_2. To avoid having to run this command separately on each device that is to be added to these groups, you can remotely assign all of these devices to a working-set, then use the capabilities of the working-set to apply the
command to all members of the working set.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1238
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF GROUP ( MEMBERSHIP )
Example 1 To specify the device to become a member of AMF groups named marketing , sales , and building_2 , use the following commands: node-1# configure terminal node-1(config)# atmf group marketing,sales,building_2
Example 2 To add the nodes member_node_1 and member_node_2 to groups building1 and sales , first add the nodes to the working-set: master_node# atmf working-set member_node_1,member_node_2
This command returns the following output confirming that the nodes member_node_1 and member_node_2 are now part of the working-set:
============================ member_node_1, member_node_2
============================
Working set join
Then add the members of the working set to the groups: atmf-net[2]# configure terminal atmf-net[2](config)# atmf group building1,sales atmf-net[2](config)# exit atmf-net[2]# show atmf group
This command returns the following output displaying the groups that are members of the working-set.
==================== member_node_1
====================
AMF group information building1, sales
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1239
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF GUEST CLASS
atmf guest-class
Overview This modal command creates a guest-class. Guest-classes are modal templates that can be applied to selected guest types. Once you have created a guest-class, you can select it by entering its mode. From here, you can then configure a further set of operational settings specifically for the new guest-class. These settings can then all be applied to a guest link by running the
command. The following settings can be configured from each guest class mode:
•
• discovery method model type
• http-enable setting
• guest port, user name, and password
The no variant of this command removes the guest-class. Note that you cannot remove a guest-class that is assigned to a port.
Syntax atmf guest-class <guest-class-name> no atmf guest-class
Parameter Description
< guest-class-name > The name assigned to the guest-class type. This can be chosen from an arbitrary string of up to 15 characters.
Mode Interface
Example 1 To create a guest-class named camera use the following commands: node1# configure terminal node1(config)# atmf guest-class camera node1(config-atmf-guest)# end
Example 2 To remove the guest-class named phone use the following commands: node1# configure terminal node1(config)# no atmf guest-class phone node1(config-atmf-guest)# end
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1240
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF GUEST CLASS
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1241
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF LOG VERBOSE
atmf log-verbose
Overview This command limits the number of log messages displayed on the console or permanently logged.
Syntax atmf log-verbose <1-3> no atmf log-verbose
Parameter
<1-3>
Description
The verbose limitation (3 = noisiest, 1 = quietest)
Default The default log display is 3.
Usage This command is intended for use in large networks where verbose output can make the console unusable for periods of time while nodes are joining and leaving.
Mode Global Configuration
Example To set the log-verbose to noise level 2, use the command: node-1# configure terminal node-1(config)# atmf log-verbose 2
Validation
Command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1242
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF MANAGEMENT SUBNET
atmf management subnet
Overview This command is used to assign a subnet that will be allocated to the AMF management and domain management VLANs. From the address space defined by this command, two subnets are created, a management subnet component and a domain component, as explained in the Usage section of this command description.
AMF uses these internal IPv4 subnets when exchanging its inter nodal status packets. These subnet addresses must be reserved for AMF and should be used for no other purpose.
The new management subnet will not become effective until all members of the
AMF network have been updated and all its units rebooted.
Use the no variant of this command to remove the assigned subnet VLANs.
Syntax atmf management subnet <a.b.0.0> no atmf management subnet
Parameter
<a.b.0.0>
Description
The IP address selected for the management subnet. Because a mask of 255.255.0.0 (i.e. /16) will be applied automatically, an IP address in the format a.b.0.0 must be selected.
Usually this subnet address is selected from an appropriate range from within the private address space of 172.16.0.0 to
172.31.255.255, or 192.168.0.0 as defined in RFC1918.
Default 172.31.0.0. Asubnet mask of 255.255.0.0 will automatically be applied.
Mode Global Configuration
Usage Typically a network administrator would use this command to change the default subnet address to match local network requirements.
As previously mentioned, running this command will result in the creation of a further two subnets (within the class B address space assigned) and the mask will extend from /16 to /17.
For example, if the management subnet is assigned the address 172.31.0.0/16, this will result in the automatic creation of the following two subnets:
•
• 172.31.0.0/17 assigned to the
172.31.128.0/17 assigned to the
Examples To change the AMF management subnet address on node node-1 to 172.25.0.0: node-1# configure terminal node-1(config)# atmf management subnet 172.25.0.0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1243
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF MANAGEMENT SUBNET
To change the AMF management subnet address on node node-1 back to its default of 172.31.0.0: node-1# configure terminal node-1(config)# no atmf management subnet
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1244
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF MANAGEMENT VLAN
atmf management vlan
Overview The AMF management VLAN is created when the AMF network is first initiated and is assigned its default VID of 4092. This command enables you to change the VID from this default value.
The AMF management vlan is one of the internal VLANs that are used to communicate information about the state of the AMF network between nodes.
AMF uses its internal VLANS (such as the management VLAN and the domain
VLAN) to communicate its inter nodal network status information. These VLANs must be reserved for AMF and not used for other purposes.
If you assign a VLAN ID to this VLAN (i.e. change its value from the default of 4092) then you will need to do this separately on every device within the AMF. The AMF management subnet will then be applied to this new VID when all devices within the AMF network are next rebooted.
Use the no variant of this command to restore the VID to the default of 4092.
Syntax atmf management vlan < 2-4090 > no atmf management vlan
Parameter
< 2-4090 >
Description
The VID assigned tro the AMF management VLAN.
Default VLAN ID default is 4092
NOTE : Although the value applied by default lies outside the user configurable range.
You can use the “no” variant of this command to reset the VLAN to its default value.
mode Global Configuration
Usage You can use this command to change the management VLAN to meet your network’s requirements and standards, particularly in situations where the default address value is unacceptable.
NOTE : This VLAN will automatically be assigned an IP subnet address based on the
value configured by the command atmf management subnet . Refer to this command
description for further details.
Examples To change the AMF management VLAN to 4090 use the following commands:
VCF-1# configure terminal
VCF-1(config)# atmf management vlan 4090
To reset the AMF domain VLAN to its default of 4092, use the following commands:
VCF-1# configure terminal
VCF-1(config)# no atmf management vlan 4090
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1245
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF MASTER
atmf master
Overview This command configures the device to be an AMF master node and automatically creates an AMF master group. The master node is considered to be the core of the
AMF network, and must be present for the AMF to form. The AMF master has its node depth set to 0. Note that the node depth vertical distance is determined by the number of uplinks/downlinks that exist between the node and its master.
An AMF master node must be present for an AMF network to form. Up to two AMF master nodes may exist in a network, and they must be connected by an AMF crosslink.
NOTE : Master nodes are an essential component of an AMF network. In order to run
AMF, an AMF License is required for each master node.
If the crosslink between two AMF masters fails, then one of the masters will become isolated from the rest of the AMF network.
Use the no variant of this command to remove the device as an AMF master node.
The node will retain its node depth of 0 until the network is rebooted.
NOTE
: Node depth is the vertical distance (or level) from the master node (whose depth value is 0).
Syntax atmf master no atmf master
Default The device is not configured to be an AMF master node.
Mode Global Configuration
Example To specify that this node is an AMF master, use the following command: node-1# configure terminal node-1(config)# atmf master
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1246
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF MTU
atmf mtu
Overview This command configures the AMF network Maximum Transmission Unit (MTU).
The MTU value will be applied to the AMF Management VLAN, the AMF Domain
VLAN and AMF Area links.
Use the no variant of this command to restore the default MTU.
Syntax atmf mtu < 1300-1442 > no atmf mtu
Parameter
< 1300-1442 >
Description
The value of the maximum transmission unit for the
AMF network, which sets the maximum size of all AMF packets generated from the device.
Default 1300
Mode Global Configuration
Usage The default value of 1300 will work for all AMF networks (including those that involve virtual links over IPsec tunnels). If there are virtual links over IPsec tunnels anywhere in the AMF network, we recommend not changing this default. If there are no virtual links over IPsec tunnels, then this AMF MTU value may be increased for network efficiency.
Example To change the ATMF network MTU to 1442, use the command: awplus(config)# atmf mtu 1442
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1247
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF NETWORK NAME
atmf network-name
Overview This command applies an AMF network name to a (prospective) AMF node. In order for an AMF network to be valid, its network-name must be configured on at least two nodes, one of which must be configured as a master and have an AMF
License applied. These nodes may be connected using either AMF downlinks or crosslinks.
For more information on configuring an AMF master node, see the command
Use the no variant of this command to remove the AMF network name.
Syntax atmf network-name < name > no atmf network-name
Parameter
<name>
Description
The AMF network name. Up to 15 printable characters can be entered for the network-name.
Mode Global Configuration
Usage This is one of the essential commands when configuring AMF and must be entered on each node that is to be part of the AMF.
A switching node (master or member) may be a member of only one AMF network.
CAUTION : Ensure that you enter the correct network name. Entering an incorrect name will cause the AMF network to fragment (at the next reboot).
Example To set the AMF network name to amf_net use the command:
Node_1(config)# atmf network-name amf_net
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1248
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION
atmf provision
Overview This command configures a specified port on an AMF node to accept a provisioned node, via an AMF link, some time in the future.
Use the no variant of this command to remove the provisioning on the node.
Syntax atmf provision [ <nodename> ] no atmf provision
Parameter
<nodename>
Description
The name of the provisioned node that will appear on the AMF network in the future.
Default No AMF provisioning.
Mode Interface Configuration for a switchport, a static aggregator or a dynamic channel group.
Usage The port should be configured as an AMF link or cross link and should be “down” to add or remove a provisioned node.
Example To provision an AMF node named node1 for port1.0.1, use the command: host1(config)# interface port1.0.1
host1(config-if)# atmf provision node1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1249
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE CLONE
atmf provision node clone
Overview This command sets up a space on the backup media for use with a provisioned node and copies into it almost all files and directories from a chosen backup or provisioned node.
Alternatively, you can set up a new, unique provisioned node by using the
command atmf provision node create
.
Syntax atmf provision node <nodename> clone <source-nodename>
Parameter
<nodename>
<source-nodename>
Description
The name that will be assigned to the clone when connected.
The name of the node whose configuration is to be copied for loading to the clone.
Mode Privileged Exec
Usage This command is only available on master nodes in the AMF network.
You must run either this command or atmf provision node create
command, before you can use other atmf provision node commands using the specified node name. If a backup or provisioned node already exists for the specified node then you must delete it before using the atmf provision node clone command.
When using this command it is important to be aware of the following:
•
•
•
•
A copy of < media >:atmf/< atmf_name >/nodes/< source_node >/flash will be made for the provisioned node and stored in the backup media.
The directory <node_backup_dir> /flash/.config/ssh is excluded from the copy.
•
•
All contents of <root_backup_dir> /nodes/ <nodename> will be deleted or overwritten.
Settings for the expected location of other provisioned nodes are excluded from the copy.
The active and backup configuration files are automatically modified in the following ways:
The hostname command is modified to match the name of the provisioned node.
The stack virtual-chassis-id command is removed, if present.
Example To copy from the backup of device2 to create backup files for the new provisioned node device3 use the following command: device1# atmf provision node device3 clone device2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1250
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE CLONE
Figure 39-1: Sample output from the atmf provision node clone command device1#atmf provision node device3 clone device2
Copying...
Successful operation
To confirm that a new provisioned node has been cloned, use the command: device1# show atmf backup
The output from this command is shown in the following figure, and shows the details of the new provisioned node device3.
Figure 39-2: Sample output from the show atmf backup command
device1#show atmf backup
Scheduled Backup ...... Enabled
Schedule ............ 1 per day starting at 03:00
Next Backup Time .... 01 Oct 2016 03:00
Backup Bandwidth ...... Unlimited
Backup Media .......... USB (Total 7446.0MB, Free 7297.0MB)
Server Config .........
Synchronization ..... Unsynchronized
Last Run ..........
1 .................. Unconfigured
2 .................. Unconfigured
Current Action ........ Idle
Started .............
Current Node ........
--------------------------------------------------------------
Node Name Date Time In ATMF On Media Status
-------------------------------------------------------------- device3 - - No Yes Prov device1 30 Sep 2016 00:05:49 No Yes Good device2 30 Sep 2016 00:05:44 Yes Yes Good
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1251
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE CONFIGURE BOOT CONFIG
atmf provision node configure boot config
Overview This command sets the configuration file to use during the next boot cycle. This command can also set a backup configuration file to use if the main configuration file cannot be accessed for an AMF provisioned node. To unset the boot configuration or the backup boot configuration use the no boot command.
Use the no variant of this command to set back to the default.
Syntax atmf provision node <nodename> configure boot config [backup]
[< file-path | URL >] atmf provision node [ <nodename> ] configure no boot config
[backup]
Parameter
<nodename>
<file-path|URL>
Description
The name of the provisioned node.
The path or URL and name of the configuration file.
Default No boot configuration files or backup configuration files are specified for the provisioned node.
Mode Privileged Exec
Usage When using this command to set a backup configuration file, the specified AMF provisioned node must exist. The specified file must exist in the flash directory created for the provisioned node in the AMF remote backup media.
Examples To set the configuration file branch.cfg
on the AMF provisioned node node1 , use the command:
MasterNodeName# atmf provision node node1 configure boot config branch.cfg
To set the configuration file backup.cfg
as the backup to the main configuration file on the AMF provisioned node node1 , use the command:
MasterNodeName# atmf provision node node1 configure boot config backup usb:/atmf/amf_net/nodes/node1/config/backup.cfg
To unset the boot configuration, use the command:
MasterNodeName# atmf provision node node1 configure no boot config
To unset the backup boot configuration, use the command:
MasterNodeName# atmf provision node node1 configure no boot config backup
Related
Commands
atmf provision node configure boot system
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1252
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE CONFIGURE BOOT SYSTEM
atmf provision node configure boot system
Overview This command sets the release file that will load onto a specified provisioned node during the next boot cycle. This command can also set the backup release file to be loaded for an AMF provisioned node. To unset the boot system release file or the backup boot release file use the no boot command.
Use the no variant of this command to return to the default.
This command can only be run on AMF master nodes.
Syntax atmf provision node <nodename> configure boot system [backup]
[< file-path | URL >] atmf provision node <nodename> configure no boot system [backup]
Parameter
<nodename>
<file-path|URL>
Description
The name of the provisioned node.
The path or URL and name of the release file.
Default No boot release file or backup release files are specified for the provisioned node.
Mode Privileged Exec
Usage When using this command to set a backup release file, the specified AMF provisioned node must exist. The specified file must exist in the flash directory created for the provisioned node in the AMF remote backup media.
Examples To set the release file x610-5.4.6-1.4.rel on the AMF provisioned node “node1”, use the command:
MasterNodeName# atmf provision node node1 configure boot system x610-5.4.6-1.4.rel
To set the backup release file x610-5.4.6-1.4.rel as the backup to the main release file on the AMF provisioned node “node1”, use the command:
MasterNodeName# atmf provision node node1 configure boot system backup card:/atmf/amf_net/nodes/node1/flash/x610-5.4.6-1.4.rel
To unset the boot release, use the command:
MasterNodeName# atmf provision node node1 configure no boot system
To unset the backup boot release, use the command:
MasterNodeName# atmf provision node node1 configure no boot system backup
Related
Commands
atmf provision node configure boot config
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1253
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE CREATE
atmf provision node create
Overview This command sets up an empty directory on the backup media for use with a provisioned node. This directory can have configuration and release files copied to it from existing devices. Alternatively, the configuration files can be created by the user.
An alternative way to create a new provisioned node is with the command
.
This command can only run on AMF master nodes.
Syntax atmf provision node <nodename> create
Parameter
<nodename>
Description
The name of the node that is being provisioned.
Mode Privileged Exec
Usage This command is only available on master nodes in the AMF network.
The atmf provision node create
command (or atmf provision node clone ) must be
executed before you can use other atmf provision node commands with the specified node name. If a backup or provisioned node already exists for the specified node name then you must delete it before using this command.
A date and time is assigned to the new provisioning directory reflecting when this command was executed. If there is a backup or provisioned node with the same name on another AMF master then the most recent one will be used.
Example To create a new provisioned node named “device2” use the command: device1# atmf provision node device2 create
Running this command will create the following directories:
•
• <
< media media
>:atmf/<
>:atmf/< atmf_name atmf_name
>/nodes/<
>/nodes/< node node
>
>/flash
To confirm the new node’s settings, use the command: device1# show atmf backup
The output for the show atmf backup command is shown in the following figure, and shows details for the new provisioned node device2.
1254 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE CREATE
Figure 39-3: Sample output from the show atmf backup command
device1#show atmf backup
Scheduled Backup ...... Enabled
Schedule ............ 1 per day starting at 03:00
Next Backup Time .... 01 Oct 2016 03:00
Backup Bandwidth ...... Unlimited
Backup Media .......... USB (Total 7446.0MB, Free 7315.2MB)
Server Config .........
Synchronization ..... Unsynchronized
Last Run ..........
1 .................. Unconfigured
2 .................. Unconfigured
Current Action ........ Idle
Started .............
Current Node ........ -
--------------------------------------------------------------
Node Name Date Time In ATMF On Media Status
-------------------------------------------------------------- device2 - - No Yes Prov device1 30 Sep 2016 00:05:49 No Yes Good
For instructions on how to configure on a provisioned node, see the AMF Feature
Overview and Configuration Guide .
Related commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1255
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE DELETE
atmf provision node delete
Overview This command deletes files that have been created for loading onto a provisioned node. It can only be run on master nodes.
Syntax atmf provision node <nodename> delete
Parameter
<nodename>
Description
The name of the provisioned node to be deleted.
Mode Privileged Exec
Usage This command is only available on master nodes in the AMF network. The command will only work if the provisioned node specified in the command has already been set up (although the device itself is still yet to be installed). Otherwise, an error message is shown when the command is run.
You may want to use the atmf provision node delete command to delete a provisioned node that was created in error or that is no longer needed.
This command cannot be used to delete backups created by the AMF backup
procedure. In this case, use the command atmf backup delete to delete the files.
NOTE : This command allows provisioned entries to be deleted even if they have been
referenced by the atmf provision command, so take care to only delete unwanted
entries.
Example To delete backup files for a provisioned node named device3 use the command: device1# atmf provision node device3 delete
To confirm that the backup files for provisioned node device3 have been deleted use the command: device1# show atmf backup
The output should show that the provisioned node device3 no longer exists in the backup file, as shown in the figure below:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1256
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE DELETE
Figure 39-4: Sample output showing the show atmf backup command
device1#show atmf backup
Scheduled Backup ...... Enabled
Schedule ............ 1 per day starting at 03:00
Next Backup Time .... 01 Oct 2016 03:00
Backup Bandwidth ...... Unlimited
Backup Media .......... USB (Total 7446.0MB, Free 7297.0MB)
Server Config .........
Synchronization ..... Unsynchronized
Last Run ..........
1 .................. Unconfigured
2 .................. Unconfigured
Current Action ........ Idle
Started .............
Current Node ........
--------------------------------------------------------------
Node Name Date Time In ATMF On Media Status
-------------------------------------------------------------- device1 30 Sep 2016 00:05:49 No Yes Good device2 30 Sep 2016 00:05:44 Yes Yes Good
Related commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1257
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE LICENSE CERT
atmf provision node license-cert
Overview This command is used to set up the license certificate for a provisioned node.
The certificate file usually has all the license details for the network, and can be stored anywhere in the network. This command makes a hidden copy of the certificate file and stores it in the space set up for the provisioned node on AMF backup media.
For node provisioning, the new device has not yet been part of the AMF network, so the user is unlikely to know its product ID or its MAC address. When such a device joins the network, assuming that this command has been applied successfully, the copy of the certificate file will be applied automatically to the provisioned node.
Once the new device has been resurrected on the network and the certificate file has been downloaded to the provisioned node, the hidden copy of the certificate file is deleted from AMF backup media.
Use the no variant of this command to set it back to the default.
This command can only be run on AMF master nodes.
Syntax atmf provision node <nodename> license-cert <file-path|URL> no atmf provision node <nodename> license-cert
Parameter
<nodename>
<file-path|URL>
Description
The name of the provisioned node.
The name of the certificate file. This can include the file-path of the file.
Default No license certificate file is specified for the provisioned node.
Mode Privileged Exec
Usage This command is only available on master nodes in the AMF network. It will only operate if the provisioned node specified in the command has already been set up, and if the license certification is present in the backup file. Otherwise, an error message is shown when the command is run.
Example 1 To apply the license certificate “cert1.txt” stored on a TFTP server for AMF provisioned node “device2”, use the command: device1# atmf provision node device2 license-cert tftp://192.168.1.1/cert1.txt
Example 2 To apply the license certificate “cert2.txt” stored in the AMF master's flash directory for AMF provisioned node “host2”, use the command: device1# atmf provision node host2 license-cert /cert2.txt
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1258
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE LICENSE CERT
To confirm that the license certificate has been applied to the provisioned node, use the command
show atmf provision nodes . The output from this command is
shown below, and displays license certification details in the last line.
Figure 39-5: Sample output from the show atmf provision nodes command
device1#show atmf provision nodes
ATMF Provisioned Node Information:
Backup Media .............: SD (Total 3827.0MB, Free 3481.1MB)
Node Name : device2
Date & Time : 06-Oct-2016 & 23:25:44
Provision Path : card:/atmf/nodes
Boot configuration :
Current boot image : x510-5.4.6-1.4.rel (file exists)
Backup boot image : x510-5.4.6-1.3.rel (file exists)
Default boot config : flash:/default.cfg (file exists)
Current boot config : flash:/abc.cfg (file exists)
Backup boot config : flash:/xyz.cfg (file exists)
Software Licenses :
Repository file : ./.configs/.sw_v2.lic
: ./.configs/.swfeature.lic
Certificate file : card:/atmf/lok/nodes/awplus1/flash/.atmf-lic-cert
Related commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1259
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF PROVISION NODE LOCATE
atmf provision node locate
Overview This command changes the present working directory to the directory of a provisioned node. This makes it easier to edit files and create a unique provisioned node in the backup.
This command can only be run on AMF master nodes.
Syntax atmf provision node <nodename> locate
Parameter
<nodename>
Description
The name of the provisioned node.
Mode Privileged Exec
Usage This command is only available on master nodes in the AMF network. The command will only work if the provisioned node specified in the command has already been set up. Otherwise, an error message is shown when the command is run.
NOTE : We advise that after running this command, you return to a known working directory, typically flash.
Example To change the working directory that happens to be on device1 to the directory of provisioned node device2, use the following command: device1# atmf provision node device2 locate
The directory of the node device2 should now be the working directory. You can use the command
pwd to check this, as shown in the following figure.
Figure 39-6: Sample output from the pwd command
device2#pwd card:/atmf/building_2/nodes/device2/flash
The output above shows that the working directory is now the flash of device2.
Related commands
1260 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF REBOOT ROLLING
atmf reboot-rolling
Overview This command enables you to reboot the nodes in an AMF working-set, one at a time, as a rolling sequence in order to minimize downtime. Once a rebooted node has finished running its configuration and its ports are up, it re-joins the AMF network and the next node is rebooted.
By adding the url parameter, you can also upgrade your devices’ software one AMF node at a time.
The force parameter forces the rolling reboot to continue even if a previous node does not rejoin the AMF network. Without the force parameter, the unsuitable node will time-out and the rolling reboot process will stop. However, with the force parameter applied, the process will ignore the timeout and move on to reboot the next node in the sequence.
This command can take a significant amount of time to complete.
Syntax atmf reboot-rolling [force] [< url >]
Parameter force
< url >
Description
Ignore a failed node and move on to the next node. Where a node fails to reboot a timeout is applied based on the time taken during the last reboot.
The path to the software upgrade file.
Mode Privileged Exec
Usage You can load the software from a variety of locations. The latest compatible release for a node will be selected from your selected location, based on the parameters and URL you have entered.
For example card:/5.4.6/x*-5.4.6-*.rel will select from the folder card:/5.4.6 the latest file that matches the selection x (wildcard) -5.4.6-(wildcard).rel. Because x* is applied, each device type will be detected and its appropriate release file will be installed.
Other allowable entries are:
C613-50135-01 Rev A
Entry card:*.rel: tftp: <ip-address> : usb: flash: scp: http:
Used when loading software from an SD card from a TFTP server from a USB flash drive from flash memory, e.g. from one x610 switch to another using secure copy from an HTTP file server
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1261
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF REBOOT ROLLING
Several checks are performed to ensure the upgrade will succeed. These include checking the current node release boots from flash. If there is enough space on flash, the software release is copied to flash to a new location on each node as it is processed. The new release name will be updated using the boot system <release-name> command, and the old release will become the backup release file.
NOTE : If you are using TFTP or HTTP, for example, to access a file on a remote device then the URL should specify the exact release filename without using wild card characters.
On bootup the software release is verified. Should an upgrade fail, the upgrading unit will revert back to its previous software version. At the completion of this command, a report is run showing the release upgrade status of each node.
NOTE : Take care when removing external media or rebooting your devices. Removing an external media while files are being written entails a significant risk of causing a file corruption.
Example 1 To reboot all x510 nodes in an AMF network, use the following command:
Bld2_Floor_1# atmf working-set group x510
This command returns the following type of screen output:
==================== node1, node2, node3:
====================
Working set join
AMF_NETWORK[3]#
ATMF_NETWORK[3]# atmf reboot-rolling
When the reboot has completed, a number of status screens appear. The selection of these screens will depend on the parameters set.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1262
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF REBOOT ROLLING
Bld2_Floor_1#atmf working-set group x510
=============================
SW_Team1, SW_Team2, SW_Team3:
=============================
Working set join
ATMF_NETWORK[3]#atmf reboot-rolling
ATMF Rolling Reboot Nodes:
Timeout
Node Name (Minutes)
----------------------------
SW_Team1 14
SW_Team2 8
SW_Team3 8
Continue the rolling reboot ? (y/n):y
==================================================
ATMF Rolling Reboot: Rebooting SW_Team1
==================================================
% SW_Team1 has left the working-set
Reboot of SW_Team1 has completed
==================================================
ATMF Rolling Reboot: Rebooting SW_Team2
==================================================
% SW_Team2 has left the working-set
Reboot of SW_Team2 has completed
==================================================
ATMF Rolling Reboot: Rebooting SW_Team3
==================================================
% SW_Team3 has left the working-set
Reboot of SW_Team3 has completed
==================================================
ATMF Rolling Reboot Complete
Node Name Reboot Status
----------------------------------
SW_Team1 Rebooted
SW_Team2 Rebooted
SW_Team3 Rebooted
==================================================
Example 2 To update firmware releases, use the following command:
Node_1# atmf working-set group all
ATMF_NETWORK[9]# atmf reboot-rolling card:/5.4.6/x*-5.4.6-*.rel
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1263
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF REBOOT ROLLING
ATMF Rolling Reboot Nodes:
Timeout
Node Name (Minutes) New Release File Status
--------------------------------------------------------------------------
SW_Team1 8 x510-5.4.6-0.1.rel Release Ready
SW_Team2 10 x510-5.4.6-0.1.rel Release Ready
SW_Team3 8 --- Not Supported
HW_Team1 6 --- Incompatible
Bld1_Floor_2 2 x610-5.4.6-0.1.rel Release Ready
Bld1_Floor_1 4 --- Incompatible
Building_1 2 --- Incompatible
Building_2 2 x908-5.4.6-0.1.rel Release Ready
Continue upgrading releases ? (y/n):
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1264
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF RECOVER
atmf recover
Overview This command is used to manually initiate the recovery (or replication) of an AMF node, usually when a node is being replaced.
Syntax atmf recover [ <node-name> master <node-name> ] atmf recover [ <node-name> controller <node-name> ]
Parameter
< node-name >
Description
The name of the device whose configuration is to be recovered or replicated.
master
<node-name>
The name of the master device that holds the required configuration information.
Note that although you can omit both the node name and the master name; you cannot specify a master name unless you also specify the node name.
controller <node- name>
The name of the controller that holds the required configuration information.
Note that although you can omit both the node name and the controller name; you cannot specify a controller name unless you also specify the node name.
Mode Privileged Exec
Usage The recovery/replication process involves loading the configuration file for a node that is either about to be replaced or has experienced some problem. You can specify the configuration file of the device being replaced by using the
<node-name> parameter, and you can specify the name of the master node or controller holding the configuration file.
If the <node-name> parameter is not entered then the node will attempt to use one that has been previously configured. If the replacement node has no previous configuration (and has no previously used node-name), then the recovery will fail.
If the master or controller name is not specified then the device will poll all known
AMF masters and controllers and execute an election process (based on the last successful backup and its timestamp) to determine which to use. If no valid backup master or controller is found, then this command will fail.
No error checking occurs when this command is run. Regardless of the last backup status, the recovering node will attempt to load its configuration from the specified master node or controller.
If the node has previously been configured, we recommend that you suspend any
AMF backup before running this command. This is to prevent corruption of the backup files on the AMF master as it attempts to both backup and recover the node at the same time.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1265
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF RECOVER
Example To recover the AMF node named Node_10 from the AMF master node named
Master_2, use the following command:
Master_2# atmf recover Node_10 master Master_2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1266
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF RECOVER GUEST
atmf recover guest
Overview Use this command to initiate a guest node recovery or replacement by reloading its backup file-set that is located within the AMF backup system. Note that this command must be run on the edge node device that connects to the guest node.
Syntax atmf recover guest [ <guest-port> ]
Parameter
<guest-port>
Description
The port number that connects to the guest node.
Mode User Exec/Privileged Exec
Example To recover a guest on node1 port1.0.1, use the following command node1# atmf recover guest port1.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1267
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF RECOVER LED OFF
atmf recover led-off
Overview This command turns off the recovery failure flashing port LEDs. It reverts the LED’s function to their normal operational mode, and in doing so assists with resolving the recovery problem. You can repeat this process until the recovery failure has been resolved. For more information, see the AMF Feature Overview and
Configuration Guide .
Syntax atmf recover led-off
Default Normal operational mode
Mode Privileged Exec
Example To revert the LEDs on Node1 from recovery mode display to their normal operational mode, use the command:
Node1# atmf recover led-off
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1268
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF REMOTE LOGIN
atmf remote-login
Overview Use this command to remotely login to other AMF nodes in order to run commands as if you were a local user of that node.
Syntax atmf remote-login [user < name> ] < nodename >
Parameter
<name>
<nodename>
Description
The name of a user on the remote node.
The name of the remote AMF node you are connecting to.
Mode Privileged Exec (This command will only run at privilege level 15)
Usage You do not need a valid login on the local device in order to run this command. The session will take you to the enable prompt on the new device. If the remote login session exits for any reason (e.g. device reboot) you will be returned to the originating node.
You can create additional user accounts on nodes. AMF's goal is to provide a uniform management plane across the whole network, so we recommend you use the same user accounts on all the nodes in the network.
In reality, though, it is not essential to have the same accounts on all the nodes.
Users can remote login from one node to a second node even if they are logged into the first node with a user account that does not exist on the second node
(provided that
is disabled and the user account on the first node has privilege level 15).
Moreover, it is possible to use a RADIUS or TACACS+ server to manage user authentication, so users can log into AMF nodes using user accounts that are present on the RADIUS or TACACS+ server, and not present in the local user databases of the AMF nodes.
The software will not allow you to run multiple remote login sessions. You must exit an existing session before starting a new one.
If you disconnect from the VTY session without first exiting from the AMF remote session, the device will keep the AMF remote session open until the
time expires (10 minutes by default). If the exec-timeout time is set to infinity
( exec-timeout 0 0 ), then the device is unable to ever close the remote session. To avoid this, we recommend you use the exit command to close AMF remote sessions, instead of closing the associated VTY sessions. We also recommend you avoid setting the exec-timeout to infinity.
Example To remotely login from node Node10 to Node20, use the following command:
Node10# atmf remote-login node20
Node20>
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1269
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF REMOTE LOGIN
To close the session on Node20 and return to Node10’s command line, use the following command:
Node20# exit
Node10#
In this example, user User1 is a valid user of node5. They can remotely login from node5 to node3 by using the following commands: node5# atmf remote-login user User1 node3 node3> enable
Related
Commands
Command changes
Version 5.4.6-2.1: changes to AMF user account requirements
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1270
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF RESTRICTED LOGIN
atmf restricted-login
Overview By default, users who are logged into any node on an AMF network are able to manage any other node by using either working-sets or an AMF remote login. If the access provided by this feature is too wide, or contravenes network security restrictions, it can be limited by running this command, which changes the access so that:
•
• users who are logged into non-master nodes cannot execute any commands that involve working-sets, and from non-master nodes, users can use remote-login, but only to login to a user account that is valid on the remote device (via a statically configured account or RADIUS/TACACS+). Users are also required to enter the password for that user account.
Once entered on any AMF master node, this command will propagate across the network.
Use the no variant of this command to disable restricted login on the AMF network. This allows access to the atmf working-set command from any node in the AMF network.
Syntax atmf restricted-login no atmf restricted-login
Mode Privileged Exec
Default Master nodes operate with atmf restricted-login disabled.
Member nodes operate with atmf restricted-login enabled.
NOTE
: The default conditions of this command vary from those applied by its “no” variant. This is because the restricted-login action is only applied by master nodes, and in the absence of a master node, the default is to apply the restricted action to all member nodes with AMF configured.
Usage In the presence of a master node, its default of atmf restricted-login disabled will propagate to all its member nodes. Similarly, any change in this command’s status that is made on a master node, will also propagate to all its member nodes
Note that once you have run this command, certain other commands that utilize the AMF working-set command, such as the include , atmf reboot-rolling and show atmf group members commands, will operate only on master nodes.
Restricted-login must be enabled on AMF areas with more than 120 nodes.
Example To enable restricted login, use the command
Node_20(config)# atmf restricted-login node20
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1271
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF RESTRICTED LOGIN
Command changes
Version 5.4.6-2.1: changes to AMF user account requirements
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1272
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF SELECT AREA
atmf select-area
Overview Use this command to access devices in an area outside the core area on the controller network. This command will connect you to the remote area-master of the specified area.
This command is only valid on AMF controllers.
The no variant of this command disconnects you from the remote area-master.
Syntax atmf select-area {< area-name >|local} no atmf select-area
Parameter Description
< area-name > Connect to the remote area-master of the area with this name.
local Return to managing the local controller area.
Mode Privileged Exec
Usage
After running this command, use the atmf working-set
command to select the set of nodes you want to access in the remote area.
Example To access nodes in the area Canterbury, use the command controller-1# atmf select-area Canterbury
This displays the following output:
Test_network[3]#atmf select-area Canterbury
==============================================
Connected to area Canterbury via host Avensis:
==============================================
To return to the local area for controller-1, use the command controller-1# atmf select-area local
Alternatively, to return to the local area for controller-1, use the command controller-1# no atmf select-area
Related
Commands
1273 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF VIRTUAL LINK
atmf virtual-link
Overview This command creates one or more Layer 2 tunnels that enable AMF nodes to transparently communicate across a wide area network using Layer 2 connectivity protocols.
Once connected through the tunnel, the remote member will have the same AMF capabilities as a directly connected AMF member.
Use the no variant of this command to remove the specified virtual link.
Syntax atmf virtual-link id <1-4094> ip < a.b.c.d
> remote-id <1-4094> remote-ip < a.b.c.d
> [remote-area < area-name >] no atmf virtual-link id <1-4094>
Parameter ip
< a.b.c.d
> remote-id
<1-4094> remote-ip
< a.b.c.d
> remote-area
< area-name >
Description
The Internet Protocol (IP).
The IP address, of the local amf node (at its interface to the tunnel) entered in a.b.c.d format.
The ID of the (same) tunnel that will be applied by the remote node. Note that this must match the local-id that is defined on the remote node. This means that (for the same tunnel) the local and remote tunnel IDs are reversed on the local and remote nodes.
The ID range 1-4094.
The IP address of the remote node
The IP address, of the remote node (at its interface to the tunnel) entered in a.b.c.d format.
The remote area connected to this area virtual link
The name of the remote area connected to this virtual link.
Mode Global Configuration
Usage The Layer 2 tunnel that this command creates enables a local AMF session to appear to pass transparently across a Wide Area Network (WAN) such as the
Internet. The addresses configured as the local and remote tunnel IP addresses must have IP connectivity to each other. If the tunnel is configured to connect a head office and branch office over the Internet, typically this would involve using some type of managed WAN service such as a site-to-site VPN. Tunnels are only supported using IPv4.
Configuration involves creating a local tunnel ID, a local IP address, a remote tunnel ID and a remote IP address. A reciprocal configuration is also required on the corresponding remote device. The local tunnel ID must be unique to the device on which it is configured.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1274
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF VIRTUAL LINK
The tunneled link may operate via external (non AlliedWare Plus) routers in order to provide wide area network connectivity. However in this configuration, the routers perform a conventional router to router connection. The protocol tunneling function is accomplished by the AMF nodes.
NOTE : AMF cannot achieve zero touch replacement of the remote device that terminates the tunnel connection, because you must pre-configure the local IP address and tunnel ID on that remote device.
Example 1 Use the following commands to create the tunnel shown in the figure below.
Figure 39-7: AMF virtual link example
!-&
,OCAL3ITE
SUBNET
)0(EADER 5$0(EADER
3WITCH
!-&.ODE
!-&VIRTUALLINKIDIPREMOTEIDREMOTEIP%XAMPLE
!-&
2EMOTE3ITE
SUBNET
2OUTER 2OUTER
)0.ETWORK
3WITCH
!-&.ODE
4UNNELLED0ACKET
4UNNEL)$
4UNNELREMOTE)$
4UNNEL)$
4UNNELREMOTE)$
ATMFVIRTUALLINK)$AND)0%XAMPLE EPS
Node_10(config)# atmf virtual-link id 1 ip 192.168.1.1 remote-id 2 remote-ip 192.168.2.1
Node_20(config)# atmf virtual-link id 2 ip 192.168.2.1 remote-id 1 remote-ip 192.168.1.1
Example 2 To set up an area virtual link to a remote site (assuming IP connectivity between the sites already), one site must run the following commands:
SiteA# configure terminal
SiteA(config)# atmf virtual-link id 5 ip 192.168.100.1 remote-id 10 remote-ip 192.168.200.1 remote-area SiteB-AREA
The second site must run the following commands:
SiteB# configure terminal
SiteB(config)# atmf virtual-link id 10 ip 192.168.200.1 remote-id 5 remote-ip 192.168.100.1 remote-area SiteA-AREA
Before you can apply the above atmf virtual-link command, you must configure the area names SiteB-AREA and SiteA-AREA .
Validation
Command
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1275
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF WORKING SET
atmf working-set
Overview Use this command to execute commands across an individually listed set of AMF nodes or across a named group of nodes.
Note that this command can only be run on a master node.
Use the no variant of this command to remove members or groups from the current working-set.
Syntax atmf working-set {[ <node-list> ]|[group
{ <group-list> |all|local|current}]} no atmf working-set {[ <node-list> ]|[group <group-list> ]}
Parameter
<node-list>
Description group The AMF group.
<group-list> A comma delimited list (without spaces) of groups to be included in the working-set. Note that this can include either defined groups, or any of the Automatic, or Implicit Groups shown earlier in the bulleted list of groups.
all local
A comma delimited list (without spaces) of nodes to be included in the working-set.
All nodes in the AMF.
Local node
Running this command with the parameters group local will return you to the local prompt and local node connectivity.
current Nodes in current list.
Mode Privileged Exec
Usage
You can put AMF nodes into groups by using the atmf group (membership) command.
This command opens a session on multiple network devices. When you change the working set to anything other than the local device, the prompt will change to the
AMF network name, followed by the size of the working set, shown in square brackets. This command has to be run at privilege level 15.
In addition to the user defined groups, the following system assigned groups are automatically created:
• Implicit Groups
– local: The originating node.
–
– current: All nodes that comprise the current working-set.
all: All nodes in the AMF.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1276
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ATMF WORKING SET
• Automatic Groups - These can be defined by hardware architecture, e.g. x510, x610, x8100, AR3050S or AR4050S, or by certain AMF nodal designations such as master.
Note that the Implicit Groups do not appear in
show atmf group command output.
If a node is an AMF master it will be automatically added to the master group.
Example 1 To add all nodes in the AMF to the working-set, use the command: node1# atmf working-set group all
NOTE : This command adds the implicit group “all” to the working set, where “all” comprises all nodes in the AMF.
This command displays an output screen similar to the one shown below:
========================================= node1, node2, node3, node4, node5, node6:
==============================================
Working set join
ATMF_NETWORK_Name[6]#
Example 2 To return to the local prompt, and connect to only the local node, use the command:
ATMF_Network_Name[6]# atmf working-set group local node1#
The following table describes the meaning of the prompts in this example.
Parameter Description
ATMF_Network_Name The name of the AMF network, as set by the
[6] node1
The number of nodes in the working-set.
The name of the local node, as set by the command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1277
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
CLEAR ATMF LINKS STATISTICS
clear atmf links statistics
Overview This command resets the values of all AMF link, port, and global statistics to zero.
Syntax clear atmf links statistics
Mode Privilege Exec
Example To reset the AMF link statistics values, use the command: node_1# clear atmf links statistics
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1278
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DEBUG ATMF
debug atmf
Overview This command enables the AMF debugging facilities, and displays information that is relevant (only) to the current node. The detail of the debugging displayed depends on the parameters specified.
If no additional parameters are specified, then the command output will display all
AMF debugging information, including link events, topology discovery messages and all notable AMF events.
The no variant of this command disables either all AMF debugging information, or only the particular information as selected by the command’s parameters.
Syntax debug atmf
[link|crosslink|arealink|database|neighbor|error|all] no debug atmf
[link|crosslink|arealink|database|neighbor|error|all]
Parameter link crosslink arealink database neighbor error all
Description
Output displays debugging information relating to uplink or downlink information.
Output displays all crosslink events.
Output displays all arealink events.
Output displays only notable database events.
Output displays only notable AMF neighbor events.
Output displays AMF error events.
Output displays all AMF events.
Default All debugging facilities are disabled.
Mode User Exec and Global Configuration
Usage If no additional parameters are specified, then the command output will display all
AMF debugging information, including link events, topology discovery messages and all notable AMF events.
NOTE
: An alias to the no variant of this command is
Examples To enable all AMF debugging, use the command: node_1# debug atmf
To enable AMF uplink and downlink debugging, use the command: node_1# debug atmf link
To enable AMF error debugging, use the command: node_1# debug atmf error
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1279
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DEBUG ATMF
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1280
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DEBUG ATMF PACKET
debug atmf packet
Overview This command configures AMF Packet debugging parameters. The debug only displays information relevant to the current node. The command has following parameters:
Syntax debug atmf packet[[direction {rx|tx|both}][level
{1|2|3}][timeout < seconds >][num-pkts < quantity >][filter node
< name > [interface < ifname >][pkt-type
{[1][2][3][4][5][6][7][8][9][10][11][12][13]]]
Simplified
Syntax debug atmf packet debug atmf packet filter
[direction {rx|tx|both}]
[level {[1][2|3}]
[timeout < seconds >]
[num-pkts < quantity >]
[node < name >]
[interface < ifname >]
[pkt-type
[1][2][3][4][5][6][7][8][9][10][11][12][13]]
NOTE : You can combine the syntax components shown, but when doing so, you must retain their original order.
Default Level 1, both Tx and Rx, a timeout of 60 seconds with no filters applied.
NOTE
: An alias to the no variant of this command -
elsewhere in this chapter.
Mode User Exec and Global Configuration
Usage If no additional parameters are specified, then the command output will apply a default selection of parameters shown below:
2
3
Parameter direction rx tx
1
Description
Sets debug to packet received, transmitted, or both packets received by this node
Packets sent from this node
AMF Packet Control header Information, Packet Sequence
Number. Enter 1 to select this level.
AMF Detailed Packet Information. Enter 2 to select this level.
AMF Packet HEX dump. Enter 3 to select this level.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1281
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DEBUG ATMF PACKET
2
3
4
5
6
7
8
9
10
11
12
13
Parameter timeout
<seconds> num-pkts
<quantity> filter node
<name> interface
< ifname > pkt-type
1
Description
Sets the execution timeout for packet logging
Seconds
Sets the number of packets to be dumped
The actual number of packets
Sets debug to filter packets
Sets the filter on packets for a particular Node
The name of the remote node
Sets the filter to dump packets from an interface (portx.x.x) on the local node
Interface port or virtual-link
Sets the filter on packets with a particular AMF packet type
Crosslink Hello BPDU packet with crosslink links information. Enter
1 to select this packet type.
Crosslink Hello BPDU packet with downlink domain information.
Enter 2 to select this packet type.
Crosslink Hello BPDU packet with uplink information. Enter 3 to select this packet type.
Downlink and uplink hello BPDU packets. Enter 4 to select this packet type.
Non broadcast hello unicast packets. Enter 5 to select this packet type.
Stack hello unicast packets. Enter 6 to select this packet type.
Database description. Enter 7 to select this packet type.
DBE request. Enter 8 to select this packet type.
DBE update. Enter 9 to select this packet type.
DBE bitmap update. Enter 10 to select this packet type.
DBE acknowledgment. Enter 11 to select this packet type.
Area Hello Packets. Enter 12 to select this packet type.
Gateway Hello Packets. Enter 13 to select this packet type.
Examples To set a packet debug on node 1 with level 1 and no timeout, use the command: node_1# debug atmf packet direction tx timeout 0
To set a packet debug with level 3 and filter packets received from AMF node 1: node_1# debug atmf packet direction tx level 3 filter node_1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1282
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DEBUG ATMF PACKET
To enable send and receive 500 packets only on vlink1 for packet types 1, 7, and 11, use the command: node_1# debug atmf packet num-pkts 500 filter interface vlink1 pkt-type 1 7 11
This example applies the debug atmf packet command and combines many of its options: node_1# debug atmf packet direction rx level 1 num-pkts 60 filter node x610 interface port1.0.1 pkt-type 4 7 10
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1283
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DISCOVERY
discovery
Overview AMF nodes gather information about guest nodes by using one of two internally defined discovery methods: static or dynamic. This is one of several modal commands that are configured from within its specific guest-class (mode).
Dynamic discovery (the default method) involves learning IP address and MAC addresses of guest nodes from protocols outside of AMF such as LLDP or DHCP snooping. Dynamic learning is only supported when using IPv4. For IPv6 the static discovery method must be used.
Note that if the discovery method is dynamic, you should ensure that the
command ip dhcp snooping delete-by-linkdown
is set.
The static method involves entering the guest class name and IP address using the
switchport atmf-guestlink command to separately assign an individual switch port
to each of the guest nodes. The MAC addresses of each of the guests of that class can then be learned from ARP or Neighbor discovery tables. If you are using the static discovery method, you must ensure that you have configured the appropriate class type for each of your statically discovered guest nodes.
The no variant of this command returns the discovery method to dynamic .
Syntax discovery [static|dynamic] no discovery
Parameter static dynamic
Description
Statically assigned
Learned from DCHCPSN or LLDP
Default Dynamic
Mode ATMF Guest Configuration Mode
Usage This command is one of several modal commands that are configured and applied for a specific guest-class (mode) and whose settings are automatically applied to a
guest-node link by the switchport atmf-guestlink command.
Example 1 To configure the discovery of the guest-class camera to operate statically, use the following commands:
Node1# conf t
Node1(config)# atmf guest-class camera
Node1(config-guest)# discovery static
Node1(config-guest)# end
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1284
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
DISCOVERY
Example 2 To return the discovery method for the guest class TQ4600-1 to its default of dynamic , use the following commands:
Node1# conf t
Node1(config)# atmf guest-class TQ4600-1
Node1(config-guest)# no discovery
Node1(config-guest)# end
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1285
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
ERASE FACTORY DEFAULT
erase factory-default
Overview This command erases all data from NVS and all data from flash excluding the following:
•
• the current release file the backup release file
• license files
The device is then rebooted and returned to its factory default condition. The device can then be used for automatic node recovery.
Syntax erase factory-default
Mode Privileged Exec.
Usage This command is an alias to the
command.
Example To erase data, use the command:
Node_1# erase factory-default
This command will erase all NVS, all flash contents except for the boot release, and any license files, and then reboot the switch. Continue? (y/n):y
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1286
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
HTTP ENABLE
http-enable
Overview This command is used to enable GUI access to a guest node. When http-enable is configured the port number is set to its default of 80. If the guest node is using a different port for HTTP, you can configure this using the port <PORTNO> attribute.
This command is used to inform the GUI that this device has an HTTP interface at the specified port number so that a suitable URL can be provided to the user.
Use the no variant of this command to disable HTTP.
Syntax http-enable [port < PORTNO >] no http-enable
Parameter port
< PORTNO >
Description
TCP port number.
The port number to be configured.
Default http-enable is off.
If http-enable is selected without a port parameter the port number will default to
80.
Mode ATMF Guest Configuration Mode
Example 1 To enable HTTP access on port 80 (the default) of a guest node, use the following commands: node1# conf t node1(config)# atmf guest-class Camera node1(config-atmf-guest)# http-enable node1(config-atmf-guest)#
Example 2 To enable HTTP access on port 400 of a guest node, use the following commands: node1# conf t node1(config)# atmf guest-class Camera node1(config-atmf-guest)# http-enable port 400 node1(config-atmf-guest)#
Example 3 To disable HTTP access of a guest node, use the following commands: node1# conf t node1(config)# atmf guest-class Camera node1(config-atmf-guest)# no http-enable node1(config-atmf-guest)#
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1287
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
HTTP ENABLE
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1288
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
MODELTYPE
modeltype
Overview This command sets the expected model type of the guest node. Guest nodes can be one of various types: alliedware, aw+, tq or other. The model type will default to other if nothing is set.
Use the no variant of this command to reset the model type to other .
Syntax modeltype [alliedware|aw+|tq|other]
Parameter alliedware aw+ tq other
Description
A legacy Allied Telesis operating system.
The Allied Telesis AlliedWare Plus operating system.
An Allied Telesis TQ Series wireless access point.
Used where the model type is outside the above definitions.
Default Will default to other
Mode ATMF Guest Configuration Mode
Example 1 To assign the model type tq to the guest-class called tq_device , use the following commands: node1# conf t node1(config)# atmf guest-class tq_device node1(config-atmf-guest)# modeltype tq node1(config-atmf-guest)# end
Example 2 To remove the model type tq from the guest-class called tq_device, and reset it to the default of other , use the following commands: node1# conf t node1(config)# atmf guest-class tq_device node1(config-atmf-guest)# no modeltype node1(config-atmf-guest)# end
Related
Commands
1289 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF
show atmf
Overview Displays information about the current AMF node.
Syntax show atmf [summary|tech|nodes|session]
Parameter summary tech nodes session
Description
Displays summary information about the current AMF node.
Displays global AMF information.
Displays a list of AMF nodes together with brief details.
Displays information on an AMF session.
Default Only summary information is displayed.
Mode User Exec and Privileged Exec
Usage AMF uses internal VLANs to communicate between nodes about the state of the
AMF network. Two VLANs have been selected specifically for this purpose. Once these have been assigned, they are reserved for AMF and cannot be used for other purposes
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Example 1 To show summary information on AMF node_1 use the following command: node_1# show atmf summary
Table 1: Output from the show atmf summary command
node_1#show atmf summary
ATMF Summary Information:
ATMF Status : Enabled
Network Name : Test_network
Node Name : node_1
Role : Master
Restricted login : Disabled
Current ATMF Nodes : 3
Example 2 To show information specific to AMF nodes use the following command: node_1# show atmf nodes
Example 3 The show amf session command displays all CLI (Command Line Interface) sessions for users that are currently logged in and running a CLI session.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1290
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF
To display AMF active sessions, use the following command: node_1# show atmf session
For example, in the output below, node_1 and node_5 have active users logged in.
Table 2: Output from the show atmf session command
node_1#show atmf session
CLI Session Neighbors
Session ID : 73518
Node Name : node_1
PID : 7982
Link type : Broadcast-cli
MAC Address : 0000.0000.0000
Options : 0
Our bits : 0
Link State : Full
Domain Controller : 0
Backup Domain Controller : 0
Database Description Sequence Number : 00000000
First Adjacency : 1
Number Events : 0
DBE Retransmit Queue Length : 0
DBE Request List Length : 0
Session ID : 410804
Node Name : node_5
PID : 17588
Link type : Broadcast-cli
MAC Address : 001a.eb56.9020
Options : 0
Our bits : 0
Link State : Full
Domain Controller : 0
Backup Domain Controller : 0
Database Description Sequence Number : 00000000
First Adjacency : 1
Number Events : 0
DBE Retransmit Queue Length : 0
DBE Request List Length : 0
Example 4 The AMF tech command collects all the AMF commands, and displays them. You can use this command when you want to see an overview of the AMF network.
To display AMF technical information, use the following command: node_1# show atmf tech
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1291
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF
Table 3: Output from the show atmf tech command node_1#show atmf tech
ATMF Summary Information:
ATMF Status : Enabled
Network Name : ATMF_NET
Node Name : node_1
Role : Master
Current ATMF Nodes : 8
ATMF Technical information:
Network Name : ATMF_NET
Domain : node_1's domain
Node Depth : 0
Domain Flags : 0
Authentication Type : 0
MAC Address : 0014.2299.137d
Board ID : 287
Domain State : DomainController
Domain Controller : node_1
Backup Domain Controller : node2
Domain controller MAC : 0014.2299.137d
Parent Domain :
Parent Domain Controller :
Parent Domain Controller MAC : 0000.0000.0000
Number of Domain Events : 0
Crosslink Ports Blocking : 0
Uplink Ports Waiting on Sync : 0
Crosslink Sequence Number : 7
Domains Sequence Number : 28
Uplink Sequence Number : 2
Number of Crosslink Ports : 1
Number of Domain Nodes : 2
Number of Neighbors : 5
Number of Non Broadcast Neighbors : 3
Number of Link State Entries : 1
Number of Up Uplinks : 0
Number of Up Uplinks on This Node : 0
DBE Checksum : 84fc6
Number of DBE Entries : 0
Management Domain Ifindex : 4391
Management Domain VLAN : 4091
Management ifindex : 4392
Management VLAN : 4092
Table 4: Parameter definitions from the show atmf tech command
Parameter
ATMF Status
Network Name
Definition
The Node’s AMF status, either Enabled or Disabled.
The AMF network that a particular node belongs to.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1292
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF
Table 4: Parameter definitions from the show atmf tech command (cont.)
Parameter
Node Name
Role
Current ATMF
Nodes
Node Address
Node ID
Node Depth
Definition
The name assigned to a particular node.
The role configured for this AMF device, either Master or Member.
The count of AMF nodes in an AMF Network.
An address used to access a remotely located node (.atmf ).
A unique identifier assigned to a Node on an AMF network.
The number of nodes in path from this node to level of the AMF root node. It can be thought of as the vertical depth of the AMF network from a particular node to the zero level of the AMF root node.
Domain State
Recovery State
The state of Node in a Domain in AMF network as Controller/Backup.
Management VLAN The VLAN created for traffic between Nodes of different domain (up/down links).
• VLAN ID - In this example VLAN 4092 is configured as the Management VLAN.
• Management Subnet - Network prefix for the subnet.
• Management IP Address - The IP address allocated for this traffic.
• Management Mask - The subnet mask used to create a subnet for this traffic
(255.255.128.0).
Domain VLAN
The AMF node recovery status. Indicates whether a node recovery is in progress on this device - Auto, Manual, or None.
The VLAN assigned for traffic between Nodes of same domain (crosslink).
• VLAN ID - In this example VLAN 4091 is configured as the domain VLAN.
• Domain Subnet. The subnet address used for this traffic.
• Domain IP Address. The IP address allocated for this traffic.
• Domain Mask. The subnet mask used to create a subnet for this traffic
(255.255.128.0).
Device Type
ATMF Master
SC
The Product Series name.
Whether the node is an AMF master node for its area (‘Y‘ if it is and ‘N’ if it is not).
The device configuration, one of C - Chassis (SBx8100 Series), S - Stackable (VCS) or N
- Standalone.
Parent
Node Depth
The node to which the current node has an active uplink.
The number of nodes in the path from this node to the master node.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1293
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA
show atmf area
Overview Use this command to display information about an AMF area. On AMF controllers, this command displays all areas that the controller is aware of. On remote AMF masters, this command displays the controller area and the remote local area. On gateways, this command displays the controller area and remote master area.
Syntax show atmf area [detail] [< area-name >]
Parameter detail
Description
Displays detailed information
< area-name > Displays information about master and gateway nodes in the specified area only.
Mode Privileged Exec
Example 1 To show information about all areas, use the command: controller-1# show atmf area
The following figure shows example output from running this command on a controller.
Table 5: Example output from the show atmf area command on a Controller.
controller-1#show atmf area
ATMF Area Information:
* = Local area
Area Area Local Remote Remote Node
Name ID Gateway Gateway Master Count
---------------------------------------------------------------------------
* NZ 1 Reachable N/A N/A 3
Wellington 2 Reachable Reachable Auth OK 120
Canterbury 3 Reachable Reachable Auth Error -
SiteA-AREA 14 Unreachable Unreachable Unreachable -
Auckland 100 Reachable Reachable Auth Start -
Southland 120 Reachable Reachable Auth OK 54
Area count: 6 Area node count: 177
The following figure shows example output from running this command on a remote master.
1294 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA
Table 6: Example output from the show atmf area command on a remote master.
Canterbury#show atmf area
ATMF Area Information:
* = Local area
Area Area Local Remote Remote Node
Name ID Gateway Gateway Master Count
---------------------------------------------------------------------------
NZ 1 Reachable N/A N/A -
* Canterbury 3 Reachable N/A N/A 40
Area count: 2 Local area node count: 40
Table 7: Parameter definitions from the show atmf area command
Parameter
*
Area Name
Area ID
Local Gateway
Remote Gateway
Definition
Indicates the area of the device on which the command is being run.
The name of each area.
The ID of the area.
Whether the local gateway node is reachable or not.
Whether the remote gateway node is reachable or not. This is one of the following:
• Reachable, if the link has been established.
• Unreachable, if a link to the remote area has not been established. This could mean that a port or vlan is down, or that inconsistent VLANs have been configured
using the switchport atmf-arealink remote-area command.
• N/A for the area of the controller or remote master on which the command is being run, because the gateway node on that device is local.
• Auth Start, which may indicate that the area names match on the controller and remote master, but the IDs do not match.
• Auth Error, which indicates that the areas tried to authenticate but there is a problem. For example, the passwords configured on the controller and remote master may not match, or a password may be missing on the remote master.?
• Auth OK, which indicates that area authentication was successful and you can
command.
Remote Master Whether the remote master node is reachable or not. This is N/A for the area of the controller or remote master on which the command is being run, because the master node on that device is local.
Node Count
Area Count
The number of nodes in the area.
The number of areas controlled by the controller.
Area Node Count The total number of nodes in the area.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1295
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA
Example 2 To show detailed information about the areas, use the command: controller-1# show atmf area detail
The following figure shows example output from running this command.
Table 8: Output from the show atmf area detail command
controller-1#show atmf area detail
ATMF Area Detail Information:
Controller distance : 0
Controller Id : 21
Backup Available : FALSE
Area Id : 2
Gateway Node Name : controller-1
Gateway Node Id : 342
Gateway Ifindex : 6013
Masters Count : 1
Master Node Name : well-master (329)
Node Count : 2
Area Id : 3
Gateway Node Name : controller-1
Gateway Node Id : 342
Gateway Ifindex : 4511
Masters Count : 2
Master Node Name : cant1-master (15)
Master Node Name : cant2-master (454)
Node Count : 2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1296
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA GUESTS
show atmf area guests
Overview This command will display details of all guests that the controller is aware of.
Syntax show atmf area guests [< area-name > [ <node-name> ]]
Parameter
<area-name>
<node-name>
Description
The area name for guest information
The name of the node that connects to the guests.
Default N/A
Mode User Exec/Privileged Exec
Example 1 To display atmf area guest nodes on a controller, use the command,
GuestNode[1]# show atmf area guests
Output Figure 39-8: Example output from the show atmf area guests command main-building Area Guest Node Information:
Device MAC IP/IPv6
Type Address Parent Port Address
-----------------------------------------------------------------------------
- 0008.5d10.7635 x230 1.0.3 192.168.5.4
AT-TQ4600 eccd.6df2.da60 wireless-node1 1.0.4 192.168.5.3
- 0800.239e.f1fe x230 1.0.4 192.168.4.8
AT-TQ4600 001a.eb3b.dc80 wireless-node2 1.0.7 192.168.4.12
main-building guest node count 4
GuestNode[1]#
Table 9: Parameters in the output from show atmf area guests command
Parameter
Device Type
MAC Address
Parent
Port
IP/IPv6
Description
The device type as read from the guest node.
The MAC address of the guest-node
The device that directly connects to the guest-node
The port number on the parent node that connects to the guest node.
The IP or IPv6 address of the guest node.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1297
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA GUESTS
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1298
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA GUESTS DETAIL
show atmf area guests-detail
Overview This command displays the local and remote guest information from an AMF controller.
Syntax show atmf area guests-detail [< area-name > [< node-name >]]
Parameter
< area-name >
< node-name >
Description
The name assigned to the AMF area. An area is an AMF network that is under the control of an AMF Controller.
The name assigned to the network node.
Default N/A.
Mode Privileged Exec
Example To display detailed information for all guest nodes attached to “node1”, which is located within the area named “northern”, use the following command:
AMF_controller# show atmf area guests-detail northern node1
Output Figure 39-9: Example output from the show atmf guest detail command.
#show atmf guest detail
Node Name : Node1
Port Name : port1.0.5
Ifindex : 5005
Guest Description : tq4600
Device Type : AT-TQ4600
Configuration Mismatch : No
Backup Supported : Yes
MAC Address : eccd.6df2.da60
IP Address : 192.168.4.50
IPv6 Address : Not Set
HTTP Port : 80
Firmware Version :
Node Name : poe
Port Name : port1.0.6
Ifindex : 5006
Guest Description : tq3600
Device Type : AT-TQ2450
Configuration Mismatch : No
Backup Supported : Yes
MAC Address : 001a.eb3b.cb80
IP Address : 192.168.4.9
IPv6 Address : Not Set
HTTP Port : 80
Firmware Version :
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1299
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA GUESTS DETAIL
Table 10: Parameters shown in the output of the show atmf guest detail command
Parameter
Node Name
Port Name
IFindex
The name of the guest’s parent node.
The port on the parent node that connects to the guest.
An internal index number that maps to the port number on the parent node.
Guest Description A brief description of the guest node as manually entered into the
description (interface) command for the guest
node port on the parent node.
Device Type
Backup Supported
Description
The device type as supplied by the guest node itself.
Indicates whether AMF supports backup of this guest node.
MAC Address
IP Address
IPv6 Address
HTTP Port
The MAC address of the guest node.
The IP address of the guest node.
The IPv6 address of the guest node.
The HTTP port enables you to specify a port when enabling http to allow a URL for the http user interface of
a Guest Node. This is determined by the http-enable
command.
Firmware Version The firmware version that the guest node is currently running.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1300
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA NODES
show atmf area nodes
Overview Use this command to display summarized information about an AMF controller’s remote nodes.
Note that this command can only be run from a controller node.
Syntax show atmf area nodes [< area-name > [< node-name >]]
Parameter Description
< area-name > Displays information about nodes in the specified area.
< node-name > Displays information about the specified node.
Mode Privileged Exec
Usage If you do not limit the output to a single area or node, this command lists all remote nodes that the controller is aware of. This can be a very large number of nodes.
Example To show summarized information about all the nodes the controller is aware of, use the command: controller-1# show atmf area nodes
The following figure shows partial example output from running this command.
Table 11: Output from the show atmf area nodes command
controller-1#show atmf area nodes
Wellington Area Node Information:
Node Device ATMF Node
Name Type Master SC Parent Depth
----------------------------------------------------------------------------
well-gate x210-24GT N N well-master 1
well-master AT-x930-28GPX Y N none 0
Wellington node count 2
...
Table 12: Parameter definitions from the show atmf area nodes command
Parameter
Node Name
Device Type
Definition
The name assigned to a particular node.
The Product series name.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1301
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA NODES
Table 12: Parameter definitions from the show atmf area nodes command (cont.)
Parameter
ATMF Master
SC
Parent
Node Depth
Definition
Whether the node is an AMF master node for its area (‘Y‘ if it is and ‘N’ if it is not).
The device configuration, one of C - Chassis (SBx8100 series), S - Stackable (VCS) or N
- Standalone.
The node to which the current node has an active uplink.
The number of nodes in the path from this node to the master node.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1302
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA NODES DETAIL
show atmf area nodes-detail
Overview Use this command to display detailed information about an AMF controller’s remote nodes.
Note that this command can only be run from a controller node.
Syntax show atmf area nodes-detail [< area-name > [< node-name >]]
Parameter Description
< area-name > Displays detailed information about nodes in the specified area.
< node-name > Displays detailed information about the specified node.
Mode Privileged Exec
Usage If you do not limit the output to a single area or node, this command displays information about all remote nodes that the controller is aware of. This can be a very large number of nodes.
Example To show information about all the nodes the controller is aware of, use the command: controller-1# show atmf area nodes-detail
The following figure shows partial example output from running this command.
Table 13: Output from the show atmf area nodes-detail command
controller-1#show atmf area nodes-detail
Wellington Area Node Information:
Node name well-gate
Parent node name : well-master
Domain id : well-gate’s domain
Board type : 368
Distance to core : 1
Flags : 50
Extra flags : 0x00000006
MAC Address : 001a.eb56.9020
Node name well-master
Parent node name : none
Domain id : well-master’s domain
Board type : 333
Distance to core : 0
Flags : 51
Extra flags : 0x0000000c
MAC Address : eccd.6d3f.fef7
...
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1303
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA NODES DETAIL
Table 14: Parameter definitions from the show atmf area nodes-detail command
Parameter Definition
Node name The name assigned to a particular node.
Parent node name The node to which the current node has an active uplink.
Domain id
Board type The Allied Telesis code number for the device.
Distance to core The number of nodes in the path from the current node to the master node in its area.
Flags
Extra flags
MAC Address
Internal AMF information
Internal AMF information
The MAC address of the current node
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1304
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF AREA SUMMARY
show atmf area summary
Overview Use this command to display a summary of IPv6 addresses used by AMF, for one or all of the areas controlled by an AMF controller.
Syntax show atmf area summary [< area-name >]
Parameter Description
< area-name > Displays information for the specified area only.
Mode Privileged Exec
Example 1 To show a summary of IPv6 addresses used by AMF, for all of the areas controlled by controller-1, use the command: controller-1# show atmf area summary
The following figure shows example output from running this command.
Table 15: Output from the show atmf area summary command
controller-1#show atmf area summary
ATMF Area Summary Information:
Management Information
Local IPv6 Address : fd00:4154:4d46:1::15
Area Information
Area Name : NZ (Local)
Area ID : 1
Area Master IPv6 Address : -
Area Name : Wellington
Area ID : 2
Area Master IPv6 Address : fd00:4154:4d46:2::149
Area Name : Canterbury
Area ID : 3
Area Master IPv6 Address : fd00:4154:4d46:3::f
Area Name : Auckland
Area ID : 100
Area Master IPv6 Address : fd00:4154:4d46:64::17
Interface : vlink2000
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1305
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP
show atmf backup
Overview This command displays information about AMF backup status for all the nodes in an AMF network. It can only be run on AMF master and controller nodes.
Syntax show atmf backup [logs|server-status|synchronize [logs]]
Parameter logs server-status synchronize logs
Description
Displays detailed log information.
Displays connectivity diagnostics information for each configured remote file server.
Display the file server synchronization status
For each remote file server, display the logs for the last synchronization
Mode Privileged Exec
Example 1 To display the AMF backup information, use the command: node_1# show atmf backup
To display log messages to do with backups, use the command: node_1# show atmf backup logs
Table 39-1: Output from show atmf backup
Node_1# show atmf backup
ScheduledBackup ......Enabled
Schedule............1 per day starting at 03:00
Next Backup Time....01 Oct 2016 03:00
Backup Bandwidth .....Unlimited
Backup Media..........SD (Total 1974.0 MB, Free197.6MB)
Current Action........Starting manual backup
Started...............30 Sep 2016 10:08
CurrentNode...........atmf_testbox1
Backup Redundancy ....Enabled
Local media ........SD (Total 3788.0MB, Free 3679.5MB)
State ..............Active
Node Name Date Time In ATMF On Media Status
------------------------------------------------------------------------------- atmf_testbox1 30 Sep 2016 09:58:59 Yes Yes Good atmf_testbox2 30 Sep 2016 10:01:23 Yes Yes Good
1306 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP
Table 39-2: Output from show atmf backup logs
Node_1#show atmf backup logs
Backup Redundancy ..... Enabled
Local media ......... SD (Total 3788.0MB, Free 1792.8MB)
State ............... Inactive (Remote file server is not available)
Log File Location: card:/atmf/ATMF/logs/rsync_<node name>.log
Node
Name Log Details
------------------------------------------------------------------------------- atmf_testbox
2016/09/30 18:16:51 [9045] receiving file list
2016/09/30 18:16:51 [9047] .d..t.... flash/
2016/09/30 18:16:52 [9047] >f+++++++ flash/a.rel
Example 2 To display the AMF backup synchronization status, use the command: node_1# show atmf backup synchronize
To display log messages to do with synchronization of backups, use the command: node_1# show atmf backup synchronize logs
Table 39-3: Output from show atmf backup synchronize
Node_1#show atmf backup synchronize
ATMF backup synchronization:
* = Active file server
Id Date Time Status
-----------------------------------------------------------------
1 30 Sep 2016 22:25:57 Synchronized
* 2 - - Active
Table 39-4: Output from show atmf backup synchronize logs
Node_1#show atmf backup synchronize logs
Id Log Details
--------------------------------------------------------------------------------
1 2016/09/30 22:25:54 [8039] receiving file list
2016/09/30 22:25:54 [8039] >f..t.... backup_Box1.info
2016/09/30 22:25:54 [8039] sent 46 bytes received 39 bytes total size 40
Example 3 To display the AMF backup information with the optional parameter server-status , use the command:
Node_1# show atmf backup server-status
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1307
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP
Node1#sh atmf backup server-status
Id Last Check State
------------------------------------
1 186 s File server ready
2 1 s SSH no route to host
Table 40: Parameter definitions from the show atmf backup command
Parameter
Current Action
Definition
Scheduled
Backup
Indicates whether AMF backup scheduling is enabled or disabled.
Schedule Displays the configured backup schedule.
Next Backup Time Displays the date and time of the next scheduled.
Backup Media The current backup medium in use.
This will be one of USB, SD, or NONE.
Utilized and available memory (MB) will be indicated if backup media memory is present.
The task that the AMF backup mechanism is currently performing. This will be a combination of either (Idle, Starting, Doing, Stopping), or (manual, scheduled).
Started The date and time that the currently executing task was initiated in the format DD
MMM YYYY HH:MM
Current Node
Backup
Redundancy
Local media
The name of the node that is currently being backed up.
Whether backup redundancy is enabled or disabled.
The local media to be used for backup redundancy; SD or USB or NONE, and total and free memory available on the media.
State Whether SD or USB media is installed and available for backup redundancy. May be
Active (if backup redundancy is functional—requires both the local redundant backup media and a remote server to be configured and available) or Inactive.
Node Name
Date
Time
In ATMF
On Media
The name of the node that is storing backup data - on its backup media.
The data of the last backup in the format DD MMM YYYY.
The time of the last backup in the format HH:MM:SS.
Whether the node shown is active in the AMF network, (Yes or No).
Whether the node shown has a backup on the backup media (Yes or No).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1308
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP
Table 40: Parameter definitions from the show atmf backup command (cont.)
Parameter
Status
Log File
Location
Log Details server-status
Definition
The output can contain one of four values:
• “-” meaning that the status file cannot be found or cannot be read.
• “Errors” meaning that there are issues - note that the backup may still be deemed successful depending on the errors.
• “Stopped” meaning that the backup attempt was manually aborted;.
• “Good” meaning that the backup was completed successfully.
All backup attempts will generate a result log file in the identified directory based on the node name. In the above example this would be: card:/amf/office/logs/rsync_amf_testbox1.log.
The contents of the backup log file.
Displays connectivity diagnostics information for each configured remove file server.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1309
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP AREA
show atmf backup area
Overview Use this command to display backup status information for the master nodes in one or more areas.
Note that this command is only available on AMF controllers.
Syntax show atmf backup area [< area-name > [< node-name >]] [logs]
Parameter logs
Description
Displays the logs for the last backup of each node.
< area-name > Displays information about nodes in the specified area.
< node-name > Displays information about the specified node.
Mode Privileged Exec
Example To show information about backups for an area, use the command: controller-1# show atmf backup area
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1310
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP AREA
Table 41: Output from the show atmf backup area command
controller-1#show atmf backup area
Scheduled Backup ...... Enabled
Schedule ............ 12 per day starting at 14:30
Next Backup Time .... 15 Oct 2016 04:30
Backup Bandwidth ...... Unlimited
Backup Media .......... FILE SERVER 1 (Total 128886.5MB, Free 26234.2MB)
Server Config .........
* 1 .................. Configured (Mounted, Active)
Host .............. 10.37.74.1
Username .......... root
Path .............. /tftpboot/backups_from_controller-1
Port ..............
2 .................. Configured (Unmounted)
Host .............. 10.37.142.1
Username .......... root
Path ..............
Port ..............
Current Action ........ Idle
Started .............
Current Node ........
Backup Redundancy ..... Enabled
Local media ......... USB (Total 7604.0MB, Free 7544.0MB)
State ............... Active
Area Name Node Name Id Date Time Status
---------------------------------------------------------------------------
Wellington camry 1 14 Oct 2016 02:30:22 Good
Canterbury corona 1 14 Oct 2016 02:30:23 Good
Canterbury Avensis 1 14 Oct 2016 02:30:22 Good
Auckland RAV4 1 14 Oct 2016 02:30:23 Good
Southland MR2 1 14 Oct 2016 02:30:24 Good
Related
Commands
atmf backup area-masters enable
switchport atmf-arealink remote-area
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1311
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP GUEST
show atmf backup guest
Overview This command displays backup status information of guest nodes in an AMF network.This command can only be run on a device configured as an AMF Master and has an AMF guest license.
Syntax show atmf backup guest [< node-name > [< guest-port >]] [logs]
Parameter
<node-name>
<guest-port>
Description
The name of parent guest node
The port number on the parent node
Mode User Exec/Privileged Exec
Example On the switch named x930-master, to display information about the AMF backup guest status, use the command: x930-master# show atmf backup guest
Output Figure 39-10: Example output from show atmf backup guest x930-master#sh atmf backup guest
Guest Backup .......... Enabled
Scheduled Backup ...... Disabled
Schedule ............ 1 per day starting at 03:00
Next Backup Time .... 20 Jan 2016 03:00
Backup Bandwidth ...... Unlimited
Backup Media .......... FILE SERVER 2 (Total 655027.5MB,
Free 140191.5MB)
Server Config
1 .................. Configured (Mounted)
Host .............. 11.0.24.1
Username .......... bob
Path .............. guest-project
Port ..............
* 2 .................. Configured (Mounted, Active)
Host .............. 11.0.24.1
Username .......... bob
Path .............. guest-project-second
Port.................-
Current Action .......Idle
Started .............
Current Node ........ -
Backup Redundancy ....Enabled
Local media ......... USB (Total 7376.0MB, Free 7264.1MB)
State ............... Active
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1312
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF BACKUP GUEST
Parent Node Name Port Name Id Date Time Status
-------------------------------------------------------------------------------- x230 port1.0.4 2 19 Jan 2016 22:21:46 Good
1 19 Jan 2016 22:21:46 Good
USB 19 Jan 2016 22:21:46 Good
Table 39-1: Parameters in the output from show atmf backup guest
Parameter
Guest Backup
Scheduled Backup
Schedule
Next Backup Time
Backup Bandwidth
Backup Media
Description
The status of the guest node backup process
The timing configured for guest backups.
Displays the configured backup schedule.
The time the next backup process will be initiated.
The bandwidth limit applied to the backup data flow measured in kilo Bytes /second. Note that unlimited means there is no limit set specifically for the backup data flow.
Detail of the memory media used to store the backup files and the current memory capacity available.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1313
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF DETAIL
show atmf detail
Overview This command displays details about an AMF node. It can only be run on AMF master and controller nodes.
Syntax show atmf detail
Parameter detail
Description
Displays output in greater depth.
Mode Privileged Exec
Example 1 To display the AMF node1 information in detail, use the command: controller-1# show atmf detail
A typical output screen from this command is shown below: atmf-1#show atmf detail
ATMF Detail Information:
Network Name : Test_network
Network Mtu : 1300
Node Name : controller-1
Node Address : controller-1.atmf
Node ID : 342
Node Depth : 0
Domain State : BackupDomainController
Recovery State : None
Log Verbose Setting : Verbose
Management VLAN
VLAN ID : 4000
Management Subnet : 172.31.0.0
Management IP Address : 172.31.1.86
Management Mask : 255.255.128.0
Management IPv6 Address : fd00:4154:4d46:1::156
Management IPv6 Prefix Length : 64
Domain VLAN
VLAN ID : 4091
Domain Subnet : 172.31.128.0
Domain IP Address : 172.31.129.86
Domain Mask : 255.255.128.0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1314
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF DETAIL
Table 40: Parameter definitions from the show atmf detail command
Parameter
Network MTU
Network Name
Node Name
Node Address
Definition
The network MTU for the ATMF network.
The AMF network that a particular node belongs to.
The name assigned to a particular node.
An Address used to access a remotely located node. This is simply the Node Name plus the dotted suffix atmf (.atmf ).
Node ID
Node Depth
A Unique identifier assigned to a Node on an AMF network.
The number of nodes in path from this node to level of the AMF root node. It can be thought of as the vertical depth of the AMF network from a particular node to the zero level of the AMF root node.
Domain State
Recovery State
The state of Node in a Domain in AMF network as Controller/Backup.
Management VLAN The VLAN created for traffic between Nodes of different domain (up/down links).
• VLAN ID - In this example VLAN 4092 is configured as the Management VLAN.
• Management Subnet - Network prefix for the subnet.
• Management IP Address - The IP address allocated for this traffic.
• Management Mask - The subnet mask used to create a subnet for this traffic
(255.255.128.0).
Domain VLAN
The AMF node recovery status. Indicates whether a node recovery is in progress on this device - Auto, Manual, or None.
The VLAN assigned for traffic between Nodes of same domain (crosslink).
• VLAN ID - In this example VLAN 4091 is configured as the domain VLAN.
• Domain Subnet. The subnet address used for this traffic.
• Domain IP Address. The IP address allocated for this traffic.
• Domain Mask. The subnet mask used to create a subnet for this traffic
(255.255.128.0).
Node Depth The number of nodes in the path from this node to the Core domain.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1315
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF GROUP
show atmf group
Overview This command can be used to display the group membership within to a particular
AMF node. It can also be used with the working-set command to display group membership within a working set.
Each node in the AMF is automatically added to the group that is appropriate to its hardware architecture, e.g. x510, x610. Nodes that are configured as masters are automatically assigned to the master group.
You can create arbitrary groups of AMF members based on your own selection criteria. You can then assign commands collectively to any of these groups.
Syntax show atmf group [user-defined|automatic]
Parameter user-defined automatic
Description
User-defined-group information display.
Automatic group information display.
Default All groups are displayed
Mode Privileged Exec
Example 1 To display group membership of node2, use the following command: node2# show atmf group
A typical output screen from this command is shown below:
ATMF group information
master, x510 node2#
This screen shows that node2 contains the groups master and x510 . Note that although the node also contains the implicit groups, these do not appear in the show output.
Example 2 The following commands (entered on node2 ) will display all the automatic groups within the working set containing node1 and all nodes that have been pre-defined to contain the sysadmin group:
First define the working-set: node1# #atmf working-set node1 group sysadmin
A typical output screen from this command is shown below:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1316
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF GROUP
ATMF group information
master, poe, x8100
=============================================== node1, node2, node3, node4, node5, node6:
===============================================
ATMF group information
sysadmin, x8100
AMF_NETWORK[6]#
This confirms that the six nodes ( node1 to node6 ) are now members of the working-set and that these nodes reside within the AMF-NETWORK .
Note that to run this command, you must have previously entered the command
atmf working-set on page 1276. This can be seen from the network level prompt,
which in this case is AMF_NETWORK[6]# .
Table 41: Sample output from the show atmf group command for a working set.
AMF_NETWORK[6]#show atmf group
=============================== node3, node4, node5, node6:
===============================
ATMF group information
edge_switches, x510
Table 42: Parameter definitions from the show atmf group command for a working set
Parameter Definition
ATMF group information Displays a list of nodes and the groups that they belong to, for example:
• master - Shows a common group name for Nodes configured as AMF masters.
• Hardware Arch - Shows a group for all Nodes sharing a common Hardware architecture, e.g. x8100, x610, for example.
• User-defined - Arbitrary groups created by the user for AMF nodes.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1317
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF GROUP MEMBERS
show atmf group members
Overview This command will display all group memberships within an AMF working-set.
Each node in the AMF working set is automatically added to automatic groups which are defined by hardware architecture, e.g. x510, x610. Nodes that are configured as masters are automatically assigned to the master group. Users can define arbitrary groupings of AMF members based on their own criteria, which can be used to select groups of nodes.
Syntax show atmf group members [user-defined|automatic]
Parameter user-defined automatic
Description
User defined group membership display.
Automatic group membership display.
Mode Privileged Exec
Example To display group membership of all nodes in a working-set, use the command:
ATMF_NETWORK[9]# show atmf group members
Table 43: Sample output from the show atmf group members command
ATMF Group membership
Automatic Total
Groups Members Members
--------------------------------------------------------------- master 1 Building_1
poe 1 HW_Team1 x510 3 SW_Team1 SW_Team2 SW_Team3 x610 1 HW_Team1 x8100 2 Building_1 Building_2
ATMF Group membership
User-defined Total
Groups Members Members
--------------------------------------------------------------- marketing 1 Bld1_Floor_1 software 3 SW_Team1 SW_Team2 SW_Team3
1318 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF GROUP MEMBERS
Table 44: Parameter definitions from the show atmf group members command
Parameter
Automatic Groups
User-defined Groups
Total Members
Members
Definition
Lists the Automatic Groups and their nodal composition. The sample output shows AMF nodes based on the same Hardware type or belonging to the same Master group.
Shows the grouping of AMF nodes in user defined groups.
Shows the total number of members in each group.
Shows the list of AMF nodes in each group.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1319
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF GUEST
show atmf guest
Overview This command is available on any AMF master in the network. It displays details about the AMF guest nodes that exist in the AMF network, such as device type, IP address and MAC address etc.
Syntax show atmf guest [< node-name >] [< guest-port >]
Parameter
<node-name>
<guest-port>
Description
The name of the guest node’s parent.
The port name on the parent node.
Mode User Exec/Privileged Exec
Example To display the ATMF guest output, use the command: awplus# show atmf guest
Output Figure 39-11: Example output from the show atmf guest command.
master#show atmf guests
Guest Information:
Device Device Parent Guest IP/IPv6
Name Type Node Port Address
--------------------------------------------------------------------
master-2.1.1 AR415S master 2.1.1 192.168.2.10
master-2.1.2 AT-9924T master 2.1.2 192.168.1.10
master-2.1.4 AT-TQ3200 master 2.1.4 192.168.1.12
Current ATMF guest node count 3
Table 45: Parameters shown in the output of the show atmf guest command
Parameter
Device Name
Device Type
Parent Node
Description
The name that is discovered from the device, or failing that, a name that is auto-assigned by AMF. The auto-assigned name consists of <parent node name>-<attached port number>
This is the product name of the Guest Node and is discovered from the device. If no device Type can be discovered, then the modelName configured on the
Guest-class assigned to the connected port is used.
The AMF member name of the AMF member that directly connects to the guest node.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1320
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF GUEST
Table 45: Parameters shown in the output of the show atmf guest command
Parameter
Guest Port
IP/IPv6 Address
Description
The port, on the Parent node that directly connects to the guest node.
The address discovered from the node, or statically configured on the parent node's attached port.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1321
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS
show atmf links
Overview This command displays information about AMF links on a switch. The display output contains link status state information.
Syntax show atmf links brief
Parameter links brief detail statistics ifrange
Description
AMF links.
A brief summary of AMF links, their configuration and status.
A detailed description of the AMF links.
AMF statistics.
Limits the display output to the specified interface range.
Mode User Exec and Privileged Exec
Example 1 To display a brief summary of the AMF links, use the following command: node-1# show atmf links brief
The following example summarizes the links that are detailed in the example in
.
Figure 39-12: Sample output from the show atmf links brief command
Example-core# show atmf links
ATMF Link Brief Information:
Local Link Link ATMF Adjacent Adjacent Link
Port Type Status State Node Ifindex State
---------------------------------------------------------------------------
1.0.10 Crosslink Down Init *crosslink1 - Blocking
1.0.14 Crosslink Down Init *crosslink2 - Blocking
1.0.1 Downlink Down Init - - Blocking
1.0.2 Downlink Up Full Node2 5001 Forwarding
1.0.8 Downlink Up Full downlink1 5001 Forwarding
* = Provisioned.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1322
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS
Table 46: Parameter definitions from the show atmf links brief command output
Parameter
Local Port
Link Type
Link Status
ATMF State
Adjacent Node
Adjacent IF Index
Link State
Definition
Shows the local port on the selected node.
Shows link type as Uplink or Downlink (parent and child) or Cross-link (nodes in same domain).
Shows the link status of the local port on the node as either Up or Down.
Shows AMF state of the local port:
• Init - Link is down.
• Hold - Link transitioned to up state, but waiting for hold period to ensure link is stable.
• Incompatible - Neighbor rejected the link because of inconsistency in AMF configurations.
• OneWay - Link is up and has waited the hold down period and now attempting to link to
• another unit in another domain
• Full - Link hello packets are sent and received from its neighbor with its own node id.
• Shutdown - Link has been shut down by user configuration.
Shows the Adjacent AMF Node to the one being configured.
Shows the IF index for the Adjacent AMF Node connected to the node being configured.
Shows the state of the AMF link. Valid states are either Forwarding or Blocking.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Mode User Exec and Privileged Exec
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1323
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
show atmf links detail
Overview This command displays detailed information on all the links configured in the AMF network. It can only be run on AMF master and controller nodes.
Syntax show atmf links detail
Parameter detail
Description
Detailed AMF links information.
Mode User Exec
Example To display the AMF link details use this command: device1# show atmf links detail
The output from this command will display all the internal data held for AMF links.
The following example gives details of the links that are summarized in the example in
.
Table 47: Sample output from the show atmf links detail command
device1# show atmf links detail
-------------------------------------------------------------------------------
Crosslink Ports Information
-------------------------------------------------------------------------------
Port : sa1
Ifindex : 4501
Port Status : Down
Port State : Init
Last event :
Port BPDU Receive Count : 0
Port : po10
Ifindex : 4610
Port Status : Up
Port State : Full
Last event : AdjNodeLSEPresent
Port BPDU Receive Count : 140
Adjacent Node Name : Building-B
Adjacent Ifindex : 4610
Adjacent MAC : eccd.6dd1.64d0
Port Last Message Response : 0
1324 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 47: Sample output from the show atmf links detail command (cont.)
Port : po30
Ifindex : 4630
Port Status : Up
Port State : Full
Last event : AdjNodeLSEPresent
Port BPDU Receive Count : 132
Adjacent Node Name : Building-A
Adjacent Ifindex : 4630
Adjacent MAC : eccd.6daa.c861
Port Last Message Response : 0
Link State Entries:
Crosslink Ports Blocking : False
Node.Ifindex : Building-A.4630 - Example-core.4630
Transaction ID : 2 - 2
MAC Address : eccd.6daa.c861 - 0000.cd37.054b
Link State : Full - Full
Node.Ifindex : Building-B.4610 - Example-core.4610
Transaction ID : 2 - 2
MAC Address : eccd.6dd1.64d0 - 0000.cd37.054b
Link State : Full - Full
Domain Nodes Tree:
Node : Building-A
Links on Node : 1
Link 0 : Building-A.4630 - Example-core.4630
Forwarding State : Forwarding
Node : Building-B
Links on Node : 1
Link 0 : Building-B.4610 - Example-core.4610
Forwarding State : Forwarding
Node : Example-core
Links on Node : 2
Link 0 : Building-A.4630 - Example-core.4630
Forwarding State : Forwarding
Link 1 : Building-B.4610 - Example-core.4610
Forwarding State : Forwarding
Crosslink Transaction Entries:
Node : Building-B
Transaction ID : 2
Uplink Transaction ID : 6
Node : Building-A
Transaction ID : 2
Uplink Transaction ID : 6
Uplink Information:
Waiting for Sync : 0
Transaction ID : 6
Number of Links : 0
Number of Local Uplinks : 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1325
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 47: Sample output from the show atmf links detail command (cont.)
Originating Node : Building-A
Domain : -'s domain
Node : Building-A
Ifindex : 0
Node Depth : 0
Transaction ID : 6
Flags : 32
Domain Controller :
Domain Controller MAC : 0000.0000.0000
Originating Node : Building-B
Domain : -'s domain
Node : Building-B
Ifindex : 0
Node Depth : 0
Transaction ID : 6
Flags : 32
Domain Controller :
Domain Controller MAC : 0000.0000.0000
Downlink Domain Information:
Domain : Dept-A's domain
Domain Controller : Dept-A
Domain Controller MAC : eccd.6d20.c1d9
Number of Links : 2
Number of Links Up : 2
Number of Links on This Node : 2
Links are Blocked : 0
Node Transaction List
Node : Building-B
Transaction ID : 8
Node : Building-A
Transaction ID : 8
Domain List
Domain : Dept-A's domain
Node : Example-core
Ifindex : 4621
Transaction ID : 8
Flags : 1
Domain : Dept-A's domain
Node : Example-core
Ifindex : 4622
Transaction ID : 8
Flags : 1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1326
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 47: Sample output from the show atmf links detail command (cont.)
Domain : Dorm-D's domain
Domain Controller : Dorm-D
Domain Controller MAC : 0000.cd37.082c
Number of Links : 2
Number of Links Up : 2
Number of Links on This Node : 2
Links are Blocked : 0
Node Transaction List
Node : Building-B
Transaction ID : 20
Node : Building-A
Transaction ID : 20
Domain List
Domain : Dorm-D's domain
Node : Building-A
Ifindex : 0
Transaction ID : 20
Flags : 32
Domain : Dorm-D's domain
Node : Building-B
Ifindex : 0
Transaction ID : 20
Flags : 32
Domain : Dorm-D's domain
Node : Example-core
Ifindex : 4510
Transaction ID : 20
Flags : 1
Domain : Dorm-D's domain
Node : Example-core
Ifindex : 4520
Transaction ID : 20
Flags : 1
Domain : Example-edge's domain
Domain Controller : Example-edge
Domain Controller MAC : 001a.eb93.7aa6
Number of Links : 1
Number of Links Up : 1
Number of Links on This Node : 0
Links are Blocked : 0
Node Transaction List
Node : Building-B
Transaction ID : 9
Node : Building-A
Transaction ID : 9
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1327
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 47: Sample output from the show atmf links detail command (cont.)
Domain List
Domain : Example-edge's domain
Node : Building-A
Ifindex : 0
Transaction ID : 9
Flags : 32
Domain : Example-edge's domain
Node : Building-B
Ifindex : 5027
Transaction ID : 9
Flags : 1
---------------------------------------------------------------
Up/Downlink Ports Information
---------------------------------------------------------------
Port : sa10
Ifindex : 4510
Port Status : Up
Port State : Full
Last event : LinkComplete
Adjacent Node : Dorm-A
Adjacent Internal ID : 211
Adjacent Ifindex : 4510
Adjacent Board ID : 387
Adjacent MAC : eccd.6ddf.6cdf
Adjacent Domain Controller : Dorm-D
Adjacent Domain Controller MAC : 0000.cd37.082c
Port Forwarding State : Forwarding
Port BPDU Receive Count : 95
Port Sequence Number : 11
Port Adjacent Sequence Number : 7
Port Last Message Response : 0
Port : po21
Ifindex : 4621
Port Status : Up
Port State : Full
Last event : LinkComplete
Adjacent Node : Dept-A
Adjacent Internal ID : 29
Adjacent Ifindex : 4621
Adjacent Board ID : 340
Adjacent MAC : eccd.6d20.c1d9
Adjacent Domain Controller : Dept-A
Adjacent Domain Controller MAC : eccd.6d20.c1d9
Port Forwarding State : Forwarding
Port BPDU Receive Count : 96
Port Sequence Number : 8
Port Adjacent Sequence Number : 9
Port Last Message Response : 0
Special Link Present : FALSE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1328
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 48: Parameter definitions from the show atmf links detail command output
Parameter
Crosslink Ports
Information
Definition
Show details of all Crosslink ports on this Node:
• Port - Name of the Port or static aggregation (sa<*>).
• Ifindex - Interface index for the crosslink port.
• VR ID - Virtual router id for the crosslink port.
• Port Status - Status of the local port on the Node as UP or DOWN.
• Port State - AMF State of the local port.
– Init - Link is down.
– Hold - Link transitioned to up state, but waiting for hold period to ensure link is stable.
– Incompatible - Neighbor rejected the link because of inconsistency in
AMF configurations.
– OneWay - Link is up and has waited the hold down period and now attempting to link to
– another unit in another domain
– Full - Link hello packets are sent and received from its neighbor with its own node id.
– Shutdown - Link has been shut down by user configuration.
Port BPDU Receive Count - The number of AMF protocol PDU's received.
• Adjacent Node Name - The name of the adjacent node connected to this node.
• Adjacent Ifindex - Adjacent AMF Node connected to this Node.
• Adjacent VR ID - Virtual router id of the adjacent node in the domain.
• Adjacent MAC - MAC address of the adjacent node in the domain.
• Port Last Message Response - Response from the remote neighbor to our
AMF last hello packet.
Link State Entries Shows all the link state database entries:
• Node.Ifindex - Shows adjacent Node names and Interface index.
• Transaction ID - Shows transaction id of the current crosslink transaction.
• MAC Address - Shows adjacent Node MAC addresses.
• Link State - Shows AMF states of adjacent nodes on the link.
Domain Nodes Tree Shows all the nodes in the domain:
• Node - Name of the node in the domain.
• Links on Node - Number of crosslinks on a vertex/node.
• Link no - Shows adjacent Node names and Interface index.
• Forwarding State - Shows state of AMF link Forwarding/Blocking.
Crosslink
Transaction Entries
Shows all the transaction entries:
• Node - Name of the AMF node.
• Transaction ID - transaction id of the node.
• Uplink Transaction ID - transaction id of the remote node.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1329
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 48: Parameter definitions from the show atmf links detail command output (cont.)
Parameter
Uplink Information
Downlink Domain
Information
Definition
Show all uplink entries.
• Waiting for Sync - Flag if uplinks are currently waiting for synchronization.
• Transaction ID - Shows transaction id of the local node.
• Number of Links - Number of up downlinks in the domain.
• Number of Local Uplinks - Number of uplinks on this node to the parent domain.
• Originating Node - Node originating the uplink information.
• Domain - Name of the parent uplink domain.
• Node - Name of the node in the parent domain, that is connected to the current domain.
• Ifindex - Interface index of the parent node's link to the current domain.
• VR ID - Virtual router id of the parent node’s link to the current domain.
• Transaction ID - Transaction identifier for the neighbor in crosslink.
• Flags - Used in domain messages to exchange the state:
ATMF_DOMAIN_FLAG_DOWN = 0
ATMF_DOMAIN_FLAG_UP = 1
ATMF_DOMAIN_FLAG_BLOCK = 2
ATMF_DOMAIN_FLAG_NOT_PRESENT = 4
ATMF_DOMAIN_FLAG_NO_NODE = 8
ATMF_DOMAIN_FLAG_NOT_ACTIVE_PARENT = 16
ATMF_DOMAIN_FLAG_NOT_LINKS = 32
ATMF_DOMAIN_FLAG_NO_CONFIG = 64
• Domain Controller - Domain Controller in the uplink domain
• Domain Controller MAC - MAC address of Domain Controller in uplink domain
Shows all the downlink entries:
• Domain - Name of the downlink domain.
• Domain Controller - Controller of the downlink domain.
• Domain Controller MAC - MAC address of the domain controller.
• Number of Links - Total number of links to this domain from the Node.
• Number of Links Up - Total number of links that are in UP state.
• Number of Links on This Node - Number of links terminating on this node.
• Links are Blocked - 0 links are not blocked to the domain. 1 All links are blocked to the domain.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1330
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Table 48: Parameter definitions from the show atmf links detail command output (cont.)
Parameter
Node Transaction
List
Up/Downlink Ports
Information
Definition
List of transactions from this downlink domain node.
• Node - 0 links are not blocked to the domain. 1 All links are blocked to the domain.
• Transaction ID - Transaction id for this node.
• Domain List: Shows list of nodes in the current domain and their links to the downlink domain.:
• Domain - Domain name of the downlink node.
• Node - Name of the node in the current domain.
• Ifindex - Interface index for the link from the node to the downlink domain.
• Transaction ID - Transaction id of the node in the current domain.
• Flags - As mentioned above.
Shows all the configured up and down link ports on this node:
• Port - Name of the local port.
• Ifindex - Interface index of the local port.
• VR ID - Virtual router id for the local port.
• Port Status - Shows status of the local port on the Node as UP/DOWN.
• Port State - AMF state of the local port.
• Adjacent Node - nodename of the adjacent node.
• Adjacent Internal ID - Unique node identifier of the remote node.
• Adjacent Ifindex - Interface index for the port of adjacent AMF node.
• Adjacent Board ID - Product identifier for the adjacent node.
• Adjacent VR ID - Virtual router id for the port on adjacent AMF node.
• Adjacent MAC - MAC address for the port on adjacent AMF node.
• Adjacent Domain Controller - nodename of the Domain controller for
Adjacent AMF node.
• Adjacent Domain Controller MAC - MAC address of the Domain controller for
Adjacent AMF node.
• Port Forwarding State - Local port forwarding state Forwarding or Blocking.
• Port BPDU Receive Count - count of AMF protocol PDU's received.
• Port Sequence Number - hello sequence number, incremented every time the data in the hello packet changes.
• Port Adjacent Sequence Number - remote ends sequence number used to check if we need to process this packet or just note it arrived.
• Port Last Message Response - response from the remote neighbor to our last hello packet.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1331
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS DETAIL
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1332
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS GUEST
show atmf links guest
Overview This command displays information about guest nodes visible to an AMF device.
Syntax show atmf links guest [detail] [interface < IFRANGE >]
Parameter detail
< IFRANGE >
Description
Displays a full output for the connected guest nodes
Select a specific range of ports to display.
Default With no parameters specified this command will display its standard output for all ports with guest nodes connected.
Mode User Exec/Privileged Exec
Example 1 To display information about AMF guests that are connectable from node1, use the command: node1# show atmf links guest
Output Figure 39-13: Example of standard output from show atmf links guest
node1#sh atmf links guest
Guest Link Information:
DC = Discovery configuration
S = static D = dynamic
Local Guest Model MAC IP / IPv6
Port Class Type DC Address Address
--------------------------------------------------------------
1.0.1 - other D 0013.1a1e.4589 192.168.1.2
1.0.2 aastra-phone other D 0008.5d10.7635 192.168.1.3
1.0.3 cisco-phone2 other S - 192.168.2.1
1.0.4 panasonic... other D 0800.239e.f1fe 192.168.1.5
Example 2 To display detailed information about AMF guests, use the command: node1# show atmf links guest detail
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1333
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS GUEST
Output Figure 39-14: Example of output from show atmf links guest detail
Detailed Guest Link Information:
Interface : port1.0.1
Class Name :
Model Type : other
Discovery Method : Dynamic
IP Address : 192.168.1.2
State : Getting ID
MAC address : 0013.1a1e.4589
Interface : port1.0.2
Class Name : aastra-phone
Model Type : other
Discovery Method : Dynamic
IP Address : 192.168.1.3
State : Full
MAC address : 0008.5d10.7635
Device Type : Aastra IP Phone
Interface : port1.0.4
Class Name : panasonic-camera
Model Type : other
Discovery Method : Dynamic
IP Address : 192.168.1.5
State : Getting ID
MAC address : 0800.239e.f1fe
Table 39-1: Parameters shown in the output of show atmf links guest
Parameter
Interface
Class Name
Model-Type
Discovery Method
Description
The port on the parent node that connects to the guest.
The name of the ATMF guest-class that has been assigned to the guest node by the
command.
The model type of the guest node, as entered by the
command. Can be one of the following:
• alliedware
• aw+
• tq
• other
The discovery method as applied by the
command. This can be either dynamic or static.
The IP address of the guest node.
IP Address
State
MAC Address The MAC address of the guest node.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1334
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS GUEST
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1335
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS STATISTICS
show atmf links statistics
Overview This command displays details of the AMF links configured on the device and also displays statistics about the AMF packet exchanges between the devices.
It is also possible to display the AMF link configuration and packet exchange statistics for a specified interface.
This command can only be run on AMF master and controller nodes
Syntax show atmf links statistics [interface [ <port_number> ]]
Parameter interface
<port_number>
Description
Specifies that the command applies to a specific interface
(port) or range of ports. Where both the interface and port number are unspecified, full statistics (not just those relating to ports will be displayed.
Enter the port number for which statistics are required. A port range, a static channel or LACP link can also be specified.
Where no port number is specified, statistics will be displayed for all ports on the device.
Mode User Exec
Example 1 To display AMF link statistics for the whole device, use the command: device1# show atmf links statistics
Table 40: Sample output from the show atmf links statistics command
ATMF Statistics:
Receive Transmit
-------------------------------------------------------------------------------
Arealink Hello 318 327
Crosslink Hello 164 167
Crosslink Hello Domain 89 92
Crosslink Hello Uplink 86 88
Hello Link 0 0
Hello Neighbor 628 630
Hello Stack 0 0
Hello Gateway 1257 1257
Database Description 28 28
Database Request 8 6
Database Update 66 162
Database Update Bitmap 0 29
Database Acknowledge 144 51
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1336
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS STATISTICS
Table 40: Sample output from the show atmf links statistics command (cont.)
Transmit Fails 0 1
Discards 0 0
Total ATMF Packets 2788 2837
ATMF Database Statistics:
Database Entries 18
Database Full Ages 0
ATMF Virtual Link Statistics:
Virtual Receive Transmit link Receive Dropped Transmit Dropped
------------------------------------------------------------------------------- vlink2000 393 0 417 0
ATMF Packet Discards:
Type0 0 : Gateway hello msg received from unexpected neighbor
Type1 0 : Stack hello msg received from unexpected neighbor
Type2 0 : Discard TX update bitmap packet - bad checksum
Type3 0 : Discard TX update packet - neighbor not in correct state
Type4 0 : Discard update packet - bad checksum or type
Type5 0 : Discard update packet - neighbor not in correct state
Type6 0 : Discard update bitmap packet - bad checksum or type
Type7 0 : Incarnation is not possible with the data received
Type8 0 : Discard crosslink hello received - not correct state
Type9 0 : Discard crosslink domain hello received on non crosslink
Type10 0 : Discard crosslink domain hello - not in correct state
Type11 0 : Crosslink uplink hello received on non crosslink port
Type12 0 : Discard crosslink uplink hello - not in correct state
Type13 0 : Wrong network-name for this ATMF
Type14 0 : Packet received on port is too long
Type15 0 : Bad protocol version, received on port
Type16 0 : Bad packet checksum calculation
Type17 0 : Bad authentication type
Type18 0 : Bad simple password
Type19 0 : Unsupported authentication type
Type20 0 : Discard packet - unknown neighbor
Type21 0 : Discard packet - port is shutdown
Type22 0 : Non broadcast hello msg received from unexpected neighbor
Type23 0 : Arealink hello msg received on non arealink port
Type24 0 : Discard arealink hello packet - not in correct state
Type25 0 : Discard arealink hello packet - failed basic processing
Type26 0 : Discard unicast packet - MAC address does not match node
Type27 0 : AMF Master license node limit exceeded
Example 2 To display the AMF links statistics on interface port1.0.5, use the command: device1# show atmf links statistics interface port1.0.5
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1337
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF LINKS STATISTICS
Figure 39-15: Sample output from the show atmf links statistics command for interface 1.0.5
device1# show atmf links statistics interface port1.0.5
ATMF Port Statistics:
Transmit Receive port1.0.5 Crosslink Hello 231 232 port1.0.5 Crosslink Hello Domain 116 116 port1.0.5 Crosslink Hello Uplink 116 115 port1.0.5 Hello Link 0 0 port1.0.5 Arealink Hello 0 0
Figure 39-16: Parameter definitions from the show atmf links statistics command output
Parameter
Receive
Transmit
Database Entries
Database Full Ages
ATMF Packet
Discards
Definition
Shows a count of AMF protocol packets received per message type.
Shows the number of AMF protocol packets transmitted per message type.
Shows the number of AMF elements existing in the distributed database.
Shows the number of times the entries aged in the database.
Shows the number of discarded packets of each type.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1338
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF MEMORY ( DEPRECATED )
show atmf memory (deprecated)
Overview This command has been deprecated in Software Version 5.4.5-0.1 and later. To see details of AMF memory usage, please use the following commands instead:
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1339
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF NODES
show atmf nodes
Overview This command displays nodes currently configured within the AMF network.
Note that the output also tells you whether or not node map exchange is active.
Node map exchange improves the tracking of nodes joining and leaving an AMF network. This improves the efficiency of AMF networks. Node map exchange is only available if every node in your AMF network is running version 5.4.6-2.1 or later. We recommend running the latest version on all nodes in your network, so you receive the advantages of node map exchange and other improvements.
Syntax show atmf nodes [guest|all]
Parameter guest all
Description
Display only guest nodes in the AMF network.
Display all nodes in the AMF network, including guest nodes.
Mode Privileged Exec
Usage You can use this command to display one of three sets of nodes:
•
•
• all nodes except guest nodes, by specifying only guest nodes, by specifying show atmf nodes all nodes including guest nodes, by specifying show atmf nodes all show atmf nodes guest
Examples To display AMF information for all nodes except guest nodes, use the command: node1# show atmf nodes
Table 39-1: Sample output from show atmf nodes
node1#show atmf nodes guest
Node Information:
* = Local device
SC = Switch Configuration:
C = Chassis S = Stackable N = Standalone
Node Device ATMF Parent Node
Name Type Master SC Domain Depth
-------------------------------------------------------------------------------
* M1 x510-28GTX Y S none 0
N3 x610-48Ts/X-POE+ N N M1 1
N1 AR4050S N N M1 1
Node map exchange is active
Current ATMF node count 3
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1340
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF NODES
To display AMF information for all nodes, including guest nodes, use the command: node1# show atmf nodes all
Table 40: Sample output from show atmf nodes all . In this example, not all nodes support node map exchange, as shown by the message at the end
node1#show atmf nodes all
Node and Guest Information:
* = Local device
SC = Switch Configuration:
C = Chassis S = Stackable N = Standalone G = Guest
Node/Guest Device ATMF Parent Node
Name Type Master SC Domain Depth
-------------------------------------------------------------------------------
* M1 x510-28GTX Y S none 0
N3 x610-48Ts/X-POE+ N N M1 1
N1 AR4050S N N M1 1
N3-1.0.24 AT-TQ4600 N G N3
Node map exchange is inactive
Firmware on some nodes does not support node map exchange, eg AR4050S
Current ATMF node count 4 (guests 1)
To display AMF information for guest nodes only, use the command: node1# show atmf nodes guest
Table 39-1: Sample output from show atmf nodes guest
node1#show atmf nodes guest
Guest Information:
Device MAC IP/IPv6
Name Address Parent Port Address
-------------------------------------------------------------------------------- aastra-... 0008.5d10.7635 Node-1 1.0.2 192.168.4.7 poe-1.0.1 0013.1a1e.4589 Node-1 1.0.1 192.168.4.6 ip-camera 0800.239e.f1fe Node-1 1.0.4 192.168.4.8 tq4600 eccd.6df2.da60 Node-1 1.0.5 192.168.4.50
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1341
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF PROVISION NODES
show atmf provision nodes
Overview This command displays information about each provisioned node with details about date and time of creation, boot and configuration files available in the backup, and license files present in the provisioned backup. This includes nodes that have joined the network but are yet to run their first backup.
This command can only be run on AMF master and controller nodes.
Syntax show atmf provision nodes
Mode Privileged Exec
Usage This command will only work if provisioned nodes have already been set up.
Otherwise, an error message is shown when the command is run.
Example To show the details of all the provisioned nodes in the backup use the command:
NodeName# show atmf provision nodes
Figure 39-17: Sample output from the show atmf provision nodes command
device1#show atmf provision nodes
ATMF Provisioned Node Information:
Backup Media .............: SD (Total 3827.0MB, Free 3481.1MB)
Node Name : device2
Date& Time : 06-Oct-2016 & 23:25:44
Provision Path : card:/atmf/provision_nodes
Boot configuration :
Current boot image : x510-5.4.6-1.4.rel (file exists)
Backup boot image : x510-5.4.6-1.3.rel (file exists)
Default boot config : flash:/default.cfg (file exists)
Current boot config : flash:/abc.cfg (file exists)
Backup boot config : flash:/xyz.cfg (file exists)
Software Licenses :
Repository file : ./.configs/.sw_v2.lic
: ./.configs/.swfeature.lic
Certificate file : card:/atmf/nodes/awplus1/flash/.atmf-lic-cert
Related commands
atmf provision node configure boot config
atmf provision node configure boot system
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1342
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF TECH
show atmf tech
Overview This command collects and displays all the AMF command output. The command can thus be used to display a complete picture of an AMF network.
Syntax show atmf tech
Mode Privileged Exec
Example To display output for all AMF commands, use the command:
NodeName# show atmf tech
Table 40: Sample output from the show atmf tech command.
node1#show atmf tech
ATMF Summary Information:
ATMF Status : Enabled
Network Name : ATMF_NET
Node Name : node1
Role : Master
Current ATMF Nodes : 8
ATMF Technical information:
Network Name : ATMF_NET
Domain : node1's domain
Node Depth : 0
Domain Flags : 0
Authentication Type : 0
MAC Address : 0014.2299.137d
Board ID : 287
Domain State : DomainController
Domain Controller : node1
Backup Domain Controller : node2
Domain controller MAC : 0014.2299.137d
Parent Domain :
Parent Domain Controller :
Parent Domain Controller MAC : 0000.0000.0000
Number of Domain Events : 0
Crosslink Ports Blocking : 0
Uplink Ports Waiting on Sync : 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1343
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF TECH
Table 40: Sample output from the show atmf tech command. (cont.)
Crosslink Sequence Number : 7
Domains Sequence Number : 28
Uplink Sequence Number : 2
Number of Crosslink Ports : 1
Number of Domain Nodes : 2
Number of Neighbors : 5
Number of Non Broadcast Neighbors : 3
Number of Link State Entries : 1
Number of Up Uplinks : 0
Number of Up Uplinks on This Node : 0
DBE Checksum : 84fc6
Number of DBE Entries : 0
...
Table 41: Parameter definitions from the show atmf tech command
Parameter
ATMF Status
Definition
Shows status of AMF feature on the Node as
Enabled/Disabled.
Network Name
Node Name
Node Address
The name of the AMF network to which this node belongs.
The name assigned to the node within the AMF network.
Role The role configured on the device within the AMF - either master or member.
Current ATMF Nodes A count of the AMF nodes in the AMF network.
The identity of a node (in the format name.atmf ) that enables its access it from a remote location.
Node ID
Node Depth
Domain State
Recovery State
A unique identifier assigned to an AMF node.
The number of nodes in the path from this node to the core domain.
A node’s state within an AMF Domain - either controller or backup.
The AMF node recovery status. Indicates whether a node recovery is in progress on this device - either Auto, Manual, or None.
Management VLAN The VLAN created for traffic between nodes of different domains (up/down links).
VLAN ID - In this example VLAN 4092 is configured as the Management VLAN.
Management Subnet - the Network prefix for the subnet.
Management IP Address - the IP address allocated for this traffic.
Management Mask - the Netmask used to create a subnet for this traffic
255.255.128.0 (= prefix /17)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1344
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF TECH
Table 41: Parameter definitions from the show atmf tech command (cont.)
Parameter
Domain VLAN
Device Type
ATMF Master
SC
Parent
Node Depth
Definition
The VLAN assigned for traffic between Nodes of same domain (crosslink).
VLAN ID - In this example VLAN 4091 is configured as the domain VLAN.
Domain Subnet - the Subnet address used for this traffic.
Domain IP Address - the IP address allocated for this traffic.
Domain Mask - the Netmask used to create a subnet for this traffic 255.255.128.0
(= prefix /17)
Shows the Product Series Name.
Indicates the node’s membership of the core domain (membership is indicated by Y)
Shows switch configuration:
• C - Chassis (such as SBx8100 series)
• S - Stackable (VCS)
• N - Standalone
A node that is connected to the present node’s uplink, i.e. one layer higher in the hierarchy.
Shows the number of nodes in path from the current node to the Core domain.
NOTE : The show atmf tech command can produce very large output. For this reason only the most significant terms are defined in this table.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1345
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF VIRTUAL LINKS
show atmf virtual-links
Overview This command displays a summary of all virtual links (L2TP tunnels) currently in the running configuration.
Syntax show atmf virtual-links [macaddress]
Parameter show atmf virtual-links macaddr
Description
Show running system information
The Allied Telesis Management Framework (AMF)
Virtual AMF links information.
Virtual AMF links Mac Address.
Mode Privileged Exec
Example 1 To display AMF virtual links, use the command: node_1# show atmf virtual-links
Table 42: Sample output from the show atmf virtual-links command.
ATMF Link Remote Information:
Local Local Local Remote Remote Retries State
Port Ip Id Ip Id
----------------------------------------------------------------------- vlink1 192.0.2.33 1 192.168.1.1 2 0 Down vlink2 192.0.2.65 2 192.168.2.0 3 0 Up
In the above example, a centrally located switch has the IP address space
192.0.2.x/24. It has two VLANs assigned the subnets 192.0.2.33 and 192.0.2.65 using the prefix /27. Each subnet connects to a virtual link. The first link has the IP address 192.168.1.1 and has a Local ID of 1. The second has the IP address
192.168.2.1 and has the Local ID of 2.
Example 2 To display AMF virtual links MAC address information, use the command: node_1# show atmf virtual-links macaddr
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1346
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF VIRTUAL LINKS
Table 43: Sample output from the show atmf virtual-links macaddr command.
ATMF Link Remote Information:
ATMF Management Bridge Information:
Bridge: br-atmfmgmt port no mac addr is local? ageing timer
1 00:00:cd:27:c2:07 yes 0.00
Table 44: Parameter definitions from the show atmf virtual-links command output
Parameter vlink1
Local ID
State mac addr is local ?
ageing timer
Definition
The tunnel named vlink1, equivalent to an L2TP tunnel.
The local ID of the virtual link. This matches the vlink<number>
The operational state of the vlink (either Up or Down). This state is always displayed once a vlink has been created.
AMF virtual links terminate on an internal soft bridge. The “show atmf virtual-links macaddress” command displays MAC Address information.
Indicates whether the MAC displayed is for a local or a remote device.
Indicates the current aging state for each MAC address.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1347
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW ATMF WORKING SET
show atmf working-set
Overview This command displays the nodes that form the current AMF working-set.
Syntax show atmf working-set
Mode Privileged Exec
Example To show current members of the working-set, use the command:
ATMF_NETWORK[6]# show atmf working-set
Table 45: Sample output from the show atmf working-set command.
ATMF Working Set Nodes:
node1, node2, node3, node4, node5, node6
Working set contains 6 nodes
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1348
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW DEBUGGING ATMF
show debugging atmf
Overview This command shows the debugging modes status for AMF.
Syntax show debugging atmf
Mode User Exec and Global Configuration
Example To display the AMF debugging status, use the command: node_1# show debugging atmf
Figure 39-18: Sample output from the show debugging atmf command.
Table 39-1: node1# show debugging atmf
ATMF debugging status:
ATMF arealink debugging is on
ATMF link debugging is on
ATMF crosslink debugging is on
ATMF database debugging is on
ATMF neighbor debugging is on
ATMF packet debugging is on
ATMF error debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1349
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW DEBUGGING ATMF PACKET
show debugging atmf packet
Overview This command shows details of AMF Packet debug command settings.
Syntax show debugging atmf packet
Mode User Exec and Global Configuration
Example To display the AMF packet debugging status, use the command: node_1# show debug atmf packet
Figure 39-19: Sample output from the show debugging atmf packet command.
Table 39-2:
ATMF packet debugging is on
=== ATMF Packet Debugging Parameters===
Node Name: x908
Port name: port1.1.1
Limit: 500 packets
Direction: TX
Info Level: Level 2
Packet Type Bitmap:
2. Crosslink Hello BPDU pkt with downlink domain info
3. Crosslink Hello BPDU pkt with uplink info
4. Down and up link Hello BPDU pkts
6. Stack hello unicast pkts
8. DBE request
9. DBE update
10. DBE bitmap update
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1350
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SHOW RUNNING CONFIG ATMF
show running-config atmf
Overview This command displays the running system information that is specific to AMF.
Syntax show running-config atmf
Mode User Exec and Global Configuration
Example To display the current configuration of AMF, use the following commands: node_1# show running-config atmf
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1351
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF AGENTLINK
switchport atmf-agentlink
Overview Use this command to configure a link between this device and an x600 Series switch, in order to integrate the x600 Series switch into your AMF network. The x600 Series switch is called an “AMF agent”, and the link between the x600 and this device is called an “agent link”.
The x600 Series switch must be running version 5.4.2-3.16 or later.
Use the no variant of this command to remove the agent link. If the x600 Series switch is still connected to the switch port, it will no longer be part of the AMF network.
Syntax switchport atmf-agentlink no switchport atmf-agentlink
Default By default, no agent links exist and x600 Series switches are not visible to AMF networks.
Mode Interface mode for a switch port. Note that the link between the x600 and the AMF network must be a single link, not an aggregated link.
Usage The x600 Series switch provides the following information to the AMF node that it is connected to:
•
•
•
• The MAC address
The IPv4 address
The IPv6 address
The name/type of the device (Allied Telesis x600)
•
• The name of the current firmware
The version of the current firmware
• The configuration name
AMF guestnode also makes most of this information available from x600 Series switches, but requires configuration with DHCP and/or LLDP. AMF agent is simpler; as soon the x600 is connected to an appropriately configured port of an AMF node, it is immediately integrated into the AMF network.
To see information about the x600 Series switch, use the show atmf links guest detail command.
Example To configure port 1.0.1 as an agent link, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# switchport atmf-agentlink
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1352
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF AREALINK REMOTE AREA
switchport atmf-arealink remote-area
Overview This command enables you to configure a port or aggregator to be an AMF arealink. AMF arealinks are designed to operate between two nodes in different areas in an AMF network.
Use the no variant of this command to remove any AMF-arealink that may exist for the selected port or aggregated link.
This command is only available on AMF controllers and master nodes.
Syntax switchport atmf-arealink remote-area < area-name > vlan < 2-4094 > no switchport atmf-arealink
Parameter Description
< area-name > The name of the remote area that the port is connecting to.
< 2-4094 > The VLAN ID for the link. This VLAN cannot be used for any other purpose, and the same VLAN ID must be used at each end of the link.
Default By default, no arealinks are configured
Mode Interface Configuration for a switchport, a static aggregator or a dynamic channel group.
Usage Run this command on the port or aggregator at both ends of the link.
Each area must have the area-name configured, and the same area password must exist on both ends of the link.
Running this command will automatically place the port or static aggregator into trunk mode (i.e. switchport mode trunk) and will synchronize the area information stored on the two nodes.
You can configure multiple arealinks between two area nodes, but only one arealink at any time will be in use. All other arealinks will block information, to prevent network storms.
Example To make a switchport 1.2.1 an arealink to the Auckland area on VLAN 6, use the following commands controller-1# configure terminal controller-1(config)# interface port1.2.1
controller-1(config-if)# switchport atmf-arealink remote-area
Auckland vlan 6
1353 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF AREALINK REMOTE AREA
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1354
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF CROSSLINK
switchport atmf-crosslink
Overview This command configures the selected port, statically aggregated link or dynamic channel group (LACP) to be an AMF crosslink. Running this command will automatically place the port or aggregator into trunk mode (i.e. switchport mode trunk ).
The connection between two AMF masters must utilize a crosslink. Crosslinks are used to carry the AMF control information between master nodes. Multiple crosslinks can be configured between two master nodes, but only one crosslink can be active at any particular time. All other crosslinks between masters will be placed in the blocking state, in order to prevent broadcast storms.
Use the no variant of this command to remove any crosslink that may exist for the selected port or aggregated link.
Syntax switchport atmf-crosslink no switchport atmf-crosslink
Mode Interface Configuration for a switchport, a static aggregator or a dynamic channel group.
Usage Crosslinks can be used anywhere within an AMF network. They have the effect of separating the AMF network into separate domains.
Where this command is used, it is also good practice to use the switchport trunk native vlan
command with the parameter none selected. This is to prevent a network storm on a topology of ring connected devices.
Example 2 This example is shown twice. Example 2A is the most basic command sequence.
Example 2B is a good practice equivalent that avoids problems such as broadcast storms that can otherwise occur.
Example 2A To make static aggregator sa1 an AMF crosslink, use the following commands:
Node_1# configure terminal
Node_1(config)# interface sa1
Node_1(config-if)# switchport atmf-crosslink
Example 2B To make static aggregator sa1 an AMF crosslink, use the following commands for good practice:
Node_1# configure terminal
Node_1(config)# interface sa1
Node_1(config-if)# switchport atmf-crosslink
Node_1(config-if)# switchport trunk allowed vlan add 2
Node_1(config-if)# switchport trunk native vlan none
In this example VLAN 2 is assigned to the static aggregator, and the native VLAN
(VLAN 1) is explicitly excluded from the aggregated ports and the crosslink assigned to it.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1355
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF CROSSLINK
NOTE
: The AMF management and domain VLANs are automatically added to the aggregator and the crosslink.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1356
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF GUESTLINK
switchport atmf-guestlink
Overview Guest links are used to provide basic AMF functionality to non AMF capable devices. Guest links can be configured for either a selected switch port or a range of switch ports and use generic protocols to collect status and configuration information that the guest devices make available.
Use the no variant of this command to remove the guest node functionality from the selected port or ports.
Syntax switchport atmf-guestlink [class < GUEST-CLASS >] [ip < A.B.C.D
> | ipv6 < X:X::X:X >] no switchport atmf-guestlink
Parameter Description class Set a Guest-class
< GUEST-CLASS > The name of the guest class.
ip
< A.B.C.D
> ipv6
< X:X::X:X >
Specifies that the address following will have an IPv4 format
The Guest-node’s IP address in IPv4 format.
Specifies that the address following will have an IPv6 format
The Guest-node’s IP address in IPv6 format.
Default No guest links are configured.
Mode Interface
Example 1 To configure switch port 1.0.44 to be a guest link, that will connect to a guest node having a guest-class of camera and an IPv4 address of 192.168.3.3
, use the following commands: node1# configure terminal node1(config)# int port1.0.44
node1(config-if)# switchport atmf-guestlink class camera ip
192.168.3.3
node1(config-if)# end
Example 2 To configure switchport 1.0.41 to be a guest link, that will connect to a guest node having a guest-class of phone and an IPv6 address of 2001:db8:21e:10d::5 , use the following commands: node1# configure terminal node1(config)# int port1.0.41
node1(config-if)# switchport atmf-guestlink class phone ipv6
2000:db8:21e:10d::5 node1(config-if)# end
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1357
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF GUESTLINK
Example 3 To configure switch port 1.0.41 to be a guest link, using the default model type and learning method address, use the following commands: node1# configure terminal node1(config)# int port1.0.41
node1(config-if)# switchport atmf-guestlink node1(config-if)# end
Example 4 To configure switch ports 1.0.52 to 1.0.54 to be guest links, for the guest class camera , use the following commands: node1# configure terminal node1(config)# int port1.0.41-port1.0.44
node1(config-if)# switchport atmf-guestlink class camera node1(config-if)# end
Example 5 To remove the guest-link functionality from switchport 1.0.41, use the following commands: node1# configure terminal node1(config)# int port1.0.41
node1(config-if)# no switchport atmf-guestlink node1(config-if)# end
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1358
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
SWITCHPORT ATMF LINK
switchport atmf-link
Overview This command enables you to configure a port or aggregator to be an AMF up/down link. Running this command will automatically place the port or aggregator into trunk mode.
Use the no variant of this command to remove any AMF-link that may exist for the selected port or aggregated link.
Syntax switchport atmf-link no switchport atmf-link
Mode Interface Configuration for a switchport, a static aggregator or a dynamic channel group.
Usage Up/down links and virtual links interconnect domains in a vertical hierarchy, with the highest domain being the core domain. In effect, they form a tree of interconnected AMF domains. This tree must be loop-free. Therefore, you must configure your links so that no rings are formed only from up/down links and/or virtual links.
Within each domain, cross-links between AMF nodes define those nodes as siblings within the same domain. You can form rings by combining cross-links with up/down links and/or virtual links, as long as each AMF domain links upwards to only a single parent domain. Each domain may link downwards to multiple child domains.
Example To make a switchport 1.0.1 an AMF up/down link, use the following commands:
Node_1# configure terminal
Node_1(config)# interface port1.0.1
Node_1(config-if)# switchport atmf-link
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1359
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
TYPE ATMF NODE
type atmf node
Overview This command configures a trigger to be activated at an AMF node join event or leave event.
Syntax type atmf node {join|leave}
Parameter join leave
Description
AMF node join event.
AMF node leave event.
Mode Trigger Configuration
CAUTION
: Only configure this trigger on one device because it is a network wide event.
Example 1 To configure trigger 5 to activate at an AMF node leave event, use the following commands. In this example the command is entered on node-1: node1(config)# trigger 5 node1(config-trigger) type atmf node leave
Example 2 The following commands will configure trigger 5 to activate if an AMF node join event occurs on any node within the working set: node1# atmf working-set group all
This command returns the following display:
==================== node1, node2, node3:
====================
Working set join
C613-50135-01 Rev A
Note that the running the above command changes the prompt from the name of the local node, to the name of the AMF-Network followed, in square brackets, by the number of member nodes in the working set.
AMF-Net[3]# conf t
AMF-Net[3](config)# trigger 5
AMF-Net[3](config-trigger)# type atmf node leave
AMF-Net[3](config-trigger)# description “E-mail on AMF Exit”
AMF-Net[3](config-trigger)# active
Enter the name of the script to run at the trigger event.
AMF-Net[3](config-trigger)# script 1 email_me.scp
AMF-Net[3](config-trigger)# end
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1360
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
TYPE ATMF NODE
Display the trigger configurations
AMF-Net[3]# show trigger
This command returns the following display:
======= node1:
========
TR# Type & Details Description Ac Te Tr Repeat #Scr Days/Date
------------------------------------------------------------------------------
001 Periodic (2 min) Periodic Status Chk Y N Y Continuous 1 smtwtfs
005 ATMF node (leave) E-mail on ATMF Exit Y N Y Continuous 1 smtwtfs
------------------------------------------------------------------------------
==============
Node2, Node3,
==============
TR# Type & Details Description Ac Te Tr Repeat #Scr Days/Date
------------------------------------------------------------------------------
005 ATMF node (leave) E-mail on ATMF Exit Y N Y Continuous 1 smtwtfs
------------------------------------------------------------------------------
Display the triggers configured on each of the nodes in the AMF Network.
AMF-Net[3]# show running-config trigger
This command returns the following display:
========
Node1:
======== trigger 1
type periodic 2
script 1 atmf.scp
trigger 5
type atmf node leave description “E-mail on ATMF Exit”
script 1 email_me.scp
!
============
Node2, Node3:
============ trigger 5
type atmf node leave description “E-mail on ATMF Exit”
script 1 email_me.scp
!
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1361
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
TYPE ATMF NODE
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1362
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
UNDEBUG ATMF
undebug atmf
Overview This command is an alias for the no
variant of the debug atmf command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1363
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
USERNAME
username
Overview This command enables you to assign a username to a guest class. Guests may require a username and possibly also a password. In its non-encypted form the password must be between 1 and 32 characters and will allow spaces. In its encrypted form the password must be between 1 to 64 characters and will allow any character
Syntax username < NAME > password [8] < USERPASS > no username
Parameter username
<NAME> password
8
< USERPASS >
Description
Indicates that a user name is to follow
User name of the guest node
Indicates that a password (or specifier) is to follow.
Specifier indicating that the following password is encrypted. It's primary purpose is to differentiate between the configuration input and the CLI input. You should not specify this for CLI input
The password to be entered for the guest node.
Default No usernames configured
Mode AMF Guest Configuration Mode
Example 1 To assign the user name reception and the password of secret to an AMF guest node that has the guest class of phone1 use the following commands: node1# conf t node1(config)# amf guest-class phone1 node1(config-atmf-guest)# username reception password secret node1(config-atmf-guest)# end
Example 2 To remove a guest node username and password for the user guest class phone1 , use the following commands: node1# conf t node1(config)# atmf guest-class phone1 node1(config-atmf-guest)# no username node1(config-atmf-guest)# end
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1364
A LLIED T ELESIS M ANAGEMENT F RAMEWORK ™ (AMF) C OMMANDS
USERNAME
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1365
40
Dynamic Host
Configuration
Protocol (DHCP)
Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
DHCP.
For more information, see the DHCP Feature Overview and Configuration Guide , which is available at the above link on alliedtelesis.com.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide . This guide is available at the above link on alliedtelesis.com.
Command List •
•
•
“ ip address dhcp ” on page 1367
“ show counter dhcp-client ” on page 1369
“ show dhcp lease ” on page 1370
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1366
D YNAMIC H OST C ONFIGURATION P ROTOCOL (DHCP) C OMMANDS
IP ADDRESS DHCP
ip address dhcp
Overview This command activates the DHCP client on the interface you are configuring. This allows the interface to use the DHCP client to obtain its IP configuration details from a DHCP server on its connected network.
The client-id and hostname parameters are identifiers that you may want to set in order to interoperate with your existing DHCP infrastructure. If neither option is needed, then the DHCP server uses the MAC address field of the request to identify the host.
The DHCP client supports the following IP configuration options:
•
• Option 1 - the subnet mask for your device.
Option 51 - lease expiration time.
The no variant of this command stops the interface from obtaining IP configuration details from a DHCP server.
Syntax ip address dhcp [client-id <interface> ] [hostname <hostname> ] no ip address dhcp
Parameter
<interface>
<hostname>
Description
The name of the interface you are activating the DHCP client on. If you specify this, then the MAC address associated with the specified interface is sent to the DHCP server in the optional identifier field.
Default: no default
The hostname for the DHCP client on this interface. Typically this name is provided by the ISP.
Default: no default
Mode Interface Configuration for a VLAN interface.
Examples To set the interface vlan10 to use DHCP to obtain an IP address, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# ip address dhcp
To stop the interface vlan10 from using DHCP to obtain its IP address, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no ip address dhcp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1367
D YNAMIC H OST C ONFIGURATION P ROTOCOL (DHCP) C OMMANDS
IP ADDRESS DHCP
Related
Commands
ip address (IP Addressing and Protocol)
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1368
D YNAMIC H OST C ONFIGURATION P ROTOCOL (DHCP) C OMMANDS
SHOW COUNTER DHCP CLIENT
show counter dhcp-client
Overview This command shows counters for the DHCP client on your device.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show counter dhcp-client
Mode User Exec and Privileged Exec
Example To display the message counters for the DHCP client on your device, use the command: awplus# show counter dhcp-client
Output Figure 40-1: Example output from the show counter dhcp-client command
show counter dhcp-client
DHCPDISCOVER out ......... 10
DHCPREQUEST out ......... 34
DHCPDECLINE out ......... 4
DHCPRELEASE out ......... 0
DHCPOFFER in ......... 22
DHCPACK in ......... 18
DHCPNAK in ......... 0
Table 1: Parameters in the output of the show counter dhcp-client command
Parameter
DHCPNAK in
Description
DHCPDISCOVER out The number of DHCP Discover messages sent by the client.
DHCPREQUEST out The number of DHCP Request messages sent by the client.
DHCPDECLINE out
DHCPRELEASE out
The number of DHCP Decline messages sent by the client.
The number of DHCP Release messages sent by the client.
DHCPOFFER in
DHCPACK in
The number of DHCP Offer messages received by the client.
The number of DHCP Acknowledgement messages received by the client.
The number of DHCP Negative Acknowledgement messages received by the client.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1369
D YNAMIC H OST C ONFIGURATION P ROTOCOL (DHCP) C OMMANDS
SHOW DHCP LEASE
show dhcp lease
Overview This command shows details about the leases that the DHCP client has acquired from a DHCP server for interfaces on the device.
For information on filtering and saving command output, see “Controlling “show”
Command Output” in the “Getting Started with AlliedWare_Plus” Feature
Overview and Configuration Guide .
Syntax show dhcp lease [< interface >]
Parameter
<interface>
Description
Interface name to display DHCP lease details for.
Mode User Exec and Privileged Exec
Example To show the current lease expiry times for all interfaces, use the command: awplus# show dhcp lease
To show the current lease for vlan1, use the command: awplus# show dhcp lease vlan1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1370
D YNAMIC H OST C ONFIGURATION P ROTOCOL (DHCP) C OMMANDS
SHOW DHCP LEASE
Output Figure 40-2: Example output from the show dhcp lease command
Interface vlan1
---------------------------------------------------------------
IP Address: 192.168.22.4
Expires: 13 Mar 2017 20:10:19
Renew: 13 Mar 2017 18:37:06
Rebind: 13 Mar 2017 19:49:29
Server:
Options:
subnet-mask 255.255.255.0
routers 19.18.2.100,12.16.2.17
dhcp-lease-time 3600
dhcp-message-type 5
domain-name-servers 192.168.100.50,19.88.200.33
dhcp-server-identifier 192.168.22.1
domain-name alliedtelesis.com
Interface vlan2
---------------------------------------------------------------
IP Address: 100.8.16.4
Expires: 13 Mar 2017 20:15:39
Renew: 13 Mar 2017 18:42:25
Rebind: 13 Mar 2017 19:54:46
Server:
Options:
subnet-mask 255.255.0.0
routers 10.58.1.51
dhcp-lease-time 1000
dhcp-message-type 5
dhcp-server-identifier 100.8.16.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1371
41
DHCP for IPv6
(DHCPv6)
Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
DHCPv6. For more information, see the DHCPv6 Feature Overview and
Configuration Guide .
DHCPv6 is a network protocol used to configure IPv6 hosts with IPv6 addresses and
IPv6 prefixes for an IPv6 network. DHCPv6 is used instead of SLAAC (Stateless
Address Autoconfiguration) at sites where centralized management of IPv6 hosts is needed. IPv6 routers require automatic configuration of IPv6 addresses and IPv6 prefixes.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
NOTE : The IPv6 addresses shown use the address space 2001:0db8::/32, defined in RFC
3849 for documentation purposes. These addresses should not be used for practical networks (other than for testing purposes) nor should they appear on any public network.
Command List •
•
•
•
•
•
clear counter ipv6 dhcp-client
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1372
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
CLEAR COUNTER IPV 6 DHCP CLIENT
clear counter ipv6 dhcp-client
Overview Use this command in Privileged Exec mode to clear DHCPv6 client counters.
Syntax clear counter ipv6 dhcp-client
Mode Privileged Exec
Example To clear DHCPv6 client counters, use the following command: awplus# clear counter ipv6 dhcp-client
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1373
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
CLEAR IPV 6 DHCP CLIENT
clear ipv6 dhcp client
Overview Use this command in Privileged Exec mode to restart a DHCPv6 client on an interface.
Syntax clear ipv6 dhcp client < interface >
Parameter
< interface >
Description
Specify the interface name to restart a DHCPv6 client on.
Mode Privileged Exec
Example To restart a DHCPv6 client on interface vlan1, use the following command: awplus# clear ipv6 dhcp client vlan1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1374
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
IPV 6 ADDRESS DHCP
ipv6 address dhcp
Overview DHCPv6 is supported in Software Version 5.4.3A-1.x and later.
Use this command in Interface Configuration mode to activate the DHCPv6 client on the interface that you are configuring. This allows the interface to use the
DHCPv6 client to obtain its IPv6 configuration details from a DHCPv6 server on its connected network.
Use the no variant of this command to stop the interface from obtaining IPv6 configuration details from a DHCPv6 server.
The DHCPv6 client supports the following IP configuration options:
•
•
•
•
• Option 1 - the subnet mask for your device.
Option 3 - a list of default routers.
Option 6 - a list of DNS servers.
Option 15 - a domain name used to resolve host names.
Option 51 - lease expiration time.
Syntax ipv6 address dhcp no ipv6 address dhcp
Examples To set the interface vlan10 to use DHCPv6 to obtain an IPv6 address, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config)# ipv6 enable awplus(config-if)# ipv6 address dhcp
To stop the interface vlan10 from using DHCPv6 to obtain its IPv6 address, use the commands: awplus# configure terminal awplus(config)# interface vlan10 awplus(config-if)# no ipv6 address dhcp
Related
Commands
Validation
Commands
1375 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
SHOW COUNTER IPV 6 DHCP CLIENT
show counter ipv6 dhcp-client
Overview Use this command in User Exec or Privilege Exec mode to show DHCPv6 client counter information.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show counter ipv6 dhcp-client
Mode User Exec and Privileged Exec
Example To display the DHCPv6 client counter information, use the command: awplus# show counter ipv6 dhcp-client
Output Figure 41-1: Example output from the show counter ipv6 dhcp-client command awplus#show counter ipv6 dhcp-client
SOLICIT out ......... 20
ADVERTISE in ......... 12
REQUEST out ......... 1
CONFIRM out ......... 0
RENEW out ......... 0
REBIND out ......... 0
REPLY in ......... 0
RELEASE out ......... 0
DECLINE out ......... 0
INFORMATION-REQUEST out ......... 0
Table 1: Parameters in the output of the show counter ipv6 dhcp-client command
Parameter
SOLICIT out
ADVERTISE in
REQUEST out
CONFIRM out
RENEW out
Description
Displays the count of SOLICIT messages sent by the DHCPv6 client.
Displays the count of ADVERTISE messages received by the
DHCPv6 client.
Displays the count of REQUEST messages sent by the DHCPv6 client.
Displays the count of CONFIRM messages sent by the DHCPv6 client.
Displays the count of RENEW messages sent by the DHCPv6 client.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1376
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
SHOW COUNTER IPV 6 DHCP CLIENT
Table 1: Parameters in the output of the show counter ipv6 dhcp-client command (cont.)
Parameter
REBIND out
REPLY in
RELEASE out
DECLINE out
INFORMATION-
REQUEST out
Description
Displays the count of REBIND messages sent by the DHCPv6 client.
Displays the count of REPLY messages received by the DHCPv6 client.
Displays the count of RELEASE messages sent by the DHCPv6 client.
Displays the count of DECLINE messages sent by the DHCPv6 client.
Displays the count of INFORMATION-REQUEST messages sent by the DHCPv6 client.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1377
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
SHOW IPV 6 DHCP
show ipv6 dhcp
Overview Use this command in User Exec or Privileged Exec mode to show the DHCPv6 unique identifier (DUID) configured on your device.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 dhcp
Mode User Exec and Privileged Exec
Usage The DUID is based on the link-layer address for both DHCPv6 client and DHCPv6 server identifiers. The device uses the MAC address from the lowest interface number for the DUID.
The DUID is used by a DHCPv6 client to obtain an IPv6 address from a DHCPv6 server. A DHCPv6 server compares the DUID with its database of DUIDs and sends configuration data for an IPv6 address plus the preferred and valid lease time values to a DHCPv6 client.
Example To display the DUID configured on your device, use the command: awplus# show ipv6 dhcp
Output Figure 41-2: Example output from the show ipv6 dhcp command awplus#show ipv6 dhcp
DHCPv6 Server DUID: 0001000117ab6876001577f7ba23
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1378
DHCP FOR IP V 6 (DHCP V 6) C OMMANDS
SHOW IPV 6 DHCP INTERFACE
show ipv6 dhcp interface
Overview Use this command in User Exec or Privileged Exec mode to display DHCPv6 information for a specified interface, or all interfaces when entered without the interface parameter.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Syntax show ipv6 dhcp interface [< interface-name >]
Parameter Description
<interface-name> Optional. Specify the name of the interface to show DHCPv6 information about. Omit this optional parameter to display
DHCPv6 information for all interfaces DHCPv6 is configured on.
Mode User Exec and Privileged Exec
Example To display DHCPv6 information for all interfaces DHCPv6 is configured on, use the command: awplus# show ipv6 dhcp interface
Output Figure 41-3: Example output from the show ipv6 dhcp interface command awplus# show ipv6 dhcp interface vlan1 is in client mode
Address 1001::3c0:1
preferred lifetime 9000, valid lifetime 5000
starts at 20 Jan 2012 09:21:35
expires at 20 Jan 2012 10:25:32
Table 2: Parameters in the output of the show counter dhcp-client command
Parameter
<interface> is in client mode
Address
Preference
Description
Displays that the specified interface is in client mode.
Displays the address of the DHCPv6 server on the interface.
Displays the preference value for the DHCPv6 server.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1379
42
NTP Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure the Network Time Protocol (NTP). For more information, see the NTP Feature
Overview and Configuration Guide .
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
ntp trusted-key ” on page 1395
show ntp counters associations ” on page 1401
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1380
NTP C OMMANDS
NTP ACCESS GROUP
ntp access-group
Overview This command has been deprecated in Software Version 5.4.6-1.1. Please use the
instead.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1381
NTP C OMMANDS
NTP AUTHENTICATE
ntp authenticate
Overview This command enables NTP authentication. This allows NTP to authenticate the associations with other systems for security purposes.
The no variant of this command disables NTP authentication.
Syntax ntp authenticate no ntp authenticate
Mode Global Configuration
Examples To enable NTP authentication, use the commands: awplus# configure terminal awplus(config)# ntp authenticate
To disable NTP authentication, use the commands: awplus# configure terminal awplus(config)# no ntp authenticate
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1382
NTP C OMMANDS
NTP AUTHENTICATION KEY
ntp authentication-key
Overview This command defines each of the authentication keys. Each key has a key number, a type (MD5 or SHA1), and a value.
The no variant of this disables the authentication key.
Syntax ntp authentication-key < keynumber > {md5|sha1} < key > [trusted] no ntp authentication-key < keynumber >
Parameter Description
< keynumber > < 1-4294967295 > An identification number for the key.
md5 sha1
< key >
Define an MD5 key.
Define an SHA1 key.
The authentication key. For SHA1, this is a 20 hexadecimal character string. For MD5, this is a string of up to 31 ASCII characters.
trusted Add this key to the list of authentication keys that this server trusts.
Mode Global Configuration
Examples To define an MD5 authentication key number 134343 and a key value “mystring”, use the commands: awplus# configure terminal awplus(config)# ntp authentication-key 134343 md5 mystring
To disable the authentication key number 134343 with the key value “mystring”, use the commands: awplus# configure terminal awplus(config)# no ntp authentication-key 134343 md5 mystring
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1383
NTP C OMMANDS
NTP BROADCASTDELAY
ntp broadcastdelay
Overview Use this command to set the estimated round-trip delay for broadcast packets.
Use the no variant of this command to reset the round-trip delay for broadcast packets to the default offset of 0 microseconds.
Syntax ntp broadcastdelay < delay > no ntp broadcastdelay
Parameter
<delay>
Description
< 1-999999 > The broadcast delay in microseconds.
Default 0 microsecond offset, which can only be applied with the no variant of this command.
Mode Global Configuration
Examples To set the estimated round-trip delay to 23464 microseconds for broadcast packets, use these commands: awplus# configure terminal awplus(config)# ntp broadcastdelay 23464
To reset the estimated round-trip delay for broadcast packets to the default setting
( 0 microseconds), use these commands: awplus# configure terminal awplus(config)# no ntp broadcastdelay
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1384
NTP C OMMANDS
NTP DISCARD
ntp discard
Overview Use this command to limit the time between NTP packets on the host or hosts
specified by the command ntp restrict
. Packets that arrive at greater frequency than the limits are dropped or sent a kiss-of-death response.
Use the no variant of this command to return the limits to their default values.
Syntax ntp discard minimum < 1-60 > ntp discard average < 1-16 > no ntp discard minimum no ntp discard average
Parameter minimum <1-60> average <1-16>
Description
The minimum time between NTP packets, in seconds.
A value that determines the minimum average time between NTP packets. The number of seconds is 2 to the power of the specified value (e.g. if you specify 4, the minimum average time is 16 seconds).
Default Minimum: 2
Average: 3 (8 seconds)
Mode Global Configuration
Example To drop NTP packets from the 192.168.1.0/16 subnet if they arrive more frequently than every 5 seconds, and also send kiss-of-death messages, use the commands: awplus# configure terminal awplus(config)# ntp discard minimum 5 awplus(config)# ntp restrict 192.168.1.0/16 limited kod
To silently drop all NTP packets if they arrive more frequently than once every 4 seconds on average (2 to the power of 2), use the commands: awplus# configure terminal awplus(config)# ntp discard average 2 awplus(config)# ntp restrict default-v4 limited awplus(config)# ntp restrict default-v6 limited
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1385
NTP C OMMANDS
NTP MASTER
ntp master
Overview Use this command to make the device to be an authoritative NTP server, even if the system is not synchronized to an outside time source.
Use the no variant of this command to stop the device being the designated NTP server.
Syntax ntp master [< stratum >] no ntp master
Parameter
< stratum >
Description
< 1-15 > The stratum number defines the configured level that is set for this master within the NTP hierarchy. The default stratum number is 12.
Mode Global Configuration
Usage The stratum levels define the distance from the reference clock and exist to prevent cycles in the hierarchy. Stratum 1 is used to indicate time servers, which are more accurate than Stratum 2 servers. For more information on the Network
Time Protocol go to: www.ntp.org
Examples To stop the device from being the designated NTP server, use the commands: awplus# configure terminal awplus(config)# no ntp master
To make the device the designated NTP server with stratum number 2, use the commands: awplus# configure terminal awplus(config)# ntp master 2
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1386
NTP C OMMANDS
NTP PEER
ntp peer
Overview Use this command to configure an NTP peer association. An NTP association is a peer association if this system is willing to either synchronize to the other system, or allow the other system to synchronize to it.
Use the no variant of this command to remove the configured NTP peer association.
Syntax ntp peer {< peeraddress >|< peername >} ntp peer {< peeraddress >|< peername >} [prefer] [key < key >]
[version < version >] no ntp peer {< peeraddress >|< peername >}
Parameter
< peeraddress >
Description
Specify the IP address of the peer, entered in the form
A.B.C.D for an IPv4 address, or in the form X:X::X:X for an IPv6 address.
< peername > Specify the peer hostname. The peer hostname can resolve to an IPv4 and an IPv6 address.
prefer key < key >
Prefer this peer when possible.
< 1-4294967295 >
Configure the peer authentication key.
version < version > < 1-4 >
Configure for this NTP version.
Mode Global Configuration
Examples See the following commands for options to configure NTP peer association, key and NTP version for the peer with an IPv4 address of 192.0.2.23
: awplus# configure terminal awplus(config)# ntp peer 192.0.2.23
awplus(config)# ntp peer 192.0.2.23 prefer awplus(config)# ntp peer 192.0.2.23 prefer version 4 awplus(config)# ntp peer 192.0.2.23 prefer version 4 key 1234 awplus(config)# ntp peer 192.0.2.23 version 4 key 1234 awplus(config)# ntp peer 192.0.2.23 version 4 awplus(config)# ntp peer 192.0.2.23 key 1234
To remove an NTP peer association for this peer with an IPv4 address of
192.0.2.23
, use the following commands: awplus# configure terminal awplus(config)# no ntp peer 192.0.2.23
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1387
NTP C OMMANDS
NTP PEER
See the following commands for options to configure NTP peer association, key and NTP version for the peer with an IPv6 address of 2001:0db8:010d::1 : awplus# configure terminal awplus(config)# ntp peer 2001:0db8:010d::1 awplus(config)# ntp peer 2001:0db8:010d::1 prefer awplus(config)# ntp peer 2001:0db8:010d::1 prefer version 4 awplus(config)# ntp peer 2001:0db8:010d::1 prefer version 4 key
1234 awplus(config)# ntp peer 2001:0db8:010d::1 version 4 key 1234 awplus(config)# ntp peer 2001:0db8:010d::1 version 4 awplus(config)# ntp peer 2001:0db8:010d::1 key 1234
To remove an NTP peer association for this peer with an IPv6 address of
2001:0db8:010d::1 , use the following commands: awplus# configure terminal awplus(config)# no ntp peer 2001:0db8:010d::1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1388
NTP C OMMANDS
NTP RESTRICT
ntp restrict
Overview Use this command to restrict NTP functionality for one or more hosts.
You can drop NTP packets from specified hosts, apply frequency limits to NTP packets from specified hosts, or restrict the level of functionality for specified hosts.
For more details, see The NTP Public_Services_Project_website.
Use the no variant of this command to remove a restriction from one or more hosts.
Syntax ntp restrict
{default-v4|default-v6|< host-address >|< host-subnet >} ignore ntp restrict
{default-v4|default-v6|< host-address >|< host-subnet >}
[limited [kod]] {nomodify|noquery|nopeer|noserve|notrust} no ntp restrict
{default-v4|default-v6|< host-address >|< host-subnet >}
Parameter default-v4
Description
Apply this restriction to all IPv4 hosts.
default-v6 Apply this restriction to all IPv6 hosts.
<host-address> Apply this restriction to the specified IPv4 or IPv6 host.
Enter an IPv4 address in the format A.B.C.D.
Enter an IPv6 address in the format X:X::X:X.
<host-subnet> Apply this restriction to the specified IPv4 subnet or IPv6 prefix.
Enter an IPv4 subnet in the format A.B.C.D/M.
Enter an IPv6 prefix in the format X:X::X:X/X.
ignore Block all NTP connections, including time polls, from matching hosts.
limited Apply frequency limits to matching hosts. To specify the frequency limits, use the command
kod Send kiss-of-death packets when the rate limit is exceeded. If you do not specify this, NTP packets are dropped without further processing when the rate limit is exceeded.
nomodify Prevent matching hosts from modifying the NTP configuration, even if they have a trusted key.
noquery Prevent matching hosts from querying this device’s NTP status.
This option does not block time queries.
We recommend using this option on publicly-accessible systems, because it blocks ntpq and ntpdc queries, which can be used in amplification attacks.
nopeer Prevent matching hosts from becoming NTP peers of this device.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1389
NTP C OMMANDS
NTP RESTRICT
Parameter noserve notrust
Description
Do not serve the time to matching hosts.
Require that matching hosts authenticate NTP sessions with this device. If you use this option, the device will drop all unsigned
NTP packets from matching hosts.
Default None. By default, there are no restrictions configured.
Mode Global Configuration
Example To prevent all hosts from using NTP except for the host 192.0.2.1 and the subnet
192.168.1.0/16, use the commands: awplus# configure terminal awplus(config)# ntp restrict default-v4 ignore awplus(config)# ntp restrict default-v6 ignore awplus(config)# ntp restrict 192.0.2.1
awplus(config)# ntp restrict 192.168.1.0/16
To force the host 192.0.2.1 and the subnet 192.168.1.0/16 to authenticate NTP sessions with this device, use the commands: awplus# configure terminal awplus(config)# ntp restrict 192.0.2.1 notrust awplus(config)# ntp restrict 192.168.1.0/16 notrust
To drop NTP packets from the 192.168.1.0/16 subnet if they arrive more frequently than every 5 seconds, and also send kiss-of-death messages, use the commands: awplus# configure terminal awplus(config)# ntp discard minimum 5 awplus(config)# ntp restrict 192.168.1.0/16 limited kod
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1390
NTP C OMMANDS
NTP SERVER
ntp server
Overview Use this command to configure an NTP server. This means that this system will synchronize to the other system, and not vice versa.
Use the no variant of this command to remove the configured NTP server.
Syntax ntp server {< serveraddress >|< servername >} ntp server {< serveraddress >|< servername >} [prefer] [key < key >]
[version < version >] no ntp server {< serveraddress >|< servername >}
Parameter
< serveraddress >
Description
Specify the IP address of the peer, entered in the form
A.B.C.D
for an IPv4 address, or in the form X:X::X.X
for an IPv6 address.
< servername > Specify the server hostname. The server hostname can resolve to an IPv4 and an IPv6 address.
prefer key < key >
Prefer this server when possible.
< 1-4294967295 >
Configure the server authentication key.
version < version > < 1-4 >
Configure for this NTP version.
Mode Global Configuration
Examples See the following commands for options to configure an NTP server association, key and NTP version for the server with an IPv4 address of 192.0.1.23: awplus# configure terminal awplus(config)# ntp server 192.0.1.23
awplus(config)# ntp server 192.0.1.23 prefer awplus(config)# ntp server 192.0.1.23 prefer version 4 awplus(config)# ntp server 192.0.1.23 prefer version 4 key 1234 awplus(config)# ntp server 192.0.1.23 version 4 key 1234 awplus(config)# ntp server 192.0.1.23 version 4 awplus(config)# ntp server 192.0.1.23 key 1234
To remove an NTP peer association for this peer with an IPv4 address of 192.0.1.23, use the commands: awplus# configure terminal awplus(config)# no ntp server 192.0.1.23
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1391
NTP C OMMANDS
NTP SERVER
See the following commands for options to configure an NTP server association, key and NTP version for the server with an IPv6 address of 2001:0db8:010e::2: awplus# configure terminal awplus(config)# ntp server 2001:0db8:010e::2 awplus(config)# ntp server 2001:0db8:010e::2 prefer awplus(config)# ntp server 2001:0db8:010e::2 prefer version 4 awplus(config)# ntp server 2001:0db8:010e::2 prefer version 4 key 1234 awplus(config)# ntp server 2001:0db8:010e::2 version 4 key 1234 awplus(config)# ntp server 2001:0db8:010e::2 version 4 awplus(config)# ntp server 2001:0db8:010e::2 key 1234
To remove an NTP peer association for this peer with an IPv6 address of
2001:0db8:010e::2, use the commands: awplus# configure terminal awplus(config)# no ntp server 2001:0db8:010e::2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1392
NTP C OMMANDS
NTP SOURCE
ntp source
Overview Use this command to configure an IPv4 or an IPv6 address for the NTP source interface. This command defines the socket used for NTP messages, and only applies to NTP client behavior.
Note that you cannot use this command when using AMF (Allied Telesis
Management Framework) or VCStack.
Use the no variant of this command to remove the configured IPv4 or IPv6 address from the NTP source interface.
Syntax ntp source < source-address > no ntp source
Parameter
< source-address >
Description
Specify the IP address of the NTP source interface, entered in the form A.B.C.D for an IPv4 address, or in the form
X:X::X.X for an IPv6 address.
Default An IP address is selected based on the most appropriate egress interface used to reach the NTP peer if a configured NTP client source IP address is unavailable or invalid.
Mode Global Configuration
Usage Adding an IPv4 or an IPv6 address allows you to select which source interface NTP uses for peering. The IPv4 or IPv6 address configured using this command is matched to the interface.
When selecting a source IP address to use for NTP messages to the peer, if the configured NTP client source IP address is unavailable then default behavior will apply, and an alternative source IP address is automatically selected. This IP address is based on the most appropriate egress interface used to reach the NTP peer. The configured NTP client source IP may be unavailable if the interface is down, or an invalid IP address is configured that does not reside on the device.
Note that this command only applies to NTP client behavior. The egress interface
that the NTP messages use to reach the NTP server is determined by the ntp peer
commands.
Note that you cannot use this command when using AMF (Allied Telesis
Management Framework).
Examples To configure the NTP source interface with the IPv4 address 192.0.2.23, enter the commands: awplus# configure terminal awplus(config)# ntp source 192.0.2.23
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1393
NTP C OMMANDS
NTP SOURCE
To configure the NTP source interface with the IPv6 address 2001:0db8:010e::2, enter the commands: awplus# configure terminal awplus(config)# ntp source 2001:0db8:010e::2
To remove a configured address for the NTP source interface, use the following commands: awplus# configure terminal awplus(config)# no ntp source
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1394
NTP C OMMANDS
NTP TRUSTED KEY
ntp trusted-key
Overview This command has been deprecated in Software Version 5.4.6-1.1. Please use the trusted
parameter of the command ntp authentication-key instead.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1395
NTP C OMMANDS
SHOW COUNTER NTP ( DEPRECATED )
show counter ntp (deprecated)
Overview From version 5.4.6-1.x onwards, this command has been replaced by the
.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1396
NTP C OMMANDS
SHOW NTP ASSOCIATIONS
show ntp associations
Overview Use this command to display the status of NTP associations.
Syntax show ntp associations
Mode User Exec and Privileged Exec
Example See the sample output of the show ntp associations command displaying the status of NTP associations.
Table 1: Example output from the show ntp associations command awplus#show ntp associations
remote refid st t when poll reach delay offset jitter
==============================================================================
*server1.example.com
.GPS. 1 u - 256 377 15.126 1.103 0.454
-server2.example2.com
192.0.2.2 2 u 173 256 377 28.172 -4.599 0.219
192.0.2.1 .INIT. 16 s - 1024 0 0.000 0.000 0.000
+server3.example3.com
.GPS. 1 u 205 256 377 27.144 0.775 0.193
* system peer, # backup, + candidate, - outlier, x false ticker
Table 2: Parameters in the output from the show ntp associations command
Parameter
* system peer
# backup
+ candidate
- outlier
Description
The peer that NTP uses to calculate variables like the offset and root dispersion of this AlliedWare Plus device. NTP passes these variables to the clients using this AlliedWare Plus device.
Peers that are usable, but are not among the first six peers sorted by synchronization distance. These peers may not be used.
Peers that the NTP algorithm has determined can be used, along with the system peer, to discipline the clock (i.e. to set the time on the AlliedWare Plus device).
Peers that are not used because their time is significantly different from the other peers.
Peers that are not used because they are not consider trustworthy.
x false ticker space remote
Peers that are not used because they are, for example, unreachable.
The peer IP address
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1397
NTP C OMMANDS
SHOW NTP ASSOCIATIONS
Table 2: Parameters in the output from the show ntp associations command
Parameter refid st t when poll reach delay offset jitter
Description
The IP address of the reference clock, or an abbreviation indicating the type of clock (e.g. GPS indicates that the server uses GPS for the reference clock). INIT indicates that the reference clock is initialising, so it is not operational.
The stratum, which is the number of hops between the server and the accurate time source such as an atomic clock.
Type, one of: u: unicast or manycast client b: broadcast or multicast clientl: local reference clock s: symmetric peer
A: manycast server
B: broadcast server
M: multicast server
When last polled (seconds ago, h hours ago, or d days ago).
Time between NTP requests from the device to the server.
An indication of whether or not the NTP server is responding to requests. 0 indicates there has never been a successful poll; 1 indicates that the last poll was successful; 3 indicates that the last two polls were successful; 377 indicates that the last 8 polls were successful.
The round trip communication delay to the remote peer or server, in milliseconds.
The mean offset (phase) in the times reported between this local host and the remote peer or server (root mean square, milliseconds).
The mean deviation in the time reported for that remote peer or server (the root mean square of difference of multiple time samples, in milliseconds).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1398
NTP C OMMANDS
SHOW NTP COUNTERS
show ntp counters
Overview This command displays packet counters for NTP.
Syntax show ntp counters
Mode User Exec and Privileged Exec
Example To display counters for NTP use the command: awplus# show ntp counters
Figure 42-1: Example output from show ntp counters uptime: 7212 sysstats reset: 7212 packets received: 307 current version: 237 older version: 69 bad length or format: 0 authentication failed: 0 declined: 0 restricted: 0 rate limited: 0
KoD responses: 0 processed for time: 306
Table 42-1: Parameters in the output from show ntp counters
Parameter uptime
Description
How long NTP has been running since it was last restarted, in seconds.
sysstats reset How long since
information was last reset, in seconds.
packets received current version older version
Total number of NTP client and server packets received by the device.
The number of version 4 NTP packets received.
The number of NTP packets received that are from an older version, down to version 1, of NTP. NTP is compatible with these versions and processes these packets.
bad length or format
The number of NTP packets received that do not conform to the standard packet length. NTP drops these packets.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1399
NTP C OMMANDS
SHOW NTP COUNTERS
Table 42-1: Parameters in the output from show ntp counters (cont.)
Parameter Description authentication failed
The number of NTP packets received that failed authentication.
NTP drops these packets. Packets can only fail authentication if
NTP authentication is enabled with the ntp authenticate
command.
declined restricted
The number of packets that were declined for any reason.
The number of NTP packets received that do not match any restrict statements in the NTP restrictions. NTP drops these packets. See the command
for more information.
rate limited The number of packets dropped because the packet rate exceeded its limits. See the command
information.
KoD responses The number of kiss-of-death packets NTP has sent. See the command
for more information.
processed for time
The number of packets processed by NTP. NTP processes a packet once it has determined that the packet is valid by checking factors such as the packet’s authentication, format, access rights and version.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1400
NTP C OMMANDS
SHOW NTP COUNTERS ASSOCIATIONS
show ntp counters associations
Overview Use this command to display NTP packet counters for individual servers and peers.
Syntax show ntp counters associations
Mode User Exec/Privileged Exec
Examples To display packet counters for each NTP server and peer that is associated with this device, use the command: awplus# show ntp counters associations
Output Figure 42-2: Example output from show ntp counters associations awplus#show ntp counters associations
Peer time-server.example.com
sent: 123 received: 122 auth-failed: 0 bogus-origin: 0 duplicate: 0 bad-header: 0 kod-received: 0
Table 42-2: Parameters in the output from show ntp counters associations
Parameter
Peer sent received auth-failed bogus-origin duplicate
Description
An NTP peer or server that the device is associated with.
The number of NTP packets that this device sent to the peer.
The number of NTP packets that this device received from the peer.
The number of NTP packets received that failed authentication. NTP drops these packets. Packets can only fail authentication if NTP authentication is enabled with the
command
The number of packets received that have unexpected timestamps. Such packets are not part of the current request/reply round and may be faked.
The number of duplicate packets received. Such packets are at best old duplicates and at worst a replay by a hacker.
Duplicates can happen in symmetric modes if the poll intervals are uneven.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1401
NTP C OMMANDS
SHOW NTP COUNTERS ASSOCIATIONS
Table 42-2: Parameters in the output from show ntp counters associations
Parameter bad-header kod-received
Description
The number of packets where one or more header fields are invalid.
The number of Kiss of Death packets received from the peer. KoD packets indicate that this device is sending NTP packets more often than the peer will accept them. If you receive KoD packets, you should stop using this server or peer.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1402
NTP C OMMANDS
SHOW NTP STATUS
show ntp status
Overview Use this command to display the status of the Network Time Protocol (NTP).
Syntax show ntp status
Mode User Exec and Privileged Exec
Example To see information about NTP status, use the command: awplus# show ntp status
For information about the output displayed by this command, see ntp.org
.
Figure 42-3: Example output from the show ntp status command awplus#show ntp status associd=0 status=061b leap_none, sync_ntp, 1 event, leap_event, system peer: 10.37.211.97:123 system peer mode: client leap indicator: 00 stratum: 4 log2 precision: -19 root delay: 24.234 root dispersion: 113.912 reference ID: 10.37.211.97 reference time: daad77a3.846d4632 Mon, Apr 4 2016 23:30:43.517
system jitter: 3.603336 clock jitter: 3.292 clock wander: 0.601 broadcast delay: 0.000 symm. auth. delay: 0.000
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1403
43
SNMP Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
SNMP. For more information, see:
• the Support for Allied Telesis Enterprise_MIBs in AlliedWare Plus , for information about which MIB objects are supported.
• the SNMP Feature Overview and Configuration_Guide .
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ show counter snmp-server ” on page 1407
“ show debugging snmp ” on page 1411
“ show running-config snmp ” on page 1412
“ show snmp-server ” on page 1413
“ show snmp-server community ” on page 1414
“ show snmp-server group ” on page 1415
“ show snmp-server user ” on page 1416
“ show snmp-server view ” on page 1417
“ snmp trap link-status ” on page 1418
“ snmp trap link-status suppress ” on page 1420
“ snmp-server community ” on page 1424
“ snmp-server contact ” on page 1425
“ snmp-server enable trap ” on page 1426
“ snmp-server engineID local ” on page 1428
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1404
SNMP C OMMANDS
•
•
•
•
•
•
•
•
•
•
“ snmp-server engineID local reset ” on page 1430
“ snmp-server group ” on page 1431
“ snmp-server host ” on page 1433
“ snmp-server legacy-ifadminstatus ” on page 1435
“ snmp-server location ” on page 1436
“ snmp-server source-interface ” on page 1437
“ snmp-server startup-trap-delay ” on page 1438
“ snmp-server user ” on page 1439
“ snmp-server view ” on page 1442
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1405
SNMP C OMMANDS
DEBUG SNMP
debug snmp
Overview This command enables SNMP debugging.
The no variant of this command disables SNMP debugging.
Syntax debug snmp
[all|detail|error-string|process|receive|send|xdump] no debug snmp
[all|detail|error-string|process|receive|send|xdump]
Parameter all detail
Description
Enable or disable the display of all SNMP debugging information.
Enable or disable the display of detailed SNMP debugging information.
error-string Enable or disable the display of debugging information for SNMP error strings.
process Enable or disable the display of debugging information for processed SNMP packets.
receive Enable or disable the display of debugging information for received SNMP packets.
send Enable or disable the display of debugging information for sent
SNMP packets.
xdump Enable or disable the display of hexadecimal dump debugging information for SNMP packets.
Mode Privileged Exec and Global Configuration
Example To start SNMP debugging, use the command: awplus# debug snmp
To start SNMP debugging, showing detailed SNMP debugging information, use the command: awplus# debug snmp detail
To start SNMP debugging, showing all SNMP debugging information, use the command: awplus# debug snmp all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1406
SNMP C OMMANDS
SHOW COUNTER SNMP SERVER
show counter snmp-server
Overview This command displays counters for SNMP messages received by the SNMP agent.
Syntax show counter snmp-server
Mode User Exec and Privileged Exec
Example To display the counters for the SNMP agent, use the command: awplus# show counter snmp-server
Output Figure 43-1: Example output from the show counter snmp-server command
SNMP-SERVER counters inPkts ......... 11 inBadVersions ......... 0 inBadCommunityNames ......... 0 inBadCommunityUses ......... 0 inASNParseErrs ......... 0 inTooBigs ......... 0 inNoSuchNames ......... 0 inBadValues ......... 0 inReadOnlys ......... 0 inGenErrs ......... 0 inTotalReqVars ......... 9 inTotalSetVars ......... 0 inGetRequests ......... 2 inGetNexts ......... 9 inSetRequests ......... 0 inGetResponses ......... 0 inTraps ......... 0 outPkts ......... 11 outTooBigs ......... 0 outNoSuchNames ......... 2 outBadValues ......... 0 outGenErrs ......... 0 outGetRequests ......... 0 outGetNexts ......... 0 outSetRequests ......... 0 outGetResponses ......... 11 outTraps ......... 0
UnSupportedSecLevels ......... 0
NotInTimeWindows ......... 0
UnknownUserNames ......... 0
UnknownEngineIDs ......... 0
WrongDigest ......... 0
DecryptionErrors ......... 0
UnknownSecModels ......... 0
InvalidMsgs ......... 0
UnknownPDUHandlers ......... 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1407
SNMP C OMMANDS
SHOW COUNTER SNMP SERVER
Table 1: Parameters in the output of the show counter snmp-server command
Parameter inPkts
Meaning inBadVersions inBadCommunityNames The number of messages received by the SNMP agent with an unrecognized SNMP community name. It drops these messages.
inBadCommunityUses The number of messages received by the SNMP agent where the requested SNMP operation is not permitted from SNMP managers using the SNMP community named in the message.
inASNParseErrs
The number of messages received by the SNMP agent for an unsupported SNMP version. It drops these messages.The SNMP agent on your device supports versions 1, 2C, and 3.
The number of ASN.1 or BER errors that the SNMP agent has encountered when decoding received SNMP
Messages.
inTooBigs
The total number of SNMP messages received by the
SNMP agent.
The number of SNMP PDUs received by the SNMP agent where the value of the error-status field is
‘tooBig'. This is sent by an SNMP manager to indicate that an exception occurred when processing a request from the agent.
inNoSuchNames The number of SNMP PDUs received by the SNMP agent where the value of the error-status field is
‘noSuchName'. This is sent by an SNMP manager to indicate that an exception occurred when processing a request from the agent.
inBadValues The number of SNMP PDUs received by the SNMP agent where the value of the error-status field is
‘badValue'. This is sent by an SNMP manager to indicate that an exception occurred when processing a request from the agent.
inReadOnlys The number of valid SNMP PDUs received by the SNMP agent where the value of the error-status field is
‘readOnly'. The SNMP manager should not generate a
PDU which contains the value ‘readOnly' in the error- status field. This indicates that there is an incorrect implementations of the SNMP.
inGenErrs The number of SNMP PDUs received by the SNMP agent where the value of the error-status field is
‘genErr'.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1408
SNMP C OMMANDS
SHOW COUNTER SNMP SERVER
Table 1: Parameters in the output of the show counter snmp-server command
Parameter inTotalReqVars inTotalSetVars inGetRequests inGetNexts inSetRequests inGetResponses inTraps outPkts outTooBigs outNoSuchNames outBadValues outGenErrs outGetRequests
Meaning
The number of MIB objects that the SNMP agent has successfully retrieved after receiving valid SNMP
Get-Request and Get-Next PDUs.
The number of MIB objects that the SNMP agent has successfully altered after receiving valid SNMP Set-
Request PDUs.
The number of SNMP Get-Request PDUs that the SNMP agent has accepted and processed.
The number of SNMP Get-Next PDUs that the SNMP agent has accepted and processed.
The number of SNMP Set-Request PDUs that the SNMP agent has accepted and processed.
The number of SNMP Get-Response PDUs that the
SNMP agent has accepted and processed.
The number of SNMP Trap PDUs that the SNMP agent has accepted and processed.
The number of SNMP Messages that the SNMP agent has sent.
The number of SNMP PDUs that the SNMP agent has generated with the value ‘tooBig’ in the error-status field. This is sent to the SNMP manager to indicate that an exception occurred when processing a request from the manager.
The number of SNMP PDUs that the SNMP agent has generated with the value `noSuchName' in the error-status field. This is sent to the SNMP manager to indicate that an exception occurred when processing a request from the manager.
The number of SNMP PDUs that the SNMP agent has generated with the value ‘badValue’ in the error-status field. This is sent to the SNMP manager to indicate that an exception occurred when processing a request from the manager.
The number of SNMP PDUs that the SNMP agent has generated with the value ‘genErr' in the error-status field. This is sent to the SNMP manager to indicate that an exception occurred when processing a request from the manager.
The number of SNMP Get-Request PDUs that the SNMP agent has generated.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1409
SNMP C OMMANDS
SHOW COUNTER SNMP SERVER
Table 1: Parameters in the output of the show counter snmp-server command
Parameter outGetNexts outSetRequests outGetResponses outTraps
UnSupportedSecLevel s
NotInTimeWindows
UnknownUserNames
UnknownEngineIDs
WrongDigest
DecryptionErrors
UnknownSecModels
InvalidMsgs
UnknownPDUHandlers
Meaning
The number of SNMP Get-Next PDUs that the SNMP agent has generated.
The number of SNMP Set-Request PDUs that the SNMP agent has generated.
The number of SNMP Get-Response PDUs that the
SNMP agent has generated.
The number of SNMP Trap PDUs that the SNMP agent has generated.
The number of received packets that the SNMP agent has dropped because they requested a securityLevel unknown or not available to the SNMP agent.
The number of received packets that the SNMP agent has dropped because they appeared outside of the authoritative SNMP agent’s window.
The number of received packets that the SNMP agent has dropped because they referenced an unknown user.
The number of received packets that the SNMP agent has dropped because they referenced an unknown snmpEngineID.
The number of received packets that the SNMP agent has dropped because they didn't contain the expected digest value.
The number of received packets that the SNMP agent has dropped because they could not be decrypted.
The number of messages received that contain a security model that is not supported by the server.
Valid for SNMPv3 messages only.
The number of messages received where the security model is supported but the authentication fails. Valid for SNMPv3 messages only.
The number of times the SNMP handler has failed to process a PDU. This is a system debugging counter.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1410
SNMP C OMMANDS
SHOW DEBUGGING SNMP
show debugging snmp
Overview This command displays whether SNMP debugging is enabled or disabled.
Syntax show debugging snmp
Mode User Exec and Privileged Exec
Example To display the status of SNMP debugging, use the command: awplus# show debugging snmp
Output Figure 43-2: Example output from the show debugging snmp command
Snmp (SMUX) debugging status:
Snmp debugging is on
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1411
SNMP C OMMANDS
SHOW RUNNING CONFIG SNMP
show running-config snmp
Overview This command displays the current configuration of SNMP on your device.
Syntax show running-config snmp
Mode Privileged Exec
Example To display the current configuration of SNMP on your device, use the command: awplus# show running-config snmp
Output Figure 43-3: Example output from the show running-config snmp command snmp-server contact AlliedTelesis snmp-server location Philippines snmp-server group grou1 auth read view1 write view1 notify view1 snmp-server view view1 1 included snmp-server community public snmp-server user user1 group1 auth md5 password priv des password
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1412
SNMP C OMMANDS
SHOW SNMP SERVER
show snmp-server
Overview This command displays the status and current configuration of the SNMP server.
Syntax show snmp-server
Mode Privileged Exec
Example To display the status of the SNMP server, use the command: awplus# show snmp-server
Output Figure 43-4: Example output from the show snmp-server command
SNMP Server .......................... Enabled
IP Protocol .......................... IPv4
SNMPv3 Engine ID (configured name) ... Not set
SNMPv3 Engine ID (actual) ............ 0x80001f888021338e4747b8e607
Related
Commands
snmp-server engineID local reset
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1413
SNMP C OMMANDS
SHOW SNMP SERVER COMMUNITY
show snmp-server community
Overview This command displays the SNMP server communities configured on the device.
SNMP communities are specific to v1 and v2c.
Syntax show snmp-server community
Mode Privileged Exec
Example To display the SNMP server communities, use the command: awplus# show snmp-server community
Output Figure 43-5: Example output from the show snmp-server community command
SNMP community information:
Community Name ........... public
Access ................. Read-only
View ................... none
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1414
SNMP C OMMANDS
SHOW SNMP SERVER GROUP
show snmp-server group
Overview This command displays information about SNMP server groups. This command is used with SNMP version 3 only.
Syntax show snmp-server group
Mode Privileged Exec
Example To display the SNMP groups configured on the device, use the command: awplus# show snmp-server group
Output Figure 43-6: Example output from the show snmp-server group command
SNMP group information:
Group name .............. guireadgroup
Security Level ........ priv
Read View ............. guiview
Write View ............ none
Notify View ........... none
Group name .............. guiwritegroup
Security Level ........ priv
Read View ............. none
Write View ............ guiview
Notify View ........... none
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1415
SNMP C OMMANDS
SHOW SNMP SERVER USER
show snmp-server user
Overview This command displays the SNMP server users and is used with SNMP version 3 only.
Syntax show snmp-server user
Mode Privileged Exec
Example To display the SNMP server users configured on the device, use the command: awplus# show snmp-server user
Output Figure 43-7: Example output from the show snmp-server user command
Name Group name Auth Privacy
------- ------------- ------- --------- freddy guireadgroup none none
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1416
SNMP C OMMANDS
SHOW SNMP SERVER VIEW
show snmp-server view
Overview This command displays the SNMP server views and is used with SNMP version 3 only.
Syntax show snmp-server view
Mode Privileged Exec
Example To display the SNMP server views configured on the device, use the command: awplus# show snmp-server view
Output Figure 43-8: Example output from the show snmp-server view command
SNMP view information:
View Name ............... view1
OID .................... 1
Type ................... included
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1417
SNMP C OMMANDS
SNMP TRAP LINK STATUS
snmp trap link-status
Overview Use this command to enable SNMP to send link status notifications (traps) for the interfaces when an interface goes up (linkUp) or down (linkDown).
Use the no variant of this command to disable the sending of link status notifications.
Syntax snmp trap link-status [enterprise] no snmp trap link-status
Parameter enterprise
Description
Send an Allied Telesis enterprise type of link trap.
Default By default, link status notifications are disabled.
Mode Interface Configuration
Usage The link status notifications can be enabled for the following interface types:
•
• switch port (e.g. port 1.0.1)
VLAN (e.g. vlan2)
• static and dynamic link aggregation (e.g. sa2, po2)
To specify where notifications are sent, use the snmp-server host command. To
configure the device globally to send other notifications, use the snmp-server enable trap command.
Examples To enable SNMP to send link status notifications for ports 1.0.2 to 1.0.6, use following commands: awplus# configure terminal awplus(config)# interface port1.0.2-1.0.6
awplus(config-if)# snmp trap link-status
To enable SNMP to send an Allied Telesis enterprise type of link status notification for port1.0.1, use following commands: awplus# configure terminal awplus(config)# interface 1.0.1
awplus(config-if)# snmp trap link-status enterprise
To disable the sending of link status notifications for port 1.0.2, use following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no snmp trap link-status
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1418
SNMP C OMMANDS
SNMP TRAP LINK STATUS
Related
Commands
snmp trap link-status suppress
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1419
SNMP C OMMANDS
SNMP TRAP LINK STATUS SUPPRESS
snmp trap link-status suppress
Overview Use this command to enable the suppression of link status notifications (traps) for the interfaces beyond the specified threshold, in the specified interval.
Use the no variant of this command to disable the suppression of link status notifications for the ports.
Syntax snmp trap link-status suppress {time {< 1-60 >|default}|threshold
{< 1-20 >|default}} no snmp trap link-status suppress
Parameter Description time
< 1-60 >
Set the suppression timer for link status notifications.
The suppress time in seconds.
default The default suppress time in seconds (60).
threshold Set the suppression threshold for link status notifications. This is the number of link status notifications after which to suppress further notifications within the suppression timer interval.
< 1-20 > default
The number of link status notifications.
The default number of link status notifications (20).
Default By default, if link status notifications are enabled (they are enabled by default), the suppression of link status notifications is enabled: notifications that exceed the notification threshold (default 20) within the notification timer interval (default 60 seconds) are not sent.
Mode Interface Configuration
Usage An unstable network can generate many link status notifications. When notification suppression is enabled, a suppression timer is started when the first link status notification of a particular type (linkUp or linkDown) is sent for an interface. If the threshold number of notifications of this type is sent before the timer reaches the suppress time, any further notifications of this type generated for the interface during the interval are not sent. At the end of the interval, the sending of link status notifications resumes, until the threshold is reached in the next interval.
Examples To enable the suppression of link status notifications for ports 1.0.2 to 1.0.6 after 10 notifications have been sent in 40 seconds, use following commands: awplus# configure terminal awplus(config)# interface port1.0.2-1.0.6
awplus(config-if)# snmp trap link-status suppress time 40 threshold 10
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1420
SNMP C OMMANDS
SNMP TRAP LINK STATUS SUPPRESS
To disable the suppression link status notifications for port 1.0.2, use following commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no snmp trap link-status suppress
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1421
SNMP C OMMANDS
SNMP SERVER
snmp-server
Overview Use this command to enable the SNMP agent (server) on the device. The SNMP agent receives and processes SNMP packets sent to the device, and generates
notifications (traps) that have been enabled by the snmp-server enable trap command.
Use the no variant of this command to disable the SNMP agent on the device.
When SNMP is disabled, SNMP packets received by the device are discarded, and no notifications are generated. This does not remove any existing SNMP configuration.
Syntax snmp-server [ip|ipv6] no snmp-server [ip|ipv6]
Parameter ip ipv6
Description
Enable or disable the SNMP agent for IPv4.
Enable or disable the SNMP agent for IPv6.
Default By default, the SNMP agent is enabled for both IPv4 and IPv6. If neither the ip parameter nor the ipv6 parameter is specified for this command, then SNMP is enabled or disabled for both IPv4 and IPv6.
Mode Global Configuration
Examples To enable SNMP on the device for both IPv4 and IPv6, use the commands: awplus# configure terminal awplus(config)# snmp-server
To enable the SNMP agent for IPv4 on the device, use the commands: awplus# configure terminal awplus(config)# snmp-server ip
To disable the SNMP agent for both IPv4 and IPv6 on the device, use the commands: awplus# configure terminal awplus(config)# no snmp-server
To disable the SNMP agent for IPv4, use the commands: awplus(config)# no snmp-server ipv4
1422 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
SNMP C OMMANDS
SNMP SERVER
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1423
SNMP C OMMANDS
SNMP SERVER COMMUNITY
snmp-server community
Overview This command creates an SNMP community, optionally setting the access mode for the community. The default access mode is read only. If view is not specified, the community allows access to all the MIB objects. The SNMP communities are only valid for SNMPv1 and v2c and provide very limited security. Communities should not be used when operating SNMPv3.
The no variant of this command removes an SNMP community. The specified community must already exist on the device.
Syntax snmp-server community < community-name > {view
< view-name >|ro|rw| <access-list> } no snmp-server community < community-name > [{view
< view-name >| <access-list> }]
Parameter Description
<community-name> Community name. The community name is a case sensitive string of up to 20 characters.
view Configure SNMP view. If view is not specified, the community allows access to all the MIB objects.
<view-name> View name. The view name is a string up to 20 characters long and is case sensitive.
ro rw
<access-list>
Read-only community.
Read-write community.
< 1-99 > Access list number.
Mode Global Configuration
Example The following command creates an SNMP community called “public” with read only access to all MIB variables from any management station.
awplus# configure terminal awplus(config)# snmp-server community public ro
The following command removes an SNMP community called “public” awplus# configure terminal awplus(config)# no snmp-server community public
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1424
SNMP C OMMANDS
SNMP SERVER CONTACT
snmp-server contact
Overview This command sets the contact information for the system. The contact name is:
•
•
displayed in the output of the show system
stored in the MIB object sysContact
The no variant of this command removes the contact information from the system.
Syntax snmp-server contact < contact-info > no snmp-server contact
Parameter Description
<contact-info> The contact information for the system, from 0 to 255 characters long. Valid characters are any printable character and spaces.
Mode Global Configuration
Example To set the system contact information to “[email protected]”, use the command: awplus# configure terminal awplus(config)# snmp-server contact [email protected]
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1425
SNMP C OMMANDS
SNMP SERVER ENABLE TRAP
snmp-server enable trap
Overview Use this command to enable the switch to transmit the specified notifications
(traps).
Note that the Environmental Monitoring traps defined in the AT-ENVMONv2-MIB are enabled by default.
Use the no variant of this command to disable the transmission of the specified notifications.
Syntax snmp-server enable trap {[atmf] [atmflink] [atmfnode] [atmfrr]
[auth] [dhcpsnooping] [epsr] [lldp] [loopprot] [mstp] [nsm]
[power-inline] [rmon] } no snmp-server enable trap {[atmf] [atmflink] [atmfnode]
[atmfrr] [auth] [dhcpsnooping] [epsr] [lldp] [loopprot] [mstp]
[nsm] [power-inline] [rmon] }
Parameter atmf atmflink atmfnode atmfrr auth dhcpsnooping epsr lldp loopprot mstp nsm power-inline rmon
Description
AMF traps.
AMF Link traps.
AMF Node traps.
AMF Reboot Rolling traps.
Authentication failure.
DHCP snooping and ARP security traps. These notifications must
also be set using the ip dhcp snooping violation command,
and/or the arp security violation command.
EPSR traps.
Link Layer Discovery Protocol (LLDP) traps. These notifications must also be enabled using the
and/or the lldp med-notifications command.
Loop Protection traps.
MSTP traps.
NSM traps.
Power-inline traps (Power Ethernet MIB RFC 3621).
RMON traps.
Default By default, no notifications are generated.
Mode Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1426
SNMP C OMMANDS
SNMP SERVER ENABLE TRAP
Usage This command cannot be used to enable link status notifications globally. To
enable link status notifications for particular interfaces, use the snmp trap link-status
command.
To specify where notifications are sent, use the snmp-server host command.
Note that more than one trap can be configured with one command entry, and also note this command applied to notifications send by SNMP version 3.
Examples To enable the device to send PoE related traps, use the following commands: awplus# configure terminal awplus(config)# snmp-server enable trap power-inline
To disable PoE traps being sent out by the device, use the following commands: awplus# configure terminal awplus(config)# no snmp-server enable power-inline
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1427
SNMP C OMMANDS
SNMP SERVER ENGINE ID LOCAL
snmp-server engineID local
Overview Use this command to configure the SNMPv3 engine ID. The SNMPv3 engine ID is used to uniquely identify the SNMPv3 agent on a device when communicating with SNMP management clients. Once an SNMPv3 engine ID is assigned, this engine ID is permanently associated with the device until you change it.
Use the no variant of this command to set the user defined SNMPv3 engine ID to a system generated pseudo-random value by resetting the SNMPv3 engine. The no snmp-server engineID local command has the same effect as the snmp-server engineID local default command. Note that the
snmp-server engineID local reset
command is used to force the system to generate a new engine ID when the current engine ID is also system generated.
Syntax snmp-server engineID local {< engine-id >|default} no snmp-server engineID local
Parameter Description
<engine-id> Specify SNMPv3 Engine ID value, a string of up to 27 characters.
default Set SNMPv3 engine ID to a system generated value by resetting the
SNMPv3 engine, provided the current engine ID is user defined. If the
ID.
Mode Global Configuration
Usage All devices must have a unique engine ID which is permanently set unless it is configured by the user.
Example To set the SNMPv3 engine ID to 800000cf030000cd123456, use the following commands: awplus# configure terminal awplus(config)# snmp-server engineID local
800000cf030000cd123456
To set a user defined SNMPv3 engine ID back to a system generated value, use the following commands: awplus# configure terminal awplus(config)# no snmp-server engineID local
Output The following example shows the engine ID values after configuration:
1428 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
SNMP C OMMANDS
SNMP SERVER ENGINE ID LOCAL awplus(config)#snmp-server engineid local asdgdfh231234d awplus(config)#exit
awplus#show snmp-server
SNMP Server .......................... Enabled
IP Protocol .......................... IPv4
SNMPv3 Engine ID (configured name) ... asdgdfh231234d
SNMPv3 Engine ID (actual) ............ 0x80001f888029af52e149198483
awplus(config)#no snmp-server engineid local awplus(config)#exit awplus#show snmp-server
SNMP Server .......................... Enabled
IP Protocol .......................... IPv4
SNMPv3 Engine ID (configured name) ... Not set
SNMPv3 Engine ID (actual) ............ 0x80001f888029af52e149198483
Validation
Commands
Related
Commands
snmp-server engineID local reset
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1429
SNMP C OMMANDS
SNMP SERVER ENGINE ID LOCAL RESET
snmp-server engineID local reset
Overview Use this command to force the device to generate a new pseudo-random SNMPv3 engine ID by resetting the SNMPv3 engine. If the current engine ID is user defined, use the
snmp-server engineID local command to set SNMPv3 engine ID to a system
generated value.
Syntax snmp-server engineID local reset
Mode Global Configuration
Example To force the SNMPv3 engine ID to be reset to a system generated value, use the commands: awplus# configure terminal awplus(config)# snmp-server engineID local reset
Validation
Commands
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1430
SNMP C OMMANDS
SNMP SERVER GROUP
snmp-server group
Overview This command is used with SNMP version 3 only, and adds an SNMP group, optionally setting the security level and view access modes for the group. The security and access views defined for the group represent the minimum required of its users in order to gain access.
The no variant of this command deletes an SNMP group, and is used with SNMPv3 only. The group with the specified authentication/encryption parameters must already exist.
Syntax snmp-server group <groupname> {auth|noauth|priv} [read
< readname >|write < writename >|notify < notifyname >] no snmp-server group < groupname > {auth|noauth|priv}
Parameter
< groupname >
Description
Group name. The group name is a string up to 20 characters long and is case sensitive.
auth noauth priv
Authentication.
No authentication and no encryption.
Authentication and encryption.
read
< readname > write
< writename >
Configure read view.
Read view name.
Configure write view.
Write view name. The view name is a string up to 20 characters long and is case sensitive.
notify Configure notify view.
< notifyname > Notify view name. The view name is a string up to 20 characters long and is case sensitive.
Mode Global Configuration
Examples To add SNMP group, for ordinary users, user the following commands: awplus# configure terminal awplus(config)# snmp-server group usergroup noauth read useraccess write useraccess
To delete SNMP group usergroup , use the following commands awplus# configure terminal awplus(config)# no snmp-server group usergroup noauth
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1431
SNMP C OMMANDS
SNMP SERVER GROUP
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1432
SNMP C OMMANDS
SNMP SERVER HOST
snmp-server host
Overview This command specifies an SNMP trap host destination to which Trap or Inform messages generated by the device are sent.
For SNMP version 1 and 2c you must specify the community name parameter. For
SNMP version 3, specify the authentication/encryption parameters and the user name. If the version is not specified, the default is SNMP version 1. Inform messages can be sent instead of traps for SNMP version 2c and 3.
Use the no variant of this command to remove an SNMP trap host. The trap host must already exist.
The trap host is uniquely identified by:
•
•
• host IP address (IPv4 or IPv6), inform or trap messages, community name (SNMPv1 or SNMP v2c) or the authentication/encryption parameters and user name (SNMP v3).
Syntax snmp-server host {< ipv4-address>|<ipv6-address >} [traps]
[version 1] < community-name >] snmp-server host {< ipv4-address>|<ipv6-address >}
[informs|traps] version 2c < community-name > snmp-server host {< ipv4-address>|<ipv6-address >}
[informs|traps] version 3 {auth|noauth|priv} < user-name > no snmp-server host {< ipv4-address>|<ipv6-address >} [traps]
[version 1] < community-name > no snmp-server host {< ipv4-address>|<ipv6-address >}
[informs|traps] version 2c < community-name > no snmp-server host {< ipv4-address>|<ipv6-address >}
[informs|traps] version 3 {auth|noauth|priv} < user-name >
Parameter
< ipv4-address>
1
2c
3
<ipv6-address > informs traps version
Description
IPv4 trap host address in the format A .B.C.D
, for example,
192.0.2.2
.
IPv6 trap host address in the format x:x::x:x for example,
2001:db8::8a2e:7334 .
Send Inform messages to this host.
Send Trap messages to this host (default).
SNMP version to use for notification messages. Default: version 1.
Use SNMPv1(default).
Use SNMPv2c.
Use SNMPv3.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1433
SNMP C OMMANDS
SNMP SERVER HOST
Parameter auth
Description
Authentication.
noauth priv
No authentication.
Encryption.
< community-name > The SNMPv1 or SNMPv2c community name.
< user-name > SNMPv3 user name.
Mode Global Configuration
Examples To configure the device to send generated traps to the IPv4 host destination
192.0.2.5
with the SNMPv2c community name public, use the following command: awplus# configure terminal awplus(config)# snmp-server host version 2c public192.0.2.5
To configure the device to send generated traps to the IPv6 host destination
2001:db8::8a2e:7334 with the SNMPv2c community name private, use the following command: awplus# configure terminal awplus(config)# snmp-server host version 2c private2001:db8::8a2e:7334
To remove a configured trap host of 192.0.2.5 with the SNMPv2c community name public, use the following command: awplus# configure terminal awplus(config)# no snmp-server host version 2c public192.0.2.5
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1434
SNMP C OMMANDS
SNMP SERVER LEGACY IFADMINSTATUS
snmp-server legacy-ifadminstatus
Overview Use this command to set the ifAdminStatus to reflect the operational state of the interface, rather than the administrative state.
The no variant of this command sets the ifAdminStatus to reflect the administrative state of the interface.
Syntax snmp-server legacy-ifadminstatus no snmp-server legacy-ifadminstatus
Default Legacy ifAdminStatus is turned off by default, so by default the SNMP ifAdminStatus reflects the administrative state of the interface.
Mode Global Configuration
Usage Note that if you enable Legacy ifAdminStatus, the ifAdminStatus will report a link’s status as Down when the link has been blocked by a process such as loop protection.
Example To turn on Legacy ifAdminStatus, use the command: awplus# snmp-server legacy-ifadminstatus
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1435
SNMP C OMMANDS
SNMP SERVER LOCATION
snmp-server location
Overview This command sets the location of the system. The location is:
•
•
displayed in the output of the show system
stored in the MIB object sysLocation
The no variant of this command removes the configured location from the system.
Syntax snmp-server location < location-name > no snmp-server location
Parameter Description
< location-name > The location of the system, from 0 to 255 characters long. Valid characters are any printable character and spaces.
Mode Global Configuration
Example To set the location to “server room 523”, use the following commands: awplus# configure terminal awplus(config)# snmp-server location server room 523
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1436
SNMP C OMMANDS
SNMP SERVER SOURCE INTERFACE
snmp-server source-interface
Overview Use this command to specify the originating interface for SNMP traps or informs.
An interface specified by this command must already have an IP address assigned to it.
Use the no variant of this command to reset the interface to its default value (the originating egress interface).
Syntax snmp-server source-interface {traps|informs} < interface-name > no snmp-server source-interface {traps|informs}
Parameter traps
Description
SNMP traps.
informs SNMP informs.
< interface-name > Interface name (must already have an IP address assigned).
Default By default, the source interface is the originating egress interface of the traps and informs messages.
Mode Global Configuration
Usage An SNMP trap or inform message that is sent from an SNMP server carries the notification IP address of its originating interface. Use this command to assign this interface.
Example The following commands set VLAN20 to be the interface whose IP address is used as the originating address in SNMP informs packets.
awplus# configure terminal awplus(config)# snmp-server source-interface informs vlan20
The following commands reset the originating source interface for SNMP trap messages to be the default interface (the originating egress interface): awplus# configure terminal awplus(config)# no snmp-server source-interface traps
Validation
Commands
1437 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
SNMP C OMMANDS
SNMP SERVER STARTUP TRAP DELAY
snmp-server startup-trap-delay
Overview Use this command to set the time in seconds after following completion of the device startup sequence before the device sends any SNMP traps (or SNMP notifications).
Use the no variant of this command to restore the default startup delay of 30 seconds.
Syntax snmp-server startup-trap-delay < delay-time > no snmp-server startup-trap-delay
Parameter
< delay-time >
Description
Specify an SNMP trap delay time in seconds in the range of 30 to 600 seconds.
Default The SNMP server trap delay time is 30 seconds. The no variant restores the default.
Mode Global Configuration
Example To delay the device sending SNMP traps until 60 seconds after device startup, use the following commands: awplus# configure terminal awplus(config)# snmp-server startup-trap-delay 60
To restore the sending of SNMP traps to the default of 30 seconds after device startup, use the following commands: awplus# configure terminal awplus(config)# no snmp-server startup-trap-delay
Validation
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1438
SNMP C OMMANDS
SNMP SERVER USER
snmp-server user
Overview Use this command to create or move users as members of specified groups. This command is used with SNMPv3 only.
The no variant of this command removes an SNMPv3 user. The specified user must already exist.
Syntax snmp-server user < username > < groupname > [encrypted] [auth
{md5|sha} < auth password >] [priv {des|aes} < privacy password >] no snmp-server user < username >
Parameter
< username >
Description
User name. The user name is a string up to 20 characters long and is case sensitive.
< groupname > Group name. The group name is a string up to 20 characters long and is case sensitive.
encrypted Use the encrypted parameter when you want to enter encrypted passwords.
auth md5 sha
< auth-password >
Authentication protocol.
MD5 Message Digest Algorithms.
SHA Secure Hash Algorithm.
Authentication password. The password is a string of 8 to
20 characters long and is case sensitive.
priv des aes
Privacy protocol.
DES Data Encryption Standard.
AES Advanced Encryption Standards.
< privacy-password > Privacy password. The password is a string of 8 to 20 characters long and is case sensitive.
Mode Global Configuration
Usage Additionally this command provides the option of selecting an authentication protocol and (where appropriate) an associated password. Similarly, options are offered for selecting a privacy protocol and password.
•
•
Note that each SNMP user must be configured on both the manager and agent entities. Where passwords are used, these passwords must be the same for both entities.
Use the encrypted parameter when you want to enter already encrypted passwords in encrypted form as displayed in the running and startup configs stored on the device. For example, you may need to move a user from one group to another group and keep the same passwords for the user instead of removing the user to apply new passwords.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1439
SNMP C OMMANDS
SNMP SERVER USER
•
• User passwords are entered using plaintext without the encrypted parameter and are encrypted according to the authentication and privacy protocols selected.
User passwords are viewed as encrypted passwords in running and startup configs shown from show running-config and show startup-config commands respectively. Copy and paste encrypted passwords from running-configs or startup-configs to avoid entry errors.
Examples To add SNMP user authuser as a member of group usergroup , with authentication protocol md5 , authentication password Authpass , privacy protocol des and privacy password Privpass , use the following commands awplus# configure terminal awplus(config)# snmp-server user authuser usergroup auth md5
Authpass priv des Privpass
Validate the user is assigned to the group using the show snmp-server user command: awplus#show snmp-server user
Name Group name Auth Privacy
------- ------------- ------- --------- authuser usergroup md5 des
To enter existing SNMP user authuser with existing passwords as a member of group newusergroup with authentication protocol md5 plus the encrypted authentication password 0x1c74b9c22118291b0ce0cd883f8dab6b74, privacy protocol des plus the encrypted privacy password
0x0e0133db5453ebd03822b004eeacb6608f, use the following commands awplus# configure terminal awplus(config)# snmp-server user authuser newusergroup encrypted auth md5 0x1c74b9c22118291b0ce0cd883f8dab6b74 priv des 0x0e0133db5453ebd03822b004eeacb6608f
NOTE : Copy and paste the encrypted passwords from the running-config or the startup-config displayed, using the show running-config and show startup- config commands respectively, into the command line to avoid key stroke errors issuing this command.
Validate the user has been moved from the first group using the show snmp-server user command:
C613-50135-01 Rev A awplus#show snmp-server user
Name Group name Auth Privacy
------- ------------- ------- --------- authuser newusergroup md5 des
To delete SNMP user authuser , use the following commands: awplus# configure terminal awplus(config)# no snmp-server user authuser
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1440
SNMP C OMMANDS
SNMP SERVER USER
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1441
SNMP C OMMANDS
SNMP SERVER VIEW
snmp-server view
Overview Use this command to create an SNMP view that specifies a sub-tree of the MIB.
Further sub-trees can then be added by specifying a new OID to an existing view.
Views can be used in SNMP communities or groups to control the remote manager’s access.
NOTE
: The object identifier must be specified in a sequence of integers separated by decimal points.
The no variant of this command removes the specified view on the device. The view must already exist.
Syntax snmp-server view < view-name > < mib-name > {included|excluded} no snmp-server view < view-name >
Parameter Description
< view-name > SNMP server view name.
The view name is a string up to 20 characters long and is case sensitive.
< mib-name > Object identifier of the MIB.
included Include this OID in the view.
excluded Exclude this OID in the view.
Mode Global Configuration
Examples The following command creates a view called “loc” that includes the system location MIB sub-tree.
awplus(config)# snmp-server view loc 1.3.6.1.2.1.1.6.0 included
To remove the view “loc” use the following command awplus(config)# no snmp-server view loc
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1442
SNMP C OMMANDS
UNDEBUG SNMP
undebug snmp
Overview
This command applies the functionality of the no debug snmp command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1443
44
LLDP Commands
Introduction
Command List •
•
•
•
•
•
•
•
•
•
•
Overview LLDP and LLDP-MED can be configured using the commands in this chapter, or by using SNMP with the LLDP-MIB and LLDP-EXT-DOT1-MIB (see the Support for
Allied Telesis Enterprise MIBs in AlliedWare Plus ).
The Voice VLAN feature can be configured using commands in
chapter.
For more information about LLDP, see the LLDP Feature Overview and
Configuration Guide .
LLDP can transmit a lot of data about the network. Typically, the network information gathered using LLDP is transferred to a Network Management System by SNMP. For security reasons, we recommend using SNMPv3 for this purpose (see the SNMP Feature Overview and Configuration Guide ).
LLDP operates over physical ports only. For example, it can be configured on switch ports that belong to static or dynamic channel groups, but not on the channel groups themselves.
“ clear lldp statistics ” on page 1446
“ clear lldp table ” on page 1447
“ lldp faststart-count ” on page 1450
“ lldp holdtime-multiplier ” on page 1451
“ lldp management-address ” on page 1452
“ lldp med-notifications ” on page 1453
“ lldp med-tlv-select ” on page 1454
lldp non-strict-med-tlv-order-check
lldp notifications ” on page 1459
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1444
LLDP C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ lldp port-number-type ” on page 1460
“ lldp tlv-select ” on page 1464
“ lldp transmit receive ” on page 1466
“ lldp tx-delay ” on page 1467
“ location civic-location configuration ” on page 1468
“ location civic-location identifier ” on page 1472
“ location civic-location-id ” on page 1473
“ location coord-location configuration ” on page 1474
“ location coord-location identifier ” on page 1476
“ location coord-location-id ” on page 1477
“ location elin-location ” on page 1478
“ location elin-location-id ” on page 1479
“ show debugging lldp ” on page 1480
“ show lldp interface ” on page 1484
“ show lldp local-info ” on page 1486
“ show lldp neighbors ” on page 1491
“ show lldp neighbors detail ” on page 1493
“ show lldp statistics ” on page 1497
“ show lldp statistics interface ” on page 1499
“ show location ” on page 1501
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1445
LLDP C OMMANDS
CLEAR LLDP STATISTICS
clear lldp statistics
Overview This command clears all LLDP statistics (packet and event counters) associated with specified ports. If no port list is supplied, LLDP statistics for all ports are cleared.
Syntax clear lldp statistics [interface < port-list >]
Parameter
< port-list >
Description
The ports for which the statistics are to be cleared.
Mode Privileged Exec
Examples To clear the LLDP statistics on ports 1.0.1 and 1.0.6, use the command: awplus# clear lldp statistics interface port1.0.1,port1.0.6
To clear all LLDP statistics for all ports, use the command: awplus# clear lldp statistics
Related
Commands
show lldp statistics interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1446
LLDP C OMMANDS
CLEAR LLDP TABLE
clear lldp table
Overview This command clears the table of LLDP information received from neighbors through specified ports. If no port list is supplied, neighbor information is cleared for all ports.
Syntax clear lldp table [interface <port-list> ]
Parameter Description
<port-list> The ports for which the neighbor information table is to be cleared.
Mode Privileged Exec
Examples To clear the table of neighbor information received on ports 1.0.1 and 1.0.6, use the command: awplus# clear lldp table interface port1.0.1,port1.0.6
To clear the entire table of neighbor information received through all ports, use the command: awplus# clear lldp table
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1447
LLDP C OMMANDS
DEBUG LLDP
debug lldp
Overview This command enables specific LLDP debug for specified ports. When LLDP debugging is enabled, diagnostic messages are entered into the system log. If no port list is supplied, the specified debugging is enabled for all ports.
The no variant of this command disables specific LLDP debug for specified ports. If no port list is supplied, the specified debugging is disabled for all ports.
Syntax debug lldp {[rx][rxpkt][tx][txpkt]} [interface [< port-list >]] debug lldp operation no debug lldp {[rx][rxpkt][tx][txpkt]} [interface
[< port-list >]] no debug lldp operation no debug lldp all
Parameter rx rxpkt tx txpkt
Description
LLDP receive debug.
Raw LLDPDUs received in hex format.
LLDP transmit debug.
Raw Tx LLDPDUs transmitted in hex format.
< port-list > The ports for which debug is to be configured.
operation Debug for LLDP internal operation on the switch.
all Disables all LLDP debugging for all ports.
Default By default no debug is enabled for any ports.
Mode Privileged Exec
Examples To enable debugging of LLDP receive on ports 1.0.1 and 1.0.6, use the command: awplus# debug lldp rx interface port1.0.1,port1.0.6
To enable debugging of LLDP transmit with packet dump on all ports, use the command: awplus# debug lldp tx txpkt
To disable debugging of LLDP receive on ports 1.0.1 and 1.0.6, use the command: awplus# no debug lldp rx interface port1.0.1,port1.0.6
To turn off all LLDP debugging on all ports, use the command: awplus# no debug lldp all
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1448
LLDP C OMMANDS
DEBUG LLDP
Related
Commands
lldp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1449
LLDP C OMMANDS
LLDP FASTSTART COUNT
lldp faststart-count
Overview Use this command to set the fast start count for LLDP-MED. The fast start count determines how many fast start advertisements LLDP sends from a port when it starts sending LLDP-MED advertisements from the port, for instance, when it detects a new LLDP-MED capable device.
The no variant of this command resets the LLDPD-MED fast start count to the default (3).
Syntax lldp faststart-count < 1-10 > no lldp faststart-count
Parameter
< 1-10 >
Description
The number of fast start advertisements to send.
Default The default fast start count is 3.
Mode Global Configuration
Examples To set the fast start count to 5, use the command: awplus# configure terminal awplus(config)# lldp faststart-count 5
To reset the fast start count to the default setting (3), use the command: awplus# configure terminal awplus(config)# no lldp faststart-count
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1450
LLDP C OMMANDS
LLDP HOLDTIME MULTIPLIER
lldp holdtime-multiplier
Overview This command sets the holdtime multiplier value. The transmit interval is multiplied by the holdtime multiplier to give the Time To Live (TTL) value that is advertised to neighbors.
The no variant of this command sets the multiplier back to its default.
Syntax lldp holdtime-multiplier < 2-10 > no lldp holdtime-multiplier
Parameter
< 2-10 >
Description
The multiplier factor.
Default The default holdtime multiplier value is 4.
Mode Global Configuration
Usage The Time-To-Live defines the period for which the information advertised to the neighbor is valid. If the Time-To-Live expires before the neighbor receives another update of the information, then the neighbor discards the information from its database.
Examples To set the holdtime multiplier to 2, use the commands: awplus# configure terminal awplus(config)# lldp holdtime-multiplier 2
To set the holdtime multiplier back to its default, use the commands: awplus# configure terminal awplus(config)# no lldp holdtime-multiplier 2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1451
LLDP C OMMANDS
LLDP MANAGEMENT ADDRESS
lldp management-address
Overview This command sets the IPv4 address to be advertised to neighbors (in the
Management Address TLV) via the specified ports. This address will override the default address for these ports.
The no variant of this command clears the user-configured management IP address advertised to neighbors via the specified ports. The advertised address reverts to the default.
Syntax lldp management-address < ipaddr > no lldp management-address
Parameter
< ipaddr >
Description
The IPv4 address to be advertised to neighbors, in dotted decimal format. This must be one of the IP addresses already configured on the device.
Default The local loopback interface primary IPv4 address if set, else the primary IPv4 interface address of the lowest numbered VLAN the port belongs to, else the MAC address of the device’s baseboard if no VLAN IP addresses are configured for the port.
Mode Interface Configuration
Usage To see the management address that will be advertised, use the
show lldp interface command or
command.
Examples To set the management address advertised by ports 1.0.1 and 1.06, to be
192.168.1.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp management-address 192.168.1.6
To clear the user-configured management address advertised by ports 1.0.1 and
1.0.6, and revert to using the default address, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp management-address
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1452
LLDP C OMMANDS
LLDP MED NOTIFICATIONS
lldp med-notifications
Overview Use this command to enable LLDP to send LLDP-MED Topology Change Detected
SNMP notifications relating to the specified ports. The switch sends an SNMP event notification when a new LLDP-MED compliant IP Telephony device is connected to or disconnected from a port on the switch.
Use the no variant of this command to disable the sending of LLDP-MED Topology
Change Detected notifications relating to the specified ports.
Syntax lldp med-notifications no lldp med-notifications
Default The sending of LLDP-MED notifications is disabled by default.
Mode Interface Configuration
Examples To enable the sending of LLDP-MED Topology Change Detected notifications relating to ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp med-notifications
To disable the sending of LLDP-MED notifications relating to ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp med-notifications
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1453
LLDP C OMMANDS
LLDP MED TLV SELECT
lldp med-tlv-select
Overview Use this command to enable LLDP-MED Organizationally Specific TLVs for transmission in LLDP advertisements via the specified ports. The LLDP-MED
Capabilities TLV must be enabled before any of the other LLDP-MED
Organizationally Specific TLVs are enabled.
Use the no variant of this command to disable the specified LLDP-MED
Organizationally Specific TLVs for transmission in LLDP advertisements via these ports. In order to disable the LLDP-MED Capabilities TLV, you must also disable the rest of these TLVs. Disabling all these TLVs disables LLDP-MED advertisements.
Syntax lldp med-tlv-select {[capabilities] [network-policy] [location]
[power-management-ext] [inventory-management]} lldp med-tlv-select all no lldp med-tlv-select {[capabilities] [network-policy]
[location] [power-management-ext] [inventory-management]} no lldp med-tlv-select all
Parameter capabilities
Description
LLDP-MED Capabilities TLV. When this is enabled, the
MAC/PHY Configuration/Status TLV from IEEE 802.3
Organizationally Specific TLVs is also automatically included in LLDP-MED advertisements, whether or not it has been explicitly enabled by the
command.
network-policy Network Policy TLV. This TLV is transmitted if Voice VLAN parameters have been configured using the commands:
•
•
•
switchport voice vlan priority
location Location Identification TLV. This TLV is transmitted if location information has been configured using the commands:
•
•
location civic-location identifier
•
location civic-location configuration
•
location coord-location identifier
•
location coord-location configuration
•
power-management-ext Extended Power-via-MDI TLV. This TLV is transmitted if
the port is PoE capable, and PoE is enabled ( power-inline enable command).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1454
LLDP C OMMANDS
LLDP MED TLV SELECT
Parameter Description inventory-management Inventory Management TLV Set, including the following
TLVs:
• Hardware Revision
• Firmware Revision
• Software Revision
• Serial Number
• Manufacturer Name
• Model Name
• Asset ID all All LLDP-MED Organizationally Specific TLVs.
Default By default LLDP-MED Capabilities, Network Policy, Location Identification and
Extended Power-via-MDI TLVs are enabled. Therefore, if LLDP is enabled using the
lldp run command, by default LLDP-MED advertisements are transmitted on ports
that detect LLDP-MED neighbors connected to them.
Mode Interface Configuration
Usage LLDP-MED TLVs are only sent in advertisements via a port if there is an
LLDP-MED-capable device connected to it. To see whether there are LLDP-MED capable devices connected to the ports, use the
Examples To enable inclusion of the Inventory TLV Set in advertisements transmitted via ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp med-tlv-select inventory-management
To exclude the Inventory TLV Set in advertisements transmitted via ports 1.0.1 and
1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp med-tlv-select inventory-management
To disable LLDP-MED advertisements transmitted via ports 1.0.1 and 1.0.6, disable all these TLVs using the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp med-tlv-select all
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1455
LLDP C OMMANDS
LLDP MED TLV SELECT
Related
Commands
location civic-location identifier
location civic-location configuration
location coord-location identifier
location coord-location configuration
switchport voice vlan priority
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1456
LLDP C OMMANDS
LLDP NON STRICT MED TLV ORDER CHECK
lldp non-strict-med-tlv-order-check
Overview Use this command to enable non-strict order checking for LLDP-MED advertisements it receives. That is, use this command to enable LLDP to receive and store TLVs from LLDP-MED advertisements even if they do not use standard
TLV order.
Use the no variant of this command to disable non-strict order checking for
LLDP-MED advertisements, that is, to set strict TLV order checking, so that LLDP discards any LLDP-MED TLVs that occur before the LLDP-MED Capabilities TLV in an advertisement.
Syntax lldp non-strict-med-tlv-order-check no lldp non-strict-med-tlv-order-check
Default By default TLV non-strict order checking for LLDP-MED advertisements is disabled.
That is, strict order checking is applied to LLDP-MED advertisements, according to
ANSI/TIA-1057, and LLDP-MED TLVs in non-standard order are discarded.
Mode Global Configuration
Usage The ANSI/TIA-1057 specifies standard order for TLVs in LLDP-MED advertisements, and specifies that if LLDP receives LLDP advertisements with non-standard
LLDP-MED TLV order, the TLVs in non-standard order should be discarded. This implementation of LLDP-MED follows the standard: it transmits TLVs in the standard order, and by default discards LLDP-MED TLVs that occur before the
LLDP-MED Capabilities TLV in an advertisement. However, some implementations of LLDP transmit LLDP-MED advertisements with non-standard TLV order. To receive and store the data from these non-standard advertisements, enable non-strict order checking for LLDP-MED advertisements using this command.
Examples To enable strict TLV order checking, use the commands: awplus# configure terminal awplus(config)# lldp tlv-order-check
To disable strict TLV order checking, use the commands: awplus# configure terminal awplus(config)# no lldp tlv-order-check
Related
Commands
lldp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1457
LLDP C OMMANDS
LLDP NOTIFICATION INTERVAL
lldp notification-interval
Overview This command sets the notification interval. This is the minimum interval between
LLDP SNMP notifications (traps) of each kind (LLDP Remote Tables Change
Notification and LLDP-MED Topology Change Notification).
The no variant of this command sets the notification interval back to its default.
Syntax lldp notification-interval < 5-3600 > no lldp notification-interval
Parameter
< 5-3600 >
Description
The interval in seconds.
Default The default notification interval is 5 seconds.
Mode Global Configuration
Examples To set the notification interval to 20 seconds, use the commands: awplus# configure terminal awplus(config)# lldp notification-interval 20
To set the notification interval back to its default, use the commands: awplus# configure terminal awplus(config)# no lldp notification-interval
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1458
LLDP C OMMANDS
LLDP NOTIFICATIONS
lldp notifications
Overview This command enables the sending of LLDP SNMP notifications (traps) relating to specified ports.
The no variant of this command disables the sending of LLDP SNMP notifications for specified ports.
Syntax lldp notifications no lldp notifications
Default The sending of LLDP SNMP notifications is disabled by default.
Mode Interface Configuration
Examples To enable sending of LLDP SNMP notifications for ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp notifications
To disable sending of LLDP SNMP notifications for ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp notifications
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1459
LLDP C OMMANDS
LLDP PORT NUMBER TYPE
lldp port-number-type
Overview This command sets the type of port identifier used to enumerate, that is to count, the LLDP MIB local port entries. The LLDP MIB (IEEE Standard 802.1AB-2005,
Section 12, LLDP MIB Definitions.) requires the port number value to count LLDP local port entries.
This command also enables you to optionally set an interface index to enumerate the LLDP MIB local port entries, if required by your management system.
The no variant of this command resets the type of port identifier back to the default setting (number).
Syntax lldp port-number-type [number|ifindex] no lldp port-number-type
Parameter number ifindex
Description
Set the type of port identifier to a port number to enumerate the
LLDP MIB local port entries.
Set the type of port identifier to an interface index to enumerate the
LLDP MIB local port entries.
Default The default port identifier type is number. The no variant of this command sets the port identifier type to the default.
Mode Global Configuration
Examples To set the type of port identifier used to enumerate LLDP MIB local port entries to port numbers, use the commands: awplus# configure terminal awplus(config)# lldp port-number-type number
To set the type of port identifier used to enumerate LLDP MIB local port entries to interface indexes, use the commands: awplus# configure terminal awplus(config)# lldp port-number-type ifindex
To reset the type of port identifier used to enumerate LLDP MIB local port entries the default (port numbers), use the commands: awplus# configure terminal awplus(config)# no lldp port-number-type
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1460
LLDP C OMMANDS
LLDP REINIT
lldp reinit
Overview This command sets the value of the reinitialization delay. This is the minimum time after disabling LLDP on a port before it can reinitialize.
The no variant of this command sets the reinitialization delay back to its default setting.
Syntax lldp reinit < 1-10 > no lldp reinit
Parameter
< 1-10 >
Description
The delay in seconds.
Default The default reinitialization delay is 2 seconds.
Mode Global Configuration
Examples To set the reinitialization delay to 3 seconds, use the commands: awplus# configure terminal awplus(config)# lldp reinit 3
To set the reinitialization delay back to its default, use the commands: awplus# configure terminal awplus(config)# no lldp reinit
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1461
LLDP C OMMANDS
LLDP RUN
lldp run
Overview This command enables the operation of LLDP on the device.
The no variant of this command disables the operation of LLDP on the device. The
LLDP configuration remains unchanged.
Syntax lldp run no lldp run
Default LLDP is disabled by default.
Mode Global Configuration
Examples To enable LLDP operation, use the commands: awplus# configure terminal awplus(config)# lldp run
To disable LLDP operation, use the commands: awplus# configure terminal awplus(config)# no lldp run
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1462
LLDP C OMMANDS
LLDP TIMER
lldp timer
Overview This command sets the value of the transmit interval. This is the interval between regular transmissions of LLDP advertisements.
The no variant of this command sets the transmit interval back to its default.
Syntax lldp timer < 5-32768 > no lldp timer
Parameter
< 5-32768 >
Description
The transmit interval in seconds. The transmit interval must be at least four times the transmission delay timer (
command).
Default The default transmit interval is 30 seconds.
Mode Global Configuration
Examples To set the transmit interval to 90 seconds, use the commands: awplus# configure terminal awplus(config)# lldp timer 90
To set the transmit interval back to its default, use the commands: awplus# configure terminal awplus(config)# no lldp timer
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1463
LLDP C OMMANDS
LLDP TLV SELECT
lldp tlv-select
Overview This command enables one or more optional TLVs, or all TLVs, for transmission in
LLDP advertisements via the specified ports. The TLVs can be specified in any order; they are placed in LLDP frames in a fixed order (as described in IEEE
802.1AB). The mandatory TLVs (Chassis ID, Port ID, Time To Live, End of LLDPDU) are always included in LLDP advertisements.
In LLDP-MED advertisements the MAC/PHY Configuration/Status TLV will be always be included regardless of whether it is selected by this command.
The no variant of this command disables the specified optional TLVs, or all optional
TLVs, for transmission in LLDP advertisements via the specified ports.
Syntax lldp tlv-select {[< tlv >]...} lldp tlv-select all no lldp tlv-select {[< tlv >]...} no lldp tlv-select all
Parameter
< tlv > all
Description
The TLV to transmit in LLDP advertisements. One of these keywords:
• port-description (specified by the
• system-name (specified by the
• system-description
• system-capabilities
• management-address
• port-vlan
• port-and-protocol-vlans
• vlan-names
• protocol-ids
• mac-phy-config
• power-management (Power Via MDI TLV)
• link-aggregation
• max-frame-size
All TLVs.
Default By default no optional TLVs are included in LLDP advertisements. The MAC/PHY
Configuration/Status TLV ( mac-phy-config ) is included in LLDP-MED advertisements whether or not it is selected by this command.
Mode Interface Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1464
LLDP C OMMANDS
LLDP TLV SELECT
Examples To include the management-address and system-name TLVs in advertisements transmitted via ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp tlv-select management-address system-name
To include all optional TLVs in advertisements transmitted via ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp tlv-select all
To exclude the management-address and system-name TLVs from advertisements transmitted via ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp tlv-select management-address system-name
To exclude all optional TLVs from advertisements transmitted via ports 1.0.1 and
1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp tlv-select all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1465
LLDP C OMMANDS
LLDP TRANSMIT RECEIVE
lldp transmit receive
Overview This command enables transmission and/or reception of LLDP advertisements to or from neighbors through the specified ports.
The no variant of this command disables transmission and/or reception of LLDP advertisements through specified ports.
Syntax lldp {[transmit] [receive]} no lldp {[transmit] [receive]}
Parameter transmit receive
Description
Enable or disable transmission of LLDP advertisements via this port or ports.
Enable or disable reception of LLDP advertisements via this port or ports.
Default LLDP advertisement transmission and reception are enabled on all ports by default.
Mode Interface Configuration
Examples To enable transmission of LLDP advertisements on ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp transmit
To enable LLDP advertisement transmission and reception on ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# lldp transmit receive
To disable LLDP advertisement transmission and reception on ports 1.0.1 and 1.0.6, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1,port1.0.6
awplus(config-if)# no lldp transmit receive
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1466
LLDP C OMMANDS
LLDP TX DELAY
lldp tx-delay
Overview This command sets the value of the transmission delay timer. This is the minimum time interval between transmitting LLDP advertisements due to a change in LLDP local information.
The no variant of this command sets the transmission delay timer back to its default setting.
Syntax lldp tx-delay < 1-8192 > no lldp tx-delay
Parameter
< 1-8192 >
Description
The transmission delay in seconds. The transmission delay cannot be greater than a quarter of the transmit interval (
Default The default transmission delay timer is 2 seconds.
Mode Global Configuration
Examples To set the transmission delay timer to 12 seconds, use the commands: awplus# configure terminal awplus(config)# lldp tx-delay 12
To set the transmission delay timer back to its default, use the commands: awplus# configure terminal awplus(config)# no lldp tx-delay
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1467
LLDP C OMMANDS
LOCATION CIVIC LOCATION CONFIGURATION
location civic-location configuration
Overview Use these commands to configure a civic address location. The country parameter must be specified first, and at least one of the other parameters must be configured before the location can be assigned to a port.
Use the no variants of this command to delete civic address parameters from the location.
Syntax country < country > state < state > no state county < county > no county city < city > no city division < division > no division neighborhood < neighborhood > no neighborhood street-group < street-group > no street-group leading-street-direction < leading-street-direction > no leading-street-direction trailing-street-suffix < trailing-street-suffix > no trailing-street-suffix street-suffix < street-suffix > no street-suffix house-number < house-number > no house-number house-number-suffix < house-number-suffix > no house-number-suffix landmark < landmark > no landmark additional-information < additional-information > no additional-information
1468 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
LLDP C OMMANDS
LOCATION CIVIC LOCATION CONFIGURATION
Syntax (cont.) name < name > no name postalcode < postalcode > no postalcode building < building > no building unit < unit > no unit floor < floor > no floor room < room > no room place-type < place-type > no place-type postal-community-name < postal-community-name > no postal-community-name post-office-box < post-office-box > no post-office-box additional-code < additional-code > no additional-code seat < seat > no seat primary-road-name < primary-road-name > no primary-road-name road-section < road-section > no road-section branch-road-name < branch-road-name > no branch-road-name sub-branch-road-name < sub-branch-road-name > no sub-branch-road-name street-name-pre-modifier < street-name-pre-modifier > no street-name-pre-modifier streetname-post-modifier < streetname-post-modifier > no streetname-post-modifier
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1469
LLDP C OMMANDS
LOCATION CIVIC LOCATION CONFIGURATION
C613-50135-01 Rev A
Parameter
<
<
<
<
<
<
< country state city >
< leading-street- direction >
< trailing-street-suffix >
< street-suffix >
< house-number >
< house-number-suffix >
< landmark >
< additional-information >
< name >
<
<
< postal-code
< building >
< unit >
< floor >
< room >
< place-type >
>
< postal-community-name >
< post-office-box >
< additional-code >
< seat >
> county >
> division > neighborhood street-group
>
> primary-road-name road-section >
>
Description
Upper-case two-letter country code, as specified in ISO 3166.
State (Civic Address (CA) Type 1): national subdivisions (state, canton, region).
County (CA Type 2): County, parish, gun (JP), district (IN).
City (CA Type 3): city, township, shi (JP).
City division (CA Type 4): City division, borough, city district, ward, chou (JP).
Neighborhood (CA Type 5): neighborhood, block.
Street group (CA Type 6): group of streets below the neighborhood level.
Leading street direction (CA Type 16).
Trailing street suffix (CA Type 17).
Street suffix (CA Type 18): street suffix or type.
House number (CA Type 19).
House number suffix (CA Type 20).
Landmark or vanity address (CA Type 21).
Additional location information (CA Type 22).
Name (CA Type 23): residence and office occupant.
Postal/zip code (CA Type 24).
Building (CA Type 25): structure.
Unit (CA Type 26): apartment, suite.
Floor (CA Type 27).
Room (CA Type 28).
Type of place (CA Type 29).
Postal community name (CA Type 30).
Post office box (P.O. Box) (CA Type 31).
Additional code (CA Type 32).
Seat (CA Type 33): seat (desk, cubicle, workstation).
Primary road name (CA Type 34).
Road section (CA Type 35).
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1470
LLDP C OMMANDS
LOCATION CIVIC LOCATION CONFIGURATION
Parameter
< branch-road-name >
< sub-branch-road-name >
< street-name-pre- modifier >
< street-name-post- modifier >
Description
Branch road name (CA Type 36).
Sub-branch road name (CA Type 37).
Street name pre-modifier (CA Type 38).
Street name post-modifier (CA Type 39).
Default By default no civic address location information is configured.
Mode Civic Address Location Configuration
Usage The country parameter must be configured before any other parameters can be configured; this creates the location. The country parameter cannot be deleted.
One or more of the other parameters must be configured before the location can be assigned to a port. The country parameter must be entered as an upper-case two-letter country code, as specified in ISO 3166. All other parameters are entered as alpha-numeric strings. Do not configure all the civic address parameters (this would generate TLVs that are too long). Configure a subset of these parameters—enough to consistently and precisely identify the location of the device. If the location is to be used for Emergency Call Service (ECS), the particular
ECS application may have guidelines for configuring the civic address location. For more information about civic address format, see the LLDP Feature Overview and
Configuration Guide .
To specify the civic address location, use the location civic-location identifier
command. To delete the civic address location, use the no variant of the location civic-location identifier command. To assign the civic address location to particular ports, so that it can be advertised in TLVs from those ports, use the
command location civic-location-id command.
Examples To configure civic address location 1 with location "27 Nazareth Avenue,
Christchurch, New Zealand" in civic-address format, use the commands: awplus# configure terminal awplus(config)# location civic-location identifier 1 awplus(config-civic)# country NZ awplus(config-civic)# city Christchurch awplus(config-civic)# primary-road-name Nazareth awplus(config-civic)# street-suffix Avenue awplus(config-civic)# house-number 27
Related
Commands
location civic-location identifier
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1471
LLDP C OMMANDS
LOCATION CIVIC LOCATION IDENTIFIER
location civic-location identifier
Overview Use this command to enter the Civic Address Location Configuration mode to configure the specified location.
Use the no variant of this command to delete a civic address location. This also removes the location from any ports it has been assigned to.
Syntax location civic-location identifier < civic-loc-id > no location civic-location identifier < civic-loc-id >
Parameter Description
< civic-loc-id > A unique civic address location ID, in the range 1 to 4095.
Default By default there are no civic address locations.
Mode Global Configuration
Usage To configure the location information for this civic address location identifier, use
the location civic-location configuration command. To associate this civic location
identifier with particular ports, use the
command.
Up to 400 locations can be configured on the switch for each type of location information, up to a total of 1200 locations.
Examples To enter Civic Address Location Configuration mode for the civic address location with ID 1, use the commands: awplus# configure terminal awplus(config)# location civic-location identifier 1 awplus(config-civic)#
To delete the civic address location with ID 1, use the commands: awplus# configure terminal awplus(config)# no location civic-location identifier 1
Related
Commands
location civic-location configuration
lldp
1472 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
LLDP C OMMANDS
LOCATION CIVIC LOCATION ID
location civic-location-id
Overview Use this command to assign a civic address location to the ports. The civic address location must already exist. This replaces any previous assignment of civic address location for the ports. Up to one location of each type can be assigned to a port.
Use the no variant of this command to remove a location identifier from the ports.
Syntax location civic-location-id < civic-loc-id > no location civic-location-id [< civic-loc-id >]
Parameter
< civic-loc-id >
Description
Civic address location ID, in the range 1 to 4095.
Default By default no civic address location is assigned to ports.
Mode Interface Configuration
Usage The civic address location associated with a port can be transmitted in Location
Identification TLVs via the port.
Before using this command, create the location using the following commands:
•
•
location civic-location identifier
command
location civic-location configuration
command
If a civic-address location is deleted using the no variant of the
location civic-location identifier
command, it is automatically removed from all ports.
Examples To assign the civic address location 1 to port1.0.1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# location civic-location-id 1
To remove a civic address location from port1.0.1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no location civic-location-id
Related
Commands
location civic-location identifier
location civic-location configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1473
LLDP C OMMANDS
LOCATION COORD LOCATION CONFIGURATION
location coord-location configuration
Overview Use this command to configure a coordinate-based location. All parameters must be configured before assigning this location identifier to a port.
Syntax latitude < latitude > lat-resolution < lat-resolution > longitude < longitude > long-resolution < long-resolution > altitude < altitude > {meters|floor} alt-resolution < alt-resolution > datum {wgs84|nad83 navd|nad83 mllw}
Parameter Description
< lat-resolution > Latitude resolution, as a number of valid bits, in the range 0 to
34.
< latitude >
< long- resolution >
< longitude > meters floors datum
Latitude value in degrees in the range -90.0 to 90.0
Longitude resolution, as a number of valid bits, in the range 0 to 34.
Longitude value in degrees, in the range -180.0 to 180.0.
< alt-resolution > Altitude resolution, as a number of valid bits, in the range 0 to
30. A resolution of 0 can be used to indicate an unknown value.
< altitude > Altitude value, in meters or floors.
The altitude value is in meters.
The altitude value is in floors.
The geodetic system (or datum) that the specified coordinate values are based on.
wgs84 nad83-navd
World Geodetic System 1984.
North American Datum 1983 - North American Vertical
Datum.
nad83-mllw North American Datum 1983 - Mean Lower Low Water vertical datum.
Default By default no coordinate location information is configured.
Mode Coordinate Configuration
Usage Latitude and longitude values are always stored internally, and advertised in the
Location Identification TLV, as 34-bit fixed-point binary numbers, with a 25-bit fractional part, irrespective of the number of digits entered by the user. Likewise
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1474
LLDP C OMMANDS
LOCATION COORD LOCATION CONFIGURATION altitude is stored as a 30- bit fixed point binary number, with an 8-bit fractional part. Because the user-entered decimal values are stored as fixed point binary numbers, they cannot always be represented exactly—the stored binary number
is converted to a decimal number for display in the output of the show location
command. For example, a user-entered latitude value of “2.77” degrees is displayed as “2.7699999809265136718750000”.
The lat-resolution , long-resolution , and alt-resolution parameters allow the user to specify the resolution of each coordinate element as the number of valid bits in the internally-stored binary representation of the value. These resolution values can be used by emergency services to define a search area.
To specify the coordinate identifier, use the location coord-location identifier
command. To remove coordinate information, delete the coordinate location by using the no variant of that command. To associate the coordinate location with particular ports, so that it can be advertised in TLVs from those ports, use the
location elin-location-id command.
Example To configure the location for the White House in Washington DC, which has the coordinates based on the WGS84 datum of 38.89868 degrees North (with 22 bit resolution), 77.03723 degrees West (with 22 bit resolution), and 15 meters height
(with 9 bit resolution), use the commands: awplus# configure terminal awplus(config)# location coord-location identifier 1 awplus(config-coord)# la-resolution 22 awplus(config-coord)# latitude 38.89868
awplus(config-coord)# lo-resolution 22 awplus(config-coord)# longitude -77.03723
awplus(config-coord)# alt-resolution 9 awplus(config-coord)# altitude 15 meters awplus(config-coord)# datum wgs84
Related
Commands
location coord-location identifier
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1475
LLDP C OMMANDS
LOCATION COORD LOCATION IDENTIFIER
location coord-location identifier
Overview Use this command to enter Coordinate Location Configuration mode for this coordinate location.
Use the no variant of this command to delete a coordinate location. This also removes the location from any ports it has been assigned to.
Syntax location coord-location identifier < coord-loc-id > no location coord-location identifier < coord-loc-id >
Parameter
< coord-loc-id >
Description
A unique coordinate location identifier, in the range 1 to
4095.
Default By default there are no coordinate locations.
Mode Global Configuration
Usage Up to 400 locations can be configured on the switch for each type of location information, up to a total of 1200 locations.
ports, so that it can be advertised in TLVs from those ports, use the
location coord-location-id command.
Examples To enter Coordinate Location Configuration mode to configure the coordinate location with ID 1, use the commands: awplus# configure terminal awplus(config)# location coord-location identifier 1 awplus(config-coord)#
To delete coordinate location 1, use the commands: awplus# configure terminal awplus(config)# no location coord-location identifier 1
Related
Commands
location coord-location configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1476
LLDP C OMMANDS
LOCATION COORD LOCATION ID
location coord-location-id
Overview Use this command to assign a coordinate location to the ports. The coordinate location must already exist. This replaces any previous assignment of coordinate location for the ports. Up to one location of each type can be assigned to a port.
Use the no variant of this command to remove a location from the ports.
Syntax location coord-location-id < coord-loc-id > no location coord-location-id [< coord-loc-id >]
Parameter
< coord-loc-id >
Description
Coordinate location ID, in the range 1 to 4095.
Default By default no coordinate location is assigned to ports.
Mode Interface Configuration
Usage The coordinate location associated with a port can be transmitted in Location
Identification TLVs via the port.
Before using this command, configure the location using the following commands:
•
•
location coord-location identifier command
location coord-location configuration
command
If a coordinate location is deleted using the no variant of the
location coord-location identifier
command, it is automatically removed from all ports.
Examples To assign coordinate location 1 to port1.0.1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# location coord-location-id 1
To remove a coordinate location from port1.0.1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no location coord-location-id
Related
Commands
location coord-location identifier
location coord-location configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1477
LLDP C OMMANDS
LOCATION ELIN LOCATION
location elin-location
Overview Use this command to create or modify an ELIN location.
Use the no variant of this command to delete an ELIN location, and remove it from any ports it has been assigned to.
Syntax location elin-location <elin> identifier < elin-loc-id > no location elin-location identifier < elin-loc-id >
Parameter
< elin >
< elin-loc-id >
Description
Emergency Location Identification Number (ELIN) for
Emergency Call Service (ECS), in the range 10 to 25 digits long. In
North America, ELINs are typically 10 digits long.
A unique ELIN location identifier, in the range 1 to 4095.
Default By default there are no ELIN location identifiers.
Mode Global Configuration
Usage Up to 400 locations can be configured on the switch for each type of location information, up to a total of 1200 locations.
To assign this ELIN location to particular ports, so that it can be advertised in TLVs
from those ports, use the location elin-location-id command.
Examples To create a new ELIN location with ID 1, and configure it with ELIN "1234567890", use the commands: awplus# configure terminal awplus(config)# location elin-location 1234567890 identifier 1
To delete existing ELIN location with ID 1, use the commands: awplus# configure terminal awplus(config)# no location elin-location identifier 1
Related
Commands
1478 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
LLDP C OMMANDS
LOCATION ELIN LOCATION ID
location elin-location-id
Overview Use this command to assign an ELIN location to the ports. The ELIN location must already exist. This replaces any previous assignment of ELIN location for the ports.
Up to one location of each type can be assigned to a port.
Use the no variant of this command to remove a location identifier from the ports.
Syntax location elin location id < elin-loc-id > no location elin location id [< elin-loc-id >]
Parameter
< elin-loc-id >
Description
ELIN location identifier, in the range 1 to 4095.
Default By default no ELIN location is assigned to ports.
Mode Interface Configuration
Usage An ELIN location associated with a port can be transmitted in Location
Identification TLVs via the port.
Before using this command, configure the location using the location elin-location
command.
If an ELIN location is deleted using the no
variant of one of the location elin-location
command, it is automatically removed from all ports.
Examples To assign ELIN location 1 to port 1.0.1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# location elin-location-id 1
To remove an ELIN location from port 1.0.1, use the commands: awplus# configure terminal awplus(config)# interface port1.0.1
awplus(config-if)# no location elin-location-id
Related
Commands
1479 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
LLDP C OMMANDS
SHOW DEBUGGING LLDP
show debugging lldp
Overview This command displays LLDP debug settings for specified ports. If no port list is supplied, LLDP debug settings for all ports are displayed.
Syntax show debugging lldp [interface < port-list >]
Parameter Description
< port-list > The ports for which the LLDP debug settings are shown.
Mode User Exec and Privileged Exec
Examples To display LLDP debug settings for all ports, use the command: awplus# show debugging lldp
To display LLDP debug settings for ports 1.0.1 to 1.0.6, use the command: awplus# show debugging lldp interface port1.0.1-1.0.6
Output Figure 44-1: Example output from the show debugging lldp command
LLDP Debug settings:
Debugging for LLDP internal operation is on
Port Rx RxPkt Tx TxPkt
-----------------------------------
1.0.1 Yes Yes No No
1.0.2 Yes No No No
1.0.3 No No No No
1.0.4 Yes Yes Yes No
1.0.5 Yes No Yes No
1.0.6 Yes Yes Yes Yes
Table 1: Parameters in the output of the show debugging lldp command
Parameter Description
Port
Rx
RxPkt
Port name.
Whether debugging of LLDP receive is enabled on the port.
Whether debugging of LLDP receive packet dump is enabled on the port.
Rx
RxPkt
Whether debugging of LLDP transmit is enabled on the port.
Whether debugging of LLDP transmit packet dump is enabled on the port.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1480
LLDP C OMMANDS
SHOW DEBUGGING LLDP
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1481
LLDP C OMMANDS
SHOW LLDP
show lldp
Overview This command displays LLDP status and global configuration settings.
Syntax show lldp
Mode User Exec and Privileged Exec
Example To display LLDP status and global configuration settings, use the command: awplus# show lldp
Output
Table 2: Example output from the show lldp command
awplus# show lldp
LLDP Global Configuration: [Default Values]
LLDP Status ............... Enabled [Disabled]
Notification Interval ..... 5 secs [5]
Tx Timer Interval ......... 30 secs [30]
Hold-time Multiplier ...... 4 [4]
(Computed TTL value ....... 120 secs)
Reinitialization Delay .... 2 secs [2]
Tx Delay .................. 2 secs [2]
Port Number Type........... Ifindex [Port-Number]
Fast Start Count .......... 5 [3]
LLDP Global Status:
Total Neighbor Count ...... 47
Neighbors table last updated 0 hrs 0 mins 43 secs ago
C613-50135-01 Rev A
Table 3: Parameters in the output of the show lldp command
Parameter Description
LLDP Status
Notification
Interval
Tx Timer
Interval
Hold-time
Multiplier
Whether LLDP is enabled. Default is disabled.
Minimum interval between LLDP notifications.
Transmit interval between regular transmissions of LLDP advertisements.
The holdtime multiplier. The transmit interval is multiplied by the holdtime multiplier to give the Time To Live (TTL) value that is advertised to neighbors.
Reinitialization
Delay
The reinitialization delay. This is the minimum time after disabling LLDP transmit on a port before it can reinitialize again.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1482
LLDP C OMMANDS
SHOW LLDP
Table 3: Parameters in the output of the show lldp command (cont.)
Parameter
Tx Delay
Description
Port Number Type The type of port identifier used to enumerate LLDP MIB local port entries, as set by the lldp port-number-type command.
Fast Start Count The number of times fast start advertisements are sent for
LLDP-MED.
Total Neighbor
Count
Neighbors table last updated
The transmission delay. This is the minimum time interval between transmitting advertisements due to a change in
LLDP local information.
Number of LLDP neighbors discovered on all ports.
The time since the LLDP neighbor table was last updated.
Related
Commands
lldp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1483
LLDP C OMMANDS
SHOW LLDP INTERFACE
show lldp interface
Overview This command displays LLDP configuration settings for specified ports. If no port list is specified, LLDP configuration for all ports is displayed.
Syntax show lldp interface [< port-list >]
Parameter Description
< port-list > The ports for which the LLDP configuration settings are to be shown.
Mode User Exec and Privileged Exec
Examples To display LLDP configuration settings for ports 1.0.1 to 1.0.6, use the command: awplus# show lldp interface port1.0.1-1.0.6
To display LLDP configuration settings for all ports, use the command: awplus# show lldp interface
Output Figure 44-2: Example output from the show lldp interface command awplus# show lldp interface port1.0.1-1.0.6
LLDP Port Status and Configuration:
* = LLDP is inactive on this port because it is a mirror analyser port
Notification Abbreviations:
RC = LLDP Remote Tables Change TC = LLDP-MED Topology Change
TLV Abbreviations:
Base: Pd = Port Description Sn = System Name
Sd = System Description Sc = System Capabilities
Ma = Management Address
802.1: Pv = Port VLAN ID Pp = Port And Protocol VLAN ID
Vn = VLAN Name Pi = Protocol Identity
802.3: Mp = MAC/PHY Config/Status Po = Power Via MDI (PoE)
La = Link Aggregation Mf = Maximum Frame Size
MED: Mc = LLDP-MED Capabilities Np = Network Policy
Lo = Location Identification Pe = Extended PoE In = Inventory
Optional TLVs Enabled for Tx
Port Rx/Tx Notif Management Addr Base 802.1 802.3 MED
------------------------------------------------------------------------------
1.0.1 Rx Tx RC -- 192.168.100.123 PdSnSdScMa -------- -------- McNpLoPe-
*1.0.2 -- Tx RC -- 192.168.100.123 PdSnSdScMa -------- -------- McNpLoPe-
1.0.3 Rx Tx RC -- 192.168.100.123 Pd--SdScMa PvPpVnPi -------- McNpLoPe-
1.0.4 -- -- RC -- 192.168.100.123 PdSnSd--Ma -------- -------- McNpLoPe-
1.0.5 Rx Tx RC TC 192.168.100.123 PdSnSdScMa PvPpVnPi -------- McNpLoPe-
1.0.6 Rx Tx RC TC 192.168.100.123 Pd----ScMa -------- -------- McNpLoPe-
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1484
LLDP C OMMANDS
SHOW LLDP INTERFACE
Table 4: Parameters in the output of the show lldp interface command
Parameter
Port
Rx
Description
Port name.
Whether reception of LLDP advertisements is enabled on the port.
Tx Whether transmission of LLDP advertisements is enabled on the port.
Notif
Management Addr Management address advertised to neighbors.
Base TLVs Enabled for Tx
List of optional Base TLVs enabled for transmission:
• Pd = Port Description
• Sn =System Name
• Sd = System Description
• Sc =System Capabilities
• Ma = Management Address
802.1 TLVs
Enabled for Tx
Whether sending SNMP notification for LLDP is enabled on the port:
• RM = Remote Tables Change Notification
• TP = LLDP-MED Topology Change Notification
List of optional 802.1 TLVs enabled for transmission:
• Pv = Port VLAN ID
• Pp = Port And Protocol VLAN ID
• Vn = VLAN Name
• Pi =Protocol Identity
802.3 TLVs
Enabled for Tx
List of optional 802.3 TLVs enabled for transmission:
• Mp = MAC/PHY Configuration/Status
• Po = Power Via MDI (PoE)
• La = Link Aggregation
• Mf = Maximum Frame Size
MED TLVs Enabled for Tx
List of optional LLDP-MED TLVs enabled for transmission:
• Mc = LLDP-MED Capabilities
• Np = Network Policy
• Lo = Location Information,
• Pe = Extended Power-Via-MDI
• In = Inventory
Related
Commands
lldp
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1485
LLDP C OMMANDS
SHOW LLDP LOCAL INFO
show lldp local-info
Overview This command displays local LLDP information that can be transmitted through specified ports. If no port list is entered, local LLDP information for all ports is displayed.
Syntax show lldp local-info [base] [dot1] [dot3] [med] [interface
< port-list >]
Parameter Description base dot1
Information for base TLVs.
Information for 802.1 TLVs.
dot3 med
Information for 802.3 TLVs.
Information for LLDP-MED TLVs.
< port-list > The ports for which the local information is to be shown.
Mode User Exec and Privileged Exec
Usage Whether and which local information is transmitted in advertisements via a port depends on:
•
• whether the port is set to transmit LLDP advertisements (
command)
which TLVs it is configured to send ( lldp tlv-select
command)
Examples To display local information transmitted via port 1.0.1, use the command: awplus# show lldp local-info interface port1.0.1
To display local information transmitted via all ports, use the command: awplus# show lldp local-info
Output Figure 44-3: Example output from show lldp local-info
LLDP Local Information:
Local port1.0.1:
Chassis ID Type .................. MAC address
Chassis ID ....................... 0015.77c9.7453
Port ID Type ..................... Interface alias
Port ID .......................... port1.0.1
TTL .............................. 120
Port Description ................. [not configured]
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1486
LLDP C OMMANDS
SHOW LLDP LOCAL INFO
System Name ...................... awplus
System Description ............... Allied Telesis router/switch, AW+
v5.4.6
System Capabilities - Supported .. Bridge, Router
- Enabled .... Bridge, Router
Management Address ............... 192.168.1.6
Port VLAN ID (PVID) .............. 1
Port & Protocol VLAN - Supported . Yes
- Enabled ... No
- VIDs ...... 0
VLAN Names ....................... default
Protocol IDs ..................... 9000, 0026424203000000, 888e01, aaaa03,
88090101, 00540000e302, 0800, 0806, 86dd
MAC/PHY Auto-negotiation ......... Supported, Enabled
Advertised Capability ....... 1000BaseTFD, 100BaseTXFD, 100BaseTX,
10BaseTFD, 10BaseT
Operational MAU Type ........ 1000BaseTFD (30)
Power Via MDI (PoE) .............. Supported, Enabled
Port Class .................. PSE
Pair Control Ability ........ Disabled
Power Class ................. Unknown
Link Aggregation ................. Supported, Disabled
Maximum Frame Size ............... 1522
LLDP-MED Device Type ............. Network Connectivity
LLDP-MED Capabilities ............ LLDP-MED Capabilities, Network Policy,
Location Identification,
Extended Power - PSE, Inventory
Network Policy ................... [not configured]
Location Identification .......... Civic Address
Country Code ................ NZ
City ........................ Christchurch
Street Suffix ............... Avenue
House Number ................ 27
Primary Road Name ........... Nazareth
Location Identification .......... ELIN
ELIN ........................ 123456789012
LLDP-MED Device Type ............. Network Connectivity
LLDP-MED Capabilities ............ LLDP-MED Capabilities, Network Policy,
Location Identification,
Extended Power - PSE, Inventory
Extended Power Via MDI (PoE) ..... PSE
Power Source ................ Primary Power
Power Priority .............. Low
Power Value ................. 4.4 Watts
Inventory Management:
Hardware Revision ........... A-0
Firmware Revision ........... 1.1.0
Software Revision ........... v5.4.6
Serial Number ............... G1Q78900B
Manufacturer Name ........... Allied Telesis Inc.
Model Name .................. x610-48Ts/XP
Asset ID .................... [zero length]
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1487
LLDP C OMMANDS
SHOW LLDP LOCAL INFO
C613-50135-01 Rev A
Table 44-1: Parameters in the output of show lldp local-info
Parameter
Chassis ID Type
Chassis ID
Port ID Type
Port ID
Description
Type of the Chassis ID.
Chassis ID that uniquely identifies the local device.
Type of the Port ID.
Port ID of the local port through which advertisements are sent.
TTL Number of seconds that the information advertised by the local port remains valid.
Port Description Port description of the local port, as specified by the
description (interface) command.
System Name System name, as specified by the
System Description System description.
System
Capabilities
(Supported)
System
Capabilities
(Enabled)
Management
Addresses
Capabilities that the local port supports.
Enabled capabilities on the local port.
Management address associated with the local port. To
command.
Port VLAN ID (PVID) VLAN identifier associated with untagged or priority tagged frames received via the local port.
Port & Protocol
VLAN (Supported)
Port & Protocol
VLAN (Enabled)
Port & Protocol
VLAN (VIDs)
VLAN Names
Whether Port & Protocol VLANs (PPV) is supported on the local port.
Whether the port is in one or more Port & Protocol
VLANs.
List of identifiers for Port & Protocol VLANs that the port is in.
List of VLAN names for VLANs that the local port is assigned to.
Protocol IDs List of protocols that are accessible through the local port.
MAC/PHY Auto- negotiation
Auto-negotiation support and current status of the 802.3
LAN on the local port.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1488
LLDP C OMMANDS
SHOW LLDP LOCAL INFO
C613-50135-01 Rev A
Table 44-1: Parameters in the output of show lldp local-info (cont.)
Parameter Description
Power Via MDI (PoE) PoE-capability and current status on the local port.
Port Class Whether the device is a PSE (Power Sourcing Entity) or a
PD (Powered Device)
Pair Control
Ability
Power Pairs
Whether power pair selection can be controlled
Which power pairs are selected for power ("Signal Pairs" or "Spare Pairs") if pair selection can be controlled
Power Class
LLDP-MED Device
Type
LLDP-MED
Capabilities
Network Policy
VLAN ID
The power class of the PD device on the port (class 0, 1, 2,
3 or 4)
Link Aggregation Whether the link is capable of being aggregated and it is currently in an aggregation.
Aggregated Port-ID Aggregated port identifier.
Maximum Frame Size The maximum frame size capability of the implemented
MAC and PHY.
LLDP-MED device type
Capabilities LLDP-MED capabilities supported on the local port.
List of network policies configured on the local port.
VLAN identifier for the port for the specified application type
Tagged Flag Whether the VLAN ID is to be used as tagged or untagged
Layer-2 Priority:
DSCP Value
Location
Identification
Extended Power Via
MDI (PoE)
Power Source
Layer 2 User Priority (in the range 0 to 7)
Diffserv codepoint (in the range 0 to 63)
Location configured on the local port.
PoE-capability and current status of the PoE parameters for Extended Power-Via-MDI TLV on the local port.
The power source the switch currently uses; either primary power or backup power.
Power Priority The power priority configured on the port; either critical, high or low.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1489
LLDP C OMMANDS
SHOW LLDP LOCAL INFO
Table 44-1: Parameters in the output of show lldp local-info (cont.)
Parameter
Power Value
Inventory
Management
Description
The total power the switch can source over a maximum length cable to a PD device on the port. The value shows the power value in Watts from the PD side.
Inventory information for the device.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1490
LLDP C OMMANDS
SHOW LLDP NEIGHBORS
show lldp neighbors
Overview This command displays a summary of information received from neighbors via specified ports. If no port list is supplied, neighbor information for all ports is displayed.
Syntax show lldp neighbors [interface < port-list >]
Parameter Description
< port-list > The ports for which the neighbor information is to be shown.
Mode User Exec and Privileged Exec
Examples To display neighbor information received via all ports, use the command: awplus# show lldp neighbors
To display neighbor information received via ports 1.0.1 and 1.0.6 with LLDP-MED configuration, use the command: awplus# show lldp neighbors interface port1.0.1,port1.0.6
Output Figure 44-4: Example output from the show lldp neighbors command
LLDP Neighbor Information:
Total number of neighbors on these ports .... 4
System Capability Codes:
O = Other P = Repeater B = Bridge W = WLAN Access Point
R = Router T = Telephone C = DOCSIS Cable Device S = Station Only
LLDP-MED Device Type and Power Source Codes:
1 = Class I 3 = Class III PSE = PoE Both = PoE&Local Prim = Primary
2 = Class II N = Network Con. Locl = Local Unkn = Unknown Back = Backup
Local Neighbor Neighbor Neighbor System MED
Port Chassis ID Port ID Sys Name Cap. Ty Pwr
---------------------------------------------------------------------------------
1.0.1 002d.3044.7ba6 port1.0.2 awplus OPBWRTCS
1.0.1 0011.3109.e5c6 port1.0.3 AT-9924 switch/route... --B-R--
1.0.6 0000.10cf.8590 port3 AR-442S --B-R--
1.0.6 00ee.4352.df51 192.168.1.2 Jim’s desk phone --B--T-- 3 PSE
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1491
LLDP C OMMANDS
SHOW LLDP NEIGHBORS
Table 45: Parameters in the output of the show lldp neighbors command
Parameter
Local Port
Description
Neighbor Chassis ID Chassis ID that uniquely identifies the neighbor.
Neighbor Port Name Port ID of the neighbor.
Neighbor Sys Name System name of the LLDP neighbor.
Neighbor Capability Capabilities that are supported and enabled on the neighbor.
System Capability
MED Device Type
Local port on which the neighbor information was received.
System Capabilities of the LLDP neighbor.
LLDP-MED Device class (Class I, II, III or Network
Connectivity)
MED Power Source LLDP-MED Power Source
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1492
LLDP C OMMANDS
SHOW LLDP NEIGHBORS DETAIL
show lldp neighbors detail
Overview This command displays in detail the information received from neighbors via specified ports. If no port list is supplied, detailed neighbor information for all ports is displayed.
Syntax show lldp neighbors detail [base] [dot1] [dot3] [med] [interface
< port-list >]
Parameter Description base dot1
Information for base TLVs.
Information for 802.1 TLVs.
dot3 med
Information for 803.1 TLVs.
Information for LLDP-MED TLVs.
< port-list > The ports for which the neighbor information is to be shown.
Mode User Exec and Privileged Exec
Examples To display detailed neighbor information received via all ports, use the command: awplus# show lldp neighbors detail
To display detailed neighbor information received via ports 1.0.1, use the command: awplus# show lldp neighbors detail interface port1.0.1
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1493
LLDP C OMMANDS
SHOW LLDP NEIGHBORS DETAIL
Output Figure 44-5: Example output from the show lldp neighbors detail command awplus#show lldp neighbors detail interface port1.0.1
LLDP Detailed Neighbor Information:
Local port1.0.1:
Neighbors table last updated 0 hrs 0 mins 40 secs ago
Chassis ID Type .................. MAC address
Chassis ID ....................... 0004.cd28.8754
Port ID Type ..................... Interface alias
Port ID .......................... port1.0.6
TTL .............................. 120 (secs)
Port Description ................. [zero length]
System Name ...................... awplus
System Description ............... Allied Telesis router/switch, AW+ v5.4.6
System Capabilities - Supported .. Bridge, Router
- Enabled .... Bridge, Router
Management Addresses ............. 0004.cd28.8754
Port VLAN ID (PVID) .............. 1
Port & Protocol VLAN - Supported . Yes
- Enabled ... Yes
- VIDs ...... 5
VLAN Names ....................... default, vlan5
Protocol IDs ..................... 9000, 0026424203000000, 888e01, 8100,
88090101, 00540000e302, 0800, 0806, 86dd
MAC/PHY Auto-negotiation ......... Supported, Enabled
Advertised Capability ....... 1000BaseTFD, 100BaseTXFD, 100BaseTX,
10BaseTFD, 10BaseT
Operational MAU Type ........ 1000BaseTFD (30)
Power Via MDI (PoE) .............. [not advertised]
Link Aggregation ................. Supported, Disabled
Maximum Frame Size ............... 1522 (Octets)
LLDP-MED Device Type ............. Network Connectivity
LLDP-MED Capabilities ............ LLDP-MED Capabilities, Network Policy,
Location Identification,
Extended Power - PSE, Inventory
Network Policy ................... [not advertised]
Location Identification .......... [not advertised]
Extended Power Via MDI (PoE) ..... PD
Power Source ............ PSE
Power Priority .......... High
Power Value ............. 4.4 Watts
Inventory Management:
Hardware Revision ....... X1-0
Firmware Revision ....... 1.1.0
Software Revision ....... v5.4.6
Serial Number ........... M1NB73008
Manufacturer Name ....... Allied Telesis Inc.
Model Name .............. x230-28GP
Asset ID ................ [zero length]
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1494
LLDP C OMMANDS
SHOW LLDP NEIGHBORS DETAIL
C613-50135-01 Rev A
Table 46: Parameters in the output of the show lldp neighbors detail command
Parameter
Chassis ID Type
Chassis ID
Description
Type of the Chassis ID.
Chassis ID that uniquely identifies the neighbor.
Port ID Type
Port ID
TTL
Type of the Port ID.
Port ID of the neighbor.
Port Description
System Name
System Description
System Capabilities
(Supported)
System Capabilities
(Enabled)
Management Addresses
Port VLAN ID (PVID)
Port description of the neighbor’s port.
Neighbor’s system name.
Neighbor’s system description.
Capabilities that the neighbor supports.
Capabilities that are enabled on the neighbor.
List of neighbor’s management addresses.
VLAN identifier associated with untagged or priority tagged frames for the neighbor port.
Port & Protocol VLAN
(Supported)
Port & Protocol VLAN
(Enabled)
Whether Port & Protocol VLAN is supported on the LLDP neighbor.
Whether Port & Protocol VLAN is enabled on the LLDP neighbor.
Port & Protocol VLAN (VIDs) List of Port & Protocol VLAN identifiers.
VLAN Names List of names of VLANs that the neighbor’s port belongs to.
Protocol IDs List of protocols that are accessible through the neighbor’s port.
MAC/PHY Auto-negotiation
Power Via MDI (PoE)
Number of seconds that the information advertised by the neighbor remains valid.
Auto-negotiation configuration and status
PoE configuration and status of 802.3 Power-
Via-MDI TLV
Link Aggregation Link aggregation information
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1495
LLDP C OMMANDS
SHOW LLDP NEIGHBORS DETAIL
Table 46: Parameters in the output of the show lldp neighbors detail command
(cont.)
Parameter
Maximum Frame Size
LLDP-MED Device Type
LLDP-MED Capabilities
Network Policy
Location Identification
Extended Power Via MDI
(PoE)
Inventory Management
Description
The maximum frame size capability
LLDP-MED Device type
LLDP-MED capabilities supported
List of network policies
Location information
PoE-capability and current status
Inventory information
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1496
LLDP C OMMANDS
SHOW LLDP STATISTICS
show lldp statistics
Overview This command displays the global LLDP statistics (packet and event counters).
Syntax show lldp statistics
Mode User Exec and Privileged Exec
Example To display global LLDP statistics information, use the command: awplus# show lldp statistics
Output
Table 47: Example output from the show lldp statistics command
awplus# show lldp statistics
Global LLDP Packet and Event counters:
Frames: Out ................... 345
In .................... 423
In Errored ............ 0
In Dropped ............ 0
TLVs: Unrecognized .......... 0
Discarded ............. 0
Neighbors: New Entries ........... 20
Deleted Entries ....... 20
Dropped Entries ....... 0
Entry Age-outs ........ 20
Table 48: Parameters in the output of the show lldp statistics command
Parameter Description
Frames Out
Frames In
Number of LLDPDU frames transmitted.
Number of LLDPDU frames received.
Frames In Errored Number of invalid LLDPDU frames received.
Frames In Dropped Number of LLDPDU frames received and discarded for any reason.
TLVs
Unrecognized
TLVs Discarded
Neighbors New
Entries
Number of LLDP TLVs received that are not recognized but the TLV type is in the range of reserved TLV types.
Number of LLDP TLVs discarded for any reason.
Number of times the information advertised by neighbors has been inserted into the neighbor table.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1497
LLDP C OMMANDS
SHOW LLDP STATISTICS
Table 48: Parameters in the output of the show lldp statistics command (cont.)
Parameter
Neighbors
Deleted Entries
Neighbors
Dropped Entries
Neighbors Entry
Age-outs Entries
Description
Number of times the information advertised by neighbors has been removed from the neighbor table.
Number of times the information advertised by neighbors could not be entered into the neighbor table because of insufficient resources.
Number of times the information advertised by neighbors has been removed from the neighbor table because the information TTL interval has expired.
Related
Commands
show lldp statistics interface
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1498
LLDP C OMMANDS
SHOW LLDP STATISTICS INTERFACE
show lldp statistics interface
Overview This command displays the LLDP statistics (packet and event counters) for specified ports. If no port list is supplied, LLDP statistics for all ports are displayed.
Syntax show lldp statistics interface [< port-list >]
Parameter Description
< port-list > The ports for which the statistics are to be shown.
Mode User Exec and Privileged Exec
Examples To display LLDP statistics information for all ports, use the command: awplus# show lldp statistics interface
To display LLDP statistics information for ports 1.0.1 and 1.0.6, use the command: awplus# show lldp statistics interface port1.0.1,port1.0.6
Output
Table 49: Example output from the show lldp statistics interface command
awplus# show lldp statistics interface port1.0.1,port1.0.6
LLDP Packet and Event Counters: port1.0.1
Frames: Out ................... 27
In .................... 22
In Errored ............ 0
In Dropped ............ 0
TLVs: Unrecognized .......... 0
Discarded ............. 0
Neighbors: New Entries ........... 3
Deleted Entries ....... 0
Dropped Entries ....... 0
Entry Age-outs ........ 0 port1.0.6
Frames: Out ................... 15
In .................... 18
In Errored ............ 0
In Dropped ............ 0
TLVs: Unrecognized .......... 0
Discarded ............. 0
Neighbors: New Entries ........... 1
Deleted Entries ....... 0
Dropped Entries ....... 0
Entry Age-outs ........ 0
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1499
LLDP C OMMANDS
SHOW LLDP STATISTICS INTERFACE
Table 50: Parameters in the output of the show lldp statistics interface command
Parameter
Frames Out
Frames In
Frames In
Errored
Frames In
Dropped
TLVs
Unrecognized
TLVs Discarded
Neighbors New
Entries
Neighbors
Deleted Entries
Neighbors
Dropped Entries
Neighbors Entry
Age-outs Entries
Description
Number of LLDPDU frames transmitted.
Number of LLDPDU frames received.
Number of invalid LLDPDU frames received.
Number of LLDPDU frames received and discarded for any reason.
Number of LLDP TLVs received that are not recognized but the TLV type is in the range of reserved TLV types.
Number of LLDP TLVs discarded for any reason.
Number of times the information advertised by neighbors has been inserted into the neighbor table.
Number of times the information advertised by neighbors has been removed from the neighbor table.
Number of times the information advertised by neighbors could not be entered into the neighbor table because of insufficient resources.
Number of times the information advertised by neighbors has been removed from the neighbor table because the information TTL interval has expired.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1500
LLDP C OMMANDS
SHOW LOCATION
show location
Overview Use this command to display selected location information configured on the switch.
Syntax show location {civic-location|coord-location|elin-location} show location {civic-location|coord-location|elin-location} identifier {< civic-loc-id >|< coord-loc-id >|< elin-loc-id >} show location {civic-location|coord-location|elin-location} interface < port-list >
Parameter civic-location coord-location elin-location
< civic-loc-id >
< coord-loc-id >
< elin-loc-id >
< port-list >
Description
Display civic location information.
Display coordinate location information.
Display ELIN location information.
Civic address location identifier, in the range 1 to 4095.
Coordinate location identifier, in the range 1 to 4095.
ELIN location identifier, in the range 1 to 4095.
Ports to display information about.
Mode User Exec and Privileged Exec
Examples To display a civic address location configured on port1.0.1, use the command: awplus# show location civic-location interface port1.0.1
Table 51: Example output from the show location command awplus# show location civic-location interface port1.0.1
Port ID Element Type Element Value
---------------------------------------------------------------
1.0.1 1 Country NZ
City Christchurch
Street-suffix Avenue
House-number 27
Primary-road-name Nazareth
To display coordinate location information configured on the identifier 1, use the command: awplus# show location coord-location identifier 1
1501 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
LLDP C OMMANDS
SHOW LOCATION
Table 52: Example output from the show location command awplus# show location coord-location identifier 1
ID Element Type Element Value
-------------------------------------------------------------------
1 Latitude Resolution 15 bits
Latitude 38.8986481130123138427734375 degrees
Longitude Resolution 15 bits
Longitude 130.2323232293128967285156250 degrees
Altitude Resolution 10 bits
Altitude 2.50000000 meters
Map Datum WGS 84
The coordinate location information displayed may differ from the information entered because it is stored in binary format. For more information, see the
location coord-location configuration command.
To display all ELIN location information configured on the switch, use the command: awplus# show location elin-location
Table 53: Example output from the show location elin-location command awplus# show location elin-location
ID ELIN
----------------------------------
1 1234567890
2 5432154321
Related
Commands
location civic-location identifier
location civic-location configuration
location coord-location identifier
location coord-location configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1502
45
SMTP Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
SMTP.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
mail smtpserver ” on page 1508
show counter mail ” on page 1509
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1503
SMTP C OMMANDS
DEBUG MAIL
debug mail
Overview This command turns on debugging for sending emails.
The no variant of this command turns off debugging for sending emails.
Syntax debug mail no debug mail
Mode Privileged Exec
Examples To turn on debugging for sending emails, use the command: awplus# debug mail
To turn off debugging for sending emails, use the command: awplus# no debug mail
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1504
SMTP C OMMANDS
DELETE MAIL
delete mail
Overview This command deletes mail from the queue.
Syntax delete mail [mail-id < mail-id> |all]
Parameter mail-id
Description
Deletes a single mail from the mail queue.
<mail-id>
An unique mail ID number. Use the show mail
command to display this for an item of mail.
Delete all the mail in the queue.
all
Mode Privileged Exec
Examples To delete a unique mail item 20060912142356.1234
from the queue, use the command: awplus# delete mail 20060912142356.1234
To delete all mail from the queue, use the command: awplus# delete mail all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1505
SMTP C OMMANDS
Overview This command sends an email using the SMTP protocol. If you specify a file the text inside the file is sent in the message body.
If you do not specify the to , file , or subject parameters, the CLI prompts you for the missing information.
Before you can send mail using this command, you must specify the sending email address using the
mail from command and a mail server using the
command.
Syntax mail [{to < to >|subject < subject >|file < filename >}]
Parameter to subject file
Description
The email recipient.
< to > Email address.
Description of the subject of this email. Use quote marks when the subject text contains spaces.
< subject > String.
File to insert as text into the message body.
< filename > String.
Mode Privileged Exec
Example To send an email to [email protected]
with the subject dummy plug configuration, and with the message body inserted from the file plug.conf
use the command: awplus# mail [email protected] subject dummy plug configuration filename plug.conf
Related
Commands
1506 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
SMTP C OMMANDS
MAIL FROM
mail from
Overview This command sets an email address for the “mail from” SMTP command. You must specify a sending email address with this command before you can send any email.
Syntax mail from < from >
Parameter
< from >
Description
The email address that the mail is sent from.
Mode Global Configuration
Example To set the email address from which you are sending mail to “[email protected]”, use the command: awplus(config)# mail from [email protected]
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1507
SMTP C OMMANDS
MAIL SMTPSERVER
mail smtpserver
Overview This command sets the IP address of the SMTP server that your device sends email to. You must specify a mail server with this command before you can send any email.
Syntax mail smtpserver < ip-address >
Parameter
< ip-address >
Description
Internet Protocol (IP) Address for the mail server specified.
Mode Global Configuration
Example To specify a mail server at 192.168.0.1, use the command: awplus# mail smtpserver 192.168.0.1
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1508
SMTP C OMMANDS
SHOW COUNTER MAIL
show counter mail
Overview This command displays the mail counters.
Syntax show counter mail
Mode User Exec and Privileged Exec
Output Figure 45-1: Example output from the show counter mail command
Mail Client (SMTP) counters
Mails Sent ......... 0
Mails Sent Fails ......... 1
Table 1: Parameters in the output of the show counter mail command
Parameter
Mails Sent
Mails Sent
Fails
Description
The number of emails sent successfully since the last device restart.
The number of emails the device failed to send since the last device restart.
Example To show the emails in the queue use the command: awplus# show counter mail
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1509
SMTP C OMMANDS
SHOW MAIL
show mail
Overview This command displays the emails in the queue.
Syntax show mail
Mode Privileged Exec
Example To display the emails in the queue use the command: awplus# show mail
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1510
SMTP C OMMANDS
UNDEBUG MAIL
undebug mail
Overview
This command applies the functionality of the no debug mail command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1511
46
RMON Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
Remote Monitoring (RMON).
For an introduction to RMON and an RMON configuration example, see the RMON
Feature Overview and Configuration Guide .
RMON is disabled by default in AlliedWare Plus™. No RMON alarms or events are configured.
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
show rmon alarm ” on page 1518
show rmon history ” on page 1521
show rmon statistics ” on page 1523
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1512
RMON C OMMANDS
RMON ALARM
rmon alarm
Overview Use this command to configure an RMON alarm to monitor the value of an SNMP object, and to trigger specified events when the monitored object crosses specified thresholds.
To specify the action taken when the alarm is triggered, use the event index of an
event defined by the rmon event
command.
Use the no variant of this command to remove the alarm configuration.
NOTE
: Only alarms for switch port interfaces, not for VLAN interfaces, can be configured.
Syntax rmon alarm < alarm-index > < oid > interval < 1-2147483647 >
{delta|absolute} rising-threshold < 1-2147483647 > event
< rising-event-index > falling-threshold < 1-2147483647 > event
< falling-event-index > alarmstartup [1|2|3] [owner < owner >] no rmon alarm < alarm-index >
C613-50135-01 Rev A
Parameter
< alarm-index >
< oid >
Description
< 1-65535 > Alarm entry index value.
The variable SNMP MIB Object Identifier (OID) name to be monitored, in the format etherStatsEntry.< field>.<stats-index >.
For example, etherStatsEntry.5.22 is the OID for the etherStatsPkts field in the etherStatsEntry table for the interface defined by the < stats-index > 22 in the
command.
interval
< 1-2147483647 > delta
Polling interval in seconds.
The RMON MIB alarmSampleType: the change in the monitored MIB object value between the beginning and end of the polling interval.
absolute The RMON MIB alarmSampleType: the value of the monitored MIB object.
rising-threshold
< 1-2147483647 >
< rising-event-index >
Rising threshold value of the alarm entry in seconds.
< 1-65535 > The event to be triggered when the monitored object value reaches the rising threshold value. This is an event index of an event specified by the
command.
falling-threshold
< 1-2147483647 >
Falling threshold value of the alarm entry in seconds.
< falling-event-index > < 1-65535 > The event to be triggered when the monitored object value reaches the falling threshold value. This is an event index of an event specified by the
command.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1513
RMON C OMMANDS
RMON ALARM
Parameter alarmstartup {1|2|3} owner < owner >
Description
Whether RMON can trigger a falling alarm ( 1 ), a rising alarm ( 2 ) or either ( 3 ) when you first start monitoring.
See the Usage section for more information.
The default is setting 3 (either).
Arbitrary owner name to identify the alarm entry.
Default By default, there are no alarms.
Mode Global Configuration
Usage RMON alarms have a rising and falling threshold. Once the alarm monitoring is operating, you cannot have a falling alarm unless there has been a rising alarm and vice versa.
However, when you start RMON alarm monitoring, an alarm must be generated without the other type of alarm having first been triggered. The alarmstartup parameter allows this. It is used to say whether RMON can generate a rising alarm
( 1 ), a falling alarm ( 2 ) or either alarm ( 3 ) as the first alarm.
Note that the SNMP MIB Object Identifier (OID) indicated in the command syntax with < oid > must be specified as a dotted decimal value with the form etherStatsEntry.< field>.<stats-index >, for example, etherStatsEntry.22.5.
Example To configure an alarm to monitor the change per minute in the etherStatsPkt value for interface 22 (defined by stats-index 22 in the
command), to trigger event 2 (defined by the
rmon event command) when it reaches the rising
threshold 400, and to trigger event 3 when it reaches the falling threshold 200, and identify this alarm as belonging to Maria, use the commands: awplus# configure terminal awplus(config)# rmon alarm 229 etherStatsEntry.22.5 interval 60 delta rising-threshold 400 event 2 falling-threshold 200 event
3 alarmstartup 3 owner maria
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1514
RMON C OMMANDS
RMON COLLECTION HISTORY
rmon collection history
Overview Use this command to create a history statistics control group to store a specified number of snapshots (buckets) of the standard RMON statistics for the switch port, and to collect these statistics at specified intervals. If there is sufficient memory available, then the device will allocate memory for storing the set of buckets that comprise this history control.
Use the no variant of this command to remove the specified history control configuration.
NOTE
: Only a history for switch port interfaces, not for VLAN interfaces, can be collected.
Syntax rmon collection history < history-index > [buckets < 1-65535 >]
[interval < 1-3600 >] [owner < owner >] no rmon collection history < history-index >
Parameter Description
< history-index > < 1-65535 > A unique RMON history control entry index value.
buckets < 1-65535 > Number of requested buckets to store snapshots. Default
50 buckets.
interval < 1-3600 > Polling interval in seconds. Default 1800 second polling interval.
owner< owner > Owner name to identify the entry.
Default The default interval is 1800 seconds and the default buckets is 50 buckets.
Mode Interface Configuration
Example To create a history statistics control group to store 200 snapshots with an interval of 500 seconds, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# rmon collection history 200 buckets 500 interval 600 owner herbert
To disable the history statistics control group, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no rmon collection history 200
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1515
RMON C OMMANDS
RMON COLLECTION STATS
rmon collection stats
Overview Use this command to enable the collection of RMON statistics on a switch port, and assign an index number by which to access these collected statistics.
Use the no variant of this command to stop collecting RMON statistics on this switch port.
NOTE : Only statistics for switch port interfaces, not for VLAN interfaces, can be collected.
Syntax rmon collection stats < collection-index > [owner < owner >] no rmon collection stats < collection-index >
Parameter Description
< collection-index > < 1-65535 > Give this collection of statistics an index number to uniquely identify it. This is the index to use to access the statistics collected for this switch port.
owner < owner > An arbitrary owner name to identify this statistics collection entry.
Default RMON statistics are not enabled by default.
Mode Interface Configuration
Example To enable the collection of RMON statistics with a statistics index of 200, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# rmon collection stats 200 owner myrtle
To to stop collecting RMON statistics, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2
awplus(config-if)# no rmon collection stats 200
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1516
RMON C OMMANDS
RMON EVENT
rmon event
Overview Use this command to create an event definition for a log or a trap or both. The event index for this event can then be referred to by the
command.
Use the no variant of this command to remove the event definition.
NOTE
: Only the events for switch port interfaces, not for VLAN interfaces, can be collected.
Syntax rmon event < event-index > [description < description >|owner
< owner >| trap < trap >] rmon event < event-index > [log [description < description >|owner
< owner >|trap < trap >] ] rmon event < event-index > [log trap [description
< description >|owner < owner ] ] no rmon event < event-index >
Parameter Description
< event-index > log owner < owner >
< 1-65535 > Unique event entry index value.
Log event type.
trap log trap
Trap event type.
Log and trap event type.
description< description > Event entry description.
Owner name to identify the entry.
Default No event is configured by default.
Mode Global Configuration
Example To create an event definition for a log with an index of 299, use this command: awplus# configure terminal awplus(config)# rmon event 299 log description cond3 owner alfred
To to remove the event definition, use the command: awplus# configure terminal awplus(config)# no rmon event 299
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1517
RMON C OMMANDS
SHOW RMON ALARM
show rmon alarm
Overview Use this command to display the alarms and threshold configured for the RMON probe.
NOTE
: Only the alarms for switch port interfaces, not for VLAN interfaces, can be shown.
Syntax show rmon alarm
Mode User Exec and Privileged Exec
Example To display the alarms and threshold, use this command: awplus# show rmon alarm
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1518
RMON C OMMANDS
SHOW RMON EVENT
show rmon event
Overview Use this command to display the events configured for the RMON probe.
NOTE : Only the events for switch port interfaces, not for VLAN interfaces, can be shown.
Syntax show rmon event
Mode User Exec and Privileged Exec
Output Figure 46-1: Example output from the show rmon event command awplus#sh rmon event
event Index = 787
Description TRAP
Event type log & trap
Event community name gopher
Last Time Sent = 0
Owner RMON_SNMP
event Index = 990
Description TRAP
Event type trap
Event community name teabo
Last Time Sent = 0
Owner RMON_SNMP
•
•
•
•
•
•
•
•
•
•
•
•
•
NOTE : The following etherStats counters are not currently available for Layer 3 interfaces: etherStatsBroadcastPkts etherStatsCRCAlignErrors etherStatsUndersizePkts etherStatsOversizePkts etherStatsFragments etherStatsJabbers etherStatsCollisions etherStatsPkts64Octets etherStatsPkts65to127Octets etherStatsPkts128to255Octets etherStatsPkts256to511Octets etherStatsPkts512to1023Octets etherStatsPkts1024to1518Octets
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1519
RMON C OMMANDS
SHOW RMON EVENT
Example To display the events configured for the RMON probe, use this command: awplus# show rmon event
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1520
RMON C OMMANDS
SHOW RMON HISTORY
show rmon history
Overview Use this command to display the parameters specified on all the currently defined
RMON history collections on the device.
NOTE
: Only the history for switch port interfaces, not for VLAN interfaces, can be shown.
Syntax show rmon history
Mode User Exec and Privileged Exec
Output Figure 46-2: Example output from the show rmon history command awplus#sh rmon history
history index = 56
data source ifindex = 4501
buckets requested = 34
buckets granted = 34
Interval = 2000
Owner Andrew
history index = 458
data source ifindex = 5004
buckets requested = 400
buckets granted = 400
Interval = 1500
Owner trev
========================================================
•
•
•
•
•
•
•
•
•
•
•
•
NOTE : The following etherStats counters are not currently available for Layer 3 interfaces: etherStatsBroadcastPkts etherStatsCRCAlignErrors etherStatsUndersizePkts etherStatsOversizePkts etherStatsFragments etherStatsJabbers etherStatsCollisions etherStatsPkts64Octets etherStatsPkts65to127Octets etherStatsPkts128to255Octets etherStatsPkts256to511Octets etherStatsPkts512to1023Octets
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1521
RMON C OMMANDS
SHOW RMON HISTORY
• etherStatsPkts1024to1518Octets
Example To display the parameters specified on all the currently defined RMON history collections, us the commands: awplus# show rmon history
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1522
RMON C OMMANDS
SHOW RMON STATISTICS
show rmon statistics
Overview Use this command to display the current values of the statistics for all the RMON statistics collections currently defined on the device.
NOTE
: Only statistics for switch port interfaces, not for VLAN interfaces, can be shown.
Syntax show rmon statistics
Mode User Exec and Privileged Exec
Example To display the current values of the statistics for all the RMON statistics collections, us the commands: awplus# show rmon statistics
Output Figure 46-3: Example output from the show rmon statistics command awplus#show rmon statistics
rmon collection index 45
stats->ifindex = 4501
input packets 1279340, bytes 85858960, dropped 00, multicast packets 1272100
output packets 7306090, bytes 268724, multicast packets 7305660 broadcast packets 290
rmon collection index 679
stats->ifindex = 5013
input packets 00, bytes 00, dropped 00, multicast packets 00
output packets 8554550, bytes 26777324, multicast packets 8546690 broadcast packets 7720
•
•
•
•
•
•
•
•
•
•
•
•
NOTE : The following etherStats counters are not currently available for Layer 3 interfaces: etherStatsBroadcastPkts etherStatsCRCAlignErrors etherStatsUndersizePkts etherStatsOversizePkts etherStatsFragments etherStatsJabbers etherStatsCollisions etherStatsPkts64Octets etherStatsPkts65to127Octets etherStatsPkts128to255Octets etherStatsPkts256to511Octets etherStatsPkts512to1023Octets
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1523
RMON C OMMANDS
SHOW RMON STATISTICS
• etherStatsPkts1024to1518Octets
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1524
47
Secure Shell (SSH)
Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
Secure Shell (SSH). For more information, see the SSH Feature Overview and
Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ banner login (SSH) ” on page 1527
“ crypto key destroy hostkey ” on page 1529
“ crypto key destroy userkey ” on page 1530
“ crypto key generate hostkey ” on page 1531
“ crypto key generate userkey ” on page 1532
“ crypto key pubkey-chain knownhosts ” on page 1533
“ crypto key pubkey-chain userkey ” on page 1535
“ debug ssh client ” on page 1537
“ debug ssh server ” on page 1538
“ show banner login ” on page 1541
“ show crypto key hostkey ” on page 1542
“ show crypto key pubkey-chain knownhosts ” on page 1543
“ show crypto key pubkey-chain userkey ” on page 1544
“ show crypto key userkey ” on page 1545
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1525
S ECURE S HELL (SSH) C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
“ show ssh server ” on page 1551
“ show ssh server allow-users ” on page 1553
“ show ssh server deny-users ” on page 1554
“ ssh server allow-users ” on page 1561
“ ssh server authentication ” on page 1563
“ ssh server deny-users ” on page 1565
“ ssh server max-auth-tries ” on page 1567
“ ssh server resolve-host ” on page 1568
“ ssh server scp ” on page 1569
“ ssh server sftp ” on page 1570
“ undebug ssh client ” on page 1571
“ undebug ssh server ” on page 1572
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1526
S ECURE S HELL (SSH) C OMMANDS
BANNER LOGIN (SSH)
banner login (SSH)
Overview This command configures a login banner on the SSH server. This displays a message on the remote terminal of the SSH client before the login prompt. SSH client version 1 does not support this banner.
To add a banner, first enter the command banner login , and hit [Enter]. Write your message. You can use any character and spaces. Use Ctrl+D at the end of your message to save the text and re-enter the normal command line mode.
The banner message is preserved if the device restarts.
The no variant of this command deletes the login banner from the device.
Syntax banner login no banner login
Default No banner is defined by default.
Mode Global Configuration
Examples To set a login banner message, use the commands: awplus# configure terminal awplus(config)# banner login
The screen will prompt you to enter the message:
Type CNTL/D to finish.
... banner message comes here ...
Enter the message. Use Ctrl+D to finish, like this:
^D awplus(config)#
To remove the login banner message, use the commands: awplus# configure terminal awplus(config)# no banner login
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1527
S ECURE S HELL (SSH) C OMMANDS
CLEAR SSH
clear ssh
Overview This command deletes Secure Shell sessions currently active on the device. This includes both incoming and outgoing sessions. The deleted sessions are closed.
You can only delete an SSH session if you are a system manager or the user who initiated the session. If all is specified then all active SSH sessions are deleted.
Syntax clear ssh {< 1-65535 >|all}
Parameters Description
< 1-65535 > Specify a session ID in the range 1 to 65535 to delete a specific session.
all Delete all SSH sessions.
Mode Privileged Exec
Examples To stop the current SSH session 123, use the command: awplus# clear ssh 123
To stop all SSH sessions active on the device, use the command: awplus# clear ssh all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1528
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY DESTROY HOSTKEY
crypto key destroy hostkey
Overview This command deletes the existing public and private keys of the SSH server. Note that for an SSH server to operate it needs at least one set of hostkeys configured before an SSH server is started.
Syntax crypto key destroy hostkey {dsa|rsa|rsa1}
Parameters dsa rsa rsa1
Description
Deletes the existing DSA public and private keys.
Deletes the existing RSA public and private keys configured for SSH version 2 connections.
Deletes the existing RSA public and private keys configured for SSH version 1 connections.
Mode Global Configuration
Example To destroy the RSA host key used for SSH version 2 connections, use the commands: awplus# configure terminal awplus(config)# crypto key destroy hostkey rsa
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1529
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY DESTROY USERKEY
crypto key destroy userkey
Overview This command destroys the existing public and private keys of an SSH user configured on the device.
Syntax crypto key destroy userkey < username > {dsa|rsa|rsa1}
Parameters Description
< username > Name of the user whose userkey you are destroying. The username must begin with a letter. Valid characters are all numbers, letters, and the underscore, hyphen and full stop symbols.
dsa rsa
Deletes the existing DSA userkey.
Deletes the existing RSA userkey configured for SSH version 2 connections.
rsa1 Deletes the existing RSA userkey for SSH version 1 connections.
Mode Global Configuration
Example To destroy the RSA user key for the SSH user remoteuser , use the commands: awplus# configure terminal awplus(config)# crypto key destroy userkey remoteuser rsa
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1530
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY GENERATE HOSTKEY
crypto key generate hostkey
Overview This command generates public and private keys for the SSH server using either an
RSA or DSA cryptography algorithm. You must define a host key before enabling the SSH server. Start SSH server using the service ssh command. If a host key exists with the same cryptography algorithm, this command replaces the old host key with the new key.
This command is not saved in the device configuration. However, the device saves the keys generated by this command in the non-volatile memory.
Syntax crypto key generate hostkey {dsa|rsa|rsa1} [< 768-32768 >]
Parameters dsa rsa rsa1
< 768-32768 >
Description
Creates a DSA hostkey. Both SSH version 1 and 2 connections can use the DSA hostkey.
Creates an RSA hostkey for SSH version 2 connections.
Creates an RSA hostkey for SSH version 1 connections.
The length in bits of the generated key. The default is 1024 bits.
Default 1024 bits is the default key length. The DSA algorithm supports 1024 bits.
Mode Global Configuration
Examples To generate an RSA host key for SSH version 2 connections that is 2048 bits in length, use the commands: awplus# configure terminal awplus(config)# crypto key generate hostkey rsa 2048
To generate a DSA host key, use the commands: awplus# configure terminal awplus(config)# crypto key generate dsa
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1531
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY GENERATE USERKEY
crypto key generate userkey
Overview This command generates public and private keys for an SSH user using either an
RSA or DSA cryptography algorithm. To use public key authentication, copy the public key of the user onto the remote SSH server.
This command is not saved in the device configuration. However, the device saves the keys generated by this command in the non-volatile memory.
Syntax crypto key generate userkey < username > {dsa|rsa|rsa1}
[< 768-32768 >]
Parameters Description
< username > Name of the user that the user key is generated for. The username must begin with a letter. Valid characters are all numbers, letters, and the underscore, hyphen and full stop symbols.
dsa Creates a DSA userkey. Both SSH version 1 and 2 connections can use a key created with this command.
rsa rsa1
Creates an RSA userkey for SSH version 2 connections.
Creates an RSA userkey for SSH version 1 connections.
< 768-32768 > The length in bits of the generated key. The DSA algorithm supports only 1024 bits.
Default: 1024.
Mode Global Configuration
Examples To generate a 2048-bits RSA user key for SSH version 2 connections for the user bob , use the commands: awplus# configure terminal awplus(config)# crypto key generate userkey bob rsa 2048
To generate a DSA user key for the user lapo , use the commands: awplus# configure terminal awplus(config)# crypto key generate userkey lapo dsa
Related
Commands
crypto key pubkey-chain userkey
1532 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY PUBKEY CHAIN KNOWNHOSTS
crypto key pubkey-chain knownhosts
Overview This command adds a public key of the specified SSH server to the known host database on your device. The SSH client on your device uses this public key to verify the remote SSH server.
The key is retrieved from the server. Before adding a key to this database, check that the key sent to you is correct.
If the server’s key changes, or if your SSH client does not have the public key of the remote SSH server, then your SSH client will inform you that the public key of the server is unknown or altered.
The no variant of this command deletes the public key of the specified SSH server from the known host database on your device.
Syntax crypto key pubkey-chain knownhosts [ip|ipv6] < hostname>
[rsa|dsa|rsa1] no crypto key pubkey-chain knownhosts < 1-65535 >
Parameter ip ipv6
< hostname> rsa dsa rsa1
< 1-65535 >
Description
Keyword used prior to specifying an IPv4 address
Keyword used prior to specifying an IPv6 address
IPv4/IPv6 address or hostname of a remote server in the format a.b.c.d
for an IPv4 address, or in the format x:x::x:x for an IPv6 address.
Specify the RSA public key of the server to be added to the known host database.
Specify the DSA public key of the server to be added to the known host database.
Specify the SSHv1 public key of the server to be added to the know host database.
Specify a key identifier when removing a key using the no parameter.
Default If no cryptography algorithm is specified, then rsa is used as the default cryptography algorithm.
Mode Privilege Exec
Usage This command adds a public key of the specified SSH server to the known host database on the device. The key is retrieved from the server. The remote SSH server is verified by using this public key. The user is requested to check the key is correct before adding it to the database.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1533
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY PUBKEY CHAIN KNOWNHOSTS
If the remote server’s host key is changed, or if the device does not have the public key of the remote server, then SSH clients will inform the user that the public key of the server is altered or unknown.
Examples To add the RSA host key of the remote SSH host IPv4 address 192.0.2.11
to the known host database, use the command: awplus# crypto key pubkey-chain knownhosts 192.0.2.11
To delete the second entry in the known host database, use the command: awplus# no crypto key pubkey-chain knownhosts 2
Validation
Commands
show crypto key pubkey-chain knownhosts
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1534
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY PUBKEY CHAIN USERKEY
crypto key pubkey-chain userkey
Overview This command adds a public key for an SSH user on the SSH server. This allows the
SSH server to support public key authentication for the SSH user. When configured, the SSH user can access the SSH server without providing a password from the remote host.
The no variant of this command removes a public key for the specified SSH user that has been added to the public key chain. When a SSH user’s public key is removed, the SSH user can no longer login using public key authentication.
Syntax crypto key pubkey-chain userkey < username > [< filename >] no crypto key pubkey-chain userkey < username > < 1-65535 >
Parameters Description
<username> Name of the user that the SSH server associates the key with. The username must begin with a letter. Valid characters are all numbers, letters, and the underscore, hyphen and full stop symbols.
Default: no default
<filename> Filename of a key saved in flash. Valid characters are any printable character. You can add a key as a hexadecimal string directly into the terminal if you do not specify a filename.
< 1-65535 > The key ID number of the user’s key. Specify the key ID to delete a key.
Mode Global Configuration
Usage You should import the public key file from the client node. The device can read the data from a file on the flash or user terminal.
Or you can add a key as text into the terminal. To add a key as text into the terminal, first enter the command crypto key pubkey-chain userkey < username > , and hit
[Enter]. Enter the key as text. Note that the key you enter as text must be a valid SSH
RSA key, not random ASCII text. Use [Ctrl]+D after entering it to save the text and re-enter the normal command line mode.
Note you can generate a valid SSH RSA key on the device first using the crypto key generate host rsa command. View the SSH RSA key generated on the device using the show crypto hostkey rsa command. Copy and paste the displayed SSH RSA key after entering the crypto key pubkey-chain userkey < username > command.
Use [Ctrl]+D after entering it to save it.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1535
S ECURE S HELL (SSH) C OMMANDS
CRYPTO KEY PUBKEY CHAIN USERKEY
Examples To generate a valid SSH RSA key on the device and add the key, use the following commands: awplus# configure terminal awplus(config)# crypto key generate host rsa awplus(config)# exit awplus# show crypto key hostkey rsaAAAAB3NzaC1yc2EAAAABIwAAAIEAr1s7SokW5aW2fcOw1TStpb9J20bWluh nUC768EoWhyPW6FZ2t5360O5M29EpKBmGqlkQaz5V0mU9IQe66+5YyD4UxOKSD tTI+7jtjDcoGWHb2u4sFwRpXwJZcgYrXW16+6NvNbk+h+c/pqGDijj4SvfZZfe
ITzvvyZW4/I4pbN8= awplus# configure terminal awplus(config)# crypto key pubkey-chain userkey joeType CNTL/D to finish:AAAAB3NzaC1yc2EAAAABIwAAAIEAr1s7SokW5aW2fcOw1TStpb9J20b
WluhnUC768EoWhyPW6FZ2t5360O5M29EpKBmGqlkQaz5V0mU9IQe66+5YyD4Ux
OKSDtTI+7jtjDcoGWHb2u4sFwRpXwJZcgYrXW16+6NvNbk+h+c/pqGDijj4Svf
ZZfeITzvvyZW4/I4pbN8=control-D awplus(config)#
To add a public key for the user graydon from the file key .
pub , use the commands: awplus# configure terminal awplus(config)# crypto key pubkey-chain userkey graydon key.pub
To add a public key for the user tamara from the terminal, use the commands: awplus# configure terminal awplus(config)# crypto key pubkey-chain userkey tamara and enter the key. Use Ctrl+D to finish.
To remove the first key entry from the public key chain of the user john , use the commands: awplus# configure terminal awplus(config)# no crypto key pubkey-chain userkey john 1
Related
Commands
show crypto key pubkey-chain userkey
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1536
S ECURE S HELL (SSH) C OMMANDS
DEBUG SSH CLIENT
debug ssh client
Overview This command enables the SSH client debugging facility. When enabled, any SSH,
SCP and SFTP client sessions send diagnostic messages to the login terminal.
The no variant of this command disables the SSH client debugging facility. This stops the SSH client from generating diagnostic debugging message.
Syntax debug ssh client [brief|full] no debug ssh client
Parameter brief full
Description
Enables brief debug mode.
Enables full debug mode.
Default SSH client debugging is disabled by default.
Mode Privileged Exec and Global Configuration
Examples To start SSH client debugging, use the command: awplus# debug ssh client
To start SSH client debugging with extended output, use the command: awplus# debug ssh client full
To disable SSH client debugging, use the command: awplus# no debug ssh client
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1537
S ECURE S HELL (SSH) C OMMANDS
DEBUG SSH SERVER
debug ssh server
Overview This command enables the SSH server debugging facility. When enabled, the SSH server sends diagnostic messages to the system log. To display the debugging messages on the terminal, use the terminal monitor command.
The no variant of this command disables the SSH server debugging facility. This stops the SSH server from generating diagnostic debugging messages.
Syntax debug ssh server [brief|full] no debug ssh server
Parameter brief full
Description
Enables brief debug mode.
Enables full debug mode.
Default SSH server debugging is disabled by default.
Mode Privileged Exec and Global Configuration
Examples To start SSH server debugging, use the command: awplus# debug ssh server
To start SSH server debugging with extended output, use the command: awplus# debug ssh server full
To disable SSH server debugging, use the command: awplus# no debug ssh server
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1538
S ECURE S HELL (SSH) C OMMANDS
SERVICE SSH
service ssh
Overview This command enables the Secure Shell server on the device. Once enabled, connections coming from SSH clients are accepted.
SSH server needs a host key before it starts. If an SSHv2 host key does not exist, then this command fails. If SSHv1 is enabled but a host key for SSHv1 does not exist, then SSH service is unavailable for version 1.
The no variant of this command disables the Secure Shell server. When the Secure
Shell server is disabled, connections from SSH, SCP, and SFTP clients are not accepted. This command does not affect existing SSH sessions. To terminate existing sessions, use the
command.
Syntax service ssh [ip|ipv6] no service ssh [ip|ipv6]
Default The Secure Shell server is disabled by default. Both IPv4 and IPv6 Secure Shell server are enabled when you issue service ssh without specifying the optional ip or ipv6 parameters.
Mode Global Configuration
Examples To enable both the IPv4 and the IPv6 Secure Shell server, use the commands: awplus# configure terminal awplus(config)# service ssh
To enable the IPv4 Secure Shell server only, use the commands: awplus# configure terminal awplus(config)# service ssh ip
To enable the IPv6 Secure Shell server only, use the commands: awplus# configure terminal awplus(config)# service ssh ipv6
To disable both the IPv4 and the IPv6 Secure Shell server, use the commands: awplus# configure terminal awplus(config)# no service ssh
To disable the IPv4 Secure Shell server only, use the commands: awplus# configure terminal awplus(config)# no service ssh ip
To disable the IPv6 Secure Shell server only, use the commands: awplus# configure terminal awplus(config)# no service ssh ipv6
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1539
S ECURE S HELL (SSH) C OMMANDS
SERVICE SSH
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1540
S ECURE S HELL (SSH) C OMMANDS
SHOW BANNER LOGIN
show banner login
Overview This command displays the banner message configured on the device. The banner message is displayed to the remote user before user authentication starts.
Syntax show banner login
Mode User Exec, Privileged Exec, Global Configuration, Interface Configuration, Line
Configuration
Example To display the current login banner message, use the command: awplus# show banner login
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1541
S ECURE S HELL (SSH) C OMMANDS
SHOW CRYPTO KEY HOSTKEY
show crypto key hostkey
Overview This command displays the SSH host keys generated by RSA and DSA algorithm.
A host key pair (public and private keys) is needed to enable SSH server. The private key remains on the device secretly. The public key is copied to SSH clients to identify the server
Syntax show crypto key hostkey [dsa|rsa|rsa1]
Parameter dsa rsa rsa1
Description
Displays the DSA algorithm public key.
Displays the RSA algorithm public key for SSH version 2 connections.
Displays the RSA algorithm public key for SSH version 1 connections.
Mode User Exec, Privileged Exec and Global Configuration
Examples To show the public keys generated on the device for SSH server, use the command: awplus# show crypto key hostkey
To display the RSA public key of the SSH server, use the command: awplus# show crypto key hostkey rsa
Output Figure 47-1: Example output from the show crypto key hostkey command
Type Bits Fingerprint
---------------------------------------------------------- rsa 2058 4e:7d:1d:00:75:79:c5:cb:c8:58:2e:f9:29:9c:1f:48 dsa 1024 fa:72:3d:78:35:14:cb:9a:1d:ca:1c:83:2c:7d:08:43 rsa1 1024 e2:1c:c8:8b:d8:6e:19:c8:f4:ec:00:a2:71:4e:85:8b
Table 1: Parameters in output of the show crypto key hostkey command
Parameter
Type
Bits
Fingerprint
Description
Algorithm used to generate the key.
Length in bits of the key.
Checksum value for the public key.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1542
S ECURE S HELL (SSH) C OMMANDS
SHOW CRYPTO KEY PUBKEY CHAIN KNOWNHOSTS
show crypto key pubkey-chain knownhosts
Overview This command displays the list of public keys maintained in the known host database on the device.
Syntax show crypto key pubkey-chain knownhosts [< 1-65535 >]
Parameter
< 1-65535 >
Description
Key identifier for a specific key. Displays the public key of the entry if specified.
Default Display all keys.
Mode User Exec, Privileged Exec and Global Configuration
Examples To display public keys of known SSH servers, use the command: awplus# show crypto key pubkey-chain knownhosts
To display the key data of the first entry in the known host data, use the command: awplus# show crypto key pubkey-chain knownhosts 1
Output Figure 47-2: Example output from the show crypto key public-chain knownhosts command
No Hostname Type Fingerprint
------------------------------------------------------------------------
1 172.16.23.1 rsa c8:33:b1:fe:6f:d3:8c:81:4e:f7:2a:aa:a5:be:df:18
2 172.16.23.10 rsa c4:79:86:65:ee:a0:1d:a5:6a:e8:fd:1d:d3:4e:37:bd
3 5ffe:1053:ac21:ff00:0101:bcdf:ffff:0001
rsa1 af:4e:b4:a2:26:24:6d:65:20:32:d9:6f:32:06:ba:57
Table 2: Parameters in the output of the show crypto key public-chain knownhosts command
Parameter
No
Hostname
Type
Fingerprint
Description
Number ID of the key.
Host name of the known SSH server.
The algorithm used to generate the key.
Checksum value for the public key.
Related
Commands
crypto key pubkey-chain knownhosts
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1543
S ECURE S HELL (SSH) C OMMANDS
SHOW CRYPTO KEY PUBKEY CHAIN USERKEY
show crypto key pubkey-chain userkey
Overview This command displays the public keys registered with the SSH server for SSH users. These keys allow remote users to access the device using public key authentication. By using public key authentication, users can access the SSH server without providing password.
Syntax show crypto key pubkey-chain userkey < username > [< 1-65535 >]
Parameter Description
<username> User name of the remote SSH user whose keys you wish to display.
The username must begin with a letter. Valid characters are all numbers, letters, and the underscore, hyphen and full stop symbols.
< 1-65535 > Key identifier for a specific key.
Default Display all keys.
Mode User Exec, Privileged Exec and Global Configuration
Example To display the public keys for the user manager that are registered with the SSH server, use the command: awplus# show crypto key pubkey-chain userkey manager
Output Figure 47-3: Example output from the show crypto key public-chain userkey command
No Type Bits Fingerprint
---------------------------------------------------------------
1 dsa 1024 2b:cc:df:a8:f8:2e:8f:a4:a5:4f:32:ea:67:29:78:fd
2 rsa 2048 6a:ba:22:84:c1:26:42:57:2c:d7:85:c8:06:32:49:0e
Table 3: Parameters in the output of the show crypto key userkey command
Parameter
No
Type
Bits
Fingerprint
Description
Number ID of the key.
The algorithm used to generate the key.
Length in bits of the key.
Checksum value for the key.
Related
Commands
crypto key pubkey-chain userkey
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1544
S ECURE S HELL (SSH) C OMMANDS
SHOW CRYPTO KEY USERKEY
show crypto key userkey
Overview This command displays the public keys created on this device for the specified SSH user.
Syntax show crypto key userkey < username > [dsa|rsa|rsa1]
Parameter Description
< username > User name of the local SSH user whose keys you wish to display. The username must begin with a letter. Valid characters are all numbers, letters, and the underscore, hyphen and full stop symbols.
dsa rsa rsa1
Displays the DSA public key.
Displays the RSA public key used for SSH version 2 connections.
Displays the RSA key used for SSH version 1 connections.
Mode User Exec, Privileged Exec and Global Configuration
Examples To show the public key generated for the user, use the command: awplus# show crypto key userkey manager
To store the RSA public key generated for the user manager to the file “user.pub”, use the command: awplus# show crypto key userkey manager rsa > manager-rsa.pub
Output Figure 47-4: Example output from the show crypto key userkey command
Type Bits Fingerprint
------------------------------------------------------------ rsa 2048 e8:d6:1b:c0:f4:b6:e6:7d:02:2e:a9:d4:a1:ca:3b:11 rsa1 1024 12:25:60:95:64:08:8e:a1:8c:3c:45:1b:44:b9:33:9b
Table 4: Parameters in the output of the show crypto key userkey command
Parameter
Type
Bits
Fingerprint
Description
The algorithm used to generate the key.
Length in bits of the key.
Checksum value for the key.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1545
S ECURE S HELL (SSH) C OMMANDS
SHOW RUNNING CONFIG SSH
show running-config ssh
Overview This command displays the current running configuration of Secure Shell (SSH).
Syntax show running-config ssh
Mode Privileged Exec and Global Configuration
Example To display the current configuration of SSH, use the command: awplus# show running-config ssh
Output Figure 47-5: Example output from the show running-config ssh command
!
ssh server session-timeout 600 ssh server login-timeout 30 ssh server allow-users manager 192.168.1.* ssh server allow-users john ssh server deny-user john*.a-company.com
ssh server
Table 5: Parameters in the output of the show running-config ssh command
Parameter ssh server ssh server v2 ssh server<port> no ssh server scp no ssh server sftp ssh server session-timeout ssh server login-timeout ssh server max-startups
Description
SSH server is enabled.
SSH server is enabled and only support SSHv2.
SSH server is enabled and listening on the specified TCP port.
SCP service is disabled.
SFTP service is disabled.
Configure the server session timeout.
Configure the server login timeout.
Configure the maximum number of concurrent sessions waiting authentication.
Password authentication is disabled.
no ssh server authentication password no ssh server authentication publickey
Public key authentication is disabled.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1546
S ECURE S HELL (SSH) C OMMANDS
SHOW RUNNING CONFIG SSH
Table 5: Parameters in the output of the show running-config ssh command
Parameter ssh server allow-users ssh server deny-users
Description
Add the user (and hostname) to the allow list.
Add the user (and hostname) to the deny list.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1547
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH
show ssh
Overview This command displays the active SSH sessions on the device, both incoming and outgoing.
Syntax show ssh
Mode User Exec, Privileged Exec and Global Configuration
Example To display the current SSH sessions on the device, use the command: awplus# show ssh
Output Figure 47-6: Example output from the show ssh command
Secure Shell Sessions:
ID Type Mode Peer Host Username State Filename
---------------------------------------------------------------
414 ssh server 172.16.23.1 root open
456 ssh client 172.16.23.10 manager user-auth
459 scp client 172.16.23.12 root download 550dev_.awd
463 ssh client 5ffe:33fe:5632:ffbb:bc35:ddee:0101:ac51
manager user-auth
Table 6: Parameters in the output of the show ssh command
Parameter
ID
Type
Mode
Peer Host
Username
Description
Unique identifier for each SSH session.
Session type; either SSH, SCP, or SFTP.
Whether the device is acting as an SSH client (client) or SSH server
(server) for the specified session.
The hostname or IP address of the remote server or client.
Login user name of the server.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1548
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH
Table 6: Parameters in the output of the show ssh command (cont.)
Parameter
State
Filename
Description
The current state of the SSH session. One of: connecting connected accepted host-auth
The device is looking for a remote server.
The device is connected to the remote server.
The device has accepted a new session.
host-to-host authentication is in progress.
user-auth User authentication is in progress.
authenticated User authentication is complete.
open download
The session is in progress.
The user is downloading a file from the device.
upload closing closed
The user is uploading a file from the device.
The user is terminating the session.
The session is closed.
Local filename of the file that the user is downloading or uploading.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1549
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH CLIENT
show ssh client
Overview This command displays the current configuration of the Secure Shell client.
Syntax show ssh client
Mode User Exec, Privileged Exec and Global Configuration
Example To display the current configuration for SSH clients on the login shell, use the command: awplus# show ssh client
Output Figure 47-7: Example output from the show ssh client command
Secure Shell Client Configuration
---------------------------------------------------------------
Port : 22
Version : 2,1
Connect Timeout : 30 seconds
Session Timeout : 0 (off)
Debug : NONE
Table 7: Parameters in the output of the show ssh client command
Parameter
Port
Version
Connect
Timeout
Debug
Description
SSH server TCP port where the SSH client connects to. The default is port 22.
SSH server version; either “1”, “2” or “2,1”.
Time in seconds that the SSH client waits for an SSH session to establish. If the value is 0, the connection is terminated when it reaches the TCP timeout.
Whether debugging is active on the client.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1550
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH SERVER
show ssh server
Overview This command displays the current configuration of the Secure Shell server.
Note that changes to the SSH configuration affects only new SSH sessions coming from remote hosts, and does not affect existing sessions.
Syntax show ssh server
Mode User Exec, Privileged Exec and Global Configuration
Example To display the current configuration of the Secure Shell server, use the command: awplus# show ssh server
Output Figure 47-8: Example output from the show ssh server command
Secure Shell Server Configuration
---------------------------------------------------------------
SSH Server : Enabled
Port : 22
Version : 2
Services : scp, sftp
User Authentication : publickey, password
Resolve Hosts : Disabled
Session Timeout : 0 (Off)
Login Timeout : 60 seconds
Maximum Authentication Tries : 6
Maximum Startups : 10
Debug : NONE
Table 8: Parameters in the output of the show ssh server command
Parameter
SSH Server
Port
Version
Services
Authentication
Login Timeout
Description
Whether the Secure Shell server is enabled or disabled.
TCP port where the Secure Shell server listens for connections. The default is port 22.
SSH server version; either “1”, “2” or “2,1”.
List of the available Secure Shell service; one or more of
SHELL, SCP or SFTP.
List of available authentication methods.
Time (in seconds) that the SSH server will wait the SSH session to establish. If the value is 0, the client login will be terminated when TCP timeout reaches.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1551
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH SERVER
Table 8: Parameters in the output of the show ssh server command (cont.)
Parameter
Idle Timeout
Maximum
Startups
Debug
Description
Time (in seconds) that the SSH server will wait to receive data from the SSH client. The server disconnects if this timer limit is reached. If set at 0, the idle timer remains off.
The maximum number of concurrent connections that are waiting authentication. The default is 10.
Whether debugging is active on the server.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1552
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH SERVER ALLOW USERS
show ssh server allow-users
Overview This command displays the user entries in the allow list of the SSH server.
Syntax show ssh server allow-users
Mode User Exec, Privileged Exec and Global Configuration
Example To display the user entries in the allow list of the SSH server, use the command: awplus# show ssh server allow-users
Output Figure 47-9: Example output from the show ssh server allow-users command
Username Remote Hostname (pattern)
----------------- ------------------------------- awplus 192.168.* john manager *.alliedtelesis.com
Table 9: Parameters in the output of the show ssh server allow-users command
Parameter Description
Username User name that is allowed to access the SSH server.
Remote Hostname
(pattern)
IP address or hostname pattern of the remote client. The user is allowed requests from a host that matches this pattern. If no hostname is specified, the user is allowed from all hosts.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1553
S ECURE S HELL (SSH) C OMMANDS
SHOW SSH SERVER DENY USERS
show ssh server deny-users
Overview This command displays the user entries in the deny list of the SSH server. The user in the deny list is rejected to access the SSH server. If a user is not included in the access list of the SSH server, the user is also rejected.
Syntax show ssh server deny-users
Mode User Exec, Privileged Exec and Global Configuration
Example To display the user entries in the deny list of the SSH server, use the command: awplus# show ssh server deny-users
Output Figure 47-10: Example output from the show ssh server deny-users command
Username Remote Hostname (pattern)
----------------- ------------------------------- john *.b-company.com
manager 192.168.2.*
Table 10: Parameters in the output of the show ssh server deny-user command
Parameter
Username
Remote
Hostname
(pattern)
Description
The user that this rule applies to.
IP address or hostname pattern of the remote client. The user is denied requests from a host that matches this pattern. If no hostname is specified, the user is denied from all hosts.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1554
S ECURE S HELL (SSH) C OMMANDS
SSH
ssh
Overview This command initiates a Secure Shell connection to a remote SSH server.
If the server requests a password for the user login, the user needs to type in the correct password on “Password:” prompt.
SSH client identifies the remote SSH server by its public key registered on the client device. If the server identification is changed, server verification fails. If the public key of the server has been changed, the public key of the server must be explicitly added to the known host database.
NOTE : Note that a hostname specified with SSH cannot begin with a hyphen (-) character.
Syntax ssh [ip|ipv6][{[user < username >]|[port < 1-65535 >]|[version
{1|2]}}] < hostname > [< line >]
Parameter ip ipv6 user port version
< hostname >
<line>
Description
Specify IPv4 SSH.
Specify IPv6 SSH.
Login user. If user is specified, the username is used for login to the remote SSH server when user authentication is required. Otherwise the current user name is used.
< username > User name to login on the remote server.
SSH server port. If port is specified, the SSH client connects to the remote SSH server with the specified TCP port. Other- wise, the client port configured by “ssh client” command or the default TCP port (22) is used.
< 1-65535 > TCP port.
1
2
SSH client version. If version is specified, the SSH client supports only the specified SSH version. By default, SSH client uses SSHv2 first. If the server does not support SSHv2, it will try SSHv1. The default version can be configured by “ssh client” command.
Use SSH version 1.
Use SSH version 2.
IPv4/IPv6 address or hostname of a remote server. The address is in the format A.B.C.D for an IPv4 address, or in the format X:X::X:X for an IPv6 address. Note that a hostname specified with SSH cannot begin with a hyphen (-) character.
A command to execute on the remote server. If a command is specified, the command is executed on the remote SSH server and the session is disconnected when the remote command finishes.
Mode User Exec and Privileged Exec
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1555
S ECURE S HELL (SSH) C OMMANDS
SSH
Examples To login to the remote SSH server at 192.0.2.5, use the command: awplus# ssh ip 192.0.2.5
To login to the remote SSH server at 192.0.2.5 as user “manager”, use the command: awplus# ssh ip user manager 192.0.2.5
To login to the remote SSH server at 192.0.2.5 that is listening TCP port 2000, use the command: awplus# ssh port 2000 192.0.2.5
To login to the remote SSH server with example_host using IPv6 session, use the command: awplus# ssh ipv6 example_host
To run the cmd command on the remote SSH server at 192.0.2.5, use the command: awplus# ssh ip 192.0.2.5 cmd
Related
Commands
crypto key pubkey-chain knownhosts
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1556
S ECURE S HELL (SSH) C OMMANDS
SSH CLIENT
ssh client
Overview This command modifies the default configuration parameters of the Secure Shell
(SSH) client. The configuration is used for any SSH client on the device to connect to remote SSH servers. Any parameters specified on SSH client explicitly override the default configuration parameters.
The change affects the current user shell only. When the user exits the login session, the configuration does not persist. This command does not affect existing
SSH sessions.
The no variant of this command resets configuration parameters of the Secure
Shell (SSH) client changed by the ssh client
command, and restores the defaults.
This command does not affect the existing SSH sessions.
Syntax ssh client {port < 1-65535 >|version {1|2}|session-timeout
< 0-3600 >|connect-timeout < 1-600 >} no ssh client {port|version|session-timeout|connect-timeout}
Parameter port version session- timeout
Description
The default TCP port of the remote SSH server. If an SSH client specifies an explicit port of the server, it overrides the default TCP port.
Default: 22
< 1-65535 > TCP port number.
The SSH version used by the client for SSH sessions.
The SSH client supports both version 2 and version 1
Default: version 2
Note: SSH version 2 is the default SSH version. SSH client supports
SSH version 1 if SSH version 2 is not configured using a ssh version command.
1 SSH clients on the device supports SSH version 1 only.
2 SSH clients on the device supports SSH version 2 only
The global session timeout for SSH sessions. If the session timer lapses since the last time an SSH client received data from the remote server, the session is terminated. If the value is 0, then the client does not terminate the session. Instead, the connection is terminated when it reaches the TCP timeout.
Default: 0 (session timer remains off )
< 0-3600 > Timeout in seconds.
1557 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
S ECURE S HELL (SSH) C OMMANDS
SSH CLIENT
Parameter connect- timeout
Description
The maximum time period that an SSH session can take to become established. The SSH client terminates the SSH session if this timeout expires and the session is still not established.
Default: 30
< 1-600 > Timeout in seconds.
Mode Privileged Exec
Examples To configure the default TCP port for SSH clients to 2200, and the session timer to
10 minutes, use the command: awplus# ssh client port 2200 session-timeout 600
To configure the connect timeout of SSH client to 10 seconds, use the command: awplus# ssh client connect-timeout 10
To restore the connect timeout to its default, use the command: awplus# no ssh client connect-timeout
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1558
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER
ssh server
Overview This command modifies the configuration of the SSH server. Changing these parameters affects new SSH sessions connecting to the device.
The no variant of this command restores the configuration of a specified parameter to its default. The change affects the SSH server immediately if the server is running. Otherwise, the configuration is used when the server starts.
To enable the SSH server, use the
Syntax ssh server {[v1v2|v2only]|< 1-65535 >} ssh server {[session-timeout < 0-3600 >] [login-timeout < 1-600 >]
[max-startups < 1-128 >]} no ssh server {[session-timeout] [login-timeout]
[max-startups]}
Parameter v1v2 v2only
< 1-65535 > session- timeout login- timeout max- startups
Description
Supports both SSHv2 and SSHv1client connections.
Default: v1v2
Supports SSHv2 client connections only.
The TCP port number that the server listens to for incoming SSH sessions.
Default: 22
There is a maximum time period that the server waits before deciding that a session is inactive and should be terminated. The server considers the session inactive when it has not received any data from the client, and when the client does not respond to keep alive messages.
Default: 0 (session timer remains off ).
< 0-3600 > Timeout in seconds.
The maximum time period the server waits before disconnecting an unauthenticated client.
Default: 60
< 1-600 > Timeout in seconds.
The maximum number of concurrent unauthenticated connections the server accepts. When the number of SSH connections awaiting authentication reaches the limit, the server drops any additional connections until authentication succeeds or the login timer expires for a connection.
Default: 10
< 1-128 > Number of sessions.
Mode Global Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1559
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER
Examples To configure the session timer of SSH server to 10 minutes (600 seconds), use the commands: awplus# configure terminal awplus(config)# ssh server login-timeout 600
To configure the login timeout of SSH server to 30 seconds, use the commands: awplus# configure terminal awplus(config)# ssh server login-timeout 30
To limit the number of SSH client connections waiting authentication from SSH server to 3, use the commands: awplus# configure terminal awplus(config)# ssh server max-startups
To set max-startups parameters of SSH server to the default configuration, use the commands: awplus# configure terminal awplus(config)# no ssh server max-startups
To support the Secure Shell server with TCP port 2200, use the commands: awplus# configure terminal awplus(config)# ssh server 2200
To force the Secure Shell server to support SSHv2 only, use the commands: awplus# configure terminal awplus(config)# ssh server v2only
To support both SSHv2 and SSHv1, use the commands: awplus# configure terminal awplus(config)# ssh server v1v2
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1560
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER ALLOW USERS
ssh server allow-users
Overview This command adds a username pattern to the allow list of the SSH server. If the user of an incoming SSH session matches the pattern, the session is accepted.
When there are no registered users in the server’s database of allowed users, the
SSH server does not accept SSH sessions even when enabled.
SSH server also maintains the deny list. The server checks the user in the deny list first. If a user is listed in the deny list, then the user access is denied even if the user is listed in the allow list.
The no variant of this command deletes a username pattern from the allow list of the SSH server. To delete an entry from the allow list, the username and hostname pattern should match exactly with the existing entry.
Syntax ssh server allow-users < username-pattern > [< hostname-pattern >] no ssh server allow-users < username-pattern >
[< hostname-pattern >]
Parameter Description
<username-pattern> The username pattern that users can match to. An asterisk acts as a wildcard character that matches any string of characters.
< hostname-pattern > The host name pattern that hosts can match to. If specified, the server allows the user to connect only from hosts matching the pattern. An asterisk acts as a wildcard character that matches any string of characters.
Mode Global Configuration
Examples To allow the user john to create an SSH session from any host, use the commands: awplus# configure terminal awplus(config)# ssh server allow-users john
To allow the user john to create an SSH session from a range of IP address (from
192.168.1.1 to 192.168.1.255), use the commands: awplus# configure terminal awplus(config)# ssh server allow-users john 192.168.1.*
To allow the user john to create a SSH session from a-company.com
domain, use the commands: awplus# configure terminal awplus(config)# ssh server allow-users john *.a-company.com
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1561
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER ALLOW USERS
To delete the existing user entry john 192.168.1.* in the allow list, use the commands: awplus# configure terminal awplus(config)# no ssh server allow-users john 192.168.1.*
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1562
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER AUTHENTICATION
ssh server authentication
Overview This command enables RSA public-key or password user authentication for SSH
Server. Apply the password keyword with the ssh server authentication command to enable password authentication for users. Apply the publickey keyword with the ssh server authentication command to enable RSA public-key authentication for users.
Use the no variant of this command to disable RSA public-key or password user authentication for SSH Server. Apply the password keyword with the no ssh authentication command to disable password authentication for users. Apply the required publickey keyword with the no ssh authentication command to disable
RSA public-key authentication for users.
Syntax ssh server authentication {password|publickey} no ssh server authentication {password|publickey}
Parameter password publickey
Description
Specifies user password authentication for SSH server.
Specifies user publickey authentication for SSH server.
Default Both RSA public-key authentication and password authentication are enabled by default.
Mode Global Configuration
Usage For password authentication to authenticate a user, password authentication for a user must be registered in the local user database or on an external RADIUS server, before using the ssh server authentication password command.
For RSA public-key authentication to authenticate a user, a public key must be added for the user, before using the ssh server authentication publickey command.
Examples To enable password authentication for users connecting through SSH, use the commands: awplus# configure terminal awplus(config)# ssh server authentication password
To enable publickey authentication for users connecting through SSH, use the commands: awplus# configure terminal awplus(config)# ssh server authentication publickey
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1563
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER AUTHENTICATION
To disable password authentication for users connecting through SSH, use the commands: awplus# configure terminal awplus(config)# no ssh server authentication password
To disable publickey authentication for users connecting through SSH, use the commands: awplus# configure terminal awplus(config)# no ssh server authentication publickey
Related
Commands
crypto key pubkey-chain userkey
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1564
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER DENY USERS
ssh server deny-users
Overview This command adds a username pattern to the deny list of the SSH server. If the user of an incoming SSH session matches the pattern, the session is rejected.
SSH server also maintains the allow list. The server checks the user in the deny list first. If a user is listed in the deny list, then the user access is denied even if the user is listed in the allow list.
If a hostname pattern is specified, the user is denied from the hosts matching the pattern.
The no variant of this command deletes a username pattern from the deny list of the SSH server. To delete an entry from the deny list, the username and hostname pattern should match exactly with the existing entry.
Syntax ssh server deny-users < username-pattern > [< hostname-pattern >] no ssh server deny-users < username-pattern >
[< hostname-pattern >]
Parameter Description
<username-pattern> The username pattern that users can match to. The username must begin with a letter. Valid characters are all numbers, letters, and the underscore, hyphen, full stop and asterisk symbols. An asterisk acts as a wildcard character that matches any string of characters.
<hostname-pattern> The host name pattern that hosts can match to. If specified, the server denies the user only when they connect from hosts matching the pattern. An asterisk acts as a wildcard character that matches any string of characters.
Mode Global Configuration
Examples To deny the user john to access SSH login from any host, use the commands: awplus# configure terminal awplus(config)# ssh server deny-users john
To deny the user john to access SSH login from a range of IP address (from
192.168.2.1 to 192.168.2.255), use the commands: awplus# configure terminal awplus(config)# ssh server deny-users john 192.168.2.*
To deny the user john to access SSH login from b-company.com
domain, use the commands: awplus# configure terminal awplus(config)# ssh server deny-users john*.b-company.com
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1565
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER DENY USERS
To delete the existing user entry john 192.168.2.* in the deny list, use the commands: awplus# configure terminal awplus(config)# no ssh server deny-users john 192.168.2.*
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1566
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER MAX AUTH TRIES
ssh server max-auth-tries
Overview Use this command to specify the maximum number of SSH authentication attempts that the device will allow.
Use the no variant of this command to return the maximum number of attempts to its default value of 6.
Syntax ssh server max-auth-tries <1-32> no ssh server max-auth-tries
Parameter
<1-32>
Description
Maximum number of SSH authentication attempts the device will allow.
Default 6 attempts
Mode Global Configuration
Usage By default, users must wait one second after a failed login attempt before trying again. You can increase this gap by using the command
.
Example To set the maximum number of SSH authentication attempts to 3, use the commands: awplus# configure terminal awplus(config)# ssh server max-auth-tries 3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1567
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER RESOLVE HOST
ssh server resolve-host
Overview This command enables resolving an IP address from a host name using a DNS server for client host authentication.
The no variant of this command disables this feature.
Syntax ssh server resolve-hosts no ssh server resolve-hosts
Default This feature is disabled by default.
Mode Global Configuration
Usage Your device has a DNS Client that is enabled automatically when you add a DNS server to your device.
For information about configuring DNS, see the Internet Protocol Feature
Overview and Configuration Guide .
Example To resolve a host name using a DNS server, use the commands: awplus# configure terminal awplus(config)# ssh server resolve-hosts
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1568
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER SCP
ssh server scp
Overview This command enables the Secure Copy (SCP) service on the SSH server. Once enabled, the server accepts SCP requests from remote clients.
You must enable the SSH server as well as this service before the device accepts
SCP connections. The SCP service is enabled by default as soon as the SSH server is enabled.
The no variant of this command disables the SCP service on the SSH server. Once disabled, SCP requests from remote clients are rejected.
Syntax ssh server scp no ssh server scp
Mode Global Configuration
Examples To enable the SCP service, use the commands: awplus# configure terminal awplus(config)# ssh server scp
To disable the SCP service, use the commands: awplus# configure terminal awplus(config)# no ssh server scp
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1569
S ECURE S HELL (SSH) C OMMANDS
SSH SERVER SFTP
ssh server sftp
Overview This command enables the Secure FTP (SFTP) service on the SSH server. Once enabled, the server accepts SFTP requests from remote clients.
You must enable the SSH server as well as this service before the device accepts
SFTP connections. The SFTP service is enabled by default as soon as the SSH server is enabled. If the SSH server is disabled, SFTP service is unavailable.
The no variant of this command disables SFTP service on the SSH server. Once disabled, SFTP requests from remote clients are rejected.
Syntax ssh server sftp no ssh server sftp
Mode Global Configuration
Examples To enable the SFTP service, use the commands: awplus# configure terminal awplus(config)# ssh server sftp
To disable the SFTP service, use the commands: awplus# configure terminal awplus(config)# no ssh server sftp
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1570
S ECURE S HELL (SSH) C OMMANDS
UNDEBUG SSH CLIENT
undebug ssh client
Overview This command applies the functionality of the no
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1571
S ECURE S HELL (SSH) C OMMANDS
UNDEBUG SSH SERVER
undebug ssh server
Overview This command applies the functionality of the no
command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1572
48
Trigger Commands
Introduction
Overview This chapter provides an alphabetical reference for commands used to configure
Triggers. For more information, see the Triggers Feature Overview and
Configuration Guide .
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Command List •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1573
T RIGGER C OMMANDS
•
•
•
•
•
•
“ type periodic ” on page 1602
“ type ping-poll ” on page 1603
“ undebug trigger ” on page 1607
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1574
T RIGGER C OMMANDS
ACTIVE ( TRIGGER )
active (trigger)
Overview This command enables a trigger. This allows the trigger to activate when its trigger conditions are met.
The no variant of this command disables a trigger. While in this state the trigger cannot activate when its trigger conditions are met.
Syntax active no active
Mode Trigger Configuration
Usage Configure a trigger first before you use this command to activate it.
For information about configuring a trigger, see the Triggers Feature Overview and
Configuration Guide .
Examples To enable trigger 172, so that it can activate when its trigger conditions are met, use the commands: awplus# configure terminal awplus(config)# trigger 172 awplus(config-trigger)# active
To disable trigger 182, preventing it from activating when its trigger conditions are met, use the commands: awplus# configure terminal awplus(config)# trigger 182 awplus(config-trigger)# no active
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1575
T RIGGER C OMMANDS
DAY
day
Overview This command specifies the days or date that the trigger can activate on. You can specify one of:
•
•
•
• A specific date
A specific day of the week
A list of days of the week every day
By default, the trigger can activate on any day.
Syntax day every-day day < 1-31 > < month > < 2000-2035 > day < weekday >
Parameter Description every-day
< 1-31 >
< month >
Sets the trigger so that it can activate on any day.
Day of the month the trigger is permitted to activate on.
Sets the month that the trigger is permitted to activate on. Valid keywords are: january, february, march, april, may, june, july, august, september, october, november , and december .
< 2000-2035 > Sets the year that the trigger is permitted to activate in.
< weekday > Sets the days of the week that the trigger can activate on. You can specify one or more week days in a space separated list. Valid keywords are: monday, tuesday, wednesday, thursday, friday, saturday , and sunday .
Default every-day , so by default, the trigger can activate on any day.
Mode Trigger Configuration
Usage For example trigger configurations that use the day command, see “Restrict
Internet Access” and “Turn off Power to Port LEDs” in the Triggers Feature
Overview and Configuration Guide .
Examples To permit trigger 55 to activate on the 1 October 2016, use the commands: awplus# configure terminal awplus(config)# trigger 55 awplus(config-trigger)# day 1 oct 2016
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1576
T RIGGER C OMMANDS
DAY
To permit trigger 12 to activate on a Mondays, Wednesdays and Fridays, use the commands: awplus# configure terminal awplus(config)# trigger 12 awplus(config-trigger)# day monday wednesday friday
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1577
T RIGGER C OMMANDS
DEBUG TRIGGER
debug trigger
Overview This command enables trigger debugging. This generates detailed messages about how your device is processing the trigger commands and activating the triggers.
The no variant of this command disables trigger debugging.
Syntax debug trigger no debug trigger
Mode Privilege Exec
Examples To start trigger debugging, use the command: awplus# debug trigger
To stop trigger debugging, use the command: awplus# no trigger
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1578
T RIGGER C OMMANDS
DESCRIPTION ( TRIGGER )
description (trigger)
Overview This command adds an optional description to help you identify the trigger. This description is displayed in show command outputs and log messages.
The no variant of this command removes a trigger’s description. The show command outputs and log messages stop displaying a description for this trigger.
Syntax description < description > no description
Parameter Description
<description> A word or phrase that uniquely identifies this trigger or its purpose.
Valid characters are any printable character and spaces, up to a maximum of 40 characters.
Mode Trigger Configuration
Examples To give trigger 240 the description daily status report , use the commands: awplus# configure terminal awplus(config)# trigger 240 awplus(config-trigger)# description daily status report
To remove the description from trigger 36 , use the commands: awplus# configure terminal awplus(config)# trigger 36 awplus(config-trigger)# no description
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1579
T RIGGER C OMMANDS
REPEAT
repeat
Overview This command specifies the number of times that a trigger is permitted to activate.
This allows you to specify whether you want the trigger to activate:
•
• only the first time that the trigger conditions are met a limited number of times that the trigger conditions are met
• an unlimited number of times
Once the trigger has reached the limit set with this command, the trigger remains in your configuration but cannot be activated. Use the repeat command again to reset the trigger so that it is activated when its trigger conditions are met.
By default, triggers can activate an unlimited number of times. To reset a trigger to this default, specify either yes or forever .
Syntax repeat {forever|no|once|yes|< 1-4294967294 >}
Parameter yes|forever no|once
<1-4292967294>
Description
The trigger repeats indefinitely, or until disabled.
The trigger activates only once.
The trigger repeats the specified number of times.
Mode Trigger Configuration
Examples To allow trigger 21 to activate only once, use the commands: awplus# configure terminal awplus(config)# trigger 21 awplus(config-trigger)# repeat no
To allow trigger 22 to activate an unlimited number of times whenever its trigger conditions are met, use the commands: awplus# configure terminal awplus(config)# trigger 22 awplus(config-trigger)# repeat forever
To allow trigger 23 to activate only the first 10 times the conditions are met, use the commands: awplus# configure terminal awplus(config)# trigger 23 awplus(config-trigger)# repeat 10
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1580
T RIGGER C OMMANDS
SCRIPT
script
Overview This command specifies one or more scripts that are to be run when the trigger activates. You can add up to five scripts to a single trigger.
The sequence in which the trigger runs the scripts is specified by the number you set before the name of the script file. One script is executed completely before the next script begins.
Scripts may be either ASH shell scripts, indicated by a .
sh filename extension suffix, or AlliedWare Plus™ scripts, indicated by a .
scp filename extension suffix.
AlliedWare Plus™ scripts only need to be readable.
The no variant of this command removes one or more scripts from the trigger’s script list. The scripts are identified by either their name, or by specifying their position in the script list. The all parameter removes all scripts from the trigger.
Syntax script < 1-5 > {< filename >} no script {< 1-5 >|< filename >|all}
Parameter
< 1-5 >
Description
The position of the script in execution sequence. The trigger runs the lowest numbered script first.
< filename > The path to the script file.
Mode Trigger Configuration
Examples To configure trigger 71 to run the script flash:/cpu_trig.sh in position 3 when the trigger activates, use the commands: awplus# configure terminal awplus(config)# trigger 71 awplus(config-trigger)# script 3 flash:/cpu_trig.sh
To configure trigger 99 to run the scripts flash:reconfig.scp
, flash:cpu_trig.sh
and flash:email.scp
in positions 2, 3 and 5 when the trigger activates, use the following commands: awplus# configure terminal awplus(config)# trigger 99 awplus(config-trigger)# script 2 flash:/reconfig.scp 3 flash:/cpu_trig.sh 5 flash:/email.scp
To remove the scripts 1, 3 and 4 from trigger 71’s script list, use the commands: awplus# configure terminal awplus(config)# trigger 71 awplus(config-trigger)# no script 1 3 4
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1581
T RIGGER C OMMANDS
SCRIPT
To remove the script flash:/cpu_trig.sh from trigger 71’s script list, use the commands: awplus# configure terminal awplus(config)# trigger 71 awplus(config-trigger)# no script flash:/cpu_trig.sh
To remove all the scripts from trigger 71’s script list, use the commands: awplus# configure terminal awplus(config)# trigger 71 awplus(config-trigger)# no script all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1582
T RIGGER C OMMANDS
SHOW DEBUGGING TRIGGER
show debugging trigger
Overview This command displays the current status for trigger utility debugging. Use this command to show when trigger debugging has been turned on or off from the
Syntax show debugging trigger
Mode User Exec and Privileged Exec
Example To display the current configuration of trigger debugging, use the command: awplus# show debugging trigger
Output Figure 48-1: Example output from the show debugging trigger command awplus#debug trigger awplus#show debugging trigger
Trigger debugging status:
Trigger debugging is on
awplus#no debug trigger awplus#show debugging trigger
Trigger debugging status:
Trigger debugging is off
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1583
T RIGGER C OMMANDS
SHOW RUNNING CONFIG TRIGGER
show running-config trigger
Overview This command displays the current running configuration of the trigger utility.
Syntax show running-config trigger
Mode Privileged Exec
Example To display the current configuration of the trigger utility, use the command: awplus# show running-config trigger
Output Figure 48-2: Example output from the show running-config trigger command
trigger 1
type card in
type usb in
trigger 2
type usb out
!
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1584
T RIGGER C OMMANDS
SHOW TRIGGER
show trigger
Overview This command displays configuration and diagnostic information about the triggers configured on the device. Specify the show trigger command without any options to display a summary of the configuration of all triggers.
Syntax show trigger [< 1-250 >|counter|full]
Parameter
< 1-250 > counter full
Description
Displays detailed information about a specific trigger, identified by its trigger ID.
Displays statistical information about all triggers.
Displays detailed information about all triggers.
Mode Privileged Exec
Example To get summary information about all triggers, use the following command: awplus# show trigger
Table 1: Example output from the show trigger command awplus#show trigger
TR# Type & Details Name Ac Te Tr Repeat #Scr Days/Date
--------------------------------------------------------------------------------
003 CPU (80% any) Busy CPU Y N Y 5 1 smtwtfs
005 Periodic (30 min) Regular status check Y N N Continuous 1 -mtwtf
007 Memory (85% up) High mem usage Y N Y 8 1 smtwtfs
011 Time (00:01) Weekend access Y N Y Continuous 1 ------s
013 Reboot Y N Y Continuous 2 smtwtfs
017 Interface (vlan1 ... Change config for... Y N Y Once 1 2-apr-2016
019 Ping-poll (5 up) Connection to svr1 Y N Y Continuous 1 smtwtfs
---------------------------------------------------------------------------------
Table 2: Parameters in the output of the show trigger command
Parameter
TR#
Type &
Details
Name
Ac
Description
Trigger identifier (ID).
The trigger type, followed by the trigger details in brackets.
Descriptive name of the trigger configured with the description
command.
Whether the trigger is active (Y), or inactive (N).
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1585
T RIGGER C OMMANDS
SHOW TRIGGER
Table 2: Parameters in the output of the show trigger command (cont.)
Parameter
Te
Tr
Description
Whether the trigger is in test mode (Y) or not (N).
Whether or not the trigger is enabled to send SNMP traps. See the
command.
Repeat Whether the trigger repeats continuously, and if not, the configured repeat count for the trigger. To see the number of times a trigger has activated, use the show trigger <1-250> command.
#Scr Number of scripts associated with the trigger.
Days/Date Days or date when the trigger may be activated. For the days options, the days are shown as a seven character string representing Sunday to
Saturday. A hyphen indicates days when the trigger cannot be activated.
To display detailed information about trigger 3, use the command: awplus# show trigger 3
Figure 48-3: Example output from the show trigger command for a specific trigger awplus#show trigger 3
Trigger Configuration Details
-----------------------------------------------------------
Trigger ..................... 3
Description ................. display cpu usage when pass 80%
Type and details ............ CPU (80% up)
Days ........................ 26-oct-2016
After ....................... 00:00:00
Before ...................... 23:59:59
Active ...................... Yes
Test ........................ No
Trap ........................ Yes
Repeat ...................... 123 (0)
Modified .................... Tue Oct 25 02:26:03 2016
Number of activations ....... 0
Last activation ............. not activated
Number of scripts ........... 1
1. shocpu.scp
2. <not configured>
3. <not configured>
4. <not configured>
5. <not configured>
------------------------------------------------------------
To display detailed information about all triggers, use the command: awplus# show trigger full
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1586
T RIGGER C OMMANDS
SHOW TRIGGER
C613-50135-01 Rev A
Table 3: Example output from the show trigger full command awplus#show trigger full
Trigger Configuration Details
-----------------------------------------------------------
Trigger ..................... 1
Description ................. <no description>
Type and details ............ USB (in)
Days ........................ smtwtfs
After ....................... 00:00:00
Before ...................... 23:59:59
Active ...................... Yes
Test ........................ No
Trap ........................ Yes
Repeat ...................... Continuous
Modified .................... Tue Oct 25 14:43:50 2016
Number of activations ....... 0
Last activation ............. not activated
Number of scripts ........... 0
1. <not configured>
2. <not configured>
3. <not configured>
4. <not configured>
5. <not configured>
Trigger ..................... 2
Description ................. <no description>
Type and details ............ USB (out)
Days ........................ smtwtfs
After ....................... 00:00:00
Before ...................... 23:59:59
Active ...................... Yes
Test ........................ No
Trap ........................ Yes
Repeat ...................... Continuous
Modified .................... Tue Oct 25 14:45:56 2016
Number of activations ....... 0
Last activation ............. not activated
Number of scripts ........... 0
1. <not configured>
2. <not configured>
3. <not configured>
4. <not configured>
5. <not configured>
Table 4: Parameters in the output of the s how trigger full and show trigger commands for a specific trigger
Parameter
Trigger
Description
Description
The ID of the trigger.
Descriptive name of the trigger.
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1587
T RIGGER C OMMANDS
SHOW TRIGGER
Table 4: Parameters in the output of the s how trigger full and show trigger commands for a specific trigger (cont.)
Parameter
Type and details
Days
Date
Description
The trigger type and its activation conditions.
Active
Test
Trap
Repeat
Modified
Number of activations
Last activation
Number of scripts
The days on which the trigger is permitted to activate.
The date on which the trigger is permitted to activate. Only displayed if configured, in which case it replaces “Days”.
Whether or not the trigger is permitted to activate.
Whether or not the trigger is operating in diagnostic mode.
Whether or not the trigger is enabled to send SNMP traps.
Whether the trigger repeats an unlimited number of times
(Continuous) or for a set number of times. When the trigger can repeat only a set number of times, then the number of times the trigger has been activated is displayed in brackets.
The date and time of the last time that the trigger was modified.
Number of times the trigger has been activated since the last restart of the device.
The date and time of the last time that the trigger was activated.
How many scripts are associated with the trigger, followed by the names of the script files in the order in which they run.
To display counter information about all triggers use the command: awplus# show trigger counter
Figure 48-4: Example output from the show trigger counter command awplus#show trigger counter
Trigger Module Counters
-----------------------------------------------------
Trigger activations ........................... 0
Time triggers activated today ................. 0
Periodic triggers activated today ............. 0
Interface triggers activated today ............ 0
Resource triggers activated today ............. 0
Reboottriggers activated today ................ 0
Ping-poll triggers activated today ............ 0
------------------------------------------------------
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1588
T RIGGER C OMMANDS
SHOW TRIGGER
Table 5: Parameters in the output of the show trigger counter command
Parameter
Trigger activations
Time triggers activated today
Periodic triggers activated today
Interface triggers activated today
Resource triggers activated today
Ping-poll triggers activated today
Description
Number of times a trigger has been activated.
Number of times a time trigger has been activated today.
Number of times a periodic trigger has been activated today.
Number of times an interface trigger has been activated today.
Number of times a CPU or memory resource trigger has been activated today.
Number of times a ping-poll trigger has been activated today.
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1589
T RIGGER C OMMANDS
TEST
test
Overview This command puts the trigger into a diagnostic mode. In this mode the trigger may activate but when it does it will not run any of the trigger’s scripts. A log message will be generated to indicate when the trigger has been activated.
The no variant of this command takes the trigger out of diagnostic mode, restoring normal operation. When the trigger activates the scripts associated with the trigger will be run, as normal.
Syntax test no test
Mode Trigger Configuration
Usage Configure a trigger first before you use this command to diagnose it. For information about configuring a trigger, see the Triggers Feature Overview and
Configuration Guide .
Examples To put trigger 5 into diagnostic mode, where no scripts will be run when the trigger activates, use the commands: awplus# configure terminal awplus(config)# trigger 5 awplus(config-trigger)# test
To take trigger 205 out of diagnostic mode, restoring normal operation, use the commands: awplus# configure terminal awplus(config)# trigger 205 awplus(config-trigger)# no test
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1590
T RIGGER C OMMANDS
TIME ( TRIGGER )
time (trigger)
Overview This command specifies the time of day when the trigger is permitted to activate.
The after parameter specifies the start of a time period that extends to midnight during which trigger may activate. By default the value of this parameter is
00:00:00 (am); that is, the trigger may activate at any time. The before parameter specifies the end of a time period beginning at midnight during which the trigger may activate. By default the value of this parameter is 23:59:59; that is, the trigger may activate at any time. If the value specified for before is later than the value specified for after , a time period from “ after ” to “ before ” is defined, during which the trigger may activate. This command is not applicable to time triggers ( type time ).
The following figure illustrates how the before and after parameters operate.
"%&/2%
ää\ää äÈ\ää £Ó\ää £n\ää ää\ää
!&4%2
ää\ää äÈ\ää £Ó\ää £n\ää ää\ää
!&4%2"%&/2%
ää\ää äÈ\ää £Ó\ää £n\ää ää\ää
!&4%2"%&/2%
ää\ää äÈ\ää £Ó\ää £n\ää ää\ää iÞ\ *iÀ`ÊÜ iÊÌÀ}}iÀÊ>ÞÊ>VÌÛ>Ìi°
*iÀ`ÊÜ iÊÌÀ}}iÀÊ>ÞÊÌÊ>VÌÛ>Ìi°
/,ÚäÓ
Syntax time {[after < hh:mm:ss >] [before < hh:mm:ss >]}
Parameter Description after < hh:mm:ss > The earliest time of day when the trigger may be activated.
before < hh:mm:ss > The latest time of day when the trigger may be activated.
Mode Trigger Configuration
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1591
T RIGGER C OMMANDS
TIME ( TRIGGER )
Usage For example trigger configurations that use the time (trigger) command, see
“Restrict Internet Access” and “Turn off Power to Port LEDs” in the Triggers Feature
Overview and Configuration Guide .
Examples To allow trigger 63 to activate between midnight and 10:30am, use the commands: awplus# configure terminal awplus(config)# trigger 63 awplus(config-trigger)# time before 10:30:00
To allow trigger 64 to activate between 3:45pm and midnight, use the commands: awplus# configure terminal awplus(config)# trigger 64 awplus(config-trigger)# time after 15:45:00
To allow trigger 65 to activate between 10:30am and 8:15pm, use the commands: awplus# configure terminal awplus(config)# trigger 65 awplus(config-trigger)# time after 10:30:00 before 20:15:00
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1592
T RIGGER C OMMANDS
TRAP
trap
Overview This command enables the specified trigger to send SNMP traps.
Use the no variant of this command to disable the sending of SNMP traps from the specified trigger.
Syntax trap no trap
Default SNMP traps are enabled by default for all defined triggers.
Mode Trigger Configuration
Usage You must configure SNMP before using traps with triggers. For more information, see:
•
•
Support for Allied Telesis Enterprise_MIBs_in_AlliedWare Plus , for information about which MIB objects are supported.
the SNMP Feature Overview and Configuration_Guide .
•
Since SNMP traps are enabled by default for all defined triggers, a common usage will be for the no variant of this command to disable SNMP traps from a specified trap if the trap is only periodic. Refer in particular to AT-TRIGGER-MIB in the
Support for Allied Telesis Enterprise_MIBs_in AlliedWare Plus for further information about the relevant SNMP MIB.
Examples To enable SNMP traps to be sent from trigger 5, use the commands: awplus# configure terminal awplus(config)# trigger 5 awplus(config-trigger)# trap
To disable SNMP traps being sent from trigger 205, use the commands: awplus# configure terminal awplus(config)# trigger 205 awplus(config-trigger)# no trap
Related
Commands
1593 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
T RIGGER C OMMANDS
TRIGGER
trigger
Overview This command is used to access the Trigger Configuration mode for the specified trigger. Once Trigger Configuration mode has been entered the trigger type information can be configured and the trigger scripts and other operational parameters can be specified. At a minimum the trigger type information must be specified before the trigger can become active.
The no variant of this command removes a specified trigger and all configuration associated with it.
Syntax trigger < 1-250 > no trigger < 1-250 >
Parameter
< 1-250 >
Description
A trigger ID.
Mode Global Configuration
Examples To enter trigger configuration mode for trigger 12 use the command: awplus# trigger 12
To completely remove all configuration associated with trigger 12 , use the command: awplus# no trigger 12
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1594
T RIGGER C OMMANDS
TRIGGER ACTIVATE
trigger activate
Overview This command is used to manually activate a specified trigger from the Privileged
Exec mode, which has been configured with the trigger command from the Global
Configuration mode.
Syntax trigger activate < 1-250 >
Parameter
< 1-250 >
Description
A trigger ID.
Mode Privileged Exec
Usage This command manually activates a trigger without the normal trigger conditions being met.
The trigger is activated even if it is configured as inactive. The scripts associated with the trigger will be executed even if the trigger is in the diagnostic test mode.
Triggers activated manually do not have their repeat counts decremented or their
'last triggered' time updated, and do not result in updates to the '[type] triggers today' counters.
Example To manually activate trigger 12 use the command: awplus# trigger activate 12
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1595
T RIGGER C OMMANDS
TYPE ATMF NODE
type atmf node
Overview This command configures a trigger to be activated at an AMF node join event or leave event.
Syntax type atmf node {join|leave}
Parameter join leave
Description
AMF node join event.
AMF node leave event.
Mode Trigger Configuration
CAUTION
: Only configure this trigger on one device because it is a network wide event.
Example 1 To configure trigger 5 to activate at an AMF node leave event, use the following commands. In this example the command is entered on node-1: node1(config)# trigger 5 node1(config-trigger) type atmf node leave
Example 2 The following commands will configure trigger 5 to activate if an AMF node join event occurs on any node within the working set: node1# atmf working-set group all
This command returns the following display:
==================== node1, node2, node3:
====================
Working set join
Note that the running the above command changes the prompt from the name of the local node, to the name of the AMF-Network followed, in square brackets, by the number of member nodes in the working set.
AMF-Net[3]# conf t
AMF-Net[3](config)# trigger 5
AMF-Net[3](config-trigger)# type atmf node leave
AMF-Net[3](config-trigger)# description “E-mail on AMF Exit”
AMF-Net[3](config-trigger)# active
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1596
T RIGGER C OMMANDS
TYPE ATMF NODE
Enter the name of the script to run at the trigger event.
AMF-Net[3](config-trigger)# script 1 email_me.scp
AMF-Net[3](config-trigger)# end
Display the trigger configurations
AMF-Net[3]# show trigger
This command returns the following display:
======= node1:
=======
TR# Type & Details Description Ac Te Tr Repeat #Scr Days/Date
------------------------------------------------------------------------------
001 Periodic (2 min) Periodic Status Chk Y N Y Continuous 1 smtwtfs
005 ATMF node (leave) E-mail on ATMF Exit Y N Y Continuous 1 smtwtfs
-------------------------------------------------------------------------------
==============
Node2, Node3,
==============
TR# Type & Details Description Ac Te Tr Repeat #Scr Days/Date
------------------------------------------------------------------------------
005 ATMF node (leave) E-mail on ATMF Exit Y N Y Continuous 1 smtwtfs
-------------------------------------------------------------------------------
Display the triggers configured on each of the nodes in the AMF Network.
AMF-Net[3]# show running-config trigger
This command returns the following display:
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1597
T RIGGER C OMMANDS
TYPE ATMF NODE
========
Node1:
======== trigger 1
type periodic 2
script 1 atmf.scp
trigger 5
type atmf node leave description “E-mail on ATMF Exit”
script 1 email_me.scp
!
============
Node2, Node3:
============ trigger 5
type atmf node leave description “E-mail on ATMF Exit”
script 1 email_me.scp
!
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1598
T RIGGER C OMMANDS
TYPE CPU
type cpu
Overview This command configures a trigger to activate based on CPU usage level. Selecting the up option causes the trigger to activate when the CPU usage exceeds the specified usage level. Selecting the down option causes the trigger to activate when CPU usage drops below the specified usage level. Selecting any causes the trigger to activate in both situations. The default is any .
Syntax type cpu < 1-100 > [up|down|any]
Parameter
<1-100> up down any
Description
The percentage of CPU usage at which to trigger.
Activate when CPU usage exceeds the specified level.
Activate when CPU usage drops below the specified level
Activate when CPU usage passes the specified level in either direction
Mode Trigger Configuration
Usage For an example trigger configuration that uses the type cpu command, see
“Capture Unusual CPU and RAM Activity” in the Triggers Feature Overview and
Configuration Guide .
Examples To configure trigger 28 to be a CPU trigger that activates when CPU usage exceeds
80% use the following commands: awplus# configure terminal awplus(config)# trigger 28 awplus(config-trigger)# type cpu 80 up
To configure trigger 5 to be a CPU trigger that activates when CPU usage either rises above or drops below 65%, use the following commands: awplus# configure terminal awplus(config)# trigger 5 awplus(config-trigger)# type cpu 65 or awplus# configure terminal awplus(config)# trigger 5 awplus(config-trigger)# type cpu 65 any
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1599
T RIGGER C OMMANDS
TYPE INTERFACE
type interface
Overview This command configures a trigger to activate based on the link status of an interface. The trigger can be activated when the interface becomes operational by using the up option, or when the interface closes by using the down option. The trigger can also be configured to activate when either one of these events occurs by using the any option.
Syntax type interface < interface > [up|down|any]
Parameter Description
< interface > Interface name. This can be the name of a device port, an eth-management port, or a VLAN.
up Activate when interface becomes operational.
down any
Activate when the interface closes.
Activate when any interface link status event occurs.
Mode Trigger Configuration
Example To configure trigger 19 to be an interface trigger that activates when port1.0.2
becomes operational, use the following commands: awplus# configure terminal awplus(config)# trigger 19 awplus(config-trigger)# type interface port1.0.2 up
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1600
T RIGGER C OMMANDS
TYPE MEMORY
type memory
Overview This command configures a trigger to activate based on RAM usage level. Selecting the up option causes the trigger to activate when memory usage exceeds the specified level. Selecting the down option causes the trigger to activate when memory usage drops below the specified level. Selecting any causes the trigger to activate in both situations. The default is any .
Syntax type memory < 1-100 > [up|down|any]
Parameter
< 1-100 > up down any
Description
The percentage of memory usage at which to trigger.
Activate when memory usage exceeds the specified level.
Activate when memory usage drops below the specified level.
Activate when memory usage passes the specified level in either direction.
Mode Trigger Configuration
Examples To configure trigger 12 to be a memory trigger that activates when memory usage exceeds 50% use the following commands: awplus# configure terminal awplus(config)# trigger 12 awplus(config-trigger)# type memory 50 up
To configure trigger 40 to be a memory trigger that activates when memory usage either rises above or drops below 65%, use the following commands: awplus# configure terminal awplus(config)# trigger 40 awplus(config-trigger)# type memory 65 or awplus# configure terminal awplus(config)# trigger 40 awplus(config-trigger)# type memory 65 any
Related
Commands
1601 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
T RIGGER C OMMANDS
TYPE PERIODIC
type periodic
Overview This command configures a trigger to be activated at regular intervals. The time period between activations is specified in minutes.
Syntax type periodic < 1-1440 >
Parameter
< 1-1440 >
Description
The number of minutes between activations.
Mode Trigger Configuration
Usage A combined limit of 10 triggers of the type periodic and time can be configured. If you attempt to add more than 10 triggers the following error message is displayed:
% Cannot configure more than 10 triggers with the type time or periodic
For an example trigger configuration that uses the type periodic command, see
“See Daily Statistics” in the Triggers Feature Overview and Configuration Guide .
Example To configure trigger 44 to activate periodically at 10 minute intervals use the following commands: awplus# configure terminal awplus(config)# trigger 44 awplus(config-trigger)# type periodic 10
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1602
T RIGGER C OMMANDS
TYPE PING POLL
type ping-poll
Overview This command configures a trigger that activates when Ping Polling identifies that a target device’s status has changed. This allows you to run a configuration script when a device becomes reachable or unreachable.
Syntax type ping-poll < 1-100 > {up|down}
Parameter
< 1-100 > up down
Description
The ping poll ID.
The trigger activates when ping polling detects that the target is reachable.
The trigger activates when ping polling detects that the target is unreachable.
Mode Trigger Configuration
Example To configure trigger 106 to activate when ping poll 12 detects that its target device is now unreachable, use the following commands: awplus# configure terminal awplus(config)# trigger 106 awplus(config-trigger)# type ping-poll 12 down
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1603
T RIGGER C OMMANDS
TYPE REBOOT
type reboot
Overview This command configures a trigger that activates when your device is rebooted.
Syntax type reboot
Mode Trigger Configuration
Example To configure trigger 32 to activate when your device reboots, use the following commands: awplus# configure terminal awplus(config)# trigger 32 awplus(config-trigger)# type reboot
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1604
T RIGGER C OMMANDS
TYPE TIME
type time
Overview This command configures a trigger that activates at a specified time of day.
Syntax type time < hh:mm >
Parameter
< hh:mm >
Description
The time to activate the trigger.
Mode Trigger Configuration
Usage A combined limit of 10 triggers of the type time and type periodic can be configured. If you attempt to add more than 10 triggers the following error message is displayed:
% Cannot configure more than 10 triggers with the type time or periodic
Example To configure trigger 86 to activate at 15:53 , use the following commands: awplus# configure terminal awplus(config)# trigger 86 awplus(config-trigger)# type time 15:53
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1605
T RIGGER C OMMANDS
TYPE USB
type usb
Overview Use this command to configure a trigger that activates on either the removal or the insertion of a USB storage device.
Syntax type usb {in|out}
Parameter in out
Description
Trigger activates on insertion of a USB storage device.
Trigger activates on removal of a USB storage device.
Mode Trigger Configuration
Usage USB triggers cannot execute script files from a USB storage device.
Examples To configure trigger 1 to activate on the insertion of a USB storage device, use the commands: awplus# configure terminal awplus(config)# trigger 1 awplus(config-trigger)# type usb in
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1606
T RIGGER C OMMANDS
UNDEBUG TRIGGER
undebug trigger
Overview This command applies the functionality of the no
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1607
49
Ping-Polling
Commands
Introduction
This chapter provides an alphabetical reference for commands used to configure
Ping Polling. For more information, see the Ping Polling Feature Overview and
Configuration Guide .
For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide .
Table 49-1: The following table lists the default values when configuring a ping poll
Default
Critical-interval
Description
Fail-count
Length
Normal-interval
Sample-size
Source-ip
Time-out
Up-count
Value
1 second
No description
5
32 bytes
30 seconds
5
The IP address of the interface from which the ping packets are transmitted
1 second
30
Command List •
•
•
•
“ active (ping-polling) ” on page 1610
“ clear ping-poll ” on page 1611
“ critical-interval ” on page 1612
“ debug ping-poll ” on page 1613
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1608
P ING -P OLLING C OMMANDS
•
•
•
•
•
•
•
•
•
•
•
•
•
“ description (ping-polling) ” on page 1614
“ ip (ping-polling) ” on page 1616
“ length (ping-poll data) ” on page 1617
“ normal-interval ” on page 1618
“ show counter ping-poll ” on page 1622
“ show ping-poll ” on page 1624
“ timeout (ping polling) ” on page 1630
“ undebug ping-poll ” on page 1632
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1609
P ING -P OLLING C OMMANDS
ACTIVE ( PING POLLING )
active (ping-polling)
Overview This command enables a ping-poll instance. The polling instance sends ICMP echo requests to the device with the IP address specified by the
command.
By default, polling instances are disabled. When a polling instance is enabled, it assumes that the device it is polling is unreachable.
The no variant of this command disables a ping-poll instance. The polling instance no longer sends ICMP echo requests to the polled device. This also resets all counters for this polling instance.
Syntax active no active
Mode Ping-Polling Configuration
Examples To activate the ping-poll instance 43, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# active
To disable the ping-poll instance 43 and reset its counters, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# no active
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1610
P ING -P OLLING C OMMANDS
CLEAR PING POLL
clear ping-poll
Overview This command resets the specified ping poll, or all ping poll instances. This clears the ping counters, and changes the status of polled devices to unreachable. The polling instance changes to the polling frequency specified with the
command. The device status changes to reachable once the device
responses have reached the up-count .
Syntax clear ping-poll {< 1-100 >|all}
Parameter
< 1-100 > all
Description
A ping poll ID number. The specified ping poll instance has its counters cleared, and the status of the device it polls is changed to unreachable.
Clears the counters and changes the device status of all polling instances.
Mode Privileged Exec
Examples To reset the ping poll instance 12, use the command: awplus# clear ping-poll 12
To reset all ping poll instances, use the command: awplus# clear ping-poll all
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1611
P ING -P OLLING C OMMANDS
CRITICAL INTERVAL
critical-interval
Overview This command specifies the time period in seconds between pings when the polling instance has not received a reply to at least one ping, and when the device is unreachable.
This command enables the device to quickly observe changes in state, and should be set to a much lower value than the
The no variant of this command sets the critical interval to the default of one second.
Syntax critical-interval < 1-65536 > no critical-interval
Parameter
< 1-65536 >
Description
Time in seconds between pings, when the device has failed to a ping, or the device is unreachable.
Default The default is 1 second.
Mode Ping-Polling Configuration
Examples To set the critical interval to 2 seconds for the ping-polling instance 99, use the commands: awplus# configure terminal awplus(config)# ping-poll 99 awplus(config-ping-poll)# critical-interval 2
To reset the critical interval to the default of one second for the ping-polling instance 99, use the commands: awplus# configure terminal awplus(config)# ping-poll 99 awplus(config-ping-poll)# no critical-interval
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1612
P ING -P OLLING C OMMANDS
DEBUG PING POLL
debug ping-poll
Overview This command enables ping poll debugging for the specified ping-poll instance.
This generates detailed messages about ping execution.
The no variant of this command disables ping-poll debugging for the specified ping-poll.
Syntax debug ping-poll < 1-100 > no debug ping-poll {< 1-100 >|all}
Parameter
< 1-100 > all
Description
A unique ping poll ID number.
Turn off all ping-poll debugging.
Mode Privileged Exec
Examples To enable debugging for ping-poll instance 88, use the command: awplus# debug ping-poll 88
To disable all ping poll debugging, use the command: awplus# no debug ping-poll all
To disable debugging for ping-poll instance 88, use the command: awplus# no debug ping-poll 88
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1613
P ING -P OLLING C OMMANDS
DESCRIPTION ( PING POLLING )
description (ping-polling)
Overview This command specifies a string to describe the ping-polling instance. This allows the ping-polling instance to be recognized easily in show commands. Setting this command is optional.
By default ping-poll instances do not have a description.
Use the no variant of this command to delete the description set.
Syntax description < description > no description
Parameter Description
<description> The description of the target. Valid characters are any printable character and spaces. There is no maximum character length.
Mode Ping-Polling Configuration
Examples To add the text “Primary Gateway” to describe the ping-poll instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# description Primary Gateway
To delete the description set for the ping-poll instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# no description
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1614
P ING -P OLLING C OMMANDS
FAIL COUNT
fail-count
Overview This command specifies the number of pings that must be unanswered, within the total number of pings specified by the
command, for the ping-polling instance to consider the device unreachable.
If the number set by the
fail-count commands are the same, then the unanswered pings must be consecutive. If the number set by the
command is greater than the number set by the fail-count command, then a device that does not always reply to pings may be declared unreachable.
The no variant of this command resets the fail count to the default.
Syntax fail-count < 1-100 > no fail-count
Parameter
< 1-100 >
Description
The number of pings within the sample size that a reachable device must fail to respond to before it is classified as unreachable.
Default The default is 5.
Mode Ping-Polling Configuration
Examples To specify the number of pings that must fail within the sample size to determine that a device is unreachable for ping-polling instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# fail-count 5
To reset the fail-count to its default of 5 for ping-polling instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# no fail-count
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1615
P ING -P OLLING C OMMANDS
IP ( PING POLLING )
ip (ping-polling)
Overview This command specifies the IPv4 address of the device you are polling.
Syntax ip {< ip-address >|< ipv6-address >}
Parameter Description
< ip-address > An IPv4 address in dotted decimal notation A.B.C.D
< ipv6-address> An IPv6 address in hexadecimal notation X:X::X:X
Mode Ping-Polling Configuration
Examples To set ping-poll instance 5 to poll the device with the IP address 192.168.0.1
, use the commands: awplus# configure terminal awplus(config)# ping-poll 5 awplus(config-ping-poll)# ip 192.168.0.1
To set ping-poll instance 10 to poll the device with the IPv6 address 2001:db8:: , use the commands: awplus# configure terminal awplus(config)# ping-poll 10 awplus(config-ping-poll)# ip 2001:db8::
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1616
P ING -P OLLING C OMMANDS
LENGTH ( PING POLL DATA )
length (ping-poll data)
Overview This command specifies the number of data bytes to include in the data portion of the ping packet. This allows you to set the ping packets to a larger size if you find that larger packet types in your network are not reaching the polled device, while smaller packets are getting through. This encourages the polling instance to change the device’s status to unreachable when the network is dropping packets of the size you are interested in.
The no variant of this command resets the data bytes to the default of 32 bytes.
Syntax length < 4-1500 > no length
Parameter Description
< 4-1500 > The number of data bytes to include in the data portion of the ping packet.
Default The default is 32.
Mode Ping-Polling Configuration
Examples To specify that ping-poll instance 12 sends ping packet with a data portion of 56 bytes, use the commands: awplus# configure terminal awplus(config)# ping-poll 12 awplus(config-ping-poll)# length 56
To reset the number of data bytes in the ping packet to the default of 32 bytes for ping- poll instance 3, use the commands: awplus# configure terminal awplus(config)# ping-poll 12 awplus(config-ping-poll)# length
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1617
P ING -P OLLING C OMMANDS
NORMAL INTERVAL
normal-interval
Overview This command specifies the time period between pings when the device is reachable.
The no variant of this command resets the time period to the default of 30 seconds.
Syntax normal-interval < 1-65536 > no normal-interval
Parameter Description
< 1-65536 > Time in seconds between pings when the target is reachable.
Default The default is 30 seconds.
Mode Ping-Polling Configuration
Examples To specify a time period of 60 seconds between pings when the device is reachable for ping-poll instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# normal-interval 60
To reset the interval to the default of 30 seconds for ping-poll instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# no normal-interval
Related
Commands
1618 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P ING -P OLLING C OMMANDS
PING POLL
ping-poll
Overview This command enters the ping-poll configuration mode. If a ping-poll exists with the specified number, then this command enters its configuration mode. If no-ping poll exists with the specified number, then this command creates a new ping poll with this ID number.
To configure a ping-poll, create a ping poll using this command, and use the ip
(ping-polling) command to specify the device you want the polling instance to
poll. It is not necessary to specify any further commands unless you want to change a command’s default.
The no variant of this command deletes the specified ping poll.
Syntax ping-poll < 1-100 > no ping-poll < 1-100 >
Parameter Description
< 1-100 > A unique ping poll ID number.
Mode Global Configuration
Examples To create ping-poll instance 3 and enter ping-poll configuration mode, use the commands: awplus# configure terminal awplus(config)# ping-poll 3 awplus(config-ping-poll)#
To delete ping-poll instance 3, use the commands: awplus# configure terminal awplus(config)# no ping-poll 3
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1619
P ING -P OLLING C OMMANDS
SAMPLE SIZE
sample-size
Overview This command sets the total number of pings that the polling instance inspects when determining whether a device is unreachable. If the number of pings specified by the fail-count command go unanswered within the inspected sample, then the device is declared unreachable.
If the numbers set in this command and fail-count
command are the same, the unanswered pings must be consecutive. If the number set by this command is greater than that set with the
command, a device that does not always reply to pings may be declared unreachable.
You cannot set this command’s value lower than the
The polling instance uses the number of pings specified by the up-count
command to determine when a device is reachable.
The no variant of this command resets this command to the default.
Syntax sample-size < 1-100 > no sample size
Parameter Description
< 1-100 > Number of pings that determines critical and up counts.
Default The default is 5.
Mode Ping-Polling Configuration
Examples To set the sample-size to 50 for ping-poll instance 43, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# sample-size 50
To reset sample-size to the default of 5 for ping-poll instance 43, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# no sample-size
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1620
P ING -P OLLING C OMMANDS
SAMPLE SIZE
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1621
P ING -P OLLING C OMMANDS
SHOW COUNTER PING POLL
show counter ping-poll
Overview This command displays the counters for ping polling.
Syntax show counter ping-poll [< 1-100 >]
Parameter Description
< 1-100 > A unique ping poll ID number. This displays the counters for the specified ping poll only. If you do not specify a ping poll, then this command displays counters for all ping polls.
Mode User Exec and Privileged Exec
Output Figure 49-1: Example output from the show counter ping-poll command
Ping-polling counters
Ping-poll: 1
PingsSent ......... 15
PingsFailedUpState ......... 0
PingsFailedDownState ......... 0
ErrorSendingPing ......... 2
CurrentUpCount ......... 13
CurrentFailCount ......... 0
UpStateEntered ......... 0
DownStateEntered ......... 0
Ping-poll: 2
PingsSent ......... 15
PingsFailedUpState ......... 0
PingsFailedDownState ......... 0
ErrorSendingPing ......... 2
CurrentUpCount ......... 13
CurrentFailCount ......... 0
UpStateEntered ......... 0
DownStateEntered ......... 0
Ping-poll: 5
PingsSent ......... 13
PingsFailedUpState ......... 0
PingsFailedDownState ......... 2
ErrorSendingPing ......... 2
CurrentUpCount ......... 9
CurrentFailCount ......... 0
UpStateEntered ......... 0
DownStateEntered ......... 0
1622 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P ING -P OLLING C OMMANDS
SHOW COUNTER PING POLL
Table 50: Parameters in output of the show counter ping-poll command
Parameter
Ping-poll
PingsSent
Description
The ID number of the polling instance.
The total number of pings generated by the polling instance.
PingsFailedUpState
PingsFailedDownState Number of unanswered pings while the target device is in the Down state. This is a cumulative counter for multiple occurrences of the Down state.
ErrorSendingPing The number of pings that were not successfully sent to the target device.
This error can occur when your device does not have a route to the destination.
CurrentUpCount
CurrentFailCount
The number of unanswered pings while the target device is in the Up state. This is a cumulative counter for multiple occurrences of the Up state.
The current number of sequential ping replies.
The number of ping requests that have not received a ping reply in the current sample-size window.
UpStateEntered Number of times the target device has entered the Up state.
DownStateEntered Number of times the target device has entered the
Down state.
Example To display counters for the polling instances, use the command: awplus# show counter ping-poll
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1623
P ING -P OLLING C OMMANDS
SHOW PING POLL
show ping-poll
Overview This command displays the settings and status of ping polls.
Syntax show ping-poll [< 1-100 >|state {up|down}] [brief]
Parameter
< 1-100 > state brief
Description
Displays settings and status for the specified polling instance.
Displays polling instances based on whether the device they are polling is currently reachable or unreachable.
up Displays polling instance where the device state is reachable.
down Displays polling instances where the device state is unreachable.
Displays a summary of the state of ping polls, and the devices they are polling.
Mode User Exec and Privileged Exec
Output Figure 49-2: Example output from the show ping-poll brief command
Ping Poll Configuration
---------------------------------------------------------
Id Enabled State Destination
---------------------------------------------------------
1 Yes Down 192.168.0.1
2 Yes Up 192.168.0.100
Table 51: Parameters in output of the show ping-poll brief command
Parameter
Id
Enabled
Meaning
The ID number of the polling instance, set when creating the polling
instance with the ping-poll command.
Whether the polling instance is enabled or disabled.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1624
P ING -P OLLING C OMMANDS
SHOW PING POLL
Table 51: Parameters in output of the show ping-poll brief command (cont.)
Parameter
State
Destinatio n
Meaning
The current status of the device being polled:
Up
Down
Critical
Up
The device is reachable.
The device is unreachable.
The device is reachable but recently the polling instance has not received some ping replies, so the polled device may be going down.
Critical
Down
The device is unreachable but the polling instance received a reply to the last ping packet, so the polled device may be coming back up.
The IP address of the polled device, set with the
command.
Figure 49-3: Example output from the show ping-poll command
Ping Poll Configuration
---------------------------------------------------------
Poll 1:
Description : Primary Gateway
Destination IP address : 192.168.0.1
Status : Down
Enabled : Yes
Source IP address : 192.168.0.10
Critical interval : 1
Normal interval : 30
Fail count : 10
Up count : 5
Sample size : 50
Length : 32
Timeout : 1
Debugging : Enabled
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1625
P ING -P OLLING C OMMANDS
SHOW PING POLL
Poll 2:
Description : Secondary Gateway
Destination IP address : 192.168.0.100
Status : Up
Enabled : Yes
Source IP address : Default
Critical interval : 5
Normal interval : 60
Fail count : 20
Up count : 30
Sample size : 100
Length : 56
Timeout : 2
Debugging : Enabled
C613-50135-01 Rev A
Table 52: Parameters in output of the show ping-poll command
Parameter
Description
Destination
IP address
Status
Enabled
Source IP address
Critical interval
Normal interval
Description
Optional description set for the polling instance with the
command.
The IP address of the polled device, set with the
command.
The current status of the device being polled:
Up
Down
Critic a l Up
The device is reachable.
The device is unreachable.
The device is reachable but recently the polling instance has not received some ping replies, so the polled device may be going down.
Critic a l
Down
The device is unreachable but the polling instance received a reply to the last ping packet, so the polled device may be coming back up.
Whether the polling instance is enabled or disabled. The active
and
active (ping-polling) commands enable and
disable a polling instance.
The source IP address sent in the ping packets. This is set using
The time period in seconds between pings when the polling instance has not received a reply to at least one ping, and when the device is unreachable. This is set with the
command.
The time period between pings when the device is reachable.
This is set with the
Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1626
P ING -P OLLING C OMMANDS
SHOW PING POLL
Table 52: Parameters in output of the show ping-poll command (cont.)
Parameter
Fail count
Up count
Sample size
Length
Timeout
Debugging
Description
The number of pings that must be unanswered, within the total number of pings specified by the
command, for the polling instance to consider the device unreachable. This is set
The number of consecutive pings that the polling instance must receive a reply to before classifying the device reachable again.
This is set using the
The total number of pings that the polling instance inspects when determining whether a device is unreachable. This is set
using the sample-size command.
The number of data bytes to include in the data portion of the ping packet. This is set using the
command.
The time in seconds that the polling instance waits for a
response to a ping packet. This is set using the timeout (ping polling) command.
Indicates whether ping polling debugging is Enabled or
Disabled .
This is set using the
command.
Examples To display the ping poll settings and the status of all the polls, use the command: awplus# show ping-poll
To display a summary of the ping poll settings, use the command: awplus# show ping-poll brief
To display the settings for ping poll 6, use the command: awplus# show ping-poll 6
To display a summary of the state of ping poll 6, use the command: awplus# show ping-poll 6 brief
To display the settings of ping polls that have reachable devices, use the command: awplus# show ping-poll state up
To display a summary of ping polls that have unreachable devices, use the command: awplus# show ping-poll 6 state down brief
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1627
P ING -P OLLING C OMMANDS
SOURCE IP
source-ip
Overview This command specifies the source IP address to use in ping packets.
By default, the polling instance uses the address of the interface through which it transmits the ping packets. It uses the device’s local interface IP address when it is set. Otherwise, the IP address of the interface through which it transmits the ping packets is used.
The no variant of this command resets the source IP in the packets to the device’s local interface IP address.
Syntax source-ip {< ip-address >|< ipv6-address >} no source-ip
Parameter Description
< ip-address > An IPv4 address in dotted decimal notation A.B.C.D
< ipv6-address> An IPv6 address in hexadecimal notation X:X::X:X
Mode Ping-Polling Configuration
Examples To configure the ping-polling instance 43 to use the source IP address
192.168.0.1
in ping packets, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# source-ip 192.168.0.1
To configure the ping-polling instance 43 to use the source IPv6 address
2001:db8:: in ping packets, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# source-ip 2001:db8::
To reset the source IP address to the device’s local interface IP address for ping-poll instance 43, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# no source-ip
1628 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P ING -P OLLING C OMMANDS
SOURCE IP
Related
Commands
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1629
P ING -P OLLING C OMMANDS
TIMEOUT ( PING POLLING )
timeout (ping polling)
Overview This command specifies the time in seconds that the polling instance waits for a response to a ping packet. You may find a higher time-out useful in networks where ping packets have a low priority.
The no variant of this command resets the set time out to the default of one second.
Syntax timeout < 1-30 > no timeout
Parameter
< 1-30 >
Description
Length of time, in seconds, that the polling instance waits for a response from the polled device.
Default The default is 1 second.
Mode Ping-Polling Configuration
Examples To specify the timeout as 5 seconds for ping-poll instance 43, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# timeout 5
To reset the timeout to its default of 1 second for ping-poll instance 43, use the commands: awplus# configure terminal awplus(config)# ping-poll 43 awplus(config-ping-poll)# no timeout
Related
Commands
1630 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P ING -P OLLING C OMMANDS
UP COUNT
up-count
Overview This command sets the number of consecutive pings that the polling instance must receive a reply to before classifying the device reachable again.
The no variant of this command resets the up count to the default of 30.
Syntax up-count < 1-100 > no up-count
Parameter Description
< 1-100 > Number of replied pings before an unreachable device is classified as reachable.
Default The default is 30.
Mode Ping-Polling Configuration
Examples To set the upcount to 5 consecutive pings for ping-polling instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# up-count 5
To reset the upcount to the default value of 30 consecutive pings for ping-polling instance 45, use the commands: awplus# configure terminal awplus(config)# ping-poll 45 awplus(config-ping-poll)# no up-count
Related
Commands
1631 C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
P ING -P OLLING C OMMANDS
UNDEBUG PING POLL
undebug ping-poll
Overview
This command applies the functionality of the no debug ping-poll command.
C613-50135-01 Rev A Command Reference for IE200 Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1632
advertisement
Related manuals
advertisement
Table of contents
- 56 Setup and Troubleshooting
- 57 CLI Navigation Commands
- 57 Introduction
- 58 configure terminal
- 59 disable (Privileged Exec mode)
- 61 enable (Privileged Exec mode)
- 66 logout
- 67 show history
- 68 File and Configuration Management Commands
- 68 Introduction
- 71 autoboot enable
- 72 boot config-file
- 74 boot config-file backup
- 75 boot system
- 77 boot system backup
- 79 copy (filename)
- 81 copy current-software
- 82 copy debug
- 83 copy running-config
- 84 copy startup-config
- 85 copy zmodem
- 86 create autoboot
- 87 delete
- 88 delete debug
- 92 edit (filename)
- 65 erase startup-config
- 66 ip tftp source-interface
- 67 ipv6 tftp source-interface
- 68 mkdir
- 70 move debug
- 72 rmdir
- 73 show autoboot
- 74 show boot
- 76 show file
- 77 show file systems
- 79 show running-config
- 82 show running-config interface
- 84 show startup-config
- 85 show version
- 86 write file
- 87 write memory
- 88 write terminal
- 89 User Access Commands
- 89 Introduction
- 91 clear line console
- 92 clear line vty
- 93 enable password
- 96 enable secret
- 99 exec-timeout
- 101 flowcontrol hardware (asyn/console)
- 103 length (asyn)
- 106 privilege level
- 107 security-password history
- 108 security-password forced-change
- 109 security-password lifetime
- 110 security-password minimum-categories
- 111 security-password minimum-length
- 112 security-password reject-expired-pwd
- 113 security-password warning
- 114 service advanced-vty
- 115 service password-encryption
- 116 service telnet
- 117 service terminal-length (deleted)
- 118 show privilege
- 119 show security-password configuration
- 120 show security-password user
- 121 show telnet
- 122 show users
- 123 telnet
- 124 telnet server
- 125 terminal length
- 126 terminal resize
- 127 username
- 157 GUI Commands
- 157 Introduction
- 158 atmf topology-gui enable
- 159 gui-timeout
- 160 log event-host
- 161 service http
- 162 show http
- 163 System Configuration and Monitoring Commands
- 163 Introduction
- 165 banner exec
- 167 banner login (system)
- 169 banner motd
- 171 clock set
- 172 clock summer-time date
- 174 clock summer-time recurring
- 176 clock timezone
- 177 continuous-reboot-prevention
- 179 ecofriendly led
- 180 findme
- 182 findme trigger
- 183 hostname
- 185 no debug all
- 186 reboot
- 187 reload
- 188 show clock
- 190 show continuous-reboot-prevention
- 191 show cpu
- 194 show cpu history
- 196 show debugging
- 197 show ecofriendly
- 198 show interface memory
- 200 show memory
- 202 show memory allocations
- 204 show memory history
- 205 show memory pools
- 206 show memory shared
- 207 show process
- 209 show reboot history
- 210 show router-id
- 211 show system
- 212 show system environment
- 213 show system interrupts
- 214 show system mac
- 215 show system serialnumber
- 216 show tech-support
- 218 speed (asyn)
- 220 system territory (deprecated)
- 221 terminal monitor
- 222 undebug all
- 223 Pluggables and Cabling Commands
- 223 Introduction
- 224 show system pluggable
- 226 show system pluggable detail
- 229 show system pluggable diagnostics
- 231 Logging Commands
- 231 Introduction
- 233 clear exception log
- 234 clear log
- 235 clear log buffered
- 236 clear log permanent
- 237 default log buffered
- 238 default log console
- 239 default log email
- 240 default log host
- 241 default log monitor
- 242 default log permanent
- 243 log buffered
- 244 log buffered (filter)
- 247 log buffered exclude
- 250 log buffered size
- 251 log console
- 252 log console (filter)
- 255 log console exclude
- 258 log email
- 259 log email (filter)
- 262 log email exclude
- 265 log email time
- 267 log facility
- 269 log host
- 271 log host (filter)
- 274 log host exclude
- 277 log host source
- 278 log host time
- 280 log monitor (filter)
- 283 log monitor exclude
- 286 log permanent
- 287 log permanent (filter)
- 290 log permanent exclude
- 293 log permanent size
- 294 log-rate-limit nsm
- 296 log trustpoint
- 297 show counter log
- 298 show exception log
- 299 show log
- 301 show log config
- 303 show log permanent
- 304 show running-config log
- 305 Scripting Commands
- 305 Introduction
- 306 activate
- 309 Interface Commands
- 309 Introduction
- 310 description (interface)
- 311 interface (to configure)
- 313 mru jumbo
- 316 show interface
- 319 show interface brief
- 320 show interface memory
- 322 show interface status
- 324 shutdown
- 325 Port Mirroring Commands
- 325 Introduction
- 326 mirror interface
- 328 show mirror
- 329 show mirror interface
- 330 Interface Testing Commands
- 330 Introduction
- 331 clear test interface
- 332 service test
- 333 test interface
- 335 Alarm Monitoring Commands
- 335 Introduction
- 336 alarm facility
- 338 debug alarm
- 339 show alarm settings
- 340 show debugging alarm
- 341 show facility-alarm status
- 342 Layer Two Switching
- 343 Switching Commands
- 343 Introduction
- 345 backpressure
- 347 clear loop-protection counters
- 348 clear mac address-table dynamic
- 350 clear mac address-table static
- 351 clear port counter
- 352 debug loopprot
- 353 debug platform packet
- 355 duplex
- 357 flowcontrol (switch port)
- 359 linkflap action
- 360 loop-protection loop-detect
- 361 loop-protection action
- 339 loop-protection action-delay-time
- 340 loop-protection timeout
- 341 mac address-table acquire
- 342 mac address-table ageing-time
- 343 mac address-table logging
- 344 mac address-table static
- 345 platform hwfilter-size
- 346 platform stop-unreg-mc-flooding
- 348 platform vlan-stacking-tpid
- 349 polarity
- 350 show debugging loopprot
- 351 show debugging platform packet
- 352 show flowcontrol interface
- 353 show interface err-disabled
- 354 show interface switchport
- 355 show loop-protection
- 357 show mac address-table
- 359 show platform
- 360 show platform classifier statistics utilization brief
- 361 show platform port
- 365 show storm-control
- 366 speed
- 368 storm-control level
- 369 thrash-limiting
- 370 undebug loopprot
- 371 undebug platform packet
- 372 VLAN Commands
- 372 Introduction
- 374 port-vlan-forwarding-priority
- 376 private-vlan
- 377 private-vlan association
- 378 show port-vlan-forwarding-priority
- 379 show vlan
- 380 show vlan access-map
- 381 show vlan classifier group
- 382 show vlan classifier group interface
- 383 show vlan classifier interface group
- 384 show vlan classifier rule
- 385 show vlan filter
- 386 show vlan private-vlan
- 387 switchport access vlan
- 388 switchport enable vlan
- 389 switchport mode access
- 390 switchport mode private-vlan
- 391 switchport mode private-vlan trunk promiscuous
- 393 switchport mode private-vlan trunk secondary
- 395 switchport mode trunk
- 396 switchport private-vlan host-association
- 397 switchport private-vlan mapping
- 398 switchport trunk allowed vlan
- 401 switchport trunk native vlan
- 402 switchport vlan-stacking (double tagging)
- 426 switchport voice dscp
- 427 switchport voice vlan
- 429 switchport voice vlan priority
- 432 vlan access-map
- 433 vlan classifier activate
- 434 vlan classifier group
- 435 vlan classifier rule ipv
- 436 vlan classifier rule proto
- 439 vlan database
- 440 vlan filter
- 441 Spanning Tree Commands
- 441 Introduction
- 443 clear spanning-tree statistics
- 444 clear spanning-tree detected protocols (RSTP and MSTP)
- 445 debug mstp (RSTP and STP)
- 449 instance priority (MSTP)
- 451 instance vlan (MSTP)
- 453 region (MSTP)
- 454 revision (MSTP)
- 455 show debugging mstp
- 456 show spanning-tree
- 459 show spanning-tree brief
- 460 show spanning-tree mst
- 461 show spanning-tree mst config
- 462 show spanning-tree mst detail
- 464 show spanning-tree mst detail interface
- 466 show spanning-tree mst instance
- 467 show spanning-tree mst instance interface
- 468 show spanning-tree mst interface
- 469 show spanning-tree mst detail interface
- 471 show spanning-tree statistics
- 473 show spanning-tree statistics instance
- 474 show spanning-tree statistics instance interface
- 476 show spanning-tree statistics interface
- 478 show spanning-tree vlan range-index
- 479 spanning-tree autoedge (RSTP and MSTP)
- 480 spanning-tree bpdu
- 482 spanning-tree cisco-interoperability (MSTP)
- 483 spanning-tree edgeport (RSTP and MSTP)
- 484 spanning-tree enable
- 486 spanning-tree errdisable-timeout enable
- 487 spanning-tree errdisable-timeout interval
- 488 spanning-tree force-version
- 489 spanning-tree forward-time
- 490 spanning-tree guard root
- 491 spanning-tree hello-time
- 492 spanning-tree link-type
- 493 spanning-tree max-age
- 494 spanning-tree max-hops (MSTP)
- 495 spanning-tree mode
- 496 spanning-tree mst configuration
- 497 spanning-tree mst instance
- 498 spanning-tree mst instance path-cost
- 500 spanning-tree mst instance priority
- 501 spanning-tree mst instance restricted-role
- 503 spanning-tree mst instance restricted-tcn
- 504 spanning-tree path-cost
- 505 spanning-tree portfast (STP)
- 507 spanning-tree portfast bpdu-filter
- 509 spanning-tree portfast bpdu-guard
- 511 spanning-tree priority (bridge priority)
- 512 spanning-tree priority (port priority)
- 513 spanning-tree restricted-role
- 514 spanning-tree restricted-tcn
- 515 spanning-tree transmit-holdcount
- 516 undebug mstp
- 517 Link Aggregation Commands
- 517 Introduction
- 519 channel-group
- 521 clear lacp counters
- 522 debug lacp
- 523 lacp global-passive-mode enable
- 524 lacp port-priority
- 525 lacp system-priority
- 526 lacp timeout
- 528 show debugging lacp
- 529 show diagnostic channel-group
- 530 show etherchannel
- 531 show etherchannel detail
- 532 show etherchannel summary
- 533 show lacp sys-id
- 534 show lacp-counter
- 535 show port etherchannel
- 536 show static-channel-group
- 537 static-channel-group
- 539 undebug lacp
- 540 Power over Ethernet Commands
- 540 Introduction
- 542 clear power-inline counters interface
- 543 debug power-inline
- 545 power-inline allow-legacy
- 546 power-inline description
- 547 power-inline enable
- 548 power-inline hanp
- 549 power-inline max
- 551 power-inline priority
- 553 power-inline usage-threshold
- 554 power-inline wattage max
- 555 service power-inline
- 556 show debugging power-inline
- 557 show power-inline
- 560 show power-inline counters
- 562 show power-inline interface
- 565 show power-inline interface detail
- 568 GVRP Commands
- 568 Introduction
- 569 clear gvrp statistics
- 570 debug gvrp
- 572 gvrp (interface)
- 573 gvrp dynamic-vlan-creation
- 574 gvrp enable (global)
- 575 gvrp registration
- 576 gvrp timer
- 577 show debugging gvrp
- 578 show gvrp configuration
- 579 show gvrp machine
- 580 show gvrp statistics
- 581 show gvrp timer
- 582 Layer Three, Switching and Routing
- 583 IP Addressing and Protocol Commands
- 583 Introduction
- 584 arp-aging-timeout
- 585 arp (IP address MAC)
- 586 arp log
- 589 arp-reply-bc-dmac
- 590 clear arp-cache
- 591 debug ip packet interface
- 593 ip address (IP Addressing and Protocol)
- 595 ip gratuitous-arp-link
- 597 ip unreachables
- 600 show arp
- 602 show debugging ip packet
- 604 show ip interface
- 605 show ip sockets
- 608 show ip traffic
- 614 tcpdump
- 615 traceroute
- 616 undebug ip packet interface
- 617 Domain Name Service (DNS) Commands
- 617 Introduction
- 618 ip domain-list
- 619 ip domain-lookup
- 620 ip domain-name
- 621 ip name-server
- 623 show hosts
- 624 show ip domain-list
- 625 show ip domain-name
- 626 show ip name-server
- 627 IPv6 Commands
- 627 Introduction
- 628 clear ipv6 neighbors
- 629 ipv6 address
- 630 ipv6 enable
- 631 ipv6 nd raguard
- 633 ipv6 neighbor
- 634 ipv6 unreachables
- 635 ping ipv
- 636 show ipv6 interface brief
- 637 show ipv6 neighbors
- 638 traceroute ipv
- 639 Static Routing Commands for Management Purposes
- 639 Introduction
- 640 ip route
- 641 show ip route
- 643 show ip route database
- 644 show ip route summary
- 645 Multicast Applications
- 646 IGMP Snooping Commands
- 646 Introduction
- 648 clear ip igmp
- 649 clear ip igmp group
- 650 clear ip igmp interface
- 651 debug igmp
- 652 ip igmp flood specific-query
- 653 ip igmp maximum-groups
- 655 ip igmp snooping
- 656 ip igmp snooping fast-leave
- 657 ip igmp snooping mrouter
- 658 ip igmp snooping querier
- 659 ip igmp snooping report-suppression
- 660 ip igmp snooping routermode
- 662 ip igmp snooping tcn query solicit
- 664 ip igmp static-group
- 666 ip igmp trusted
- 667 ip igmp version
- 668 show debugging igmp
- 669 show ip igmp groups
- 671 show ip igmp interface
- 673 show ip igmp snooping mrouter
- 674 show ip igmp snooping routermode
- 675 show ip igmp snooping statistics
- 677 undebug igmp
- 678 MLD Snooping Commands
- 678 Introduction
- 679 clear ipv6 mld
- 680 clear ipv6 mld group
- 681 clear ipv6 mld interface
- 682 debug mld
- 683 ipv6 mld access-group
- 684 ipv6 mld immediate-leave
- 685 ipv6 mld limit
- 687 ipv6 mld snooping
- 689 ipv6 mld snooping fast-leave
- 690 ipv6 mld snooping mrouter
- 692 ipv6 mld snooping querier
- 693 ipv6 mld snooping report-suppression
- 695 ipv6 mld static-group
- 697 show debugging mld
- 698 show ipv6 mld groups
- 699 show ipv6 mld interface
- 700 show ipv6 mld snooping mrouter
- 701 show ipv6 mld snooping statistics
- 702 Access and Security
- 703 IPv4 Hardware Access Control List (ACL) Commands
- 703 Introduction
- 706 access-group
- 708 access-list (numbered hardware ACL for ICMP)
- 711 access-list (numbered hardware ACL for IP packets)
- 714 access-list (numbered hardware ACL for IP protocols)
- 718 access-list (numbered hardware ACL for MAC addresses)
- 720 access-list (numbered hardware ACL for TCP or UDP)
- 723 access-list hardware (named hardware ACL)
- 725 (named hardware ACL: ICMP entry)
- 729 (named hardware ACL: IP packet entry)
- 733 (named hardware ACL: IP protocol entry)
- 738 (named hardware ACL: MAC entry)
- 741 (named hardware ACL: TCP or UDP entry)
- 744 commit (IPv4)
- 745 show access-list (IPv4 Hardware ACLs)
- 747 show interface access-group
- 748 IPv4 Software Access Control List (ACL) Commands
- 748 Introduction
- 751 access-list extended (named)
- 759 access-list (extended numbered)
- 761 (access-list extended ICMP filter)
- 763 (access-list extended IP filter)
- 766 (access-list extended IP protocol filter)
- 770 (access-list extended TCP UDP filter)
- 772 access-list standard (named)
- 774 access-list (standard numbered)
- 776 (access-list standard named filter)
- 778 (access-list standard numbered filter)
- 780 clear ip prefix-list
- 781 ip prefix-list
- 783 maximum-access-list
- 784 show access-list (IPv4 Software ACLs)
- 786 show ip access-list
- 787 vty access-class (numbered)
- 788 IPv6 Hardware Access Control List (ACL) Commands
- 788 Introduction
- 790 commit (IPv6)
- 791 ipv6 access-list (named IPv6 hardware ACL)
- 793 (named IPv6 hardware ACL: ICMP entry)
- 797 (named IPv6 hardware ACL: IPv6 packet entry)
- 800 (named IPv6 hardware ACL: IP protocol entry)
- 805 (named IPv6 hardware ACL: TCP or UDP entry)
- 808 ipv6 traffic-filter
- 810 show ipv6 access-list (IPv6 Hardware ACLs)
- 811 IPv6 Software Access Control List (ACL) Commands
- 811 Introduction
- 813 ipv6 access-list standard (named)
- 815 (ipv6 access-list standard filter)
- 817 show ipv6 access-list (IPv6 Software ACLs)
- 818 vty ipv6 access-class (named)
- 819 QoS Commands
- 819 Introduction
- 821 class
- 822 class-map
- 823 default-action
- 824 description (QoS policy-map)
- 825 egress-rate-limit
- 826 match access-group
- 828 match cos
- 829 match dscp
- 830 match eth-format protocol
- 833 match mac-type
- 834 match tcp-flags
- 835 match vlan
- 836 mls qos cos
- 837 mls qos enable
- 838 mls qos map cos-queue to
- 839 mls qos map premark-dscp to
- 840 no police
- 841 police single-rate action
- 842 policy-map
- 843 priority-queue
- 844 remark new-cos
- 846 service-policy input
- 847 show class-map
- 848 show mls qos
- 849 show mls qos interface
- 851 show mls qos maps cos-queue
- 852 show mls qos maps premark-dscp
- 853 show platform classifier statistics utilization brief
- 854 show policy-map
- 855 trust dscp
- 856 wrr-queue weight queues
- 858 802.1X Commands
- 858 Introduction
- 860 dot1x accounting
- 861 dot1x authentication
- 862 debug dot1x
- 863 dot1x control-direction
- 865 dot1x eap
- 866 dot1x eapol-version
- 868 dot1x initialize interface
- 869 dot1x initialize supplicant
- 870 dot1x keytransmit
- 871 dot1x max-auth-fail
- 873 dot1x max-reauth-req
- 875 dot1x port-control
- 877 dot1x timeout tx-period
- 879 show debugging dot1x
- 880 show dot1x
- 883 show dot1x diagnostics
- 885 show dot1x interface
- 890 show dot1x sessionstatistics
- 891 show dot1x statistics interface
- 892 show dot1x supplicant
- 894 show dot1x supplicant interface
- 897 undebug dot1x
- 898 Authentication Commands
- 898 Introduction
- 901 auth auth-fail vlan
- 903 auth critical
- 904 auth dynamic-vlan-creation
- 907 auth guest-vlan
- 910 auth guest-vlan forward
- 912 auth host-mode
- 914 auth log
- 916 auth max-supplicant
- 918 auth profile (Global Configuration)
- 919 auth profile (Interface Configuration)
- 920 auth reauthentication
- 921 auth roaming disconnected
- 923 auth roaming enable
- 925 auth supplicant-ip
- 927 auth supplicant-mac
- 930 auth timeout connect-timeout
- 932 auth timeout quiet-period
- 933 auth timeout reauth-period
- 935 auth timeout server-timeout
- 937 auth timeout supp-timeout
- 939 auth two-step enable
- 861 auth-mac accounting
- 862 auth-mac authentication
- 863 auth-mac enable
- 865 auth-mac method
- 867 auth-mac password
- 868 auth-mac reauth-relearning
- 869 auth-mac username
- 870 auth-web accounting
- 871 auth-web authentication
- 872 auth-web enable
- 874 auth-web forward
- 877 auth-web max-auth-fail
- 879 auth-web method
- 880 auth-web-server blocking-mode
- 881 auth-web-server dhcp ipaddress
- 882 auth-web-server dhcp lease
- 883 auth-web-server dhcp-wpad-option
- 884 auth-web-server host-name
- 885 auth-web-server intercept-port
- 886 auth-web-server ipaddress
- 887 auth-web-server page language
- 888 auth-web-server login-url
- 889 auth-web-server page logo
- 890 auth-web-server page sub-title
- 891 auth-web-server page success-message
- 892 auth-web-server page title
- 893 auth-web-server page welcome-message
- 894 auth-web-server ping-poll enable
- 895 auth-web-server ping-poll failcount
- 896 auth-web-server ping-poll interval
- 897 auth-web-server ping-poll reauth-timer-refresh
- 898 auth-web-server ping-poll timeout
- 899 auth-web-server port
- 900 auth-web-server redirect-delay-time
- 901 auth-web-server redirect-url
- 902 auth-web-server session-keep
- 903 auth-web-server ssl
- 904 auth-web-server ssl intercept-port
- 905 copy proxy-autoconfig-file
- 906 copy web-auth-https-file
- 907 description (Authentication Profile)
- 908 erase proxy-autoconfig-file
- 909 erase web-auth-https-file
- 910 platform mac-vlan-hashing-algorithm
- 911 show auth
- 913 show auth diagnostics
- 915 show auth interface
- 918 show auth sessionstatistics
- 919 show auth statistics interface
- 920 show auth supplicant
- 923 show auth supplicant interface
- 924 show auth two-step supplicant brief
- 925 show auth-web-server
- 1007 show auth-web-server page
- 1008 show proxy-autoconfig-file
- 1009 AAA Commands
- 1009 Introduction
- 1011 aaa accounting auth-mac
- 1013 aaa accounting auth-web
- 1015 aaa accounting commands
- 1017 aaa accounting dot1x
- 1019 aaa accounting login
- 1022 aaa accounting update
- 1024 aaa authentication auth-mac
- 1026 aaa authentication auth-web
- 1028 aaa authentication dot1x
- 1030 aaa authentication enable default group tacacs
- 1032 aaa authentication enable default local
- 1033 aaa authentication login
- 1035 aaa authorization commands
- 1037 aaa authorization config-commands
- 1038 aaa group server
- 1040 aaa local authentication attempts lockout-time
- 1041 aaa local authentication attempts max-fail
- 1042 aaa login fail-delay
- 1043 accounting login
- 1044 authorization commands
- 1046 clear aaa local user lockout
- 1047 debug aaa
- 1048 login authentication
- 1049 proxy-port
- 1050 radius-secure-proxy aaa
- 1051 server (radsecproxy-aaa)
- 1053 server mutual-authentication
- 1054 server name-check
- 1055 server trustpoint
- 1057 show aaa local user locked
- 1058 show aaa server group
- 1059 show debugging aaa
- 1060 show radius server group
- 1062 undebug aaa
- 1063 RADIUS Commands
- 1063 Introduction
- 1064 auth radius send nas-identifier
- 1065 auth radius send service-type
- 1066 deadtime (RADIUS server group)
- 1067 debug radius
- 1068 ip radius source-interface
- 1069 radius-server deadtime
- 1070 radius-server host
- 1073 radius-server key
- 1074 radius-server retransmit
- 1076 radius-server timeout
- 1078 server (Server Group)
- 1080 show debugging radius
- 1081 show radius
- 1084 show radius statistics
- 1085 undebug radius
- 1086 Public Key Infrastructure Commands
- 1086 Introduction
- 1087 crypto key generate rsa
- 1088 crypto key zeroize
- 1089 crypto pki authenticate
- 1090 crypto pki enroll
- 1091 crypto pki enroll user
- 1093 crypto pki export pem
- 1094 crypto pki export pkcs
- 1096 crypto pki import pem
- 1098 crypto pki import pkcs
- 1099 crypto pki trustpoint
- 1100 enrollment (trustpoint configuration mode)
- 1101 fingerprint (trustpoint configuration mode)
- 1103 no crypto pki certificate
- 1104 rsakeypair (trustpoint configuration mode)
- 1105 show crypto key mypubkey rsa
- 1106 show crypto pki certificates
- 1108 show crypto pki enrollment user
- 1109 show crypto pki trustpoint
- 1110 subject-name (trustpoint configuration)
- 1112 TACACS+ Commands
- 1112 Introduction
- 1113 authorization commands
- 1115 aaa authorization commands
- 1117 aaa authorization config-commands
- 1118 ip tacacs source-interface
- 1119 show tacacs
- 1121 tacacs-server host
- 1123 tacacs-server key
- 1124 tacacs-server timeout
- 1125 DHCP Snooping Commands
- 1125 Introduction
- 1127 arp security
- 1128 arp security violation
- 1130 clear arp security statistics
- 1131 clear ip dhcp snooping binding
- 1132 clear ip dhcp snooping statistics
- 1133 debug arp security
- 1134 debug ip dhcp snooping
- 1135 ip dhcp snooping
- 1136 ip dhcp snooping agent-option
- 1137 ip dhcp snooping agent-option allow-untrusted
- 1138 ip dhcp snooping agent-option circuit-id vlantriplet
- 1139 ip dhcp snooping agent-option remote-id
- 1140 ip dhcp snooping binding
- 1141 ip dhcp snooping database
- 1142 ip dhcp snooping delete-by-client
- 1143 ip dhcp snooping delete-by-linkdown
- 1144 ip dhcp snooping max-bindings
- 1145 ip dhcp snooping subscriber-id
- 1146 ip dhcp snooping trust
- 1147 ip dhcp snooping verify mac-address
- 1148 ip dhcp snooping violation
- 1149 ip source binding
- 1151 service dhcp-snooping
- 1153 show arp security
- 1154 show arp security interface
- 1156 show arp security statistics
- 1158 show debugging arp security
- 1159 show debugging ip dhcp snooping
- 1160 show ip dhcp snooping
- 1161 show ip dhcp snooping acl
- 1164 show ip dhcp snooping agent-option
- 1166 show ip dhcp snooping binding
- 1168 show ip dhcp snooping interface
- 1170 show ip dhcp snooping statistics
- 1173 show ip source binding
- 1174 Network Availability
- 1175 Ethernet Protection Switched Ring (EPSRing™) Commands
- 1175 Introduction
- 1177 debug epsr
- 1179 epsr configuration
- 1180 epsr datavlan
- 1181 epsr enhancedrecovery enable
- 1182 epsr mode master controlvlan primary port
- 1183 epsr mode transit controlvlan
- 1184 epsr priority
- 1185 epsr state
- 1186 epsr trap
- 1187 show debugging epsr
- 1188 show epsr
- 1193 show epsr common segments
- 1194 show epsr config-check
-
1195
show epsr
-
1196
show epsr
counters - 1197 show epsr counters
- 1198 show epsr summary
- 1199 undebug epsr
- 1200 RRP Snooping Commands
- 1200 Introduction
- 1201 ip rrp snooping
- 1202 show ip rrp snooping
- 1203 Network Management
- 1204 Allied Telesis Management Framework™ (AMF) Commands
- 1204 Introduction
- 1208 atmf area
- 1210 atmf area password
- 1212 atmf backup
- 1213 atmf backup area-masters delete
- 1214 atmf backup area-masters enable
- 1215 atmf backup area-masters now
- 1216 atmf backup area-masters synchronize
- 1217 atmf backup bandwidth
- 1218 atmf backup delete
- 1219 atmf backup enable
- 1220 atmf backup guests delete
- 1221 atmf backup guests enable
- 1222 atmf backup guests now
- 1223 atmf backup guests synchronize
- 1224 atmf backup now
- 1226 atmf backup redundancy enable
- 1227 atmf backup server
- 1229 atmf backup stop
- 1230 atmf backup synchronize
- 1231 atmf cleanup
- 1232 atmf controller
- 1233 atmf distribute firmware
- 1235 atmf domain vlan
- 1237 atmf enable
- 1238 atmf group (membership)
- 1240 atmf guest-class
- 1242 atmf log-verbose
- 1243 atmf management subnet
- 1245 atmf management vlan
- 1246 atmf master
- 1247 atmf mtu
- 1248 atmf network-name
- 1249 atmf provision
- 1250 atmf provision node clone
- 1252 atmf provision node configure boot config
- 1253 atmf provision node configure boot system
- 1254 atmf provision node create
- 1256 atmf provision node delete
- 1258 atmf provision node license-cert
- 1260 atmf provision node locate
- 1261 atmf reboot-rolling
- 1265 atmf recover
- 1267 atmf recover guest
- 1268 atmf recover led-off
- 1269 atmf remote-login
- 1271 atmf restricted-login
- 1273 atmf select-area
- 1274 atmf virtual-link
- 1276 atmf working-set
- 1278 clear atmf links statistics
- 1279 debug atmf
- 1281 debug atmf packet
- 1284 discovery
- 1286 erase factory-default
- 1287 http-enable
- 1289 modeltype
- 1290 show atmf
- 1294 show atmf area
- 1297 show atmf area guests
- 1299 show atmf area guests-detail
- 1301 show atmf area nodes
- 1303 show atmf area nodes-detail
- 1305 show atmf area summary
- 1306 show atmf backup
- 1310 show atmf backup area
- 1312 show atmf backup guest
- 1314 show atmf detail
- 1316 show atmf group
- 1318 show atmf group members
- 1320 show atmf guest
- 1322 show atmf links
- 1324 show atmf links detail
- 1333 show atmf links guest
- 1336 show atmf links statistics
- 1339 show atmf memory (deprecated)
- 1340 show atmf nodes
- 1342 show atmf provision nodes
- 1343 show atmf tech
- 1346 show atmf virtual-links
- 1348 show atmf working-set
- 1349 show debugging atmf
- 1350 show debugging atmf packet
- 1351 show running-config atmf
- 1352 switchport atmf-agentlink
- 1353 switchport atmf-arealink remote-area
- 1355 switchport atmf-crosslink
- 1357 switchport atmf-guestlink
- 1359 switchport atmf-link
- 1360 type atmf node
- 1363 undebug atmf
- 1364 username
- 1366 Dynamic Host Configuration Protocol (DHCP) Commands
- 1366 Introduction
- 1367 ip address dhcp
- 1369 show counter dhcp-client
- 1370 show dhcp lease
- 1372 DHCP for IPv6 (DHCPv6) Commands
- 1372 Introduction
- 1373 clear counter ipv6 dhcp-client
- 1374 clear ipv6 dhcp client
- 1375 ipv6 address dhcp
- 1376 show counter ipv6 dhcp-client
- 1378 show ipv6 dhcp
- 1379 show ipv6 dhcp interface
- 1380 NTP Commands
- 1380 Introduction
- 1381 ntp access-group
- 1382 ntp authenticate
- 1383 ntp authentication-key
- 1384 ntp broadcastdelay
- 1385 ntp discard
- 1386 ntp master
- 1387 ntp peer
- 1389 ntp restrict
- 1391 ntp server
- 1393 ntp source
- 1395 ntp trusted-key
- 1396 show counter ntp (deprecated)
- 1397 show ntp associations
- 1399 show ntp counters
- 1401 show ntp counters associations
- 1403 show ntp status
- 1404 SNMP Commands
- 1404 Introduction
- 1406 debug snmp
- 1407 show counter snmp-server
- 1411 show debugging snmp
- 1412 show running-config snmp
- 1413 show snmp-server
- 1414 show snmp-server community
- 1415 show snmp-server group
- 1416 show snmp-server user
- 1417 show snmp-server view
- 1418 snmp trap link-status
- 1420 snmp trap link-status suppress
- 1422 snmp-server
- 1424 snmp-server community
- 1425 snmp-server contact
- 1426 snmp-server enable trap
- 1428 snmp-server engineID local
- 1430 snmp-server engineID local reset
- 1431 snmp-server group
- 1433 snmp-server host
- 1435 snmp-server legacy-ifadminstatus
- 1436 snmp-server location
- 1437 snmp-server source-interface
- 1438 snmp-server startup-trap-delay
- 1439 snmp-server user
- 1442 snmp-server view
- 1443 undebug snmp
- 1444 LLDP Commands
- 1444 Introduction
- 1446 clear lldp statistics
- 1447 clear lldp table
- 1448 debug lldp
- 1450 lldp faststart-count
- 1451 lldp holdtime-multiplier
- 1452 lldp management-address
- 1453 lldp med-notifications
- 1454 lldp med-tlv-select
- 1457 lldp non-strict-med-tlv-order-check
- 1458 lldp notification-interval
- 1459 lldp notifications
- 1460 lldp port-number-type
- 1461 lldp reinit
- 1462 lldp run
- 1463 lldp timer
- 1464 lldp tlv-select
- 1466 lldp transmit receive
- 1467 lldp tx-delay
- 1468 location civic-location configuration
- 1472 location civic-location identifier
- 1473 location civic-location-id
- 1474 location coord-location configuration
- 1476 location coord-location identifier
- 1477 location coord-location-id
- 1478 location elin-location
- 1479 location elin-location-id
- 1480 show debugging lldp
- 1482 show lldp
- 1484 show lldp interface
- 1486 show lldp local-info
- 1491 show lldp neighbors
- 1493 show lldp neighbors detail
- 1497 show lldp statistics
- 1499 show lldp statistics interface
- 1501 show location
- 1503 SMTP Commands
- 1503 Introduction
- 1504 debug mail
- 1505 delete mail
- 1507 mail from
- 1508 mail smtpserver
- 1509 show counter mail
- 1510 show mail
- 1511 undebug mail
- 1512 RMON Commands
- 1512 Introduction
- 1513 rmon alarm
- 1515 rmon collection history
- 1516 rmon collection stats
- 1517 rmon event
- 1518 show rmon alarm
- 1519 show rmon event
- 1521 show rmon history
- 1523 show rmon statistics
- 1525 Secure Shell (SSH) Commands
- 1525 Introduction
- 1527 banner login (SSH)
- 1528 clear ssh
- 1529 crypto key destroy hostkey
- 1530 crypto key destroy userkey
- 1531 crypto key generate hostkey
- 1532 crypto key generate userkey
- 1533 crypto key pubkey-chain knownhosts
- 1535 crypto key pubkey-chain userkey
- 1537 debug ssh client
- 1538 debug ssh server
- 1539 service ssh
- 1541 show banner login
- 1542 show crypto key hostkey
- 1543 show crypto key pubkey-chain knownhosts
- 1544 show crypto key pubkey-chain userkey
- 1545 show crypto key userkey
- 1546 show running-config ssh
- 1548 show ssh
- 1550 show ssh client
- 1551 show ssh server
- 1553 show ssh server allow-users
- 1554 show ssh server deny-users
- 1557 ssh client
- 1559 ssh server
- 1561 ssh server allow-users
- 1563 ssh server authentication
- 1565 ssh server deny-users
- 1567 ssh server max-auth-tries
- 1568 ssh server resolve-host
- 1569 ssh server scp
- 1570 ssh server sftp
- 1571 undebug ssh client
- 1572 undebug ssh server
- 1573 Trigger Commands
- 1573 Introduction
- 1570 active (trigger)
- 1573 debug trigger
- 1574 description (trigger)
- 1575 repeat
- 1576 script
- 1578 show debugging trigger
- 1579 show running-config trigger
- 1580 show trigger
- 1586 time (trigger)
- 1589 trigger
- 1590 trigger activate
- 1591 type atmf node
- 1594 type cpu
- 1595 type interface
- 1596 type memory
- 1597 type periodic
- 1598 type ping-poll
- 1599 type reboot
- 1600 type time
- 1601 type usb
- 1602 undebug trigger
- 1603 Ping-Polling Commands
- 1603 Introduction
- 1605 active (ping-polling)
- 1606 clear ping-poll
- 1607 critical-interval
- 1608 debug ping-poll
- 1609 description (ping-polling)
- 1610 fail-count
- 1611 ip (ping-polling)
- 1612 length (ping-poll data)
- 1613 normal-interval
- 1614 ping-poll
- 1615 sample-size
- 1617 show counter ping-poll
- 1619 show ping-poll
- 1623 source-ip
- 1625 timeout (ping polling)
- 1626 up-count
- 1627 undebug ping-poll