Download Print this page
Allied Telesis AR4050S Command Reference Manual

Allied Telesis AR4050S Command Reference Manual

Unified threat management firewall; for alliedware plus version 5.4.7-1.x
Hide thumbs Also See for AR4050S:

Advertisement

AR4050S
UNIFIED THREAT MANAGEMENT FIREWALL
Command Reference for
AlliedWare Plus™ Version 5.4.7-1.x
C613-50184-01 Rev B

Advertisement

loading
Need help?

Need help?

Do you have a question about the AR4050S and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Allied Telesis AR4050S

  • Page 1 AR4050S UNIFIED THREAT MANAGEMENT FIREWALL Command Reference for AlliedWare Plus™ Version 5.4.7-1.x C613-50184-01 Rev B...
  • Page 2 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.
  • Page 3: Table Of Contents

    (filename) ........134 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 4: Table Of Contents

    ........203 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 5: Table Of Contents

    ........267 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 6: Table Of Contents

    (filter) ........336 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 7: Table Of Contents

    ......... . 421 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 8: Table Of Contents

    Introduction ........481 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 9: Table Of Contents

    (RSTP and MSTP) ..... 547 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 10: Table Of Contents

    ........605 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 11: Table Of Contents

    ........680 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 12: Table Of Contents

    ........753 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 13: Table Of Contents

    ....... 822 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 14: Table Of Contents

    ........893 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 15: Table Of Contents

    ........953 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 16: Table Of Contents

    ......1019 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 17: Table Of Contents

    (IPv6 OSPF) ....... . 1091 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 18: Table Of Contents

    ....... 1168 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 19: Table Of Contents

    ......1250 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 20: Table Of Contents

    (BGP4+ only) ......1363 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 21: Table Of Contents

    ........1424 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 22: Table Of Contents

    ....... . . 1493 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 23: Table Of Contents

    IGMP and IGMP Snooping Commands ....1578 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 24: Table Of Contents

    ......1639 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 25: Table Of Contents

    ....... . . 1700 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 26: Table Of Contents

    ....... . 1762 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 27: Table Of Contents

    (htb) ........1830 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 28: Table Of Contents

    ......1898 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 29: Table Of Contents

    ....... 1965 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 30: Table Of Contents

    ......2026 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 31: Table Of Contents

    ........2084 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 32: Table Of Contents

    Chapter 50: Allied Telesis Management Framework™ (AMF) Commands ..2117 Introduction ........2117 area-link .
  • Page 33: Table Of Contents

    ....... 2245 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 34: Table Of Contents

    ..... . . 2346 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 35: Table Of Contents

    ......2434 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 36: Table Of Contents

    ........2507 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 37: Table Of Contents

    (trigger) ........2572 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 38: Table Of Contents

    ......2635 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 39: Table Of Contents

    ..........2706 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 40: Table Of Contents

    ......2762 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 41: Table Of Contents

    (IPsec) ....... . 2824 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 42: Table Of Contents

    ....... 2888 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 43: Table Of Contents

    ......... . . 2929 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 44: Table Of Contents

    ............2398 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 45: Table Of Contents

    ........... . 686 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 46: Table Of Contents

    ..........2169 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 47: Table Of Contents

    (Interface Configuration)........1857 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 48: Table Of Contents

    ......1897 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 49: Table Of Contents

    (BGP only) ....... . .1164 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 50: Table Of Contents

    (htb) ............. .1800 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 51: Table Of Contents

    ........... .1581 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 52: Table Of Contents

    ............2605 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 53: Table Of Contents

    ............2606 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 54: Table Of Contents

    .............1952 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 55: Table Of Contents

    ............957 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 56: Table Of Contents

    (RIP) ............856 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 57: Table Of Contents

    ..............2772 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 58: Table Of Contents

    ..........288 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 59: Table Of Contents

    ..........1211 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 60: Table Of Contents

    ..........1590 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 61: Table Of Contents

    ........... . 970 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 62: Table Of Contents

    (IPv4 Prefix List) ..........1217 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 63: Table Of Contents

    ..........789 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 64: Table Of Contents

    ..........800 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 65: Table Of Contents

    ..........1763 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 66: Table Of Contents

    ..........658 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 67: Table Of Contents

    ..............335 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 68: Table Of Contents

    ............1221 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 69: Table Of Contents

    (PPP) ............. . . 625 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 70: Table Of Contents

    ............1290 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 71: Table Of Contents

    .............2450 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 72: Table Of Contents

    ........... 638 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 73: Table Of Contents

    ........... . .2739 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 74: Table Of Contents

    ............887 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 75: Table Of Contents

    ........189 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 76: Table Of Contents

    ............1447 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 77: Table Of Contents

    ............2291 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 78: Table Of Contents

    (BGP4+ only) ....... . .1364 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 79: Table Of Contents

    ..........2055 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 80: Table Of Contents

    ............2776 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 81: Table Of Contents

    (BGP only) ........1373 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 82: Table Of Contents

    ..........1404 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 83: Table Of Contents

    ........1019 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 84: Table Of Contents

    ............833 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 85: Table Of Contents

    ......... . .1106 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 86: Table Of Contents

    ........... .2826 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 87: Table Of Contents

    ............470 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 88: Table Of Contents

    ..........2539 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 89: Table Of Contents

    ..........600 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 90: Table Of Contents

    ............2763 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 91: Table Of Contents

    ......... 560 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 92: Table Of Contents

    (trustpoint configuration)....... . .2056 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 93: Table Of Contents

    (IPv6 RIPng)............929 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 94: Table Of Contents

    ..........2888 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 95: Table Of Contents

    ..........1129 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 96: Table Of Contents

    (DDNS) ..........778 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 97: Table Of Contents

    ..............2684 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 98: Part 1: Setup And Troubleshooting

    Part 1: Setup and Troubleshooting C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 99: Chapter 1: Cli Navigation Commands

    • “end” on page 105 • “exit” on page 106 • “help” on page 107 • “logout” on page 108 • “show history” on page 109 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 100: Configure Terminal

    Syntax 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 101: Disable (Privileged Exec Mode)

    Syntax Mode Privileged Exec Example To exit the Privileged Exec mode, enter the command: awplus# disable awplus> Related enable (Privileged Exec mode) Commands exit C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 102 <command> Syntax Parameter Description <command> Specify the command and its parameters. Mode Any configuration mode awplus# configure terminal Example awplus(config)# do ping 192.0.2.23 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 103: Enable (Privileged Exec Mode)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 104 Privileged Exec mode. awplus> enable 7 awplus# Related disable (Privileged Exec mode) Commands enable password enable secret exit service password-encryption username C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 105 Privileged Exec mode directly from Interface mode. awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# awplus# Related disable (Privileged Exec mode) Commands enable (Privileged Exec mode) exit C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 106: Exit

    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 eth1 awplus(config-if)# exit awplus(config)# Related disable (Privileged Exec mode) Commands enable (Privileged Exec mode) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 107: Help

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 108: Logout

    This command exits the User Exec or Privileged Exec modes and ends the session. logout Syntax Mode User Exec and Privileged Exec Example To exit the User Exec mode, use the command: awplus# logout C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 109: Show History

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 110: Chapter 2: File And Configuration Management Commands

    To specify a file in the configs directory {<hostname>|<host-ip>}[/<filepath HTTP on the server: >]/<filename> http://www.company.com/configs/exa mple.cfg Copying with TFTP tftp://[[<location>]/<directory>] To specify a file in the top-level /<filename> directory of the server: tftp://172.1.1.1/example.cfg C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 111 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:/ • C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 112 141 • “pwd” on page 142 • “rmdir” on page 143 • “show autoboot” on page 144 • “show boot” on page 145 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 113 157 • “unmount” on page 162 • “write file” on page 163 • “write memory” on page 164 • “write terminal” on page 165 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 114: Autoboot Enable

    To enable the Autoboot feature, use the command: awplus# configure terminal awplus# configure terminal awplus(config)# no autoboot enable Related create autoboot Commands show autoboot show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 115: Boot Config-File

    To run the configuration file “branch.cfg” stored on the device’s SD card filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot config-file card:/branch.cfg C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 116 Related boot config-file backup Commands boot system boot system backup show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 117: Boot Config-File Backup

    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 boot config-file Commands boot system boot system backup show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 118: Boot System

    Flash filesystem, the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot system flash:/AR4050S-5.4.7-1.1.rel To run the release file AR4050S-5.4.7-1.1.rel, which is stored on the device’s SD card filesystem, the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot system card:/AR4050S-5.4.7-1.1.rel...
  • Page 119: Boot System Backup

    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 AR4050S-5.4.7-0.1.rel as the backup to the main release file, use the commands: awplus# configure terminal awplus(config)# boot system backup flash:/AR4050S-5.4.7-0.1.rel...
  • Page 120 <directory-name> Name and path of the directory. Mode Privileged Exec To change to the directory called images, use the command: Example awplus# cd images Related Commands show file systems C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 121: Copy (Filename)

    Card, use the command: awplus# copy card:/newconfig.cfg flash:/newconfig.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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 122 “master”, use the commands: awplus# atmf working-set group all network-name[80]# copy force master.atmf/flash:/file.txt flash: Related copy zmodem Commands copy buffered-log copy permanent-log edit (filename) show file systems C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 123: Copy Current-Software

    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 boot system backup Commands show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 124: Copy Debug

    Output Figure 2-2: CLI prompt after entering the copy debug command Enter source file name []: Related delete debug Commands move debug C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 125: Copy 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 copy startup-config Commands write file write memory C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 126: Copy Startup-Config

    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 copy running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 127: Copy Zmodem

    Mode Privileged Exec To copy the local file asuka.key using ZMODEM, use the command: Example awplus# copy asuka.key zmodem Related copy (filename) Commands show file systems C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 128: Create Autoboot

    To create an autoboot.txt file on a USB storage device, use the command: awplus# create autoboot usb Related autoboot enable Commands show autoboot show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 129: Delete

    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 erase startup-config Commands rmdir C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 130: Delete Debug

    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 copy debug Commands move debug C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 131 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 132 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 149 -rw- Feb 9 2016 00:40:35 exception.log Related Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 133: Edit

    To edit the existing configuration file myconfig.cfg stored on your device’s Flash memory, use the command: awplus# edit myconfig.cfg Related edit (filename) Commands show file C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 134: Edit (Filename)

    To view the file bob.key stored in the security directory of a TFTP server, use the Example command: awplus# edit tftp://security/bob.key Related copy (filename) Commands edit show file C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 135: 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 atmf cleanup Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 136: Erase Startup-Config

    To delete the file currently set as the startup-config, use the command: awplus# erase startup-config Related boot config-file backup Commands copy running-config copy startup-config show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 137: Ip Tftp Source-Interface

    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 copy (filename) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 138: Ipv6 Tftp Source-Interface

    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 copy (filename) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 139: Mkdir

    These keywords are reserved for tab completion when using various file commands. To make a new directory called images in the current directory, use the Example command: awplus# mkdir images Related Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 140: Move

    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 delete Commands edit show file show file systems C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 141: Move Debug

    Output Figure 2-5: CLI prompt after entering the move debug command Enter source file name []: Related copy debug Commands delete debug C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 142 OMMANDS Overview This command prints the current working directory. Syntax Mode Privileged Exec Example To print the current working directory, use the command: awplus# Related Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 143: Rmdir

    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 mkdir C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 144: Show Autoboot

     Restore information on USB Autoboot enable in autoboot.txt : yes Restore release file : AR4050S-5.4.7-1.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...
  • Page 145: Show Boot

    SD card  awplus#show boot Boot configuration ---------------------------------------------------------------- Current software : AR4050S-5.4.7-1.1.rel Current boot image : card:/AR4050S-5.4.7-1.1.rel Backup boot image : flash:/AR4050S-5.4.7-0.1.rel Default boot config: flash:/default.cfg Current boot config: card:/my.cfg (file exists) Backup boot config: flash:/backup.cfg (file not found)...
  • Page 146 Autoboot status The status of the Autoboot feature; either enabled or disabled. Related autoboot enable Commands boot config-file backup boot system backup show autoboot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 147: Show File

    To display the contents of the file oldconfig.cfg, which is in the current Example directory, use the command: awplus# show file oldconfig.cfg Related edit Commands edit (filename) show file systems C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 148: Show File Systems

    Type The memory type used for this filesystem; one of: flash system tftp sftp http. Flags The file setting options: rw (read write), ro (read only). C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 149 Whether the memory is located locally or via a network connection. Avail Whether the memory is accessible: Y (yes), N (no), - (not applicable) Related edit Commands edit (filename) show file C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 150: Show Running-Config

    Security-specific configuration dhcp DHCP configuration Deep Packet Inspection configuration entity Entity configuration firewall Firewall configuration interface Interface configuration. See show running-config interface for further options. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 151 Route-map configuration router Router configuration router-id Configuration of the router identifier for this system security-password Strong password security configuration snmp SNMP configuration Secure Shell configuration C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 152 ! lacp global-passive-mode enable ! l2tp tunnel test1 version 2 ip-version 4 ! interface eth1 encapsulation ppp 0 encapsulation dot1q 1 bridge-group 1 ip address dhcp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 153 1 type cpu 90 day monday tuesday wednesday thursday friday ! line con 0 line vty 0 4 ! Related copy running-config Commands show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 154: Show Running-Config Interface

    Displays running configuration for RIP (Routing Information Protocol) for the specified interfaces. ipv6 rip Displays running configuration for RIPng (RIP for IPv6) for the specified interfaces. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 155 Figure 2-12: Example output from a show running-config interface ppp0 command awplus#show running-config interface ppp0 ! interface ppp0 ipv6 address 2001:db9::a3/64 ipv6 enable snmp trap link-status Related copy running-config Commands show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 156: Show Startup-Config

    . . . line con 0 line vty 0 4 ! Related boot config-file backup Commands copy running-config copy startup-config erase startup-config show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 157: Show Version

    Copyright (c) 2004 Masarykova universita (Masaryk University, Brno, Czech Republic). All rights reserved. Copyright (c) 1997 - 2003 Kungliga Tekniska Högskolan (Royal Institute of Technology, Stockholm, Sweden). All rights reserved. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 158 Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Alan DeKok <aland@deployingradius.com>. Copyright (c) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 159 Copyright (c) 1989 The Regents of the University of California. All rights reserved. MD5 Message Digest Algorithm Copyright (c) 1990-2, RSA Data Security, Inc. Created 1991. All rights reserved. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 160 All rights reserved. Copyright (c) 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> All rights reserved. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 161 All rights reserved.  Portions of this product are covered by the GNU (L)GPL, source code may be downloaded from: http://www.alliedtelesis.co.nz/support/gpl/awp.html Related boot system backup Commands show boot C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 162: Unmount

    Related clear log external Commands log external show file systems show log config show log external Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 163: Write File

    Privileged Exec Example To write configuration data to the start-up configuration file, use the command: awplus# write file Related copy running-config Commands write memory show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 164: Write Memory

    Privileged Exec Example To write configuration data to the start-up configuration file, use the command: awplus# write memory Related copy running-config Commands write file show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 165: Write Terminal

    Syntax Mode Privileged Exec Example To display the current configuration of your device, use the command: awplus# write terminal Related show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 166: Chapter 3: User Access Commands

    190 • “security-password warning” on page 191 • “service advanced-vty” on page 192 • “service password-encryption” on page 193 • “service telnet” on page 194 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 167 “telnet” on page 201 • “telnet server” on page 202 • “terminal length” on page 203 • “terminal resize” on page 204 • “username” on page 205 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 168: Clear Line Console

    0 awplus# % The new settings for console line 0 have been applied Related clear line vty Commands flowcontrol hardware (asyn/console) line show users C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 169: Clear Line Vty

    Privileged Exec Example To reset the first VTY line, use the command: awplus# clear line vty 1 Related privilege level Commands line show telnet show users C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 170: Enable Password

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 171 It is not required to use the service password-encryption command for C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 172 8 fU7zHzuutY2SA ! interface lo Related enable (Privileged Exec mode) Commands enable secret service password-encryption privilege level show privilege username show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 173: Enable Secret

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 174 It is not required to use the service password-encryption command for this method. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 175 8 fU7zHzuutY2SA ! interface lo Related enable (Privileged Exec mode) Commands enable secret service password-encryption privilege level show privilege username show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 176: Exec-Timeout

    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 show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 177 CCESS OMMANDS EXEC TIMEOUT Related line Commands service telnet C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 178: Flowcontrol Hardware (Asyn/Console)

    • issuing a clear line console command • issuing a reboot command • logging out of the current session C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 179 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 clear line console Commands show running-config speed (asyn) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 180: Length (Asyn)

    To display output to the console continuously, use the command: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# length 0 Related terminal resize Commands terminal length C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 181: Line

    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)# C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 182 0 awplus(config-line)# Related accounting login Commands clear line console clear line vty flowcontrol hardware (asyn/console) length (asyn) login authentication privilege level speed (asyn) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 183: Privilege Level

    0 5 awplus(config-line)# privilege level 7 Related enable password Commands line show privilege username C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 184: Security-Password History

    Related security-password forced-change Commands security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password reject-expired-pwd security-password warning show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 185: Security-Password Forced-Change

    Related security-password history Commands security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password reject-expired-pwd security-password warning show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 186: Security-Password Lifetime

    10 Related security-password forced-change Commands security-password history security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password reject-expired-pwd security-password warning show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 187: Security-Password Min-Lifetime-Enforce

    Command Version 5.4.7-0.2: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 188: Security-Password Minimum-Categories

    3 Related security-password forced-change Commands security-password history security-password lifetime security-password min-lifetime-enforce security-password minimum-length security-password reject-expired-pwd security-password warning show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 189: Security-Password Minimum-Length

    8 Related security-password forced-change Commands security-password history security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password reject-expired-pwd security-password warning show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 190: Security-Password Reject-Expired-Pwd

    Related security-password forced-change Commands security-password history security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password warning show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 191: Security-Password Warning

    3 Related security-password forced-change Commands security-password history security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password reject-expired-pwd show running-config security-password show security-password configuration show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 192: 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 193: Service Password-Encryption

    Syntax no service password-encryption Mode Global Configuration awplus# configure terminal Example awplus(config)# service password-encryption Validation show running-config Commands Related enable password Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 194: Service Telnet

    To disable the IPv6 telnet server only, use the following commands: awplus# configure terminal awplus(config)# no service telnet ipv6 Related clear line vty Commands show telnet telnet server C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 195: Service Terminal-Length (Deleted)

    CCESS 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 196: Show Privilege

    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 privilege level Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 197: Show Security-Password Configuration

    Force changing expired password at login ..Enabled Related security-password forced-change Commands security-password history security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password reject-expired-pwd security-password warning show security-password user C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 198: Show Security-Password User

    0 day(s) ago No Expiry Related security-password forced-change Commands security-password history security-password lifetime security-password min-lifetime-enforce security-password minimum-categories security-password minimum-length security-password reject-expired-pwd security-password warning show security-password configuration C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 199: Show Telnet

    Example output from the show telnet command Telnet Server Configuration ------------------------------------------------------------ Telnet server : Enabled Protocol : IPv4,IPv6 Port : 23 Related clear line vty Commands service telnet show users telnet server C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 200: Show Users

    The time interval the device waits for user input from either a console or VTY connection. Timeout The time interval before a server is considered unreachable. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 201: Telnet

    To open a telnet session to a remote host 192.168.0.1 associated with VRF Example instance red, use the command: (VRF-lite) awplus# telnet vrf red ip 192.168.0.1 Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 202: Telnet Server

    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 show telnet Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 203: Terminal Length

    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 terminal resize Commands length (asyn) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 204: Terminal Resize

    Examples The following example automatically adjusts the number of rows shown on the console: awplus# terminal resize Related length (asyn) Commands terminal length C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 205: Username

    Mode Global Configuration Default The privilege level is 1 by default. Note the default is not shown in running-config output. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 206 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 enable password Commands security-password minimum-categories security-password minimum-length C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 207: Chapter 4: Subscription Licensing Commands

    Datasheet. For Software Version 5.4.6-1.x and later, Subscription Licensing enables you to use Allied Telesis Management Framework (AMF). You need to purchase an AMF subscription for each AMF master or controller node in your AMF network. To see the AMF subscriptions for your device, see the AlliedWare Plus Datasheet.
  • Page 208: License Update (Filename)

    Flash memory, use the following command: awplus#license update license_file.bin Related license update online Commands show license external Command Version 5.4.6-2.1: usage changed by introduction of license update online changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 209: License Update Online

    Download Center. HTTPS packets are permitted so the secure communication session with the Download Center can proceed. The rule uses a subnet of 0.0.0.0/0 to match on any destination IP address. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 210 Example To add a subscription license, use the command: awplus# license update online Related show license external Commands Command Version 5.4.6-2.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 211: Show License External

    Expiry date : 24-Feb-2016 11:59PM   Web Control (Digital Arts)  Start date : 24-Feb-2015 12:00AM Expiry date : 24-Feb-2016 11:59PM Related license update online Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 212: Chapter 5: Gui Commands

    214 • “log event-host” on page 215 • “service http” on page 216 • “show http” on page 217 • “update webgui now” on page 218 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 213: Atmf Topology-Gui Enable

    To disable Vista Manager EX on Node1, use the following commands: Node1# configure terminal Node1(config)# no atmf topology-gui enable Related atmf enable Commands log event-host service http C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 214: Http Secure-Port

    To return to using the default port of 443, use the commands: awplus# configure terminal awplus(config)# no http secure-port Related service http Commands show http Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 215: Log Event-Host

    To disable Node 1 to log event messages from host IP 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 atmf topology-gui enable Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 216: Service Http

    To disable the HTTP service, use the following commands: awplus# configure terminal awplus(config)# no service http Validation show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 217: Show Http

    : Enabled Port : 80 Web GUI Information ------------------------------------------------------------ GUI file in use : webgui GUI version: : 3.1 Related clear line vty Commands service http C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 218: Update Webgui Now

    “update webgui now” command. To delete all GUI files, use the command: awplus#del *gui_*.tar.gz Examples To check for GUI updates, use the following command: awplus#update webgui now Related show resource Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 219: Update Manager

    Update Manager Feature Overview and Configuration_Guide. Command List • “show resource” on page 220 • “update now” on page 222 • “update webgui now” on page 223 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 220: Show Resource

    Last Download Time stamp of last resource downloaded Next Download Time stamp of next download check for the resource Check Related update-interval (Antivirus) Commands update-interval (Application Control) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 221 PDATE ANAGER OMMANDS SHOW RESOURCE update-interval (IP Reputation) update-interval (Malware Protection) update now update webgui now C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 222: Update Now

    Related show resource Commands update-interval (Antivirus) update-interval (Application Control) update-interval (IP Reputation) update-interval (Malware Protection) update webgui now C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 223 “update webgui now” command. To delete all GUI files, use the command: awplus#del *gui_*.tar.gz Examples To check for GUI updates, use the following command: awplus#update webgui now Related show resource Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 224 • “show debugging” on page 254 • “show interface memory” on page 255 • “show memory” on page 257 • “show memory allocations” on page 259 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 225 274 • “show tech-support” on page 275 • “speed (asyn)” on page 277 • “terminal monitor” on page 279 • “undebug all” on page 280 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 226: Banner Exec

    To restore the default User Exec mode banner after login, enter the following commands: awplus#configure terminal awplus(config)#banner exec default awplus(config)#exit awplus#exit  awplus login: manager Password:  AlliedWare Plus (TM) 5.4.7 01/03/17 12:00:00  awplus> C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 227 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 banner login (system) Commands banner motd C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 228: Banner Login (System)

    To remove the login banner, enter the following commands: awplus#configure terminal awplus(config)#no banner login awplus(config)#exit awplus#exit  awplus login: manager Password:  AlliedWare Plus (TM) 5.4.7 01/03/17 12:00:00  awplus> C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 229 YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER LOGIN SYSTEM Related banner exec Commands banner motd C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 230: Banner Motd

    System shutdown at 6pm today awplus login: manager Password:  AlliedWare Plus (TM) 5.4.7 01/03/17 12:00:00  awplus> To delete the login banner, enter the following commands: C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 231  awplus login: manager Password:  AlliedWare Plus (TM) 5.4.7 01/03/17 12:00:00  awplus> Related banner exec Commands banner login (system) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 232: Clock Set

    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 clock timezone Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 233: Clock Summer-Time Date

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 234 YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK SUMMER TIME DATE Related clock summer-time recurring Commands clock timezone C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 235: Clock Summer-Time Recurring

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 236 1 sun apr 2:00 60 To remove any summertime settings on the system, use the command: awplus(config)# no clock summer-time Related clock summer-time date Commands clock timezone C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 237: Clock Timezone

    To set the timezone back to UTC with no offsets, use the command: awplus(config)# no clock timezone Related clock set Commands clock summer-time date clock summer-time recurring C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 238: 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 239 : When AMF is configured, running the no hostname command will apply a NOTE hostname that is based on the MAC address of the device node, for example, node_0000_5e00_5301. Related show system Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 240: Max-Fib-Routes

    To set the maximum number of dynamic routes to 2000 and warning threshold of 75%, use the following commands: awplus# config terminal awplus(config)# max-fib-routes 2000 75 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 241 YSTEM ONFIGURATION AND ONITORING OMMANDS ROUTES Related max-fib-routes (VRF) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 242: Max-Static-Routes

    : Static routes are applied before adding routes to the RIB (Routing Information NOTE Base). Therefore, rejected static routes will not appear in the running config. Related max-fib-routes Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 243: No Debug All

    To disable all PIM Sparse Mode debugging, use the command: awplus# no debug all pim sparse-mode To disable all RIP debugging, use the command: awplus# no debug all rip C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 244 To disable all VRRP debugging, use the command: awplus# no debug all vrrp Related undebug all Commands Command Version 5.4.7-1.1: PIM Sparse Mode parameter added changes Version 5.4.7-1.1: RIP parameter added C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 245: Reboot

    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): C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 246: Reboot Command

    YSTEM ONFIGURATION AND ONITORING OMMANDS RELOAD reload Overview This command performs the same function as the reboot command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 247: Show Clock

    Number of minutes that summer time is offset from the system’s timezone. Summer time Whether the device will apply the summer time settings recurring every year or only once. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 248 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CLOCK Related clock set Commands clock summer-time date clock summer-time recurring clock timezone C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 249: Show Cpu

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 250 20 sleep 29 6 linkwatch 0 sleep 0 466 loop0 0 sleep 801 7 migration/0 -100 sleep 0 244 mtdblock0 20 sleep 5 93 sync_supers 20 sleep C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 251 A jiffy is the duration of one tick of the system timer interrupt. Related show memory Commands show memory allocations show memory history show memory pools show process C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 252: Show Cpu History

    90 80 70 60 50 40 30 * 10 ******************************************* **************** |..|..|..|..|..|..|..|..|..|..|..|.. Oldest Newest CPU load% per second (last 60 seconds) * = average CPU load% C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 253 CPU load% per 30 minutes (last 60 values / 30 hours) * = average, - = minimum, + = maximum Related show memory Commands show memory allocations show memory pools show process C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 254: Show Debugging

    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#...
  • Page 255: Show Interface Memory

    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...
  • Page 256 --------------------------------------------- Interface shmid Bytes Used nattch Status port1.0.1 294921 1 port1.0.5 425997 1 port1.0.6 589842 Related show interface brief Commands show interface status show interface switchport C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 257: Show Memory

    21696 1968 21632 1296 ospfd 6936 19144 1016 19080 1293 bgpd 7264 19184 1168 19120 1291 pimd 6600 20992 2944 20928 1283 ripd 6640 18328 18256 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 258 Greatest amount of memory ever used by the process. data Amount of memory used for data. The stack size. Related show memory allocations Commands show memory history show memory pools show memory shared C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 259: Show Memory Allocations

    1351680 - total free space 69240 - releasable 68968 - space in freed fastbins : 16  Context filename:line allocated freed lib.c:749 484 . . . C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 260 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY ALLOCATIONS Related show memory Commands show memory history show memory pools show memory shared show tech-support C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 261: Show Memory History

    Newest Memory utilization% per minute (last 60 minutes) * = average memory utilisation%. Related show memory allocations Commands show memory pools show memory shared show tech-support C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 262: Show Memory Pools

    - total free space 68472 - releasable 68200 - space in freed fastbins : 16 . . . Related show memory allocations Commands show memory history show tech-support C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 263: 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.
  • Page 264: Show Process

    0  init sleep 88  797 syslog-ng sleep ... kernel threads ============== sleep%  pid name cpu% state  aio/0 sleep  events/0 sleep C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 265 Process state; one of “run”, “sleep”, “stop”, “zombie”, or “dead”. sleep% Percentage of time the process is in the sleep state. Related show cpu Commands show cpu history C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 266: Show Reboot History

    Table 5: Parameters in the output from the show reboot history command Parameter Description Unexpected A non-intended reboot. Expected A planned or user-triggered reboot. User request User initiated reboot via the CLI. Related show tech-support Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 267: Show Router-Id

    To display the Router ID of the current system, use the command: awplus# show router-id Output Figure 7-14: Example output from the show router-id command awplus>show router-id Router ID: 10.55.0.2 (automatic) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 268: Show System

    -------------------------------------------------------------------------------- Environment Status : ***Fault*** Uptime : 0 days 23:11:05 Bootloader version : 5.0.6  Current software : AR4050S-5.4.5-2.1.rel Software version : 5.4.5-2.1 Build date : Thu Nov 12 12:11:29 NZDT 2015  Current boot config: flash:/default.cfg (file exists) ...
  • Page 269: Show System Environment

    4.505 5.495 Ok Voltage: 12V (Volts) 11.563 10.813 13.188 Ok Voltage: 0.92V (Volts) 0.844 0.872 0.970 FAULT Temp: Internal (Degrees C) 58(Hyst) Related show system Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 270: Show System Interrupts

    RGMII CIU Enabled Ethernet 1025 CIU Enabled serial 5825 CIU Enabled i2c-octeon CIU Enabled i2c-octeon CIB Enabled xhci-hcd:usb1 CIU-GPIO Enabled 0-0021 Related show system environment Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 271: Show System Mac

    To display the physical MAC address enter the following command: awplus# show system mac Output Figure 7-18: Example output from the show system mac command awplus#show system mac 0200.0034.5682 0200.0034.5683 0200.0034.5684 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 272: Show System Pci Device

    To display information about the PCI devices on your device, use the command: awplus# show system pci device Related show system environment Commands show system pci tree C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 273: Show System Pci Tree

    To display information about the PCI tree on your device, use the command: awplus# show system pci tree Related show system environment Commands show system pci device C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 274: Show System Serialnumber

    To display the serial number information for the device, use the command: awplus# show system serialnumber Output Figure 7-19: Example output from the show system serial number command awplus#show system serialnumber 45AX5300X C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 275: Show Tech-Support

    Display PIM related information RIP related information ripng Display RIPNG specific information stack Display stacking device information Display STP specific information system Display general system information C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 276 AMF across a range of physically separated devices. Mode Privileged Exec Examples To produce the output needed by technical support staff, use the command: awplus# show tech-support C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 277: Speed (Asyn)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 278 YSTEM ONFIGURATION AND ONITORING OMMANDS SPEED ASYN Related clear line console Commands line show running-config show startup-config speed C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 279: 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 All debug commands Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 280: Undebug All

    YSTEM ONFIGURATION AND ONITORING OMMANDS UNDEBUG ALL undebug all Overview This command applies the functionality of the no debug all command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 281: Chapter 8: Pluggables And Cabling Commands

    291 • “show system pluggable” on page 294 • “show system pluggable detail” on page 296 • “show system pluggable diagnostics” on page 299 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 282: Debug Fiber-Monitoring

    To disable debugging messages for active fiber monitoring on port 1.0.2, use the command: awplus# no debug fiber-monitoring interface port 1.0.2 To disable all debugging messages for active fiber monitoring, use the command: awplus# no debug fiber-monitoring C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 283 01:42:56 awplus Pluggable[522]: Fiber-monitor port2.0.1: Channel:1 Reading:1685 Baseline:1710 Threshold:1358 01:42:58 awplus Pluggable[522]: Fiber-monitor port2.0.1: Channel:1 Reading:1701 Baseline:1710 Threshold:1358 01:43:01 awplus Pluggable[522]: Fiber-monitor port2.0.1: Channel:1 Reading:1733 Baseline:1709 Threshold:1357 Related show system fiber-monitoring Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 284: Fiber-Monitoring Action

    To set the device not to perform any action when it receives reduced power on ports 1.0.1 or 1.0.2, use the commands: awplus(config)# interface port1.0.1-1.0.2 awplus(config-if)# no fiber-monitoring action Related fiber-monitoring sensitivity Commands show system fiber-monitoring C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 285: Fiber-Monitoring Baseline

    30 To set the baseline to its default, averaging the last 12 readings, use the command: awplus(config-if)# no fiber-monitoring baseline C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 286 LUGGABLES AND ABLING OMMANDS FIBER MONITORING BASELINE Related fiber-monitoring interval Commands fiber-monitoring sensitivity C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 287: Fiber-Monitoring Enable

    To remove all fiber-monitoring configuration and state for the ports, use the commands: awplus(config)# interface port1.0.1-1.0.2 awplus(config-if)# no fiber-monitoring Related fiber-monitoring action Commands fiber-monitoring sensitivity show system fiber-monitoring C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 288: Fiber-Monitoring Interval

    To reset the fiber monitoring polling interval back to the default (5s), use the commands: awplus(config)# interface port1.0.2 awplus(config-if)# no fiber-monitoring interval Related fiber-monitoring baseline Commands show system fiber-monitoring C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 289: Fiber-Monitoring Sensitivity

    0.1 To reset the fiber monitoring sensitivity to the default (medium), use the commands: awplus(config)# interface port1.0.2 awplus(config-if)# no fiber-monitoring sensitivity C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 290 LUGGABLES AND ABLING OMMANDS FIBER MONITORING SENSITIVITY Related fiber-monitoring action Commands fiber-monitoring baseline show system fiber-monitoring C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 291: Show System Fiber-Monitoring

    Alarm threshold: 0 Alarm: no Last 12 Readings: 0 0 0 0 0 0 0 0 0 0 0 0  Minimum reading: 0 Maximum reading: 0 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 292 The highest optical power reading since the fiber pluggable was last inserted, or since active fiber monitoring was last enabled on the port. Related debug fiber-monitoring Commands fiber-monitoring action fiber-monitoring baseline fiber-monitoring enable C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 293 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM FIBER MONITORING fiber-monitoring interval fiber-monitoring sensitivity C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 294: Show System Pluggable

    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.
  • Page 295 Plus” Feature Overview and Configuration Guide. Type Specifies the device type for the installed pluggable transceiver. Related show system environment Commands show system pluggable detail show system pluggable diagnostics C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 296: Show System Pluggable Detail

    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.
  • Page 297 This may be useful for troubleshooting because different devices may support different pluggable transceiver revisions. Device Type Specifies the device type for the installed pluggable transceiver. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 298 Displays the received power measurement type, which can be either OMA (Optical Module Amplitude) or Avg (Average Power) measured in μW. Related show system environment Commands show system pluggable show system pluggable diagnostics C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 299: Show System Pluggable Diagnostics

    Tx Bias: (mA) 15.440 0.440 Low -12.440 2.440 Tx Power: (mW) 0.357 1.175 0.200 0.933 0.251 Rx Power: (mW) 1.259 0.049 1.000 0.062 Rx LOS: Rx Down C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 300 • light is not being received (Rx Down) and therefore the link is down Related show system environment Commands show system pluggable show system pluggable detail C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 301: Chapter 9: Logging Commands

    “log buffered” on page 319 • “log buffered (filter)” on page 320 • “log buffered exclude” on page 323 • “log buffered size” on page 326 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 302 “show log” on page 389 • “show log config” on page 391 • “show log external” on page 393 • “show log permanent” on page 394 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 303 OGGING OMMANDS • “show running-config log” on page 395 • “unmount” on page 396 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 304: Clear Exception Log

    This command resets the contents of the exception log, but does not remove the associated core files. clear exception log Syntax Mode Privileged Exec awplus# clear exception log Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 305: Clear Log

    To delete the contents of the buffered and permanent log use the command: awplus# clear log Related clear log buffered Commands clear log permanent show log C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 306: Clear Log Buffered

    To delete the contents of the buffered log use the following commands: awplus# clear log buffered Related default log buffered Commands log buffered log buffered (filter) log buffered size log buffered exclude show log show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 307: Clear Log External

    (filter) log external exclude log external rotate log external size show log config show log external unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 308: Clear Log Permanent

    Related default log permanent Commands log permanent log permanent (filter) log permanent exclude log permanent size show log config show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 309: Connection-Log Events

    To log all of the new connections and all of the closed connections, use the commands: awplus# configure terminal awplus(config)# connection-log events all Related show connection-log events Commands Command Version 5.4.7-1.1: command added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 310: Copy Buffered-Log

    To copy the buffered log file onto a USB storage device and name the file “buffered-log.log”, use the command: awplus# copy buffered-log usb:/buffered-log.log Related log buffered Commands show file systems show log Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 311: Copy Permanent-Log

    To copy the permanent log file onto a USB storage device and name the file “permanent-log.log”, use the command: awplus# copy permanent-log usb:/permanent-log.log Related log permanent Commands show file systems show log permanent Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 312: Default Log Buffered

    Related clear log buffered Commands log buffered log buffered (filter) log buffered size log buffered exclude show log show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 313: Default Log Console

    To restore the log console to its default settings use the following commands: awplus# configure terminal awplus(config)# default log console Related log console Commands log console (filter) log console exclude show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 314: Default Log Email

    Related log email Commands log email (filter) log email exclude log email time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 315: Default Log External

    (filter) log external exclude log external rotate log external size show log config show log external unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 316: Default Log Host

    10.32.16.21 Related log host Commands log host (filter) log host exclude log host source log host time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 317: Default Log Monitor

    To restore the log monitor to its default settings use the following commands: awplus# configure terminal awplus(config)# default log monitor Related log monitor (filter) Commands log monitor exclude show log config terminal monitor C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 318: Default Log Permanent

    Related clear log permanent Commands log permanent log permanent (filter) log permanent exclude log permanent size show log config show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 319: Log Buffered

    Related clear log buffered Commands copy buffered-log default log buffered log buffered (filter) log buffered size log buffered exclude show log show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 320: Log Buffered (Filter)

    Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 321 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 322 Bridging initialization Related clear log buffered Commands default log buffered log buffered log buffered size log buffered exclude show log show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 323: Log Buffered Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 324 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 325 OGGING OMMANDS LOG BUFFERED EXCLUDE Related clear log buffered Commands default log buffered log buffered log buffered (filter) log buffered size show log show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 326: Log Buffered Size

    100 Related clear log buffered Commands copy buffered-log default log buffered log buffered log buffered (filter) log buffered exclude show log show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 327: 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 default log console Commands log console (filter) log console exclude show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 328: Log Console (Filter)

    Resource Reservation Protocol (RSVP) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 329 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 330 OGGING OMMANDS LOG CONSOLE FILTER Related default log console Commands log console log console exclude show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 331: Log Console Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 332 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 333 OGGING OMMANDS LOG CONSOLE EXCLUDE Related default log console Commands log console log console (filter) show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 334: Log Date-Format

    To return to the default date format of YYYY MMM DD HH:MM:SS, use the commands: awplus# configure terminal awplus(config)# log date-format default Related show exception log Commands show log show log permanent Command Version 5.4.6-2.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 335: Log Email

    Related default log email Commands log email (filter) log email exclude log email time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 336: Log Email (Filter)

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 337 To create a filter to send all messages containing the text “Bridging initialization”, to the email address admin@homebase.com, use the following commands: awplus# configure terminal awplus(config)# log email admin@homebase.com msgtext "Bridging initialization" C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 338 Related default log email Commands log email log email exclude log email time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 339: Log Email Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 340 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 341 OGGING OMMANDS LOG EMAIL EXCLUDE Related default log email Commands log email log email (filter) log email time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 342: Log Email Time

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 343 Related default log email Commands log email log email (filter) log email exclude show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 344: Log External

    Related clear log external Commands default log external log external (filter) log external exclude log external rotate log external size show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 345 OGGING OMMANDS LOG EXTERNAL show log external unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 346: Log External (Filter)

    (not case-sensitive), or another program name (case-sensitive) that you find in the log output: Routing Information Protocol (RIP) ripng Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 347 By default the external 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 348 Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 349: Log External Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 350 To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log external exclude msgtext example of irrelevant message Related clear log external Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 351 (filter) log external rotate log external size show log config show log external unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 352: Log External Rotate

    For this reason, we recommend setting rotate to at least 1. Example To set the rotation value to 2, and therefore rotate between 3 files, use the commands: awplus# configure terminal awplus(config)# log external rotate 2 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 353 (filter) log external exclude log external size show log config show log external unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 354: Log External Size

    (filter) log external exclude log external rotate log external size show log config show log external unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 355: Log Facility

    Messages generated internally by the syslog daemon Line printer subsystem news Network news subsystem uucp UNIX-to-UNIX Copy Program subsystem cron Clock daemon authpriv Security/authorization (private) messages C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 356 UTM Firewall security features. Example To specify a facility of local6, use the following commands: awplus# configure terminal awplus(config)# log facility local6 Related show log config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 357: Log Host

    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 default log host Commands log host (filter) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 358 OGGING OMMANDS LOG HOST log host exclude log host source log host time log trustpoint show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 359: Log Host (Filter)

    Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 360 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 361 10.32.16.21 level informational Related default log host Commands log host log host exclude log host source log host time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 362: Log Host Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 363 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 364 OGGING OMMANDS LOG HOST EXCLUDE Related default log host Commands log host log host (filter) log host source log host time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 365: Log Host Source

    192.168.1.1 Related default log host Commands log host log host (filter) log host exclude log host time show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 366: Log Host Time

    Examples 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 367 10.32.16.02 time utc-offset minus 3 Related default log host Commands log host log host (filter) log host exclude log host source show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 368: Log Monitor (Filter)

    Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) lacp Link Aggregation Control Protocol (LACP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 369 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 370 OGGING OMMANDS LOG MONITOR FILTER Related default log monitor Commands log monitor exclude show log config terminal monitor C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 371: Log Monitor Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 372 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 373 OGGING OMMANDS LOG MONITOR EXCLUDE Related default log monitor Commands log monitor (filter) show log config terminal monitor C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 374: Log Permanent

    Related clear log permanent Commands copy permanent-log default log permanent log permanent (filter) log permanent exclude log permanent size show log config show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 375: Log Permanent (Filter)

    Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 376 Bridging initialization Related clear log permanent Commands default log permanent log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 377 OGGING OMMANDS LOG PERMANENT FILTER log permanent exclude log permanent size show log config show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 378: Log Permanent Exclude

    Routing Information Protocol - next generation (RIPng) ospf Open Shortest Path First (OSPF) ospfv3 Open Shortest Path First (OSPF) version 3 (OSPFv3) Border Gateway Protocol (BGP) rsvp Resource Reservation Protocol (RSVP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 379 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 clear log permanent Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 380 OGGING OMMANDS LOG PERMANENT EXCLUDE default log permanent log permanent log permanent (filter) log permanent size show log config show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 381: Log Permanent Size

    100 Related clear log permanent Commands copy permanent-log default log permanent log permanent log permanent (filter) log permanent exclude show log config show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 382: Log-Rate-Limit Nsm

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 383 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 384: Log Trustpoint

    Disassociate all trustpoints from the syslog application using the command: awplus(config)# log trustpoint trustpoint_2 trustpoint_3 Related log host Commands show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 385: Log Url-Requests

    (permitted as well as denied), use the following commands: awplus# configure terminal awplus(config)# url-filter awplus(config-url-filter)# log url-requests Related url-filter Commands Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 386: Show Connection-Log Events

    Example output from show connection-log events awplus#show connection-log events  Log new connection events: Disabled Log connection end events: Enabled Related connection-log events Commands Command Version 5.4.7-1.1: command added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 387: Show Counter Log

    Total Received P6 Total number of Priority 6 (Info) messages received Total Received P7 Total number of Priority 7 (Debug) messages received Related show log config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 388: Show Exception Log

    <date> <time> <facility>.<severity> <program[<pid>]>: <message> ------------------------------------------------------------------------- 2017 Jul 19 05:14:16 local7.debug awplus corehandler : Process hsl (PID:745) sig nal 11, core dumped to /flash/hsl-IE200-test_2017_07-20170718-1-2-1500441256-1 227.tgz ------------------------------------------------------------------------- C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 389: Show Log

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 390 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=AR4050S-5.4.7-1.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...
  • Page 391: Show Log Config

    *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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 392 : Terminal log and console log cannot be set at the same time. If console logging NOTE is enabled then the terminal logging is turned off. Related show counter log Commands show log show log permanent C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 393: Show Log External

    (filter) log external exclude log external rotate log external size show log config unmount Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 394: Show Log Permanent

    2014 Jun 10 09:30:14 user.info HSL[192]: HSL: INFO: Registering port port1.0.1 Related clear log permanent Commands copy permanent-log default log permanent log permanent log permanent (filter) log permanent exclude log permanent size show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 395: Show Running-Config Log

    Privileged Exec and Global Configuration Example To display the current configuration of the log utility, use the command: awplus# show running-config log Related show log Commands show log config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 396 Related clear log external Commands log external show file systems show log config show log external Command Version 5.4.7-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 397: Chapter 10: Scripting Commands

    Overview This chapter provides commands used for command scripts. Command List • “activate” on page 398 • “echo” on page 399 • “wait” on page 400 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 398: Activate

    To activate a command script to run as a background process, use the command: awplus# activate background test.scp Related configure terminal Commands echo enable (Privileged Exec mode) wait C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 399: Echo

    This command may be useful in CLI scripts, to make the script print user-visible comments. To echo the string Hello World to the console, use the command: Example awplus# echo Hello World Output Hello World Related activate Commands wait C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 400: Wait

    10 second interval: enable  show interface port1.0.1  wait 10  show interface port1.0.1 Related activate Commands echo enable (Privileged Exec mode) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 401: Chapter 11: Interface Commands

    • “show interface brief” on page 416 • “show interface memory” on page 417 • “show interface status” on page 419 • “shutdown” on page 421 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 402: Description (Interface)

    Boardroom PC Command Version 5.4.7-1.1: valid character set changed to printable ASCII characters changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 403: Interface (To Configure)

    “up” or “down” at the time. This provides a higher probability that the routing traffic will be received and subsequently forwarded. Mode Global Configuration C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 404 The following example shows how to enter interface mode to configure bridge br2. awplus# configure terminal awplus(config)# interface br2 awplus(config-if)# Related ip address (IP Addressing and Protocol) Commands show interface show interface brief C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 405: Ip Tcp Adjust-Mss

    To configure an MSS size of 1452 bytes on Ethernet interface eth1, use the commands: awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# ip tcp adjust-mss 1452 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 406 To restore the MSS size to the default size on PPP interface ppp0, use the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip tcp adjust-mss Related mtu (PPP) Commands show interface show interface (PPP) show interface tunnel (GRE) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 407: Ipv6 Tcp Adjust-Mss

    To configure an IPv6 MSS size of 1452 bytes on Ethernet interface eth1, use the commands: awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# ip tcp adjust-mss 1452 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 408 To restore the MSS size to the default size on PPP interface ppp0, use the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip tcp adjust-mss Related mtu (PPP) Commands show interface show interface (PPP) show interface tunnel (GRE) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 409: 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 show interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 410 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 411 To restore the MTU size to the default MTU size of 1500 bytes on “vlan2” to “vlan4”, use the commands awplus# configure terminal awplus(config)# interface vlan2-vlan4 awplus(config-if)# no mtu Related show interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 412: Show Interface

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 413 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 414 3, bytes 218, multicast packets 0 broadcast packets 0 Time since last state change: 0 days 00:00:09 To display configuration and status information for eth1, use the command: awplus# show interface eth1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 415 0, bytes 0, dropped 0, multicast packets 0 output packets 0, bytes 0 Time since last state change: 0 days 20:18:54 Related mru jumbo Commands show interface brief C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 416: Show Interface Brief

    The administrative state. This can be either admin up or admin down. Protocol The link state. This can be either down, running, or provisioned. Related show interface Commands show interface memory C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 417 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...
  • Page 418 --------------------------------------------- Interface shmid Bytes Used nattch Status port1.0.1 294921 1 port1.0.5 425997 1 port1.0.6 589842 Related show interface brief Commands show interface status show interface switchport C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 419: Show Interface Status

    Access_Net1 disabled 5 auto auto 1000BaseTX port1.0.4 Access_Net2 connected 6 auto auto 1000BaseTX ... eth2 notconnect none auto auto 1000BASE-T eth1 notconnect none auto auto 1000BASE-T C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 420 Unknown if it does not recognize the type of SFP installed, or Not present if an SFP is not installed or is faulty. Related show interface Commands show interface memory C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 421: 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 422 “chat-script” on page 425 • “encapsulation ppp” on page 426 • “show cellular” on page 428 • “show system usb” on page 431 • “usb mode-switch” on page 433 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 423 Output Figure 12-2: Example output from the no apn command awplus#configure terminal awplus(config)#int cellular0 awplus(config-if)#no apn Related chat-script Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 424: C613-50184-01 Rev B Command Reference For Ar4050S

    USB C ELLULAR ODEM OMMANDS show cellular show system usb usb mode-switch C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 425: Chat-Script

    To use the default chat-script, use the commands: awplus# configure terminal awplus(config)# interface cellular0 awplus(config-if)# #no chat-script Related Commands show cellular show system usb usb mode-switch C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 426: Encapsulation Ppp

    To set the L2TP tunnel tunnel1 to encapsulate the PPP interface with index 1, use the commands: awplus# configure terminal awplus(config)# l2tp tunnel tunnel1 awplus(config-l2tp-tunnel)# encapsulation ppp 1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 427 To remove the PPP interface with index 1 from L2TP tunnel tunnel1, use the commands: awplus# configure terminal awplus(config)# l2tp tunnel tunnel1 awplus(config-l2tp-tunnel)# no encapsulation ppp 1 Related l2tp tunnel Commands ppp service-name (PPPoE) show interface (PPP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 428: Show Cellular

    Service Center Address: Phone Number: +6421600600 Number Type: International GPRS Mobile Station Class: Class A Serial Port Configuration: Baud rate: 115200 Character Format: 8-N-1 Parity: Space C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 429 Card-Lock: Lock Status: Unlock code does not need to be provided Remaining Unlock Attempts: 10 PLMN ID of the operator who has locked this device: None C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 430 To show status information about the cellular modem associated with interface ‘cellular0’ only, use the command: awplus# show cellular cellular0 Related Commands chat-script show system usb usb mode-switch C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 431: Show System Usb

    Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HS DPA Modem Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) 0  bDeviceSubClass 0  bDeviceProtocol bMaxPacketSize0 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 432 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol 0  iInterface Related Commands chat-script show cellular usb mode-switch C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 433: Usb Mode-Switch

    All or part of the SCSI revision descriptor (with spaces replaced by underscores). revision Specify the SCSI revision descriptor. <revision> All or part of the SCSI revision descriptor (with spaces replaced by underscores). C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 434 To remove a mode switch configuration for a USB device, use the commands: awplus# configure terminal awplus(config)# no usb mode-switch id 1 Related Commands chat-script show cellular show system usb usb mode-switch C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 435: Chapter 13: Port Mirroring Commands

    Mirroring Feature Overview and Configuration Guide. Command List • “mirror interface” on page 436 • “show mirror” on page 438 • “show mirror interface” on page 439 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 436: Mirror Interface

    Do not apply multiple interfaces with an interface command before issuing the mirror interface command. One interface may have multiple mirror interfaces. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 437 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 438: Show Mirror

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 439: Show Mirror Interface

    Output Figure 13-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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 440 This chapter provides an alphabetical reference of commands used for testing interfaces. Command List • “clear test interface” on page 441 • “service test” on page 442 • “test interface” on page 443 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 441: Clear Test Interface

    To clear the counters for port1.0.1 use the command: Examples awplus# clear test interface port1.0.1 To clear the counters for all interfaces use the command: awplus# clear test interface all Related test interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 442: Service Test

    Syntax no service test Mode Global Configuration Example To put the device into a test state, use the command: awplus(config)# service test Related test interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 443: Test Interface

    (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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 444 To start the test on all interfaces for 1 minute use the command: awplus# test interface all time 1 Related clear test interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 445: Part 2: Interfaces And Layer 2

    Part 2: Interfaces and Layer 2 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 446: Chapter 15: Switching Commands

    “show interface err-disabled” on page 466 • “show interface switchport” on page 467 • “show mac address-table” on page 468 • “show platform” on page 470 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 447 471 • “show storm-control” on page 476 • “speed” on page 477 • “storm-control level” on page 479 • “undebug platform packet” on page 480 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 448: Backpressure

    To enable back pressure flow control on interfaces port1.0.1-port1.0.2 Examples enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.2 awplus(config-if)# backpressure on C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 449 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 show running-config Commands show interface Related duplex Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 450: 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 451 MSTP instance 1 on switch port interface port1.0.2. awplus# clear mac address-table dynamic interface port1.0.2 instance 1 Related clear mac address-table static Commands show mac address-table C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 452: Clear Mac Address-Table Static

    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 clear mac address-table dynamic Commands mac address-table static show mac address-table C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 453: Clear Port Counter

    The port number or range Mode Privileged Exec To clear the packet counter for port1.0.1, use the command: Example awplus# clear port counter port1.0.1 Related show platform port Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 454: 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 455 2 timeout 150 To disable receive packet debug, enter: awplus# no debug platform packet recv Related show debugging platform packet Commands undebug platform packet C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 456: Duplex

    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 Related backpressure Commands polarity speed show interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 457: Flowcontrol (Switch Port)

    For half-duplex links, an older form of flow control known as backpressure is supported. See the related backpressure command. For flow control on async serial (console) ports, see the flowcontrol hardware (asyn/console) command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 458 Related backpressure Commands show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 459: Linkflap Action

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 460: Mac Address-Table Acquire

    Default Learning is enabled by default for all instances. Mode Global Configuration awplus# configure terminal Example awplus(config)# mac address-table acquire C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 461: Mac Address-Table Ageing-Time

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 462: Mac Address-Table Static

    Layer 2 traffic. awplus# configure terminal Example awplus(config)# mac address-table static 2222.2222.2222 forward interface port1.0.4 vlan 3 Related clear mac address-table static Commands show mac address-table C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 463: Polarity

    To set the polarity for port1.0.6 to fixed MDI mode, use the following Example commands: awplus# configure terminal awplus(config)# interface port1.0.6 awplus(config-if)# polarity mdi C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 464: Show Debugging Platform Packet

    User Exec and Privileged Exec Example To display the platform packet debugging information, use the command: awplus# show debugging platform packet Related debug platform packet Commands undebug platform packet C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 465: Show Flowcontrol Interface

    Figure 15-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 0 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 466: Show Interface 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 467: Show Interface Switchport

    Ingress filter : enable Acceptable frame types : all Default Vlan 1 Configured Vlans : 1 4 5 6 7 8 Related show interface memory Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 468: Show Mac Address-Table

    0030.846e.bac7 dynamic unknown 0000.cd28.0752 static  port1.0.6 0030.846e.9bf4 dynamic 0000.cd00.0000 static Also note manually configured static mac-addresses are shown to the right of the type column: C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 469 0030.846e.bac7 dynamic port1.0.3 0000.1111.2222 static unknown 0000.cd28.0752 static port1.0.5 0030.846e.9bf4 dynamic 0000.cd00.0000 static Related clear mac address-table dynamic Commands clear mac address-table static mac address-table static C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 470: Show Platform

    Table 1: Parameters in the output of the show platform command Parameter Description MAC vlan hashing The MAC VLAN hash-key-generating algorithm. This algorithm setting is unused. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 471: Show Platform Port

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 472 (octets) counters Number of 64 octet packets received and transmitted. 65 - 127 Number of 65 - 127 octet packets received and transmitted. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 473 Number of fragments received. Jabbers Number of jabber frames received. UnsupportOpcode Number of MAC Control frames with unsupported opcode received. AlignmentErrors Receive Alignment Error Frame Counter. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 474 Inbound interface Discarded Packets counter. ipInHdrErrors Inbound interface Header Errors counter. ifOutUcastPkts Outbound interface Unicast counter. ifOutErrors Outbound interface Error counter. Miscellaneous Counters DropEvents Drop Event counter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 475 Table 2: Parameters in the output from the show platform port command Parameter Description ifOutDiscards Outbound interface Discarded Packets counter. MTUExcdDiscard Receive MTU Check Error Frame Counter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 476: Show Storm-Control

    Figure 15-5: 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 storm-control level Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 477: Speed

    100 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 478 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 duplex Commands polarity show interface speed (asyn) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 479: Storm-Control Level

    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 show storm-control Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 480: Undebug Platform Packet

    WITCHING OMMANDS UNDEBUG PLATFORM PACKET undebug platform packet Overview This command applies the functionality of the no debug platform packet command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 481: Chapter 16: Bridging Commands

    • “rule (MAC Filter)” on page 490 • “show bridge” on page 492 • “show bridge macaddr” on page 494 • “show mac-filter” on page 495 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 482: Ageing-Time

    To reset the ageing time back to its default, you can also use the following commands: awplus#configure terminal awplus(config-if)#ageing-time 300 Output None Related bridge Commands bridge-group show bridge show bridge macaddr C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 483: Bridge

    To remove the bridge with the ID of 2, use the following commands: awplus#configure terminal awplus(config)##no bridge 2 Related ageing-time Commands bridge-group show bridge show bridge macaddr C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 484: Bridge-Group

    2 To remove eth1 from your bridge, use the following commands: awplus#configure terminal awplus(config)#interface eth1 awplus(config-if)#bridge-group Related ageing-time Commands bridge show bridge show bridge macaddr C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 485: Clear Mac-Filter

    Figure 16-1: Example output from the clear mac-filter bridge command displaying information about all rules: Clears filter counters on bridge interface br1 Related mac-filter Commands mac-filter-group show mac-filter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 486: L3-Filtering Enable

    Related traffic-control Commands Command Version 5.4.7-0.1: command added. Previously, traffic control was enabled by changes default on all bridge interfaces. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 487: Mac-Filter

    ATL-router1 To delete a mac-filter, use the following commands: awplus#configure terminal awplus(config)#no mac-filter ATL-router1 Output None Related clear mac-filter Commands mac-filter-group show mac-filter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 488: Mac-Filter-Group

    Figure 16-2: Example output from the mac-filter-group command displaying information about all bridges: mac-filter "ATL-router1" will be applied to the bridge interface Related clear mac-filter Commands mac-filter show mac-filter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 489: Mac-Learning

    To turn learning on bridge 2 back on, use the following commands: awplus# configure terminal awplus(config)# interface br2 awplus(config-if)# mac-learning Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 490: Rule (Mac Filter)

    PC1 permit dmac any smac 00c4.6d20.c0f4 proto any To reset a mac-filter back to its default, use the following commands: awplus#configure terminal awplus(config)#mac-filter ATL-router1 awplus(config-macfilter)#no rule PC1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 491 Figure 16-3: Example output from the rule command displaying information about all rules: rule "PC1" will be added to the specified mac-filter. Related clear mac-filter Commands mac-filter mac-filter-group show mac-filter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 492: Show Bridge

    Figure 16-4: Example output from the show bridge command displaying information about all bridges: awplus#show bridge  Interfaces  Bridge Name Aging Timer ------------------------------------------  eth1  vlan1  eth2  300  300  C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 493 2. awplus#show bridge br2  Interfaces  Bridge Name Aging Timer ------------------------------------------  vlan1  eth2 Related ageing-time Commands bridge bridge-group show bridge macaddr C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 494: Show Bridge Macaddr

    00:c4:6d:20:c0:e8 12  vlan50 00:c4:6d:20:c0:f2 13  vlan50 00:c4:6d:20:c0:f3 14  vlan50 00:c4:6d:20:c0:f4 0  vlan50 ec:cd:6d:20:c0:bd vlan50 ec:cd:6d:48:e4:72 Related ageing-time Commands bridge bridge-group show bridge C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 495: Show Mac-Filter

    1234.5678.9123 3364302  PERMIT 2261 6653  BROADCAST ffff.ffff.ffff any 972605  DENY_IPv6 1057 447433  DENY_USER aabb.ccdd.eeff PERMIT 32581 36648579 Related mac-filter Commands mac-filter-group C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 496: Chapter 17: Vlan Commands

    “switchport trunk allowed vlan” on page 501 • “switchport trunk native vlan” on page 504 • “vlan” on page 505 • “vlan database” on page 506 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 497: Show Vlan

    Figure 17-1: Example output from the show vlan command VLAN ID Name Type State Member ports (u)-Untagged, (t)-Tagged ======= ================ ======= ======= ==================================== VLAN0002 STATIC ACTIVE port1.0.3(u) port1.0.4(u) port1.0.5(u) port1.0.6(u) Related vlan Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 498: Switchport Access Vlan

    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 show interface switchport Commands show vlan C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 499: Switchport Mode Access

    Use access mode to send untagged frames only. Mode Interface Configuration awplus# configure terminal Example awplus(config)# interface port1.0.2 awplus(config-if)# switchport mode access ingress-filter enable Validation show interface switchport Command C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 500: Switchport Mode Trunk

    To configure which VLANs this port will trunk for, use the switchport trunk allowed vlan command. Example awplus# configure terminal awplus(config)# interface port1.0.3 awplus(config-if)# switchport mode trunk ingress-filter enable Validation show interface switchport Command C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 501: Switchport Trunk Allowed Vlan

    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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 502 3,5 If you do this, then the configuration changes to: awplus#show running-config  interface port1.0.5 switchport switchport mode trunk switchport trunk allowed vlan except 3,5 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 503 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 504: Switchport Trunk Native Vlan

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 505: 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 Related Commands vlan database show vlan C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 506: Vlan Database

    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 vlan Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 507: Chapter 18: Spanning Tree Commands

    533 • “show spanning-tree mst interface” on page 534 • “show spanning-tree mst detail interface” on page 535 • “show spanning-tree statistics” on page 537 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 508 576 • “spanning-tree restricted-role” on page 577 • “spanning-tree restricted-tcn” on page 578 • “spanning-tree transmit-holdcount” on page 579 • “undebug mstp” on page 580 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 509: Clear Spanning-Tree Statistics

    STP and RSTP mode. awplus# clear spanning-tree statistics Examples 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 510: Clear Spanning-Tree Detected Protocols (Rstp And Mstp)

    (e.g. port1.0.4), a static channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g. po2). Mode Privileged Exec awplus# clear spanning-tree detected protocols Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 511: Debug Mstp (Rstp And Stp)

    RSTP and STP protocols as well as the MSTP protocol. Due to the likely volume of output, these debug messages are best viewed using terminal monitor command before issuing the relevant debug mstp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 512 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 513 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 514 Related log buffered (filter) Commands show debugging mstp terminal monitor undebug mstp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 515: Instance Priority (Mstp)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 516 PANNING OMMANDS (MSTP) INSTANCE PRIORITY Related region (MSTP) Commands revision (MSTP) show spanning-tree mst config spanning-tree mst instance spanning-tree mst instance priority C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 517: Instance Vlan (Mstp)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 518 PANNING OMMANDS (MSTP) INSTANCE VLAN Related region (MSTP) Commands revision (MSTP) show spanning-tree mst config spanning-tree mst instance vlan C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 519: Region (Mstp)

    MST region. awplus# configure terminal Example awplus(config)# spanning-tree mst configuration awplus(config-mst)# region ATL Related revision (MSTP) Commands show spanning-tree mst config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 520: Revision (Mstp)

    MST region. Example awplus# configure terminal awplus(config)# spanning-tree mst configuration awplus(config-mst)# revision 25 Related region (MSTP) Commands show spanning-tree mst config instance vlan (MSTP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 521: Show Debugging Mstp

    Output Figure 18-1: Example output from show debugging mstp MSTP debugging status: MSTP receiving packet debugging is on Related debug mstp (RSTP and STP) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 522: Show Spanning-Tree

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 523 - Current root guard off port1.0.2: Configured Link Type point-to-point - Current shared Output Figure 18-3: Example output from show spanning-tree C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 524 - 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 525: Show Spanning-Tree Brief

    8195 Rootport Forwarding 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 show spanning-tree Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 526: Show Spanning-Tree Mst

    % 1: portfast bpdu-guard disabled % 1: portfast errdisable timeout disabled % 1: portfast errdisable timeout interval 300 sec % Instance VLAN 1 Related show spanning-tree mst interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 527: Show Spanning-Tree Mst Config

    %------------------------------------------------------ Format Id : 0 Name : My Name Revision Level : 0 Digest : 0x80DEE46DA92A98CF21C603291B22880A %------------------------------------------------------ Related instance vlan (MSTP) Commands region (MSTP) revision (MSTP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 528: Show Spanning-Tree Mst Detail

    - 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 529 - 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 530: Show Spanning-Tree Mst Detail Interface

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 531 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 532: Show Spanning-Tree Mst Instance

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 533: Show Spanning-Tree Mst Instance Interface

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 534: Show Spanning-Tree Mst Interface

    % 1: portfast bpdu-filter disabled % 1: portfast bpdu-guard disabled % 1: portfast errdisable timeout disabled % 1: portfast errdisable timeout interval 1 sec % Instance VLAN 1 2-3 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 535 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 536 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 537: Show Spanning-Tree Statistics

    % Config Bpdu's xmitted : 0 % Config Bpdu's received : 0 % TCN Bpdu's xmitted : 0 % TCN Bpdu's received : 0 % Forward Trans Count C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 538 % Similar BPDUS Rcvd : 0 % Src Mac Count : 0 % Total Src Mac Rcvd : 0 % Next State : Learning % Topology Change Time C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 539: Show Spanning-Tree Statistics Instance

    % Message Age(port/Inst) : (0/0) % port1.0.3: Forward Transitions : 0 % Next State : Learning % Topology Change Time : 0 Related show spanning-tree statistics Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 540: Show Spanning-Tree Statistics Instance Interface

    (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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 541 : FALSE % Topology Change Detected : FALSE % Topology Change Count : 1 % Topology Change Last Recvd from : 00:00:00:00:00:00 Related show spanning-tree statistics Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 542: Show Spanning-Tree Statistics Interface

    % Designated Cost : 0 % Designated Bridge : ec:cd:6d:20:c0:ed % Designated Port Id : 838a % Top Change Ack : FALSE % Config Pending : FALSE C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 543 : FALSE % Topology Change Detected : TRUE % Topology Change Count : 1 % Topology Change Last Recvd from : 00:00:00:00:00:00 Related show spanning-tree statistics Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 544: Show Spanning-Tree Vlan Range-Index

    Output Figure 18-17: Example output from show spanning-tree vlan range-index awplus#show spanning-tree vlan range-index % MST Instance VLAN RangeIdx Related show spanning-tree statistics Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 545: Spanning-Tree Autoedge (Rstp And Mstp)

    Default Disabled Mode Interface Configuration awplus# configure terminal Example awplus(config)# interface port1.0.3 awplus(config-if)# spanning-tree autoedge Related spanning-tree edgeport (RSTP and MSTP) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 546: Spanning-Tree Cisco-Interoperability (Mstp)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 547: Spanning-Tree Edgeport (Rstp And Mstp)

    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 spanning-tree autoedge (RSTP and MSTP) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 548: Spanning-Tree Enable

    To enable RSTP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# spanning-tree rstp enable C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 549 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 spanning-tree mode Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 550: Spanning-Tree Errdisable-Timeout Enable

    Example awplus(config)# spanning-tree errdisable-timeout enable Related show spanning-tree Commands spanning-tree errdisable-timeout interval spanning-tree portfast bpdu-guard C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 551: Spanning-Tree Errdisable-Timeout Interval

    By default, the port is re-enabled after 300 seconds. Mode Global Configuration awplus# configure terminal Example awplus(config)# spanning-tree errdisable-timeout interval 34 Related show spanning-tree Commands spanning-tree errdisable-timeout enable spanning-tree portfast bpdu-guard C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 552: 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 show spanning-tree Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 553: Spanning-Tree Forward-Time

    >= 2 x (hello time + 1.0 seconds) awplus# configure terminal Example awplus(config)# spanning-tree forward-time 6 Related show spanning-tree Commands spanning-tree forward-time spanning-tree hello-time spanning-tree mode C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 554: Spanning-Tree Guard Root

    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). awplus# configure terminal Example awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree guard root C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 555: Spanning-Tree Hello-Time

    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 spanning-tree forward-time Commands spanning-tree max-age show spanning-tree C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 556: Spanning-Tree Link-Type

    You may want to set link type to shared if the port is connected to a hub with multiple devices connected to it. awplus# configure terminal Examples awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree link-type point-to-point C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 557: Spanning-Tree Max-Age

    2 x (forward delay - 1.0 seconds) >= max-age max-age >= 2 x (hello time + 1.0 seconds) awplus# configure terminal Example awplus(config)# spanning-tree max-age 12 Related show spanning-tree Commands spanning-tree forward-time spanning-tree hello-time C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 558: Spanning-Tree Max-Hops (Mstp)

    When a device receives an MST BPDU that has a hop count of zero, it discards the BPDU. awplus# configure terminal Examples awplus(config)# spanning-tree max-hops 25 awplus# configure terminal awplus(config)# no spanning-tree max-hops C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 559: Spanning-Tree Mode

    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 spanning-tree enable Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 560: Spanning-Tree Mst Configuration

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 561: Spanning-Tree Mst Instance

    3 Related instance vlan (MSTP) 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 562: Spanning-Tree Mst Instance Path-Cost

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 563 3 path-cost Related instance vlan (MSTP) Commands spanning-tree mst instance spanning-tree mst instance priority spanning-tree mst instance restricted-role spanning-tree mst instance restricted-tcn C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 564: Spanning-Tree Mst Instance Priority

    3 priority Related instance vlan (MSTP) Commands spanning-tree priority (port priority) spanning-tree mst instance spanning-tree mst instance path-cost spanning-tree mst instance restricted-role spanning-tree mst instance restricted-tcn C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 565: Spanning-Tree Mst Instance 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 566 SPANNING TREE MST INSTANCE RESTRICTED ROLE Related instance vlan (MSTP) Commands spanning-tree priority (port priority) spanning-tree mst instance spanning-tree mst instance path-cost spanning-tree mst instance restricted-tcn C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 567: Spanning-Tree Mst Instance Restricted-Tcn

    3 restricted-tcn Related instance vlan (MSTP) Commands spanning-tree priority (port priority) spanning-tree mst instance spanning-tree mst instance path-cost spanning-tree mst instance restricted-role C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 568: Spanning-Tree Path-Cost

    20-200 1Tbps 2-200 10 Tbps 2-20 Mode Interface Configuration mode for switch port interface only. awplus# configure terminal Example awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree path-cost 123 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 569: Spanning-Tree Portfast (Stp)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 570 TREE PORTFAST awplus# configure terminal Example awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree portfast Related spanning-tree edgeport (RSTP and MSTP) Commands show spanning-tree spanning-tree portfast bpdu-filter spanning-tree portfast bpdu-guard C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 571: Spanning-Tree Portfast Bpdu-Filter

    Example To enable STP BPDU filtering in Global Configuration mode, enter the commands: awplus# configure terminal awplus(config)# spanning-tree portfast bpdu-filter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 572 Related spanning-tree edgeport (RSTP and MSTP) Commands show spanning-tree spanning-tree portfast (STP) spanning-tree portfast bpdu-guard C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 573: Spanning-Tree Portfast Bpdu-Guard

    GUARD spanning-tree portfast bpdu-guard Overview The AR3050S and AR4050S devices don’t support BPDU protection in 5.4.5-0.1 release. 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.
  • Page 574 Related spanning-tree edgeport (RSTP and MSTP) Commands show spanning-tree spanning-tree portfast (STP) spanning-tree portfast bpdu-filter C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 575: Spanning-Tree Priority (Bridge Priority)

    To force a particular device to become the root bridge use a lower value than other devices in the spanning tree. awplus# configure terminal Example awplus(config)# spanning-tree priority 4096 Related spanning-tree mst instance priority Commands show spanning-tree C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 576: Spanning-Tree Priority (Port Priority)

    ID.) Example awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree priority 16 Related spanning-tree mst instance priority Commands spanning-tree priority (bridge priority) show spanning-tree C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 577: Spanning-Tree Restricted-Role

    Default The restricted role is disabled. Mode Interface Configuration mode for a switch port interface only. awplus# configure terminal Example awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree restricted-role C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 578: Spanning-Tree Restricted-Tcn

    Default The restricted TCN is disabled. Mode Interface Configuration mode for a switch port interface only. awplus# configure terminal Example awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree restricted-tcn C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 579: Spanning-Tree Transmit-Holdcount

    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 awplus# configure terminal Example awplus(config)# spanning-tree transmit-holdcount C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 580: Undebug Mstp

    PANNING OMMANDS UNDEBUG MSTP undebug mstp Overview This command applies the functionality of the no debug mstp (RSTP and STP) command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 581 • “lacp system-priority” on page 589 • “lacp timeout” on page 590 • “show debugging lacp” on page 592 • “show diagnostic channel-group” on page 593 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 582 598 • “show port etherchannel” on page 599 • “show static-channel-group” on page 600 • “static-channel-group” on page 601 • “undebug lacp” on page 603 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 583: Channel-Group

    LACP channel group with channel group number 2. For more information about LACP, see the Link Aggregation Feature Overview and Configuration Guide which is available on our website at alliedtelesis.com. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 584 To reference channel group 2 as an interface, use the following commands: awplus# configure terminal awplus(config)# interface po2 awplus(config-if)# Related show etherchannel Commands show etherchannel detail show etherchannel summary show port etherchannel C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 585: Clear Lacp Counters

    Use this command to clear all counters of all present LACP aggregators (channel groups) or a given LACP aggregator. clear lacp [<1-32>] counters Syntax Parameter Description <1-32> Channel-group number. Mode Privileged Exec awplus# clear lacp 2 counters Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 586: Debug Lacp

    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 show debugging lacp Commands undebug lacp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 587: 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 show etherchannel Commands show etherchannel detail C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 588: Lacp Port-Priority

    Description <1-65535> Specify the LACP port priority. Default The default is 32768. Mode Interface Configuration awplus# configure terminal Example awplus(config)# interface port1.0.5 awplus(config-if)# lacp port-priority 34 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 589: Lacp System-Priority

    <1-65535> 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 590: Lacp Timeout

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 591 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 592: Show Debugging Lacp

    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 debug lacp Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 593: 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...
  • Page 594: Show Etherchannel

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 595: Show Etherchannel Detail

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 596: 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 597: Show Lacp Sys-Id

    Mode User Exec and Privileged Exec awplus# show lacp sys-id Example Output Example output from show lacp sys-id System Priority: 0x8000 (32768) MAC Address: 0200.0034.5684 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 598: Show Lacp-Counter

    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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 599: Show Port Etherchannel

    Synchronised ....Yes Collecting ....Yes Collecting ....Yes Distributing ....Yes Distributing ....Yes Defaulted ...... No Defaulted ...... No Expired ......No Expired ......No C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 600: Show Static-Channel-Group

    LAG Static Maximum: 2 LAG Dynamic Maximum: 2 LAG Static Count : 0 LAG Dynamic Count : 1 LAG Total Count : 1 Related static-channel-group Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 601: Static-Channel-Group

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 602 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)# Related show static-channel-group Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 603: Undebug Lacp

    GGREGATION OMMANDS UNDEBUG LACP undebug lacp Overview This command applies the functionality of the no debug lacp command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 604 This chapter provides an alphabetical reference of commands used to configure 802.1Q Encapsulation. For more information, see the AAA and Port Authentication Feature Overview and Configuration Guide. Command List • “encapsulation dot1q” on page 605 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 605: Encapsulation Dot1Q

    To enable 802.1Q encapsulation on Ethernet interface eth1, use the commands: awplus#configure terminal awuplus(config)#interface eth1 awplus(config-if)#encapsulation dot1q 1 To enable 802.1Q encapsulation on tunnel interface tunnel20, use the commands: awplus#configure terminal awuplus(config)#interface tunnel20 awplus(config-if)#encapsulation dot1q 2 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 606 To disable 802.1Q encapsulation on eth1, use the commands: awplus#configure terminal awuplus(config)#interface eth1 awuplus(config-if)#no encapsulation dot1q 1 Related interface (to configure) Commands Validation show interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 607: Chapter 21: Ppp Commands

    “ppp ipcp dns suffix-list” on page 638 • “ppp ipcp ip-override” on page 640 • “ppp password” on page 641 • “ppp service-name (PPPoE)” on page 642 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 608 • “ppp username” on page 644 • “show debugging ppp” on page 645 • “show interface (PPP)” on page 646 • “undebug ppp” on page 650 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 609: Debug Ppp

    To enable PPP debugging on PPP interfaces ppp0 through ppp2 and display them on the console, use the below commands: awplus# terminal monitor awplus# debug ppp interface ppp0-ppp2 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 610 EchoReq id=0x3b  magic=0xe3e331b1]  02:25:35 awplus pppd[2388]: [ppp1] [02:25:35.991] sent [LCP EchoRep id=0x3b  magic=0xe1e041db]  02:25:35 awplus pppd[2388]: [ppp1] [02:25:35.992] rcvd [LCP EchoRep id=0x3b  magic=0xe3e331b1] C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 611 To disable PPP debugging for all PPP interfaces, use the below command: awplus# no debug ppp Related terminal monitor Commands encapsulation ppp no debug all ppp authentication show debugging ppp show interface (PPP) undebug all C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 612 To set the L2TP tunnel tunnel1 to encapsulate the PPP interface with index 1, use the commands: awplus# configure terminal awplus(config)# l2tp tunnel tunnel1 awplus(config-l2tp-tunnel)# encapsulation ppp 1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 613 To remove the PPP interface with index 1 from L2TP tunnel tunnel1, use the commands: awplus# configure terminal awplus(config)# l2tp tunnel tunnel1 awplus(config-l2tp-tunnel)# no encapsulation ppp 1 Related l2tp tunnel Commands ppp service-name (PPPoE) show interface (PPP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 614: Interface (Ppp)

    The following example shows how to enter Interface mode to configure a PPP interface. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# Related ip address (IP Addressing and Protocol) Commands show interface show interface brief C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 615: Ip Address Negotiated

    To stop the PPP interface ppp0 from using IPCP to negotiate an IP address for itself, use the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip address negotiated C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 616 !  interface ppp0  ip address negotiated  !  Related show ip interface chapter Commands encapsulation ppp peer default ip address show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 617 To configure an MSS size of 1452 bytes on Ethernet interface eth1, use the commands: awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# ip tcp adjust-mss 1452 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 618 To restore the MSS size to the default size on PPP interface ppp0, use the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip tcp adjust-mss Related mtu (PPP) Commands show interface show interface (PPP) show interface tunnel (GRE) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 619: Ip Unnumbered

    To verify borrowed address is configured on PPP interface ppp0, use the following command: awplus# show interface ppp0 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 620 2, bytes 20, multicast packets 0 broadcast packets 0 Time since last state change: 0 days 00:00:13 Related show ip interface Commands show interface tunnel (L2TPv3) show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 621 To configure an IPv6 MSS size of 1452 bytes on Ethernet interface eth1, use the commands: awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# ip tcp adjust-mss 1452 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 622 To restore the MSS size to the default size on PPP interface ppp0, use the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip tcp adjust-mss Related mtu (PPP) Commands show interface show interface (PPP) show interface tunnel (GRE) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 623: Keepalive (Ppp)

    20 second interval and 6 attempts, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# keepalive interval 20 attempts 6 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 624 To disable the device from sending LCP Echo keepalive messages on the PPP interface ppp0, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no keepalive Related show running-config interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 625: Mtu (Ppp)

    To restore the MTU size to the default MTU size of 1492 bytes on PPP interface ppp0, use the commands awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no mtu Related ip tcp adjust-mss Commands show interface (PPP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 626: Peer Default Ip Address

    To remove the default peer IP address of 192.168.0.1 from the PPP interface ppp0, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no peer default ip address C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 627  !  interface ppp0  peer default ip address 192.168.0.1 required  !  Related ip address negotiated Commands show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 628: Peer Neighbor-Route

    (see IPv4 address in show interface output and see connected routes show ip route output): C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 629 E1 - OSPF external type 1, E2 - OSPF external type 2  * - candidate default   4.1.1.2/32 is directly connected, ppp1  192.168.10.0/24 is directly connected, vlan1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 630: Ppp Authentication

    To enable PPP EAP authentication on the PPP interface ppp0, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ppp authentication eap C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 631 To disable all PPP authentication on the PPP interface ppp0, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ppp authentication Related ppp authentication refuse Commands ppp hostname ppp password ppp username C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 632: Ppp Authentication Refuse

    To refuse the use of CHAP authentication if a peer requests CHAP authentication, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ppp authentication refuse chap C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 633 To allow the use of EAP, CHAP or PAP authentication if a peer requests EAP, CHAP or PAP authentication, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ppp authentication refuse Related ppp authentication Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 634: Ppp Hostname

    To enable the use of the alternate hostname remote_router for PPP Examples authentication, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ppp hostname remote_router C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 635 To disable the use of the alternate hostname remote_router for PPP authentication, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ppp hostname remote_router Related hostname Commands ppp authentication C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 636: Ppp Ipcp Dns

    DNS IP address is not given, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ppp ipcp dns required C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 637 10.1.1.2 Related ip address negotiated Commands peer default ip address peer neighbor-route show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 638: Ppp Ipcp Dns Suffix-List

    DNS requests to internet host(config-domain-list)# domain engineering.acme host(config-domain-list)# domain intranet.acme awplus(config)# interface ppp0 awplus(config-if)# ppp ipcp dns required awplus(config-if)# ppp ipcp dns suffix-list corporatedomains C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 639 PPP C OMMANDS PPP IPCP DNS SUFFIX LIST Related ip dns forwarding domain-list Commands ppp ipcp dns C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 640: Ppp Ipcp Ip-Override

    192.168.1.100/24 awplus(config-if)# ppp ipcp ip-override Related show running-config interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 641: Ppp Password

    To disable the use of the PPP secret password bobs_secret for PPP authentication, enter the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ppp password Related ppp authentication Commands ppp username C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 642: Ppp Service-Name (Pppoe)

    You can only apply a single service name to each PPPoE interface. Examples To connect to a service called “Internet”, use the command: awplus(config)# interface ppp0 awplus(config-if)# ppp service-name Internet Related encapsulation ppp Commands show interface (PPP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 643: Ppp Timeout Idle

    To disable the use of the timer and disable the PPP Dial on Demand feature, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ppp timeout idle 30 Validation show running-config interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 644: Ppp Username

    To remove the PPP username bob, for the PPP interface ppp0, use the commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ppp username Related ppp authentication Commands ppp password C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 645: Show Debugging Ppp

    PPP debug on interface ppp0: enabled  PPP debug on interface ppp1: disabled  Related debug ppp Commands no debug all undebug all show interface (PPP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 646: Show Interface (Ppp)

    • setting. Example The following example shows how to display the configuration and status information for a configured PPP interface named ppp0. awplus# show interface ppp0 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 647 12, bytes 458, dropped 0, multicast packets 0  output packets 6, bytes 122, multicast packets 0 broadcast packets 0  Time since last state change: 0 days 00:01:57  C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 648 5, bytes 96, dropped 0, multicast packets 0  output packets 5, bytes 96, multicast packets 0 broadcast packets 0  Time since last state change: 0 days 00:06:29  awplus#  C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 649 0  Time since last state change: 0 days 00:06:29  awplus#   Related encapsulation ppp Commands ppp service-name (PPPoE) show interface show interface brief C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 650: Undebug Ppp

    To disable PPP debugging for PPP interfaces ppp0 and ppp2, enter the below command: awplus# undebug ppp interface ppp0,ppp2 Related debug ppp Commands no debug all show debugging ppp undebug all C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 651: Chapter 22: Ppp Over Ethernet (Pppoe) Commands

    “show pppoe-ac config-check” on page 669 • “show pppoe-ac connections” on page 671 • “show pppoe-ac statistics” on page 673 • “show running-config pppoe-ac” on page 676 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 652: Clear Pppoe-Ac Statistics

    Privileged Exec Example To set all the PPPoE Access Concentrator statistics counters to zero, use the command: awplus# clear pppoe-ac statistics Related show pppoe-ac statistics Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 653: Debug Pppoe-Ac

    To enable PPPoE AC debugging, use the commands: awplus# debug pppoe-ac awplus# terminal monitor % Warning: Console logging enabled Related debug l2tp Commands show debugging pppoe ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 654: Destination L2Tp

    ISP-service awplus(config-pppoe-ac)# no destination Related l2tp peer-address dns-lookup Commands l2tp peer-address radius-lookup group l2tp peer-address static l2tp profile pppoe-ac ppp-auth-protocol service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 655: L2Tp Peer-Address Dns-Lookup

    ISP-service awplus(config-pppoe-ac)# no l2tp peer-address Related destination l2tp Commands l2tp peer-address radius-lookup group l2tp peer-address static l2tp profile pppoe-ac ppp-auth-protocol C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 656 (PPP E) C OVER THERNET OMMANDS TP PEER ADDRESS DNS LOOKUP service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 657: L2Tp Peer-Address Radius-Lookup Group

    ISP-service awplus(config-pppoe-ac)# no l2tp peer-address Related aaa group server Commands destination l2tp l2tp peer-address dns-lookup l2tp peer-address static l2tp profile pppoe-ac ppp-auth-protocol service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 658: L2Tp Peer-Address Static

    To remove the configured peer (LNS) address, use the commands: awplus# configure terminal awplus(config)# pppoe-ac ISP-service awplus(cinfig-pppoe-ac)# no l2tp peer-address Related destination l2tp Commands l2tp peer-address dns-lookup l2tp peer-address radius-lookup group C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 659 (PPP E) C OVER THERNET OMMANDS TP PEER ADDRESS STATIC l2tp profile ppp-auth-protocol service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 660: L2Tp Profile

    ISP-service awplus(config-pppoe-ac)# no l2tp profile PUBLIC Related destination l2tp Commands l2tp-profile l2tp peer-address dns-lookup l2tp peer-address radius-lookup group l2tp peer-address static l2tp-profile pppoe-ac ppp-auth-protocol service-name C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 661 (PPP E) C OVER THERNET OMMANDS TP PROFILE show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 662: Ppp-Auth-Protocol

    ISP-service awplus(config-pppoe-ac)# no ppp-auth-protocol Related destination l2tp Commands l2tp peer-address dns-lookup l2tp peer-address radius-lookup group l2tp peer-address static l2tp profile pppoe-ac service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 663: Pppoe-Ac

    ISP-service Related destination l2tp Commands l2tp peer-address dns-lookup l2tp peer-address radius-lookup group l2tp peer-address static l2tp profile pppoe-ac ppp-auth-protocol pppoe-ac-service service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 664: Pppoe-Ac-Service

    To remove the PPPoE AC service ‘isp1’ from interface eth1, use the commands: awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# no pppoe-ac-service isp1 Related pppoe-ac Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 665: Proxy-Auth

    ISP-service awplus(config-pppoe-ac)# no proxy-auth Related destination l2tp Commands l2tp peer-address dns-lookup l2tp peer-address radius-lookup group ppp-auth-protocol pppoe-ac-service service-name show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 666: Service-Name

    To remove the non-matching (any) PPPoE service so that it is no longer offered to a client, use the commands: awplus# configure terminal awplus(config)# pppoe-ac ISP-service awplus(config-pppoe-ac)# no service-name any C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 667 Related destination l2tp Commands l2tp peer-address dns-lookup l2tp peer-address radius-lookup group l2tp peer-address static l2tp profile pppoe-ac ppp-auth-protocol show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 668: Show Debugging Pppoe Ac

    Output Figure 22-1: Example output from show debugging pppoe ac awplus#show debugging pppoe ac  PPPoE-AC Debugging is on Related debug pppoe-ac Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 669: Show Pppoe-Ac Config-Check

    Complete Configuration Table 22-1: Parameters in the output from show pppoe-ac config-check Parameter Description Incomplete Further configuration is required to create a valid PPPoE configuration AC service. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 670 There is sufficient configuration of this PPPoE AC service configuration to be valid. Required Parameters that still need to be configured for this PPPoE AC service. Related pppoe-ac Commands show running-config pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 671: Show Pppoe-Ac Connections

    Session ID: 14108  Service Name: my_isp  State: Open  Peer MAC: 00:00:cd:38:01:4d  Destination Information  Type L2TP  Tunnel ID 47432  Session ID 10056 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 672 The type of destination of the this PPPoE connection, for example, L2TP. Tunnel ID The ID of the L2TP tunnel. Session ID The ID of the PPPoE session. Related pppoe-ac Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 673: Show Pppoe-Ac Statistics

    0 pppoeResentPadr 0 pppoePadtReceived 0 pppoeInvalidPadt 0 pppoePadtSent 0 routesCreated 2 routesCreateFail 0 routesDeleted 0 routesDeleteFail 0 routesDstOpenFail 0 routesDestCloseFail 0 routesSourceCloseFail 0 routesClosedByDest 0 routesClosedBySource C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 674 The number of route create failures. routesDeleted The number of routes deleted. routesDeleteFail The number of route delete failures. routesDstOpenFail The number of destination open failures. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 675 The number of source close failures. routesClosedByDest The number of routes closed by the destination. routesClosedBySource The number of routes closed by the source. Related clear pppoe-ac statistics Commands pppoe-ac C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 676: Show Running-Config Pppoe-Ac

    PUBLIC Related destination l2tp Commands l2tp peer-address dns-lookup l2tp peer-address radius-lookup group l2tp peer-address static l2tp profile pppoe-ac ppp-auth-protocol proxy-auth service-name show pppoe-ac config-check C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 677: Part 3: Routing

    Part 3: Routing C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 678: Chapter 23: Ip Addressing And Protocol Commands

    “ip proxy-arp” on page 706 • “ip redirects” on page 707 • “ip tcp synack-retries” on page 708 • “ip tcp timeout established” on page 709 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 679 725 • “show ip traffic” on page 728 • “tcpdump” on page 730 • “traceroute” on page 731 • “undebug ip packet interface” on page 732 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 680: Arp-Aging-Timeout

    To set the ARP entries on interface vlan30 to time out after two minutes, use the Example commands: awplus# configure terminal awplus(config)# interface vlan30 awplus(config-if)# arp-aging-timeout 120 Related clear arp-cache Commands show arp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 681: Arp (Ip Address Mac)

    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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 682 10.10.10.9 0010.2355.4566 alias Related clear arp-cache Commands ip proxy-arp show arp Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 683 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 684 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 685 (HH-HH-HH-HH-HH-HH) as specified with the arp log or the arp log mac-address-format ieee command. <IP> Indicates the IP address for the ARP log entry. Related show log Commands show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 686: Arp Opportunistic-Nd

    To enable opportunistic neighbor discovery for the global ARP cache, enter: awplus# configure terminal awplus(config)# arp opportunistic-nd To disable opportunistic neighbor discovery for the global ARP cache, enter: awplus# configure terminal awplus(config)# no arp opportunistic-nd C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 687 To disable opportunistic neighbor discovery for the VRF instance ‘blue’, enter: awplus# configure terminal awplus(config)# no arp opportunistic-nd vrf blue Related ipv6 opportunistic-nd Commands show arp show running-config interface Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 688: Arp-Reply-Bc-Dmac

    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 clear arp-cache Commands show arp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 689: Clear Arp-Cache

    To clear the dynamic ARP entries from the VRF instance named blue with the IPv4 address 192.168.1.1, use the commands: awplus# clear arp-cache vrf blue 192.168.1.1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 690 When running VRF-lite, to clear the dynamic ARP entries from the global VRF-lite and all VRF instances, use the command: awplus# clear arp-cache Related arp (IP address MAC) Commands show arp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 691: Debug Ip Packet Interface

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 692 To turn off IP packet interface debugging on interface vlan2, use the command: awplus# no debug ip packet interface vlan2 Related no debug all Commands show debugging ip dns forwarding tcpdump terminal monitor undebug ip packet interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 693: Ip Address (Ip Addressing And Protocol)

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 694 To add the IP address 10.10.11.50/24 to the PPP interface ppp0, use the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip address 10.10.11.50/24 Related interface (to configure) Commands show ip interface show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 695: Ip Directed-Broadcast

    To enable the flooding of broadcast packets out via the PPP interface ppp0, use the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip directed-broadcast C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 696 To disable the flooding of broadcast packets via PPP interface ppp0, use the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip directed-broadcast Related ip forward-protocol udp Commands ip helper-address show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 697: Ip Forward-Protocol Udp

    To delete a UDP port from the UDP ports that the device forwards, use the following commands: awplus# configure terminal awplus(config)# no ip forward-protocol udp <port> C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 698 IP A DDRESSING AND ROTOCOL OMMANDS IP FORWARD PROTOCOL UDP Related ip helper-address Commands ip directed-broadcast show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 699: Ip Gratuitous-Arp-Link

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 700 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 show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 701: Ip Helper-Address

    The following example defines IPv4 address 192.168.1.100 as an IP Helper destination address to which to forward UDP broadcasts received on ppp0: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip helper-address 192.168.1.100 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 702 UDP broadcasts received on ppp0: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ip helper-address 192.168.1.100 Related ip forward-protocol udp Commands ip directed-broadcast show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 703: Ip Limited-Local-Proxy-Arp

    The following configuration snippet shows how to use limited local proxy ARP, if you are using NAT for an HTTP server with an address of 172.22.0.3 connected via eth1, and eth1 has an address of 172.22.0.1: C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 704 172.22.200.5/24 ! ! Tell the device to respond to ARPs for the HTTP server public address: local-proxy-arp 172.22.0.3/32 Related ip local-proxy-arp Commands local-proxy-arp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 705: Ip Local-Proxy-Arp

    To disable your device to apply Local Proxy ARP on the interface vlan7, use the following commands: awplus# configure terminal awplus(config)# interface vlan7 awplus(config-if)# no ip local-proxy-arp Related ip proxy-arp Commands show arp show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 706: Ip Proxy-Arp

    To disable your device to Proxy ARP on the interface vlan13, use the following commands: awplus# configure terminal awplus(config)# interface vlan13 awplus(config-if)# no ip proxy-arp Related arp (IP address MAC) Commands ip local-proxy-arp show arp show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 707: Ip Redirects

    To enable the switch to send ICMP redirects, use the following commands: awplus# configure terminal awplus(config)# ip redirects To stop the switch from sending ICMP redirects, use the following commands: awplus# configure terminal awplus(config)# no ip redirects C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 708: Ip Tcp Synack-Retries

    To retry twice, which leads to a timeout of approximately 7 seconds, use the commands: awplus# configure terminal awplus(config)# ip tcp synack-retries 2 Related show running-config Commands Command Version 5.4.7-0.2: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 709: Ip Tcp Timeout Established

    3600 seconds, use the commands: awplus# configure terminal awplus(config)# no ip tcp timeout established Related show running-config Commands Command Version 5.4.6-1.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 710: Ip Unreachables

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 711 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 712: Local-Proxy-Arp

    This is part of a configuration snippet that shows how to use limited local proxy ARP with static NAT. See the command ip limited-local-proxy-arp for the whole example. Related ip limited-local-proxy-arp Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 713: Optimistic-Nd

    To disable the optimistic neighbor discovery feature on vlan100, use the following commands: awplus# configure terminal awplus(config)# interface vlan100 awplus(config-if)# no optimistic-nd Related show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 714: Ping

    The name of the VRF instance. 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 715 : Unless a cross-domain static or leaked route exists to the destination IP address, NOTE you must run this command from within the same routing domain as the address being pinged. Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 716: Show Arp

    VRF instance or global parameter entry, you can selectively list ARP entries by their membership of a specific VRF instance. Example To display all ARP entries in the ARP cache, use the following command: awplus# show arp C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 717 (IP address MAC) command. Dynamic entries are learned from ARP request/reply message exchanges. The name of the VRF instance. The VRF-lite components only display when VRF-lite is configured. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 718 IP A DDRESSING AND ROTOCOL OMMANDS SHOW ARP Related arp (IP address MAC) Commands clear arp-cache Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 719: Show Debugging Ip Packet

     awplus#show debug ip packet  IP debugging status:  interface all tcp (running)  interface vlan1 arp verbose (running) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 720 IP A DDRESSING AND ROTOCOL OMMANDS SHOW DEBUGGING IP PACKET Related debug ip packet interface Commands terminal monitor C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 721: Show Ip Forwarding

    User Exec and Privileged Exec awplus# show ip forwarding Example Output Figure 23-8: Example output from the show ip forwarding command awplus#show ip forwarding  IP forwarding is on C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 722: Show Ip Interface

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 723: Show Ip Interface Vrf

    192.168.10.1/24 admin up running Example To display all interfaces and IP addresses associated with all VRF instances, use the command: awplus# show ip interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 724 IP-Address Status Protocol unassigned admin up running  [VRF: blue]  Interface IP-Address Status Protocol unassigned admin up running Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 725: Show Ip Sockets

    :::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 :::* C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 726 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 727 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 728: Show Ip Traffic

    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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 729 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 730: Tcpdump

    1 packets captured 2 packets received by filter 0 packets dropped by kernel Related debug ip packet interface Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 731: Traceroute

    The name of the VRF instance. Mode User Exec and Privileged Exec awplus# traceroute 10.10.0.5 Example Example awplus# traceroute vrf red 192.168.0.1 (VRF-lite) Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 732: Undebug Ip Packet Interface

    DDRESSING AND ROTOCOL OMMANDS UNDEBUG IP PACKET INTERFACE undebug ip packet interface Overview This command applies the functionality of the no debug ip packet interface command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 733: Chapter 24: Domain Name Service (Dns) Commands

    745 • “ip dns forwarding cache” on page 746 • “ip dns forwarding dead-time” on page 747 • “ip dns forwarding domain-list” on page 748 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 734 (DDNS)” on page 777 • “update-interval (DDNS)” on page 778 • “update-url (DDNS)” on page 779 • “use-ipv4-for-ipv6-updates (DDNS)” on page 782 • “username (DDNS)” on page 783 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 735: Clear Ip Dns Forwarding Cache

    To clear the cached data for the default global VRF instance only, use the command: awplus# clear ip dns global forwarding cache Related ip dns forwarding cache Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 736: Ddns Enable

    To globally disable DDNS updates, use the commands: awplus# configure terminal awplus(config)# no ddns enable Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 737: Ddns-Update-Method

    (DDNS) retry-interval (DDNS) show ddns-update-method status suppress-ipv4-updates (DDNS) undebug (DDNS) update-interval (DDNS) update-url (DDNS) use-ipv4-for-ipv6-updates (DDNS) username (DDNS) Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 738: Ddns-Update Now

    To manually update the method “dyndns”, use the command: awplus# ddns-update method dyndns now Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 739: Debug Ddns

    To disable debugging for the DDNS process, use the command: awplus# no debug ddns Related ddns-update-method Commands undebug (DDNS) Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 740: Debug Ip Dns Forwarding

    To disable DNS forwarding debugging, use the commands: awplus# no debug ip dns forwarding Related ip dns forwarding Commands show debugging ip dns forwarding C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 741: Description (Domain List)

    To delete the description, use the commands: awplus# configure terminal awplus(config)# ip dns forwarding domain-list mydomains awplus(config-domain-list)# no description Related ip dns forwarding domain-list Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 742: Domain (Domain List)

    To delete the domain, use the commands: awplus# configure terminal awplus(config)# ip dns forwarding domain-list acme-corporation awplus(config-domain-list)# no domain acme-solutions.com Related ip dns forwarding domain-list Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 743: Host-Name (Ddns)

    To remove the host name “test.dyndns.org” from the DDNS update method “dyndns”, use the commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-mthod)# no host-name Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 744: Ip Ddns-Update-Method

    To disable IPv4 DDNS updates for a DDNS update method named “dyndns” using interface eth1, use the commands: awplus# configure terminal awplus(config)# interface eth1 awplus(config-if)# no ip ddns-update-method dyndns Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 745: Ip Dns Forwarding

    C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 746: Ip Dns Forwarding Cache

    Related clear ip dns forwarding cache Commands debug ip dns forwarding ip dns forwarding show ip dns forwarding show ip dns forwarding cache C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 747: Ip Dns Forwarding Dead-Time

    Related debug ip dns forwarding Commands ip dns forwarding ip dns forwarding retry show ip dns forwarding show ip dns forwarding server C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 748: Ip Dns Forwarding Domain-List

    To delete the domain list, use the commands: awplus# configure terminal awplus(config)# no ip dns forwarding domain-list corporatedomains Related description (Domain List) Commands domain (Domain List) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 749: Ip Dns Forwarding Retry

    Related debug ip dns forwarding Commands ip dns forwarding ip dns forwarding dead-time show ip dns forwarding C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 750: Ip Dns Forwarding Source-Interface

    To clear the source interface for relayed DNS queries, use the commands: awplus# configure terminal awplus(config)# no ip dns forwarding source-interface Related debug ip dns forwarding Commands ip dns forwarding show ip dns forwarding C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 751: Ip Dns Forwarding Timeout

    To set the timeout value to the default of 3 seconds, use the commands: awplus# configure terminal awplus(config)# no ip dns forwarding timeout Related debug ip dns forwarding Commands ip dns forwarding show ip dns forwarding C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 752: Ip Domain-List

    To add the domain example.net to the DNS list, use the following commands: Example awplus# configure terminal awplus(config)# ip domain-list example.net Related ip domain-lookup Commands ip domain-name show ip domain-list C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 753: 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 ip domain-list Commands ip domain-name ip name-server show hosts show ip name-server C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 754: Ip Domain-Name

    To configure the domain name, enter the following commands: awplus# configure terminal awplus(config)# ip domain-name company.com Related ip domain-list Commands show ip domain-list show ip domain-name C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 755: Ip Name-Server

    This command is used to statically configure a DNS name-server for the device to use. For more information about PPP and DNS, see the PPP Feature Overview and Configuration Guide. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 756 RED 10.10.10.5 Related ip domain-list Commands ip domain-lookup ip domain-name show ip dns forwarding cache show ip name-server Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 757: Ipv6 Ddns-Update-Method

    Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 758: Password (Ddns)

    To remove the password “test” from the method “dyndns”, use the following commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-mthod)# no password Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 759 DNS IP address is not given, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ppp ipcp dns required C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 760 10.1.1.2 Related ip address negotiated Commands peer default ip address peer neighbor-route show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 761 DNS requests to internet host(config-domain-list)# domain engineering.acme host(config-domain-list)# domain intranet.acme awplus(config)# interface ppp0 awplus(config-if)# ppp ipcp dns required awplus(config-if)# ppp ipcp dns suffix-list corporatedomains C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 762 (DNS) C OMAIN ERVICE OMMANDS PPP IPCP DNS SUFFIX LIST Related ip dns forwarding domain-list Commands ppp ipcp dns C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 763: Retry-Interval (Ddns)

    To disable DDNS update retry attempts for the method “dyndns”, use the commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-method)# no retry-interval Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 764: Show Ddns-Update-Method Status

    IPv6 Interface vlan1000 IPv6 Address 333::f195 IPv6 Status Update succeeded IPv6 Update Result good 0333:0000:0000:0000:0000:0000:0000:f195 Last update 2017-02-23T00:09:07Z Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 765: Show Debugging Ip Dns Forwarding

    Figure 24-2: Example output from the show debugging ip dns forwarding command awplus#show debugging ip dns forwarding  DNS Relay debugging status: debugging is on Related debug ip dns forwarding Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 766: 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 ip domain-list Commands ip domain-lookup ip domain-name ip name-server C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 767: Show Ip Dns Forwarding

     Max-Retry : 2 Timeout : 3 second(s) Dead-Time : 3600 second(s) Source-Interface: not specified DNS Cache : disabled Related ip dns forwarding Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 768: Show Ip Dns Forwarding Cache

    To display the DNS Relay name resolver cache with output for VRF instance RED, (VRF-lite) use the command: awplus# show ip dns vrf RED forwarding cache C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 769 180 mail.example2.com www.example2.com 180 CNAME www.example2.com 10.25.1.1. 180 REVERSE mail.example2.com 10.25.1.6. Related ip dns forwarding cache Commands ip name-server Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 770: Show Ip Dns Forwarding Server

    Figure 24-8: Example output from the show ip dns forwarding server command awplus#show ip dns forwarding server  [VRF: red] Servers Forwards Fails Dead-Time 172.16.1.1 active 172.16.1.2 3900 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 771 (DNS) C OMAIN ERVICE OMMANDS SHOW IP DNS FORWARDING SERVER Related ip dns forwarding Commands ip dns forwarding dead-time Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 772: Show Ip Domain-List

    Output Figure 24-9: Example output from the show ip domain-list command awplus#show ip domain-list alliedtelesis.com mycompany.com Related ip domain-list Commands ip domain-lookup C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 773: Show Ip Domain-Name

    To display the default domain configured on your device, use the command: awplus# show ip domain-name Output Figure 24-10: Example output from the show ip domain-name command awplus#show ip domain-name alliedtelesis.com Related ip domain-name Commands ip domain-lookup C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 774: Show Ip Name-Server

    10.10.0.123 10.10.0.124 2001:0db8:010d::1 Example To display the list of DNS servers that your device sends DNS requests to, use the command: awplus# show ip name-server C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 775 VRF instance “red” awplus# show ip name-server vrf red  [VRF: red] 10.10.0.123 10.10.0.124 2001:0db8:010d::1 Related ip domain-lookup Commands ip name-server Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 776: Suppress-Ipv4-Updates (Ddns)

    To suppress IPv4 updates and send IPv6 updates instead for the method “dyndns”, use the commands: awplus# configure terminal awplus(config)# ddns-update-method-dyndns awplus(config-ddns-update-method)# use-ipv4-for-ipv6-updates awplus(config-ddns-update-method)# suppress-ipv4-updates Related ddns-update-method Commands use-ipv4-for-ipv6-updates (DDNS) Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 777: Undebug (Ddns)

    Privileged Exec Example To disable debugging for the DDNS process, use the command: awplus# undebug ddns Related ddns-update-method Commands debug ddns Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 778: Update-Interval (Ddns)

    To disable periodic DDNS updates for the method “dyndns”, use the commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-method)# no update-interval Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 779: Update-Url (Ddns)

    For example, for DynDNS the following update URL can be used: http://username:password@members.dyndns.org/nic/update? SYSTEM=dyndns&hostname=<h>&myip=<a> To configure this URL, use the following command including the placeholder tokens as written here: awplus(config-ddns-update-method)# update-url http://<USERNAME>:<PASSWORD>@members.dyndns.org/nic/update? SYSTEM=dyndns&hostname=<HOST-NAME>&myip=<IPADDRESS> C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 780 DynDNS, with the method called “dyndns” that uses HTTP on port 8245, use the following commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-method)# update-url http://<USERNAME>:<PASSWORD>@members.dyndns.org:8245/v3/ update?hostname=<HOST-NAME>&myip=<IPADDRESS> C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 781 To remove the update URL from the method called “dyndns”, use the following commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-method)# no update-url Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 782: Use-Ipv4-For-Ipv6-Updates (Ddns)

    To send IPv6 updates using IPv4 for the method “dyndns” and to suppress IPv4 updates, use the commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-method)# use-ipv4-for-ipv6-updates awplus(config-ddns-update-method)# suppress-ipv4-updates Related ddns-update-method Commands suppress-ipv4-updates (DDNS) Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 783: Username (Ddns)

    To remove the username “atlnz” from the method “dyndns”, use the following commands: awplus# configure terminal awplus(config)# ddns-update-method dyndns awplus(config-ddns-update-mthod)# no username Related ddns-update-method Commands Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 784: Ipv6 Commands

    “ipv6 nd reachable-time” on page 807 • “ipv6 nd retransmission-time” on page 809 • “ipv6 nd suppress-ra” on page 811 • “ipv6 neighbor” on page 812 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 785 “show ipv6 neighbors” on page 819 • “show ipv6 route” on page 820 • “show ipv6 route summary” on page 822 • “traceroute ipv6” on page 823 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 786: Clear Ipv6 Neighbors

    Overview Use this command to clear all dynamic IPv6 neighbor entries. clear ipv6 neighbors Syntax Mode Privileged Exec awplus# clear ipv6 neighbors Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 787: Ipv6 Address

    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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 788 2001:0db8::a2/64 Related ipv6 address autoconfig Commands ipv6 address dhcp ipv6 dhcp server ipv6 enable ipv6 eui64-linklocal show running-config show ipv6 interface brief show ipv6 route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 789: Ipv6 Address Autoconfig

    To enable SLAAC on the PPP interface ppp0, use the following commands: Examples awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ipv6 address autoconfig C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 790 Related ipv6 address Commands ipv6 enable show ipv6 interface brief show ipv6 route show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 791: 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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 792 (DHCPv6 PD) ipv6 dhcp client pd ipv6 nd prefix show ipv6 interface brief show ipv6 route show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 793: Ipv6 Eui64-Linklocal

    Related ipv6 address Commands ipv6 address autoconfig ipv6 enable Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 794: Ipv6 Forwarding

    To disable IPv6 unicast routing, use the no variant of this command as shown below: awplus# configure terminal awplus(config)# no ipv6 forwarding Related ipv6 enable Commands ipv6 multicast-routing C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 795: Ipv6 Multicast Forward-Slow-Path-Packet

    Privileged Exec Example To enable the ipv6 multicast forward-slow-path-packet function, use the following commands: awplus# configure terminal awplus(config)# ip multicast forward-slow-path-packet Related show ipv6 forwarding Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 796: Ipv6 Nd Accept-Ra-Pinfo

    Related ipv6 address Commands ipv6 address autoconfig ipv6 enable Command Version 5.4.7-0.1: command added changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 797: Ipv6 Nd Current-Hoplimit

    To reset the advertised current hop limit to the default “0” on the PPP interface “ppp0”, use the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 nd current-hoplimit C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 798 OMMANDS ND CURRENT HOPLIMIT Related ipv6 nd managed-config-flag Commands ipv6 nd prefix ipv6 nd suppress-ra C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 799: Ipv6 Nd Managed-Config-Flag

    Related ipv6 nd suppress-ra Commands ipv6 nd prefix ipv6 nd other-config-flag C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 800: Ipv6 Nd Minimum-Ra-Interval

    To remove the minimum RA interval for the PPP interface ppp0, use the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 nd minimum-ra-interval C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 801 OMMANDS ND MINIMUM INTERVAL Related ipv6 nd ra-interval Commands ipv6 nd suppress-ra ipv6 nd prefix ipv6 nd other-config-flag C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 802: Ipv6 Nd Other-Config-Flag

    Related ipv6 nd suppress-ra Commands ipv6 nd prefix ipv6 nd managed-config-flag C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 803: Ipv6 Nd Prefix

    Default Valid-lifetime default is 2592000 seconds (30 days). Preferred-lifetime default is 604800 seconds (7 days). Mode Interface Configuration for a VLAN interface or a PPP interface. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 804 The following example resets all router advertisements on the VLAN interface vlan4: awplus# configure terminal awplus(config)# interface vlan4 awplus(config-if)# no ipv6 nd prefix all Related ipv6 nd suppress-ra Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 805: Ipv6 Nd Ra-Interval

    60 awplus(config-if)# no ipv6 nd suppress-ra Related ipv6 nd minimum-ra-interval Commands ipv6 nd suppress-ra ipv6 nd prefix C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 806: Ipv6 Nd Ra-Lifetime

    8000 awplus(config-if)# no ipv6 nd suppress-ra Related ipv6 nd suppress-ra Commands ipv6 nd prefix C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 807: Ipv6 Nd Reachable-Time

    To reset the reachable-time in router advertisements on the PPP interface ppp0 to an unspecified reachable-time (0 milliseconds), enter the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 nd reachable-time C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 808 OMMANDS ND REACHABLE TIME Related ipv6 nd suppress-ra Commands ipv6 nd prefix C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 809: Ipv6 Nd Retransmission-Time

    To reset the retransmission-time of Neighbor Solicitation on the PPP interface ppp0 to the default 1000 milliseconds (1 second), enter the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 nd retransmission-time C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 810 OMMANDS ND RETRANSMISSION TIME Related ipv6 nd suppress-ra Commands ipv6 nd prefix C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 811: Ipv6 Nd Suppress-Ra

    Related ipv6 nd ra-interval Commands ipv6 nd prefix C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 812: Ipv6 Neighbor

    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 clear ipv6 neighbors Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 813: Ipv6 Opportunistic-Nd

    To disable opportunistic neighbor discovery for the IPv6 ND cache, enter: awplus# configure terminal awplus(config)# no ipv6 opportunistic-nd Related arp opportunistic-nd Commands show ipv6 neighbors show running-config interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 814: Ipv6 Route

    Administrative distance can be modified so static routes do not take priority over other routes. awplus# configure terminal Example awplus(config)# ipv6 route 2001:0db8::1/128 vlan2 32 Validation show running-config Commands show ipv6 route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 815: Ipv6 Unreachables

    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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 816: Ping Ipv6

    If no ARP entry is present, it does not wait. Mode User Exec and Privileged Exec Example awplus# ping ipv6 2001:0db8::a2 Related traceroute ipv6 Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 817: Show Ipv6 Forwarding

    User Exec and Privileged Exec awplus# show ipv6 forwarding Example Output Figure 25-1: Example output from the show ipv6 forwarding command  ipv6 forwarding is on C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 818: Show Ipv6 Interface Brief

    Figure 25-2: Example output from the show ipv6 interface brief command awplus#show ipv6 interface brief Interface IPv6-Address Status Protocol unassigned admin up running vlan1 2001:db8::1/48 admin up down fe80::215:77ff:fee9:5c50/64 Related show interface brief Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 819: Show 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-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 820: Show Ipv6 Route

    Mode User Exec and Privileged Exec Example 1 To display an IP route with all parameters turned on, use the following command: awplus# show ipv6 route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 821 > - selected route, * - FIB route, p - stale info Timers: Uptime  ::/0 [1/0] via 2001::a:0:0:c0a8:a01 inactive, 6d22h12m [1/0] via 2001::fa:0:0:c0a8:fa01 inactive, 6d22h12m C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 822: Show Ipv6 Route Summary

    Figure 25-5: Example output from the show ipv6 route summary command IPv6 routing table name is Default-IPv6-Routing-Table(0) IPv6 routing table maximum-paths is 4 RouteSource Networks connected 4 5 Total 9 Related show ip route database Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 823: Traceroute Ipv6

    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 ping ipv6 Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 824: Chapter 26: Routing Commands

    836 • “show ip route summary” on page 839 • “show ipv6 route” on page 841 • “show ipv6 route summary” on page 843 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 825: Ip Route

    IP address and the interface. <distance> The administrative distance for the static route in the range <1-255>. Static routes by default have an administrative distance of 1. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 826 192.168.50.0/24 with a next hop of 192.168.20.6, use the following commands for static intra-VRF routing configuration: awplus# configure terminal awplus(config)# ip route vrf red 192.168.50.0/24 192.168.20.6 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 827 192.168.50.0/24 192.168.20.6 vlan10 Related show ip route Commands show ip route database Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 828 Administrative distance can be modified so static routes do not take priority over other routes. awplus# configure terminal Example awplus(config)# ipv6 route 2001:0db8::1/128 vlan2 32 Validation show running-config Commands show ipv6 route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 829 To set the maximum number of dynamic routes to 2000 and warning threshold of 75%, use the following commands: awplus# config terminal awplus(config)# max-fib-routes 2000 75 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 830 OUTING OMMANDS ROUTES Related max-fib-routes (VRF) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 831 : Static routes are applied before adding routes to the RIB (Routing Information NOTE Base). Therefore, rejected static routes will not appear in the running config. Related max-fib-routes Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 832: Maximum-Paths

    5 To set the maximum paths for a route to the default of 4, use the command: awplus# configure terminal awplus(config)# no maximum-paths C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 833: Show Ip Route

    To display the static routes in the FIB, use the command: awplus# show ip route static To display the OSPF routes in the FIB, use the command: awplus# show ip route ospf C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 834 • over routes for the same network learned from other routing protocols. OSPF Route The OSPF route entry consists of: 10.10.37.0/24 [110/11] via 10.10.31.16, vlan2, 00:20:54 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 835 Type 2 External OSPF route. Related ip route Commands maximum-paths show ip route database Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 836: Show Ip Route Database

    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 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 837 *> 10.10.34.0/24 [1/0] via 10.10.31.16, vlan2 10.10.34.0/24 [110/31] via 10.10.31.16, vlan2, 00:21:19 These route entries denote: • The same prefix was learned from OSPF and from static route configuration. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 838 If the static route becomes unavailable, then the device automatically selects the OSPF route and installs it in the FIB. Related maximum-paths Commands show ip route Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 839: Show Ip Route Summary

    To display a summary of the current RIB entries associated with a VRF instance red, (VRF-lite) use the command: awplus# show ip route summary vrf red C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 840 [VRF: red] Route Source Networks connected 1 ospf 2 Total Related show ip route Commands show ip route database Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 841 Mode User Exec and Privileged Exec Example 1 To display an IP route with all parameters turned on, use the following command: awplus# show ipv6 route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 842 > - selected route, * - FIB route, p - stale info Timers: Uptime  ::/0 [1/0] via 2001::a:0:0:c0a8:a01 inactive, 6d22h12m [1/0] via 2001::fa:0:0:c0a8:fa01 inactive, 6d22h12m C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 843 Figure 26-8: Example output from the show ipv6 route summary command IPv6 routing table name is Default-IPv6-Routing-Table(0) IPv6 routing table maximum-paths is 4 RouteSource Networks connected 4 5 Total 9 Related show ip route database Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 844: Rip Commands

    867 • “ip rip receive version” on page 868 • “ip rip send-packet” on page 869 • “ip rip send version” on page 870 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 845 “show ip rip vrf interface” on page 899 • “timers (RIP)” on page 900 • “undebug rip” on page 902 • “version (RIP)” on page 903 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 846: Accept-Lifetime

    The following examples show the setting of accept-lifetime for key 1 on the key chain named “mychain”. awplus# configure terminal awplus(config)# key chain mychain awplus(config-keychain)# key 1 awplus(config-keychain-key)# accept-lifetime 03:03:01 Sep 3 2016 04:04:02 Oct 6 2016 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 847 1 awplus(config-keychain-key)# accept-lifetime 03:03:01 3 Sep 2016 04:04:02 6 Oct 2016 Related Commands key-string key chain send-lifetime C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 848: Address-Family Ipv4 (Rip)

    Related exit-address-family Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 849: Alliedware-Behavior

    To configure your device for alliedware-behavior when sending and receiving RIPv1 update messages, enter the commands: awplus# configure terminal awplus(config)# router rip awplus(config-router)# alliedware-behavior rip1-send awplus(config-router)# alliedware-behavior rip1-recv C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 850 Validation show ip protocols rip Commands show running-config Related fullupdate (RIP) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 851: Cisco-Metric-Behavior (Rip)

    To disable the routing metric update to behave as per the default setting, enter the commands: awplus# configure terminal awplus(config)# router rip awplus(config-router)# no cisco-metric-behavior Validation show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 852: Clear Ip Rip Route

    To clear the route 10.0.0.0/8 from the RIP routing table for the VRF instance ‘red’, use the following command: awplus# clear ip rip vrf red route 10.0.0.0/8 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 853 RIP C OMMANDS CLEAR IP RIP ROUTE Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 854: Debug Rip

    The following example displays information about the RIP packets that are received and sent out from the device. awplus# debug rip packet Related undebug rip Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 855: Default-Information Originate (Rip)

    This operates quite similarly to the OSPF default-information originate always command. Example awplus# configure terminal awplus(config)# router rip awplus(config-router)# default-information originate C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 856: Default-Metric (Rip)

    10 awplus(config-router-af)# redistribute ospf awplus(config-router-af)# redistribute connected Related redistribute (RIP) Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 857: Distance (Rip)

    This example assigns a cost of 10 to the routes for the VRF instance blue, when (VRF-lite) redistributed into RIP. awplus# configure terminal awplus(config)# router rip awplus(config-router)# address family ipv4 blue awplus(config-router-af)# distance 10 Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 858: Distribute-List (Rip)

    Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 859: Fullupdate (Rip)

    To enable the full update (RIP) function on the VRF instance named ‘blue’, use the (VRF-lite) commands: awplus# configure terminal awplus(config)# router rip awplus(config-router)# address-family ipv4 vrf blue awplus(config-router-af)# fullupdate Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 860: Ip Rip Authentication Key-Chain

    Enable authentication on the desired interface and specify the key chain to be used, using the following commands: awplus# configure terminal awplus(config)# interface <id> awplus(config-if)# ip rip authentication key-chain <key-chain-name> C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 861 Related accept-lifetime Commands send-lifetime ip rip authentication mode ip rip authentication string key chain C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 862: Ip Rip Authentication Mode

    Specify the mode of authentication for the given interface (text or MD5), using the following commands: awplus# configure terminal awplus(config)# interface <id> awplus(config-if)# ip rip authentication mode {md5|text} C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 863 The following example shows MD5 authentication configured on VLAN interface vlan2, ensuring authentication of RIP packets received on this interface. awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip rip authentication mode md5 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 864 Related ip rip authentication string Commands ip rip authentication key-chain C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 865: Ip Rip Authentication String

    See the example below to specify mykey as the authentication string with MD5 Example authentication for the VLAN interface vlan2: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip rip authentication string mykey awplus(config-if)# ip rip authentication mode md5 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 866 Related ip rip authentication key-chain commands ip rip authentication mode C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 867: Ip Rip Receive-Packet

    This example shows packet receiving being turned on for the PPP interface ppp0: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip rip receive-packet Related ip rip send-packet Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 868: Ip Rip Receive Version

    In the following example, PPP interface ppp0 is configured to receive both RIP version 1 and 2 packets: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip rip receive version 1 2 Related version (RIP) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 869: Ip Rip Send-Packet

    This example shows packet sending being turned on for the PPP interface ppp0: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip rip send-packet Related ip rip receive-packet Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 870: Ip Rip Send Version

    In the following example, the VLAN interface vlan4 is configured to send both RIP Examples version 1 and 2 packets. awplus# configure terminal awplus(config)# interface vlan4 awplus(config-if)# ip rip send version 1 2 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 871 In the following example, the PPP interface ppp0 is configured to send RIP version 1 packets only. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip rip send version 1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 872 (RIP) command. awplus# configure terminal awplus(config)# interface ppp2 awplus(config-if)# no ip rip send version Related ip rip send version 1-compatible Commands version (RIP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 873: Ip Rip Send Version 1-Compatible

    In the following example, the VLAN interface vlan3 is configured to use the RIP version specified by the version (RIP) command. awplus# configure terminal awplus(config)# interface vlan3 awplus(config-if)# no ip rip send version C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 874 (RIP) command. awplus# configure terminal awplus(config)# interface ppp2 awplus(config-if)# no ip rip send version Related ip rip send version Commands version (RIP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 875: Ip Rip Split-Horizon

    Example To turn on split horizon poisoned on ppp0, use the following commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip rip split-horizon poisoned C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 876 The following example configures a key number 1 and shows the change into a Example keychain- key command mode prompt. awplus# configure terminal awplus(config)# key chain mychain awplus(config-keychain)# key 1 awplus(config-keychain-key)# Related key chain Commands key-string accept-lifetime send-lifetime C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 877: Key Chain

    The following example shows the creation of a key chain named mychain and the Example change into keychain mode prompt. awplus# configure terminal awplus(config)# key chain mychain awplus(config-keychain)# Related Commands key-string accept-lifetime send-lifetime C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 878: Key-String

    In the following example, the password for key1 in the key chain named mychain is removed: awplus# configure terminal awplus(config)# key chain mychain awplus(config-keychain)# key 1 awplus(config-keychain-key)# no key-string Related Commands key chain accept-lifetime send-lifetime C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 879: Maximum-Prefix

    Router Configuration Example To configure the maximum number of RIP routes to 150, use the following command: awplus# configure terminal awplus(config)# router rip awplus(config-router)# maximum-prefix 150 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 880: Neighbor (Rip)

    To specify the neighbor router to 1.1.1.1, use the following command: awplus# configure terminal awplus(config)# router rip awplus(config-router)# passive-interface vlan1 awplus(config-router)# neighbor 1.1.1.1 Related passive-interface (RIP) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 881: Network (Rip)

    To activate RIP routing updates on vlan3 for VRF instance ‘blue’. (VRF-lite) awplus# configure terminal awplus(config)# router rip awplus(config-router)# address-family ipv4 vrf blue awplus(config-router-af)# network vlan3 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 882 RIP C OMMANDS (RIP) NETWORK Related show ip rip Commands show running-config clear ip rip route Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 883: Passive-Interface (Rip)

    Related show ip rip Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 884: Recv-Buffer-Size (Rip)

    To run-time configure the RIP UDP, use the following commands: awplus# configure terminal awplus(config)# router rip awplus(config-router)# recv-buffer-size 23456789 awplus# configure terminal awplus(config)# router rip awplus(config-router)# no recv-buffer-size 23456789 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 885: Redistribute (Rip)

    To apply the metric value 15 to static routes being redistributed into RIP, use the commands: awplus# configure terminal awplus(config)# router rip awplus(config-router)# redistribute static metric 15 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 886 15 Related default-metric (RIP) Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 887: Restart Rip Graceful

    Example To apply a restart rip graceful setting, grace-period to 100 seconds use the following commands: awplus# copy running-config startup-config awplus# restart rip graceful grace-period 100 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 888: Rip Restart Grace-Period

    Use this command to enable the Graceful Restart feature on the RIP process. Entering this command configures a grace period for RIP. awplus# configure terminal Example awplus(config)# rip restart grace-period 200 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 889: Route (Rip)

    192.168.1.0/24 Related show ip rip Commands clear ip rip route Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 890: Router Rip

    This command is used to begin the RIP routing process: awplus# configure terminal awplus(config)# router rip awplus(config-router)# version 1 awplus(config-router)# network 10.10.10.0/24 awplus(config-router)# network 10.10.11.0/24 awplus(config-router)# neighbor 10.10.10.10 Related network (RIP) Commands version (RIP) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 891: Send-Lifetime

    The following example shows the setting of send-lifetime for key 1 on the key chain named “mychain”. awplus# configure terminal awplus(config)# key chain mychain awplus(config-keychain)# key 1 awplus(config-keychain-key)# send-lifetime 03:03:01 Jan 3 2016 04:04:02 Dec 6 2016 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 892 RIP C OMMANDS SEND LIFETIME Related Commands key-string key chain accept-lifetime C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 893: Show Debugging Rip

    Syntax Mode User Exec and Privileged Exec Usage Use this command to display the debug status of RIP. awplus# show debugging rip Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 894: Show Ip Protocols Rip

    Send Recv 2  vlan25 Routing for Networks:  10.10.0.0/24  Routing Information Sources:  Distance Last Update  Gateway BadPackets BadRoutes Distance: (default is 120 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 895 S 192.168.101.0/24 vlan20 R 192.192.192.0/24 Related route (RIP) Commands network (RIP) clear ip rip route show ip rip vrf interface Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 896: Show Ip Rip Database

    Specify the full RIP database including sub-optimal RIP routes. Mode User Exec and Privileged Exec awplus# show ip rip database Example awplus# show ip rip database full Related show ip rip Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 897: Show Ip Rip Interface

    [<interface>] Syntax Parameter Description <interface> The interface to display information about. For instance: vlan2. Mode User Exec and Privileged Exec awplus# show ip rip interface Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 898: Show Ip Rip Vrf Database

    Next Hop Metric From Time Rc 192.168.30.0/24 vlan3 192.168.45.0/24 192.168.30.1 2 192.168.30.1 vlan3 02:46 Related show ip rip Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 899: Show Ip Rip Vrf Interface

    Each update resets a count-down timer to 180 seconds (3 minutes). • The Time parameter displays the count-down from the last reset. Related show ip rip Commands Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 900: Timers (Rip)

    To set the update timer to 30, the routing information timeout timer to 180, and the routing garbage collection timer to 120, use the following command: awplus# configure terminal awplus(config)# router rip awplus(config-router)# timers basic 30 180 120 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 901 120 with VRF, use the following command: awplus# configure terminal awplus(config)# router rip awplus(config-router)# address-family ipv4 vrf blue awplus(config-router-af)# timers basic 30 180 120 Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 902: Undebug Rip

    Mode Privileged Exec Example To disable the options set for debugging RIP information events, use the following command: awplus# undebug rip packet Related debug rip Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 903: Version (Rip)

    1 Related ip rip receive version Commands ip rip send version show running-config C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 904 RIP C OMMANDS (RIP) VERSION Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 905: Chapter 28: Ripng For Ipv6 Commands

    “recv-buffer-size (IPv6 RIPng)” on page 920 • “redistribute (IPv6 RIPng)” on page 921 • “route (IPv6 RIPng)” on page 922 • “router ipv6 rip” on page 923 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 906 927 • “show ipv6 rip interface” on page 928 • “timers (IPv6 RIPng)” on page 929 • “undebug ipv6 rip” on page 930 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 907: Aggregate-Address (Ipv6 Ripng)

    RIP interfaces, by redistribution or by direct inclusion using the route command in router IPv6 RIP configuration mode. awplus# configure terminal Example awplus(config)# router ipv6 rip awplus(config-router)# aggregate-address 2001:db8::/32 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 908: Clear Ipv6 Rip Route

    Removes redistributed OSPFv3 routes from the RIPng routing table. Clears the entire RIPng routing table. Mode Privileged Exec Example awplus# clear ipv6 rip route all awplus# clear ipv6 rip route 2001:db8::/32 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 909: Debug Ipv6 Rip

    Privileged Exec and Global Configuration awplus# debug ipv6 rip events Example awplus# debug ipv6 rip packet send detail awplus# debug ipv6 rip nsm Related undebug ipv6 rip Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 910: Default-Information Originate (Ipv6 Ripng)

    Use the no variant of this command to disable this feature. Syntax default-information originate no default-information originate Default Disabled Mode Router Configuration awplus# configure terminal Example awplus(config)# router ipv6 rip awplus(config-router)# default-information originate C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 911: Default-Metric (Ipv6 Ripng)

    Example awplus(config)# router ipv6 rip awplus(config-router)# default-metric 8 Related ipv6 rip metric-offset Commands redistribute (IPv6 RIPng) C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 912: Distribute-List (Ipv6 Ripng)

    To filter incoming or outgoing route updates, use the following commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# distribute-list prefix myfilter in vlan2 Related ipv6 nd prefix Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 913: Ipv6 Rip Metric-Offset

    For information about how AlliedWare Plus adds routes, see the “Route Selection” Feature Overview and Configuration Guide. See also the default-metric (IPv6 RIPng)and redistribute (IPv6 RIPng) commands to specify the metric for redistributed RIPng routes. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 914 To reset the metric-offset on the PPP interface ppp0 to the default value, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 router rip Validation show running-config Commands Related default-metric (IPv6 RIPng) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 915: Ipv6 Rip Split-Horizon

    To perform split-horizon with poisoned reverse on the PPP interface ppp0, enter the below commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# exit awplus(config)# interface ppp0 awplus(config-if)# ipv6 rip split-horizon poisoned C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 916 To disable split-horizon on the PPP interface ppp0, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 router rip Validation show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 917: Ipv6 Router Rip

    To disable RIPng routing on the PPP interface ppp0, enter the below commands: awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# no ipv6 router rip C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 918: Neighbor (Ipv6 Ripng)

    Examples awplus(config)# router ipv6 rip awplus(config-router)# neighbor 2001:db8:1::1 vlan2 awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# no neighbor 2001:db8:1::1 vlan2 Related passive-interface (IPv6 RIPng) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 919: Passive-Interface (Ipv6 Ripng)

    To enable suppression of routing updates, use the following commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# passive-interface vlan2 awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# no passive-interface vlan2 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 920: Recv-Buffer-Size (Ipv6 Ripng)

    23456789 awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# no recv-buffer-size 23456789 awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# no recv-buffer-size C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 921: Redistribute (Ipv6 Ripng)

    To redistribute information from other routing protocols into RIPng, use the following commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# redistribute static route-map mymap awplus(config-router)# redistribute static metric 8 Related default-metric (IPv6 RIPng) Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 922: Route (Ipv6 Ripng)

    To configure static RIPng routes, use the following commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# route 2001:db8::1/64 Related show ipv6 rip Commands clear ipv6 rip route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 923: Router Ipv6 Rip

    Mode Global Configuration Example To enable a RIPng routing process, use the following commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 924: Show Debugging Ipv6 Rip

    Use this command to display the debug status of RIPng. Example To display the RIPng debugging status, use the following command: awplus# show debugging ipv6 rip C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 925: Show Ipv6 Protocols Rip

    Outgoing update filter list for all interface is not set Incoming update filter list for all interface is not set Default redistribute metric is 1 Redistributing: Interface  vlan3 Routing for Networks: fe80::200:cdff:fe27:c086 vlan1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 926: Show Ipv6 Rip

     2001:db8:1::/48 2001:db8:2::/48 vlan3 02:28 2001:db8:3::/48 vlan2 0 Ra 2001:db8:4::/48 0 Rs 2001:db8:5::/48 2001:db8:1::/48 vlan3 02:32 Cs 2001:db8:6::/48 vlan3 0 Related show ipv6 rip database Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 927: Show Ipv6 Rip Database

     2001:db8:1::/48 2001:db8:2::/48 vlan3 02:28 2001:db8:3::/48 vlan2 0 Ra 2001:db8:4::/48 0 Rs 2001:db8:5::/48 2001:db8:1::/48 vlan3 02:32 Cs 2001:db8:6::/48 vlan3 0  Related show ipv6 rip Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 928: Show Ipv6 Rip Interface

    RIPng is not enabled on this interface vlan3 is up, line protocol is up Routing Protocol: RIPng Passive interface: Disabled Split horizon: Enabled with Poisoned Reversed IP interface address: 2001:db8:1::1/64 2001:db8:1::2/64 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 929: Timers (Ipv6 Ripng)

    Router Configuration Example To adjust the RIPng routing network timers, use the following commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# timers basic 30 180 120 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 930: Undebug Ipv6 Rip

    Related debug ipv6 rip Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 931: Chapter 29: Ospf Commands

    “debug ospf lsa” on page 954 • “debug ospf nfsm” on page 955 • “debug ospf nsm” on page 956 • “debug ospf packet” on page 957 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 932 993 • “passive-interface (OSPF)” on page 994 • “redistribute (OSPF)” on page 995 • “restart ospf graceful” on page 997 • “router ospf” on page 998 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 933 “undebug ospf nfsm” on page 1033 • “undebug ospf nsm” on page 1034 • “undebug ospf packet” on page 1035 • “undebug ospf route” on page 1036 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 934: Area Default-Cost

    To set the default cost to 10 in area 1 for the OSPF instance 100, use the commands: awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# area 1 default-cost 10 Related area nssa Commands area stub C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 935: Area Authentication

    MD5 password. awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# area 1 authentication Related ip ospf authentication Commands ip ospf message-digest-key C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 936: Area Filter-List

    <prefix-list> Name of a prefix-list. Filter routes from the other areas to this area. Filter routes from this area to the other areas. Mode Router Configuration C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 937: Area Nssa

    The metric value. 4> metric-type<1-2> External metric type. no-redistribution Do not redistribute external route into NSSA. no-summary Do not inject inter-area route into NSSA. translator-role Specify NSSA-ABR translator-role. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 938 Example awplus(config)# router ospf 100 awplus(config-router)# area 0.0.0.51 nssa awplus(config-router)# area 3 nssa translator-role candidate no-redistribution default-information-originate metric 34 metric-type 2 Related area default-cost Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 939: Area Range

    You can configure multiple ranges on a single area with multiple instances of this command, so OSPF summarizes addresses for different sets of IPv4 address ranges. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 940 Ensure OSPF IPv4 routes exist in the area range for advertisement before using this command. awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# area 1 range 192.16.0.0/16 awplus(config-router)# area 1 range 203.18.0.0/16 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 941: Area Stub

    Stops an ABR from sending summary link advertisements into the stub area. Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# area 1 stub Related area default-cost Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 942: Area Virtual-Link

    Specifies a message digest key using the MD5 encryption algorithm. Use the following format: message-digest-key<1-255> md5 <pswd-long> <1-255> The key ID. <pswd-long> Authentication password of 16 characters. authentication Enables authentication on this virtual link. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 943 Also, take into account the transmission and propagation delays for the interface. awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# area 1 virtual-link 10.10.11.50 hello 5 dead 10 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 944 OSPF C OMMANDS AREA VIRTUAL LINK Related area authentication Commands show ip ospf show ip ospf virtual-links C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 945: Auto-Cost Reference Bandwidth

    1. The following example shows how the cost is calculated. The reference bandwidth is 1000 Mbps and the interface bandwidth is 10000 Mbps. Calculation = 1000/10000 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 946 3 interface will override the cost calculated by this command. Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# auto-cost reference-bandwidth 1000 Related ip ospf cost Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 947: Bandwidth

    To set the bandwidth on VLAN2 to be 1 Mbps, use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# bandwidth 1000000 awplus(config-if)# bandwidth 1m Related show interface Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 948: Capability Opaque

    Default By default, opaque-LSAs are enabled. Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# no capability opaque C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 949: Capability Restart

    Enable graceful OSPF restart. signaling Enable OSPF restart signaling. Default Graceful restart Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# capability restart graceful C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 950: Clear Ip Ospf Process

    OSPF processes. clear ip ospf [<0-65535>] process Syntax Parameter Description <0-65535> The Routing Process ID. Mode Privileged Exec awplus# clear ip ospf process Example C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 951: Compatible Rfc1583

    Use the no variant of this command to disable RFC 1583 compatibility. compatible rfc1583 Syntax no compatible rfc1583 Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# compatible rfc1583 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 952: Debug Ospf Events

    Shows other router events. vlink Shows virtual link events. Mode Privileged Exec and Global Configuration awplus# debug ospf events asbr lsa Example Related terminal monitor Commands undebug ospf events C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 953: Debug Ospf Ifsm

    Privileged Exec and Global Configuration awplus# no debug ospf ifsm events status Example awplus# debug ospf ifsm status awplus# debug ospf ifsm timers Related terminal monitor Commands undebug ospf ifsm C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 954: Debug Ospf Lsa

    2002/05/09 14:12:33 OSPF: SEND[LS-Upd]: # of LSAs 1, destination 224.0.0.5 2002/05/09 14:12:33 OSPF: SEND[LS-Upd]: End send queue 2002/05/09 14:12:33 OSPF: SEND[LS-Upd]: To 224.0.0.5 via vlan5:10.10.10.50 Related terminal monitor Commands undebug ospf lsa C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 955: Debug Ospf Nfsm

    Privileged Exec and Global Configuration awplus# debug ospf nfsm events Examples awplus# no debug ospf nfsm timers awplus# undebug ospf nfsm events Related terminal monitor Commands undebug ospf nfsm C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 956: Debug Ospf Nsm

    Priviledged Exec and Global Configuration Examples awplus# debug ospf nsm interface awplus# no debug ospf nsm redistribute awplus# undebug ospf nsm interface Related terminal monitor Commands undebug ospf nsm C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 957: Debug Ospf Packet

    Related terminal monitor Commands undebug ospf packet C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 958: Debug Ospf Route

    Examples awplus# no debug ospf route ia awplus# debug ospf route install awplus# undebug ospf route install Related terminal monitor Commands undebug ospf route C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 959: Default-Information Originate

    Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# default-information originate always metric 23 metric-type 2 route-map myinfo Related route-map Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 960: Default-Metric (Ospf)

    Examples awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# default-metric 100 awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# no default-metric Related redistribute (OSPF) commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 961: Distance (Ospf)

    Use this command to set the distance for an entire group of routes, rather than a specific route that passes an access list. Examples To set the following administrative distances for route types in OSPF 100: • 20 for inter-area routes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 962 To set the administrative distance for all routes in OSPF 100 back to the default of 110, use the commands: awplus(config)# router ospf 100 awplus(config-router)# no distance ospf C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 963: Enable Db-Summary-Opt

    To disable OSPF database summary list optimization, use the commands: awplus# configure terminal awplus(config)# router ospf awplus(config-router)# no enable db-summary-opt Validation show running-config Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 964: Host Area

    By default, no host entry is configured. Mode Router Configuration awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# host 172.16.10.100 area 1 awplus(config-router)# host 172.16.10.101 area 2 cost 10 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 965: Ip Ospf Authentication

    MD5 authentication configured on this interface. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf authentication null Related ip ospf authentication-key Commands area authentication ip ospf message-digest-key C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 966: Ip Ospf Authentication-Key

    100 awplus(config-router)# network 10.10.10.0/24 area 0 awplus(config-router)# area 0 authentication awplus(config-router)# exit awplus(config)# interface vlan2 awplus(config-if)# ip ospf 3.3.3.3 authentication-key test C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 967 10.10.10.0/24 area 0 awplus(config-router)# area 0 authentication awplus(config-router)# exit awplus(config)# interface ppp0 awplus(config-if)# ip ospf 3.3.3.3 authentication-key test Related area authentication Commands ip ospf authentication C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 968: Ip Ospf Cost

    The following example shows setting ospf cost to 10 on PPP interface ppp0 for IP address 10.10.10.50 awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf 10.10.10.50 cost 10 Related show ip ospf interface Commands auto-cost reference bandwidth C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 969: Ip Ospf Database-Filter

    Example awplus(config)# interface vlan1 awplus(config-if# ip ospf database-filter all out awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if# ip ospf database-filter all out C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 970: Ip Ospf Dead-Interval

    The following example shows configuring the dead-interval to 10 seconds on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf dead-interval 10 Related ip ospf hello-interval Commands show ip ospf interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 971: Ip Ospf Disable All

    Interface Configuration for a VLAN interface or a PPP interface. awplus# configure terminal Example awplus(config)# interface vlan2 awplus(config-if)# ip ospf disable all awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf disable all C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 972: Ip Ospf Hello-Interval

    The following example shows setting the hello-interval to 3 seconds on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf hello-interval 3 Related ip ospf dead-interval Commands show ip ospf interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 973: Ip Ospf Message-Digest-Key

    All neighboring routers on the same network must have the same password value to enable exchange of OSPF routing data. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 974 1.1.1.1 & 2.2.2.2, OSPF authentication will be enabled only for the IP address 1.1.1.1). awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip ospf 1.1.1.1 authentication message-digest awplus(config-if)# ip ospf 1.1.1.1 message-digest-key 2 md5 yourpass C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 975 MTU size is updated through the CLI. Example awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ip ospf mtu 1480 awplus# configure terminal awplus(config)# interface pp0 awplus(config-if)# ip ospf mtu 1480 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 976: Ip Ospf Mtu-Ignore

    MTU size in the DD packet. awplus# configure terminal Example awplus(config)# interface vlan2 awplus(config-if)# ip ospf mtu-ignore awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf mtu-ignore C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 977: Ip Ospf Network

    The following example shows setting the network type to point-to-point on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf network point-to-point C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 978: Ip Ospf Priority

    The following example shows setting the OSPF priority value to 3 on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf priority 3 Related ip ospf network Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 979: Ip Ospf Resync-Timeout

    The following example shows setting the OSPF resynchronization timeout value to 65 seconds on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf resync-timeout 65 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 980: Ip Ospf Retransmit-Interval

    The following example shows setting the ospf retransmit interval to 6 seconds on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf retransmit-interval 6 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 981: Ip Ospf Transmit-Delay

    The following example shows setting the OSPF transmit delay time to 3 seconds on the PPP interface ppp0. awplus# configure terminal awplus(config)# interface ppp0 awplus(config-if)# ip ospf transmit-delay 3 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 982: Max-Concurrent-Dd

    The following example sets the max-concurrent-dd value to 4, so that only 4 DD exchanges will be processed at a time. awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router# max-concurrent-dd 4 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 983: Maximum-Area

    2 The following example removes the maximum number of OSPF areas and resets to default: awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# no maximum-area C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 984: Neighbor (Ospf)

    This example shows a neighbor configured with a priority value, poll interval time, and cost. awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# neighbor 1.2.3.4 priority 1 poll-interval 90 awplus(config-router)# neighbor 1.2.3.4 cost 15 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 985: Network Area

    The following commands show the use of the network area command with OSPF multiple instance support disabled: awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# network 10.0.0.0/8 area 3 awplus(config-router)# network 10.0.0.0/8 area 1.1.1.1 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 986 NETWORK AREA The following commands disable OSPF routing with Area ID 3 on all interfaces: awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# no network 10.0.0.0/8 area3 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 987: Ospf Abr-Type

    Standard ABR Type: By this definition, a router is considered an ABR if it has more than one area actively attached to it. awplus# configure terminal Example awplus(config)# router ospf 100 awplus(config-router)# ospf abr-type ibm C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 988: Ospf Restart Grace-Period

    To reset the OSPF restart grace-period to the default (180 seconds), use the commands: awplus# configure terminal awplus(config)# no ospf restart grace-period Validation show running-config Commands Related ospf restart helper Commands restart ospf graceful C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 989: Ospf Restart Helper

    10.10.10.1 awplus# configure terminal awplus(config)# no ospf restart helper max-grace-period C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 990 OSPF C OMMANDS OSPF RESTART HELPER Related ospf restart grace-period Commands restart ospf graceful C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 991: Ospf Router-Id

    Example The following example shows a specified router ID 2.3.4.5. awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# ospf router-id 2.3.4.5 Related show ip ospf Commands C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 992: Overflow Database

    The following example shows setting the database overflow to 500, and a shutdown to occur, if the number of LSAs exceeds 500. awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# overflow database 500 hard C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 993: Overflow Database External

    The following example shows setting the maximum number of LSAs to 5 and the time to recover from overflow state to be 3: awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# overflow database external 50 3 C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 994: Passive-Interface (Ospf)

    100 awplus(config-router)# no passive-interface vlan2 To remove passive interface mode on all interfaces, enter the following commands: awplus(config)# router ospf 100 awplus(config-router)# no passive-interface C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 995: Redistribute (Ospf)

    Note that this command does not redistribute the default route. To redistribute the default route, use the default-information originate command. C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 996 (such as RIP). A route-map can also set the metric, tag, and metric-type of the redistributed routes. Related match interface Commands route-map show ip ospf database external C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 997: Restart Ospf Graceful

    Ensure you first enter the command copy running-config startup-config. Example awplus# copy running-config startup-config awplus# restart ospf graceful grace-period 200 Related ospf restart grace-period Commands ospf restart helper C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 998: Router Ospf

    Example To enter Router Configuration mode to configure an existing OSPF routing process 100, use the commands: awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 999 To enter Router Configuration mode to configure an existing OSPF routing process 100 for VRF instance red, use the commands: (VRF-lite) awplus# configure terminal awplus(config)# router ospf 100 red awplus(config-router)# Command Version 5.4.6-2.1: VRF-lite support added. changes C613-50184-01 Rev B Command Reference for AR4050S AlliedWare Plus™ Operating System - Version 5.4.7-1.x...
  • Page 1000: Router-Id

    Example The following example shows a fixed router ID 10.10.10.60 awplus# configure terminal awplus(config)# router ospf 100 awplus(config-router)# router-id 10.10.10.60 Related show ip ospf Commands C613-50184-01 Rev B Command Reference for AR4050S 1000 AlliedWare Plus™ Operating System - Version 5.4.7-1.x...