Allied Telesis AT-x510-28GTX Command Reference Manual

Allied Telesis AT-x510-28GTX Command Reference Manual

Stackable gigabit edge switches
Hide thumbs Also See for AT-x510-28GTX:
Table of Contents

Advertisement

x510 Series
STACKABLE GIGABIT EDGE SWITCHES
AT-x510-28GTX
AT-x510-28GPX
AT-x510-52GTX
AT-x510-52GPX
Command Reference for
AlliedWare Plus™ Version 5.4.6-1.x
C613-50102-01 REV C
AT-x510-28GSX
AT-x510-28GSX-80
AT-x510DP-28GTX
AT-x510DP-52GTX
AT-x510L-28GT
AT-x510L-28GP
AT-x510L-52GT
AT-x510L-52GP

Advertisement

Table of Contents
loading

Summary of Contents for Allied Telesis AT-x510-28GTX

  • Page 1 Series STACKABLE GIGABIT EDGE SWITCHES AT-x510-28GTX AT-x510-28GSX AT-x510L-28GT AT-x510-28GPX AT-x510-28GSX-80 AT-x510L-28GP AT-x510-52GTX AT-x510DP-28GTX AT-x510L-52GT AT-x510-52GPX AT-x510DP-52GTX AT-x510L-52GP Command Reference for AlliedWare Plus™ Version 5.4.6-1.x C613-50102-01 REV C...
  • 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

    Contents PART 1: Setup and Troubleshooting ......89 Chapter 1: CLI Navigation Commands ......90 Introduction .
  • Page 4 erase startup-config ........127 ip tftp source-interface ....... . . 128 ipv6 tftp source-interface .
  • Page 5 Chapter 4: Feature Licensing Commands ......193 Introduction ........193 license .
  • Page 6 show memory pools ........265 show memory shared ........266 show process .
  • Page 7 log console exclude ........334 log email ......... . 337 log email (filter) .
  • Page 8 vlan mode remote-mirror-vlan ......416 Chapter 13: Interface Testing Commands ......418 Introduction .
  • Page 9 storm-control level ........482 switchport port-security ....... . . 483 switchport port-security aging .
  • Page 10 clear spanning-tree statistics ......545 clear spanning-tree detected protocols (RSTP and MSTP) ... 546 debug mstp (RSTP and STP) .
  • Page 11 undebug mstp ........618 Chapter 17: Link Aggregation Commands .
  • Page 12 show gvrp machine ........683 show gvrp statistics ........684 show gvrp timer .
  • Page 13 show debugging ip dns forwarding ......753 show hosts ......... 754 show ip dns forwarding .
  • Page 14 Chapter 24: RIP Commands ........812 Introduction .
  • Page 15 distribute-list (IPv6 RIPng) ....... 872 ipv6 rip metric-offset ........873 ipv6 rip split-horizon .
  • Page 16 ip ospf hello-interval ........933 ip ospf message-digest-key ......934 ip ospf mtu .
  • Page 17 Introduction ........997 abr-type .
  • Page 18 show ipv6 ospf neighbor ....... 1077 show ipv6 ospf route ........1079 show ipv6 ospf virtual-links .
  • Page 19 ip igmp robustness-variable ......1137 ip igmp snooping ........1138 ip igmp snooping fast-leave .
  • Page 20 show ipv6 mld interface ....... . 1203 show ipv6 mld snooping mrouter ......1204 show ipv6 mld snooping statistics .
  • Page 21 ip pim register-rate-limit ....... 1261 ip pim register-rp-reachability ......1262 ip pim register-source .
  • Page 22 ipv6 pim rp-candidate ....... . . 1322 ipv6 pim rp embedded ....... . 1324 ipv6 pim rp-register-kat .
  • Page 23 PART 5: Access and Security ....... . 1382 Chapter 35: IPv4 Hardware Access Control List (ACL) Commands .
  • Page 24 ipv6 access-list extended proto ......1496 (ipv6 access-list extended IP protocol filter) ....1499 (ipv6 access-list extended TCP UDP filter) .
  • Page 25 storm-protection ........1570 storm-rate ........1571 storm-window .
  • Page 26 auth timeout reauth-period ......1652 auth timeout server-timeout ......1654 auth timeout supp-timeout .
  • Page 27 show auth statistics interface ......1720 show auth supplicant ....... . . 1721 show auth supplicant interface .
  • Page 28 radius-server timeout ....... . . 1790 server (Server Group) ....... . . 1792 show debugging radius .
  • Page 29 crypto pki export pem ....... . . 1854 crypto pki export pkcs12 ....... 1855 crypto pki import pem .
  • Page 30 show ip dhcp snooping ....... . 1914 show ip dhcp snooping acl ......1915 show ip dhcp snooping agent-option .
  • Page 31 undebug stack ........1987 Chapter 50: VRRP Commands .
  • Page 32 Chapter 52: Allied Telesis Management Framework™ (AMF) Commands ..2055 Introduction ........2055 atmf area .
  • Page 33 clear atmf links statistics ....... 2127 debug atmf ........2128 debug atmf packet .
  • Page 34 ip dhcp leasequery enable ......2226 ip dhcp option ........2227 ip dhcp pool .
  • Page 35 option (DHCPv6) ........2307 prefix-delegation pool ....... . . 2309 show counter ipv6 dhcp-client .
  • Page 36 snmp-server source-interface ......2382 snmp-server startup-trap-delay ......2383 snmp-server user .
  • Page 37 show mail ......... 2455 undebug mail .
  • Page 38 Introduction ........2518 active (trigger) .
  • Page 39 debug sflow ........2583 debug sflow agent .
  • Page 40 List of Commands (access-list extended ICMP filter) ........1432 (access-list extended IP filter).
  • Page 41 aaa authentication dot1x ..........1748 aaa authentication enable default group tacacs+ .
  • Page 42 area range............. . . 899 area stub (IPv6 OSPF) .
  • Page 43 atmf controller ............2083 atmf distribute firmware .
  • Page 44 auth guest-vlan............1626 auth host-mode .
  • Page 45 auth-web-server dhcp lease..........1682 auth-web-server dhcp-wpad-option .
  • Page 46 boot system backup ........... . . 111 boot system .
  • Page 47 clear ipv6 dhcp client ...........2284 clear ipv6 mld group.
  • Page 48 client (radsecproxy-srv) ..........1806 client name-check .
  • Page 49 crypto pki enroll local user ..........1816 crypto pki enroll local .
  • Page 50 debug ipv6 pim sparse-mode ......... . .1296 debug ipv6 rip.
  • Page 51 debug snmp............2350 debug ssh client .
  • Page 52 discovery............. . .2133 distance (IPv6 OSPF) .
  • Page 53 egress-vlan-name............1824 enable (Privileged Exec mode) .
  • Page 54 group ..............1826 gui-timeout .
  • Page 55 ip dhcp snooping............1889 ip dhcp-relay agent-option checking .
  • Page 56 ip igmp ra-option............1136 ip igmp robustness-variable .
  • Page 57 ip ospf message-digest-key ..........934 ip ospf mtu .
  • Page 58 ip pim rp-address ............1265 ip pim rp-candidate.
  • Page 59 ipv6 dhcp option ............2296 ipv6 dhcp pool .
  • Page 60 ipv6 nd prefix............775 ipv6 nd raguard .
  • Page 61 ipv6 pim register-rate-limit..........1316 ipv6 pim register-rp-reachability .
  • Page 62 license update............206 license .
  • Page 63 log console ............. . 330 log email (filter).
  • Page 64 match access-group ........... .1522 match cos .
  • Page 65 move..............131 mru .
  • Page 66 option..............2245 ospf abr-type .
  • Page 67 priority-queue ............1546 private-vlan association.
  • Page 68 repeat ..............2525 restart ipv6 ospf graceful.
  • Page 69 server (Server Group) ...........1792 server auth-port .
  • Page 70 show arp security ............1907 show arp .
  • Page 71 show auth-web-server ..........1726 show autoboot .
  • Page 72 show debugging atmf ..........2198 show debugging dot1x .
  • Page 73 show dot1x statistics interface ......... .1610 show dot1x supplicant interface .
  • Page 74 show ip access-list ............1464 show ip dhcp binding.
  • Page 75 show ip ospf database router ..........977 show ip ospf database summary .
  • Page 76 show ip source binding ..........1927 show ip traffic .
  • Page 77 show ipv6 pim sparse-mode local-members ......1337 show ipv6 pim sparse-mode mroute detail ......1341 show ipv6 pim sparse-mode mroute .
  • Page 78 show loop-protection........... . 465 show mac address-table thrash-limit .
  • Page 79 show port-security intrusion ..........478 show port-vlan-forwarding-priority .
  • Page 80 show running-config ........... . 141 show security-password configuration .
  • Page 81 show storm-control............479 show system environment .
  • Page 82 snmp-server enable trap ..........2370 snmp-server engineID local reset.
  • Page 83 spanning-tree path-cost ..........606 spanning-tree portfast (STP) .
  • Page 84 storm-downtime ............1569 storm-protection .
  • Page 85 switchport voice vlan priority ..........530 switchport voice vlan .
  • Page 86 type periodic ............2547 type ping-poll .
  • Page 87 undebug ospf nsm ............994 undebug ospf packet .
  • Page 88 vty access-class (numbered) ..........1466 vty ipv6 access-class (named) .
  • Page 89: Part 1: Setup And Troubleshooting

    Part 1: Setup and Troubleshooting C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 90: Cli Navigation Commands

    CLI Navigation Commands Introduction Overview This chapter provides an alphabetical reference for the commands used to navigate between different modes. This chapter also provides a reference for the help and show commands used to help navigate within the CLI. Command List •...
  • Page 91: Configure Terminal

    CLI N AVIGATION OMMANDS CONFIGURE TERMINAL configure terminal Overview This command enters the Global Configuration command mode. 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)#...
  • Page 92: Disable (Privileged Exec Mode)

    CLI N AVIGATION OMMANDS DISABLE RIVILEGED XEC MODE disable (Privileged Exec mode) Overview This command exits the Privileged Exec mode, returning the prompt to the User Exec mode. To end a session, use the exit command. disable Syntax Mode Privileged Exec Example To exit the Privileged Exec mode, enter the command: awplus#...
  • Page 93 CLI N AVIGATION OMMANDS Overview This command lets you to run User Exec and Privileged Exec mode commands when you are in any configuration mode. do <command> Syntax Parameter Description <command> Specify the command and its parameters. Mode Any configuration mode awplus# configure terminal Example...
  • Page 94: Enable (Privileged Exec Mode)

    CLI N AVIGATION OMMANDS ENABLE RIVILEGED XEC MODE enable (Privileged Exec mode) Overview This command enters the Privileged Exec mode and optionally changes the privilege level for a session. If a privilege level is not specified then the maximum privilege level (15) is applied to the session. If the optional privilege level is omitted then only users with the maximum privilege level can access Privileged Exec mode without providing the password as specified by the enable password...
  • Page 95 CLI N AVIGATION OMMANDS ENABLE RIVILEGED XEC MODE Privilege Exec mode. Use the enable password command or the enable secret commands to set the password to enable access to Privileged Exec mode. awplus> enable 7 awplus# Related disable (Privileged Exec mode) Commands enable password enable secret...
  • Page 96: End

    CLI N AVIGATION OMMANDS Overview This command returns the prompt to the Privileged Exec command mode from any other advanced command mode. Syntax Mode All advanced command modes, including Global Configuration and Interface Configuration modes. Example The following example shows the use of the end command to return to the Privileged Exec mode directly from Interface mode.
  • Page 97: Exit

    CLI N AVIGATION OMMANDS EXIT exit Overview This command exits the current mode, and returns the prompt to the mode at the previous level. When used in User Exec mode, the exit command terminates the session. exit Syntax Mode All command modes, including Global Configuration and Interface Configuration modes.
  • Page 98: Help

    CLI N AVIGATION OMMANDS HELP help Overview This command displays a description of the AlliedWare Plus™ OS help system. help Syntax Mode All command modes Example To display a description on how to use the system help, use the command: awplus# help Output...
  • Page 99: Logout

    CLI N AVIGATION OMMANDS LOGOUT logout Overview 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-50102-01 REV C Command Reference for x510 Series...
  • Page 100: Show History

    CLI N AVIGATION OMMANDS SHOW HISTORY show history Overview This command lists the commands entered in the current session. The history buffer is cleared automatically upon reboot. The output lists all command line entries, including commands that returned an error. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 101: File And Configuration Management Commands

    File and Configuration Management Commands Introduction This chapter provides an alphabetical reference of AlliedWare Plus™ OS file and configuration management commands. Filename Syntax Many of the commands in this chapter use the placeholder “filename” to represent and Keyword the name and location of the file that you want to act on. The following table Usage explains the syntax of the filename for each different type of file location.
  • Page 102 ILE AND ONFIGURATION ANAGEMENT OMMANDS When you copy a file... Use this syntax: Example: Copying with SFTP sftp://[[<location>]/<directory>] To specify a file in the top-level /<filename> directory of the server: sftp://10.0.0.5/example.cfg <hostname>-<stack_ID>/flash:[/][< Copying to or from To specify a file in the configs directory directory>/] stack member on member 2 of a stack named vcstack:...
  • Page 103 ILE AND ONFIGURATION ANAGEMENT OMMANDS Similarly, you can specify the USB storage device base directory with usb or usb: or usb:/ You cannot name a directory or subdirectory flash, nvs, usb, card, tftp, scp, sftp or http. These keywords are reserved for tab completion when using various file commands.
  • Page 104 ILE AND ONFIGURATION ANAGEMENT OMMANDS • “show file” on page 138 • “show file systems” on page 139 • “show running-config” on page 141 • “show running-config interface” on page 145 • “show startup-config” on page 147 • “show version” on page 148 •...
  • Page 105: Autoboot Enable

    ILE AND ONFIGURATION ANAGEMENT OMMANDS AUTOBOOT ENABLE autoboot enable Overview This command enables the device to restore a release file and/or a configuration file from external media, such as a USB storage device. When the Autoboot feature is enabled, the device looks for a special file called autoboot.txt on the external media.
  • Page 106: Boot Config-File

    ILE AND ONFIGURATION ANAGEMENT OMMANDS BOOT CONFIG FILE boot config-file Overview Use this command to set the configuration file to use during the next boot cycle. Use the no variant of this command to remove the configuration file. Syntax boot config-file <filepath-filename> no boot config-file Parameter Description...
  • Page 107 ILE AND ONFIGURATION ANAGEMENT OMMANDS BOOT CONFIG FILE To stop running the configuration file “branch.cfg” stored on the switch’s USB storage device filesystem when the device boots up, use the commands: awplus# configure terminal awplus(config)# no boot config-file usb:/branch.cfg Related boot config-file backup Commands boot system...
  • Page 108: Boot Config-File Backup

    ILE AND ONFIGURATION ANAGEMENT OMMANDS BOOT CONFIG FILE BACKUP boot config-file backup Overview Use this command to set a backup configuration file to use if the main configuration file cannot be accessed. Use the no variant of this command to remove the backup configuration file. Syntax boot config-file backup <filepath-filename>...
  • Page 109: Boot System

    ILE AND ONFIGURATION ANAGEMENT OMMANDS BOOT SYSTEM boot system Overview Use this command to set the release file to load during the next boot cycle. Use the no variant of this command to remove the release file as the boot file. Syntax boot system <filepath-filename>...
  • Page 110 ILE AND ONFIGURATION ANAGEMENT OMMANDS BOOT SYSTEM To run the release file x510-5.4.6-1.1.rel stored on the switch’s USB storage device filesystem the next time the device boots up, use the commands: awplus# configure terminal awplus(config)# boot system usb:/x510-5.4.6-1.1.rel To remove the release file x510-5.4.6-1.1.rel stored on the switch’s USB storage device filesystem the next time the device boots up, use the commands: awplus# configure terminal...
  • Page 111: Boot System Backup

    ILE AND ONFIGURATION ANAGEMENT OMMANDS BOOT SYSTEM BACKUP boot system backup Overview Use this command to set a backup release file to load if the main release file cannot be loaded. Use the no variant of this command to remove the backup release file as the backup boot file.
  • Page 112 ILE AND ONFIGURATION ANAGEMENT OMMANDS Overview This command changes the current working directory. cd <directory-name> Syntax Parameter Description <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...
  • Page 113: Copy (Filename)

    ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY FILENAME copy (filename) Overview This command copies a file. This allows you to: • copy files from your device to a remote device • copy files from a remote device to your device • copy files stored on Flash memory to or from a different memory type, such as a USB storage device •...
  • Page 114 ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY FILENAME To copy the file config.cfg into the current directory from a remote file server, and rename it to configtest.cfg, use the command: awplus# copy fserver:/config.cfg configtest.cfg To copy the file test.txt from the top level of Flash on stack member 2 to the current directory in the stack master, use the command: awplus# copy awplus-2/flash:/test.txt test.txt...
  • Page 115: Copy Current-Software

    ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY CURRENT SOFTWARE copy current-software Overview This command copies the AlliedWare Plus™ OS software that the device has booted from, to a destination file. Specify whether the destination is Flash or USB when saving the software to the local filesystem. copy current-software <destination-name>...
  • Page 116: Copy Debug

    ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY DEBUG copy debug Overview This command copies a specified debug file to a destination file. Specify whether the destination is Flash or USB when saving the software to the local filesystem. copy debug {<destination-name>|debug|flash|nvs|scp|tftp|usb} Syntax {<source-name>|debug|flash|nvs|scp|tftp|usb} Parameter...
  • Page 117: Copy Running-Config

    ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY RUNNING CONFIG copy running-config Overview This command copies the running-config to a destination file, or copies a source file into the running-config. Commands entered in the running-config do not survive a device reboot unless they are saved in a configuration file. copy <source-name>...
  • Page 118: Copy Startup-Config

    ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY STARTUP CONFIG copy startup-config Overview This command copies the startup-config script into a destination file, or alternatively copies a configuration script from a source file into the startup-config file. Specify whether the destination is Flash or USB when loading from the local filesystem.
  • Page 119: Copy Zmodem

    ILE AND ONFIGURATION ANAGEMENT OMMANDS COPY ZMODEM copy zmodem Overview This command allows you to copy files using ZMODEM using Minicom. ZMODEM works over a serial connection and does not need any interfaces configured to do a file transfer. copy <source-name> zmodem Syntax copy zmodem Parameter...
  • Page 120: Create Autoboot

    ILE AND ONFIGURATION ANAGEMENT OMMANDS CREATE AUTOBOOT create autoboot Use this command to create an autoboot.txt file on external media. This Overview command will automatically ensure that the keys and values that are expected in this file are correct. After the file is created the create autoboot command will copy the current release and configuration files across to the external media.
  • Page 121: Delete

    ILE AND ONFIGURATION ANAGEMENT OMMANDS DELETE delete Overview This command deletes files or directories. delete [force] [recursive] <filename> Syntax Parameter Description force Ignore nonexistent filenames and never prompt before deletion. recursive Remove the contents of directories recursively. <filename> The filename and path of the file to delete. See Introduction on page 101 for valid syntax.
  • Page 122: Delete Debug

    ILE AND ONFIGURATION ANAGEMENT OMMANDS DELETE DEBUG delete debug Overview Use this command to delete a specified debug output file. delete debug <source-name> Syntax Parameter Description <source-name> The filename and path where the debug output originates. Introduction on page 101 for valid URL syntax. Mode Privileged Exec Example...
  • Page 123: Dir

    ILE AND ONFIGURATION ANAGEMENT OMMANDS Overview This command lists the files on a filesystem. If no directory or file is specified then this command lists the files in the current working directory. dir [all] [recursive] [sort [reverse] [name|size|time]] Syntax [<filename>|debug|flash|nvs|usb] Parameter Description List all files.
  • Page 124 ILE AND ONFIGURATION ANAGEMENT OMMANDS To list all the files in the root of the Flash filesystem, use the command: awplus# dir all flash: To list recursively the files in the Flash filesystem, use the command: awplus# dir recursive flash: To list the files in alphabetical order, use the command: awplus# dir sort name...
  • Page 125: Edit

    ILE AND ONFIGURATION ANAGEMENT OMMANDS EDIT edit Overview This command opens a text file in the AlliedWare Plus™ text editor. Once opened you can use the editor to alter to the file. If a filename is specified and it already exists, then the editor opens it in the text editor.
  • Page 126: Edit (Filename)

    ILE AND ONFIGURATION ANAGEMENT OMMANDS EDIT FILENAME edit (filename) Overview This command opens a remote text file as read-only in the AlliedWare Plus™ text editor. Before starting the editor make sure your terminal, terminal emulation program, or Telnet client is 100% compatible with a VT100 terminal. The editor uses VT100 control sequences to display text on the terminal.
  • Page 127: Erase Startup-Config

    ILE AND ONFIGURATION ANAGEMENT OMMANDS ERASE STARTUP CONFIG erase startup-config Overview This command deletes the file that is set as the startup-config file, which is the configuration file that the system runs when it boots up. At the next restart, the device loads the default configuration file, default.cfg. If default.cfg no longer exists, then the device loads with the factory default configuration.
  • Page 128: Ip Tftp Source-Interface

    ILE AND ONFIGURATION ANAGEMENT OMMANDS IP TFTP SOURCE INTERFACE ip tftp source-interface Overview Use this command to manually specify the IP address that all TFTP requests originate from. This is useful in network configurations where TFTP servers only accept requests from certain devices, or where the server cannot dynamically determine the source of the request.
  • Page 129: Ipv6 Tftp Source-Interface

    ILE AND ONFIGURATION ANAGEMENT OMMANDS TFTP SOURCE INTERFACE ipv6 tftp source-interface Overview Use this command to manually specify the IPv6 address that all TFTP requests originate from. This is useful in network configurations where TFTP servers only accept requests from certain devices, or where the server cannot dynamically determine the source of the request.
  • Page 130: Mkdir

    ILE AND ONFIGURATION ANAGEMENT OMMANDS MKDIR mkdir Overview This command makes a new directory. mkdir <name> Syntax Parameter Description <name> The name and path of the directory that you are creating. Mode Privileged Exec Usage You cannot name a directory or subdirectory flash, nvs, usb, card, tftp, scp, sftp or http.
  • Page 131: Move

    ILE AND ONFIGURATION ANAGEMENT OMMANDS MOVE move Overview This command renames or moves a file. move <source-name> <destination-name> Syntax Parameter Description <source-name> The filename and path of the source file. See Introduction on page 101 for valid syntax. <destination-name> The filename and path of the destination file. See Introduction on page 101 for valid syntax.
  • Page 132: Move Debug

    ILE AND ONFIGURATION ANAGEMENT OMMANDS MOVE DEBUG move debug Overview This command moves a specified debug file to a destination debug file. move debug {<destination-name>|debug|flash|nvs|usb} Syntax Parameter Description <destination-name> The filename and path where you would like the debug output moved to. See Introduction on page 101 for valid syntax.
  • Page 133: Pwd

    ILE AND ONFIGURATION ANAGEMENT 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 134: Rmdir

    ILE AND ONFIGURATION ANAGEMENT OMMANDS RMDIR rmdir Overview This command removes a directory. This command only works on empty directories, unless you specify the optional force keyword. rmdir [force] <name> Syntax Parameter Description force Optional keyword that allows you to delete directories that are not empty and contain files or subdirectories.
  • Page 135: Show Autoboot

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW AUTOBOOT show autoboot Overview This command displays the Autoboot configuration and status. show autoboot Syntax Mode Privileged Exec Example To show the Autoboot configuration and status, use the command: awplus# show autoboot Output Figure 2-6: Example output from the show autoboot command awplus#show autoboot...
  • Page 136: Show Boot

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW BOOT show boot Overview This command displays the current boot configuration. We recommend that the currently running release is set as the current boot image. show boot Syntax Mode Privileged Exec Example To show the current boot configuration, use the command: awplus# show boot Output...
  • Page 137 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW BOOT Table 1: Parameters in the output of the show boot command (cont.) Parameter Description Backup boot config The configuration file to use during the next boot cycle if the main configuration file cannot be loaded. Autoboot status The status of the Autoboot feature;...
  • Page 138: Show File

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW FILE show file Overview This command displays the contents of a specified file. show file <filename> Syntax Parameter Description <filename> Name of a file on the local Flash filesystem, or name and directory path of a file. Mode Privileged Exec To display the contents of the file oldconfig.cfg, which is in the current...
  • Page 139: Show File Systems

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW FILE SYSTEMS show file systems Overview This command lists the filesystems and their utilization information where appropriate. show file systems Syntax Mode Privileged Exec Examples To display the filesystems, use the command: awplus# show file systems Output Figure 2-9: Example output from the show file systems command...
  • Page 140 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW FILE SYSTEMS Table 2: Parameters in the output of the show file systems command (cont.) Parameter Description Prefixes The prefixes used when entering commands to access the filesystems; one of: flash system tftp sftp http.
  • Page 141: Show Running-Config

    Antivirus configuration application Application configuration as-path Autonomous system path filter configuration as-path access-list Configuration of ACLs for AS path filtering atmf Allied Telesis Management Framework configuration Border Gateway Protocol (BGP) configuration community-list Community-list configuration crypto Security-specific configuration dhcp DHCP configuration...
  • Page 142 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW RUNNING CONFIG Parameter Description entity Entity configuration firewall Firewall configuration interface Interface configuration. See show running-config interface for further options. Internet Protocol (IP) configuration ip pim dense-mode PIM-DM configuration ip pim sparse-mode PIM-SM configuration ip route IP static route configuration ip-reputation...
  • Page 143 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW RUNNING CONFIG Parameter Description security-password Strong password security configuration snmp SNMP configuration Secure Shell configuration switch Switch configuration web-control Web Control configuration full Display the running-config for all features. This is the default setting, so is the same as entering show running-config.
  • Page 144 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW RUNNING CONFIG ! switch 1 provision x510-28 ! vlan database vlan 2-15 state enable ! interface port1.0.1-1.0.6 switchport switchport mode access ! interface port1.0.25-1.0.26 switchport switchport mode access switchport access vlan 14 ! interface vlan1 ip address 192.168.1.1/24...
  • Page 145: Show Running-Config Interface

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW RUNNING CONFIG INTERFACE show running-config interface Overview This command displays the current configuration of one or more interfaces on the device. show running-config interface [<interface-list>] [dot1x|ip Syntax igmp|ip multicast|ip pim dense-mode|ip pim sparse-mode|ipv6 rip|lacp|mstp|ospf|rip|rstp|stp] Parameter Description <interface-list>...
  • Page 146 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW RUNNING CONFIG INTERFACE Parameter Description rstp Displays running configuration for RSTP (Rapid Spanning Tree Protocol) for the specified interfaces. Displays running configuration for STP (Spanning Tree Protocol) for the specified interfaces. Mode Privileged Exec and Global Configuration Default Displays information for all protocols on all interfaces Examples...
  • Page 147: Show Startup-Config

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW STARTUP CONFIG show startup-config Overview This command displays the contents of the start-up configuration file, which is the file that the device runs on start-up. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 148: Show Version

    ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW VERSION show version Overview This command displays the version number and copyright details of the current AlliedWare Plus™ OS your device is running. show version Syntax Mode User Exec and Privileged Exec Example To display the version details of your currently installed software, use the command: awplus# show version...
  • Page 149 ILE AND ONFIGURATION ANAGEMENT OMMANDS SHOW VERSION Corosync Cluster Engine  Copyright (c) 2002-2004 MontaVista Software, Inc. All rights reserved.  Copyright (c) 2005-2010 Red Hat, Inc. File Utility Library  Copyright (c) Ian F. Darwin 1986-1987, 1989-1992, 1994-1995.  Software written by Ian F.
  • Page 150: Write File

    ILE AND ONFIGURATION ANAGEMENT OMMANDS WRITE FILE write file Overview This command copies the running-config into the file that is set as the current startup-config file. This command is a synonym of the write memory and copy running-config startup-config commands. write [file] Syntax Mode...
  • Page 151: Write Memory

    ILE AND ONFIGURATION ANAGEMENT OMMANDS WRITE MEMORY write memory Overview This command copies the running-config into the file that is set as the current startup-config file. This command is a synonym of the write file and copy running-config startup-config commands. write [memory] Syntax Mode...
  • Page 152: Write Terminal

    ILE AND ONFIGURATION ANAGEMENT OMMANDS WRITE TERMINAL write terminal Overview This command displays the current configuration of the device. This command is a synonym of the show running-config command. write terminal Syntax Mode Privileged Exec Example To display the current configuration of your device, use the command: awplus# write terminal Related...
  • Page 153: User Access Commands

    User Access Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure user access. Command List • “clear line console” on page 155 • “clear line vty” on page 156 • “enable password” on page 157 •...
  • Page 154 CCESS OMMANDS • “show privilege” on page 182 • “show security-password configuration” on page 183 • “show security-password user” on page 184 • “show telnet” on page 185 • “show users” on page 186 • “telnet” on page 187 • “telnet server”...
  • Page 155: Clear Line Console

    CCESS OMMANDS CLEAR LINE CONSOLE clear line console Overview This command resets a console line. If a terminal session exists on the line then the terminal session is terminated. If console line settings have changed then the new settings are applied. clear line console 0 Syntax Mode...
  • Page 156: Clear Line Vty

    CCESS OMMANDS CLEAR LINE VTY clear line vty Overview This command resets a VTY line. If a session exists on the line then it is closed. clear line vty <0-32> Syntax Parameter Description <0-32> Line number Mode Privileged Exec Example To reset the first vty line, use the command: awplus# clear line vty 1...
  • Page 157: Enable Password

    CCESS OMMANDS ENABLE PASSWORD enable password Overview To set a local password to control access to various privilege levels, use the enable password Global Configuration command. Use the enable password command to modify or create a password to be used, and use the no enable password command to remove the password.
  • Page 158 CCESS OMMANDS ENABLE PASSWORD the commands in User Exec mode, but not any configuration commands in Privileged Exec mode. Note that the enable password command is an alias for the enable secret command and one password per privilege level is allowed using these commands. Do not assign one password to a privilege level with enable password and another...
  • Page 159 CCESS OMMANDS ENABLE PASSWORD password. It is not required to use the service password-encryption command for this method. The output in the configuration file will show only the encrypted string, and not the text string. awplus# configure terminal awplus(config)# enable password 8 fU7zHzuutY2SA awplus(config)# This results in the following show output: awplus#show run...
  • Page 160: Enable Secret

    CCESS OMMANDS ENABLE SECRET enable secret Overview To set a local password to control access to various privilege levels, use the enable secret Global Configuration command. Use the enable secret command to modify or create a password to be used, and use the no enable secret command to remove the password.
  • Page 161 CCESS OMMANDS ENABLE SECRET the commands in User Exec mode, but not any configuration commands in Privileged Exec mode. Note that the enable secret command is an alias for the enable password command and one password per privilege level is allowed using these commands. Do not assign one password to a privilege level with enable password and another...
  • Page 162 CCESS OMMANDS ENABLE SECRET is not required to use the service password-encryption command for this method. The output in the configuration file will show only the encrypted string, and not the text string: awplus# configure terminal awplus(config)# enable secret 8 fU7zHzuutY2SA awplus(config)# This results in the following show output: awplus#show run...
  • Page 163: Exec-Timeout

    CCESS OMMANDS EXEC TIMEOUT exec-timeout Overview This command sets the interval your device waits for user input from either a console or VTY connection. Once the timeout interval is reached, the connection is dropped. This command sets the time limit when the console or VTY connection automatically logs off after no activity.
  • Page 164 CCESS OMMANDS EXEC TIMEOUT Related line Commands service telnet C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 165: Flowcontrol Hardware (Asyn/Console)

    CCESS OMMANDS FLOWCONTROL HARDWARE ASYN CONSOLE flowcontrol hardware (asyn/console) Overview Use this command to enable RTS/CTS (Ready To Send/Clear To Send) hardware flow control on a terminal console line (asyn port) between the DTE (Data Terminal Equipment) and the DCE (Data Communications Equipment). flowcontrol hardware Syntax no flowcontrol hardware...
  • Page 166 CCESS OMMANDS FLOWCONTROL HARDWARE ASYN CONSOLE Examples To enable hardware flow control on terminal console line asyn0, use the commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# flowcontrol hardware To disable hardware flow control on terminal console line asyn0, use the commands: awplus# configure terminal...
  • Page 167: Length (Asyn)

    CCESS OMMANDS LENGTH ASYN length (asyn) Overview Use this command to specify the number of rows of output that the device will display before pausing, for the console or VTY line that you are configuring. The no variant of this command restores the length of a line (terminal session) attached to a console port or to a VTY to its default length of 22 rows.
  • Page 168: Line

    CCESS OMMANDS LINE line Overview Use this command to enter line configuration mode for the specified VTYs or the console. The command prompt changes to show that the device is in Line Configuration mode. line vty <first-line> [<last-line>] Syntax line console 0 Parameter Description <first-line>...
  • Page 169 CCESS OMMANDS LINE To enter Line Configuration mode to configure the console (asyn 0) port terminal line, use the commands: awplus# configure terminal awplus(config)# line console 0 awplus(config-line)# Related accounting login Commands clear line console clear line vty flowcontrol hardware (asyn/console) length (asyn) login authentication privilege level...
  • Page 170: Privilege Level

    CCESS OMMANDS PRIVILEGE LEVEL privilege level Overview This command sets a privilege level for VTY or console connections. The configured privilege level from this command overrides a specific user’s initial privilege level at the console login. privilege level <1-15> Syntax Mode Line Configuration Usage...
  • Page 171: Security-Password History

    CCESS OMMANDS SECURITY PASSWORD HISTORY security-password history Overview This command specifies the number of previous passwords that are unable to be reused. A new password is invalid if it matches a password retained in the password history. The no variant of the command disables this feature. Syntax security-password history <0-15>...
  • Page 172: Security-Password Forced-Change

    CCESS OMMANDS SECURITY PASSWORD FORCED CHANGE security-password forced-change Overview This command specifies whether or not a user is forced to change an expired password at the next login. If this feature is enabled, users whose passwords have expired are forced to change to a password that must comply with the current password security rules at the next login.
  • Page 173: Security-Password Lifetime

    CCESS OMMANDS SECURITY PASSWORD LIFETIME security-password lifetime Overview This command enables password expiry by specifying a password lifetime in days. Note that when the password lifetime feature is disabled, it also disables the security-password forced-change command and the security-password warning command.
  • Page 174: Security-Password Minimum-Categories

    CCESS OMMANDS SECURITY PASSWORD MINIMUM CATEGORIES security-password minimum-categories Overview This command specifies the minimum number of categories that the password must contain in order to be considered valid. The password categories are: • uppercase letters: A to Z • lowercase letters: a to z •...
  • Page 175: Security-Password Minimum-Length

    CCESS OMMANDS SECURITY PASSWORD MINIMUM LENGTH security-password minimum-length Overview This command specifies the minimum allowable password length. This value is checked against when there is a password change or a user account is created. security-password minimum-length <1-23> Syntax Parameter Description <1-23>...
  • Page 176: Security-Password Reject-Expired-Pwd

    CCESS OMMANDS SECURITY PASSWORD REJECT EXPIRED security-password reject-expired-pwd Overview This command specifies whether or not a user is allowed to login with an expired password. Users with expired passwords are rejected at login if this functionality is enabled. Users then have to contact the Network Administrator to change their password.
  • Page 177: Security-Password Warning

    CCESS OMMANDS SECURITY PASSWORD WARNING security-password warning Overview This command specifies the number of days before the password expires that the user will receive a warning message specifying the remaining lifetime of the password. Note that the warning period cannot be set unless the lifetime feature is enabled with the security-password lifetime command.
  • Page 178: Service Advanced-Vty

    CCESS OMMANDS SERVICE ADVANCED service advanced-vty Overview This command enables the advanced-vty help feature. This allows you to use TAB completion for commands. Where multiple options are possible, the help feature displays the possible options. The no service advanced-vty command disables the advanced-vty help feature. Syntax service advanced-vty no service advanced-vty...
  • Page 179: Service Password-Encryption

    CCESS OMMANDS SERVICE PASSWORD ENCRYPTION service password-encryption Overview Use this command to enable password encryption. This is enabled by default. When password encryption is enabled, the device displays passwords in the running config in encrypted form instead of in plain text. Use the no service password-encryption command to stop the device from displaying newly-entered passwords in encrypted form.
  • Page 180: Service Telnet

    CCESS OMMANDS SERVICE TELNET service telnet Overview Use this command to enable the telnet server. The server is enabled by default. Enabling the telnet server starts the device listening for incoming telnet sessions on the configured port. The server listens on port 23, unless you have changed the port by using the privilege level command.
  • Page 181: 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 182: Show Privilege

    CCESS OMMANDS SHOW PRIVILEGE show privilege Overview This command displays the current user privilege level, which can be any privilege level in the range <1-15>. Privilege levels <1-6> allow limited user access (all User Exec commands), privilege levels <7-14> allow restricted user access (all User Exec commands plus Privileged Exec show commands).
  • Page 183: Show Security-Password Configuration

    CCESS OMMANDS SHOW SECURITY PASSWORD CONFIGURATION show security-password configuration Overview This command displays the configuration settings for the various security password rules. show security-password configuration Syntax Mode Privileged Exec Example To display the current security-password rule configuration settings, use the command: awplus# show security-password configuration...
  • Page 184: Show Security-Password User

    CCESS OMMANDS SHOW SECURITY PASSWORD USER show security-password user Overview This command displays user account and password information for all users. show security-password user Syntax Mode Privileged Exec Example To display the system users’ remaining lifetime or last password change, use the command: awplus# show security-password user...
  • Page 185: Show Telnet

    CCESS OMMANDS SHOW TELNET show telnet Overview This command shows the Telnet server settings. show telnet Syntax Mode User Exec and Privileged Exec Example To show the Telnet server settings, use the command: awplus# show telnet Output Figure 3-4: Example output from the show telnet command Telnet Server Configuration...
  • Page 186: Show Users

    CCESS OMMANDS SHOW USERS show users Overview This command shows information about the users who are currently logged into the device. show users Syntax Mode User Exec and Privileged Exec Example To show the users currently connected to the device, use the command: awplus# show users Output...
  • Page 187: Telnet

    CCESS OMMANDS TELNET telnet Overview Use this command to open a telnet session to a remote device. telnet {<hostname>|[ip] <ipv4-addr>|[ipv6] <ipv6-addr>} Syntax [<port>] Parameter Description <hostname> The host name of the remote system. Keyword used to specify the IPv4 address or host name of a remote system.
  • Page 188: Telnet Server

    CCESS OMMANDS TELNET SERVER telnet server Overview This command enables the telnet server on the specified TCP port. If the server is already enabled then it will be restarted on the new port. Changing the port number does not affect the port used by existing sessions. telnet server {<1-65535>|default} Syntax Parameter...
  • Page 189: Terminal Length

    CCESS OMMANDS TERMINAL LENGTH terminal length Overview Use the terminal length command to specify the number of rows of output that the device will display before pausing, for the currently-active terminal only. Use the terminal no length command to remove the length specified by this command.
  • Page 190: Terminal Resize

    CCESS OMMANDS TERMINAL RESIZE terminal resize Overview Use this command to automatically adjust the number of rows of output on the console, which the device will display before pausing, to the number of rows configured on the user’s terminal. terminal resize Syntax Mode User Exec and Privileged Exec...
  • Page 191: Username

    CCESS OMMANDS USERNAME username Overview This command creates or modifies a user to assign a privilege level and a password. : The default username privilege level of 1 is not shown in running-config output. NOTE Any username privilege level that has been modified from the default is shown. Syntax username <name>...
  • Page 192 CCESS OMMANDS USERNAME Usage An intermediate CLI security level (privilege level 7 to privilege level 14) allows a CLI user access to the majority of show commands, including the platform show commands that are available at privilege level 1 to privilege level 6. Note that some show commands, such as show running-configuration and show startup-configuration, are only available at privilege level 15.
  • Page 193: Feature Licensing Commands

    To see which Feature Licenses are available for your device, see the AlliedWare Plus Datasheet. With Software Version 5.4.6-1.x and later, new installations of Allied Telesis Management Framework (AMF) require a Subscription License instead of a Feature License. For information about Subscription Licensing commands, see the Subscription Licensing Commands chapter.
  • Page 194: License

    EATURE ICENSING OMMANDS LICENSE license Overview This command activates the licensed software feature set on a standalone switch, or a stack of switches. Use the no variant of this command to deactivate the licensed software feature set on a standalone switch, or a stack of switches. For feature licenses, contact your authorized distributor or reseller.
  • Page 195 EATURE ICENSING OMMANDS LICENSE If you add a feature license you will be prompted at the console that the feature needs to restart. For example, if the feature license contains a license for the EPSR protocol, then that protocol will restart, but you do not need to manually restart the whole device for the new license to take effect.
  • Page 196: Show License

    EATURE ICENSING OMMANDS SHOW LICENSE show license Overview This command displays information about a specific software feature license, or all enabled software feature licenses on the device. show license [feature] [<label>|index <index-number>] Syntax Parameter Description feature Only display license information for any applied feature licenses. <label>...
  • Page 197 EATURE ICENSING OMMANDS SHOW LICENSE Table 4-1: Parameters in the output of show license Parameter Description Board region Name of the region for the Base License features. Index Index identifying entry. The index is assigned automatically by the software. It is not configured. License name Name of the license key bundle (case-sensitive).
  • Page 198: Show License Brief

    EATURE ICENSING OMMANDS SHOW LICENSE BRIEF show license brief Overview This command displays information about a specific software feature license, or all enabled software feature licenses on the device. show license [feature] [<label>|index <index-number>] brief Syntax Parameter Description feature Only display license information for any applied feature licenses. <label>...
  • Page 199 EATURE ICENSING OMMANDS SHOW LICENSE BRIEF Table 4-2: Parameters in the output of show license brief Parameter Description Board region Name of the region for the Base License features. Index Index identifying entry. The index is assigned automatically by the software. It is not configured. License name Name of the license key bundle (case-sensitive).
  • Page 200: Show License Brief Member

    EATURE ICENSING OMMANDS SHOW LICENSE BRIEF MEMBER show license brief member Overview Use this command to display information about either a specific software license, or all software feature licenses enabled on either a specific stack member or all stack members. show license [<label>] brief member [<1-8>|all] Syntax Parameter...
  • Page 201 EATURE ICENSING OMMANDS SHOW LICENSE BRIEF MEMBER Table 4-3: Parameters in the output of show license brief member Parameter Description Board region Name of the region for the Base License features. Index Index identifying entry. The index is assigned automatically by the software. It is not configured. License name Name of the license key bundle (case-sensitive).
  • Page 202: Show License Member

    EATURE ICENSING OMMANDS SHOW LICENSE MEMBER show license member Overview Use this command to display information about either a specific software license, or all software feature licenses enabled on either a specific stack member or all stack members. show license [<label>] member [<1-8>|all] Syntax Parameter Description...
  • Page 203 EATURE ICENSING OMMANDS SHOW LICENSE MEMBER Output Figure 4-5: Example output from show license member awplus#show license member all Board region: Global Software Feature Licenses ------------------------------------------------------------------------ Index : 1 License name : Base License Customer name : Base License Quantity of licenses : 1...
  • Page 204: Subscription Licensing Commands

    Licensing commands. 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 which AMF subscriptions are available for your device, see the AlliedWare Plus Datasheet.
  • Page 205: License Redistribute

    If you are replacing that stack member, in the Allied Telesis Download center, transfer the license to another stack member’s serial number. Download the CRF file: from the Download Central Homepage, locate your device type by clicking Search Devices from the Devices menu on the left.
  • Page 206: License Update

    URL of file location on the device. Mode Privileged Exec Usage Subscription licenses can be loaded onto the device from the Allied Telesis Download Center. Examples To load a license onto a device from a file called “license_file.bin”, use the following command: awplus#license update license_file.bin...
  • Page 207: Show License External

    UBSCRIPTION ICENSING OMMANDS SHOW LICENSE EXTERNAL show license external Overview Use this command to show information about subscription (external) licenses. For products with stacking, additional information may be displayed to indicate the source of the current feature entitlements. If this information indicates that a device is “NOT PRESENT”, you need to take action as described in the warning in the output.
  • Page 208 Upon reboot  these entitlements will be lost. To avoid loss of functionality  re-connect the device to the stack, or transfer the license to another  stack member using the RMA feature on the Allied Telesis Download Center website. ...
  • Page 209: Gui Commands

    GUI Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure the GUI. For more information, see the Getting Started with Alliedware Plus Command List • “atmf topology-gui enable” on page 210 • “gui-timeout” on page 211 •...
  • Page 210: Atmf Topology-Gui Enable

    GUI C OMMANDS ATMF TOPOLOGY GUI ENABLE atmf topology-gui enable Overview Use this command to enable the operation of AMF Vista Manager on the Master device. Use the no variant of this command to disable this feature. Syntax atmf topology-gui enable no atmf topology-gui enable Default By default the GUI support will not be enabled on AMF Master devices.
  • Page 211: Gui-Timeout

    GUI C OMMANDS TIMEOUT gui-timeout Overview Use this command to configure an idle timeout period for a GUI session. The time can be set in minutes and/or seconds. Use the no variant of this command to disable the GUI session idle timeout. Syntax gui-timeout <minutes>...
  • Page 212 GUI C OMMANDS TIMEOUT Related show running-config Commands C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 213: Log Event-Host

    GUI C OMMANDS LOG EVENT HOST log event-host Overview Use this command to set up an external host to log AMF topology events through Vista Manager. This command is run on the Master device. Use the no variant of this command to disable log events through Vista Manager. Syntax log event-host [<ipv4-addr>|<ipv6-addr>] atmf-topology-event no log event-host [<ipv4-addr>|<ipv6-addr>] atmf-topology-event...
  • Page 214: Service Http

    GUI C OMMANDS SERVICE HTTP service http Overview Use this command to enable the HTTP (Hypertext Transfer Protocol) service. This service, which is enabled by default, is required to support the AlliedWare Plus™ GUI Java applet on a Java enabled browser. Use the no variant of this command to disable the HTTP feature.
  • Page 215: Show Http

    GUI C OMMANDS SHOW HTTP show http Overview This command shows the HTTP server settings. show http Syntax Mode User Exec and Privileged Exec Example To show the HTTP server settings, use the command: awplus# show http Output Figure 6-2: Example output from the show http command awplus#show http...
  • Page 216: System Configuration And Monitoring Commands

    System Configuration and Monitoring Commands Introduction Overview This chapter provides an alphabetical reference of commands for configuring and monitoring the system. Command List • “banner exec” on page 218 • “banner login (system)” on page 220 • “banner motd” on page 222 •...
  • Page 217 YSTEM ONFIGURATION AND ONITORING OMMANDS • “show cpu” on page 248 • “show cpu history” on page 251 • “show debugging” on page 254 • “show ecofriendly” on page 255 • “show interface memory” on page 257 • “show memory” on page 259 •...
  • Page 218: Banner Exec

    YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER EXEC banner exec Overview This command configures the User Exec mode banner that is displayed on the console after you login. The banner exec default command restores the User Exec banner to the default banner. Use the no banner exec command to disable the User Exec banner and remove the default User Exec banner.
  • Page 219 YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER EXEC awplus#configure terminal  awplus(config)#banner exec default  awplus(config)#exit  awplus#exit awplus login: manager  Password:  AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59  awplus> To remove the User Exec mode banner after login, enter the following commands: awplus#configure terminal...
  • Page 220: Banner Login (System)

    YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER LOGIN SYSTEM banner login (system) Overview This command configures the login banner that is displayed on the console when you login. The login banner is displayed on all connected terminals. The login banner is displayed after the MOTD (Message-of-the-Day) banner and before the login username and password prompts.
  • Page 221: Banner Motd

    YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER LOGIN SYSTEM awplus#configure terminal  awplus(config)#no banner login  awplus(config)#exit  awplus#exit  awplus login: manager  Password:  AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59  awplus> Related banner exec Commands banner motd C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 222: Banner Motd

    YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER MOTD banner motd Overview Use this command to create or edit the text MotD (Message-of-the-Day) banner displayed before login. The MotD banner is displayed on all connected terminals. The MotD banner is useful for sending messages that affect all network users, for example, any imminent system shutdowns.
  • Page 223 YSTEM ONFIGURATION AND ONITORING OMMANDS BANNER MOTD awplus>enable  awplus#configure terminal  awplus(config)#no banner motd  awplus(config)#exit  awplus#exit  awplus login: manager  Password:  AlliedWare Plus (TM) 5.4.6-1 09/30/16 13:03:59  awplus> Related banner exec Commands banner login (system) C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 224: Clock Set

    YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK SET clock set Overview This command sets the time and date for the system clock.  clock set <hh:mm:ss> <day> <month> Syntax <year> Parameter Description <hh:mm:ss> Local time in 24-hour format <day> Day of the current month, from 1 to 31 <month>...
  • Page 225: Clock Summer-Time Date

    YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK SUMMER TIME DATE clock summer-time date Overview This command defines the start and end of summertime for a specific year only, and specifies summertime’s offset value to Standard Time for that year. The no variant of this command removes the device’s summertime setting. This clears both specific summertime dates and recurring dates (set with the clock summer-time recurring...
  • Page 226 YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK SUMMER TIME DATE Related clock summer-time recurring Commands clock timezone C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 227: Clock Summer-Time Recurring

    YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK SUMMER TIME RECURRING clock summer-time recurring Overview This command defines the start and end of summertime for every year, and specifies summertime’s offset value to Standard Time. The no variant of this command removes the device’s summertime setting. This clears both specific summertime dates (set with the clock summer-time date command) and recurring dates.
  • Page 228 YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK SUMMER TIME RECURRING Mode Global Configuration Examples To set a summertime definition for New Zealand using NZST (UTC+12:00) as the standard time, and NZDT (UTC+13:00) as summertime, with summertime set to start on the last Sunday in September, and end on the 1st Sunday in April, use the command: awplus(config)# clock summer-time NZDT recurring 5 sun sep 2:00...
  • Page 229: Clock Timezone

    YSTEM ONFIGURATION AND ONITORING OMMANDS CLOCK TIMEZONE clock timezone Overview This command defines the device’s clock timezone. The timezone is set as a offset to the UTC. The no variant of this command resets the system time to UTC. By default, the system time is set to UTC. clock timezone <timezone-name>...
  • Page 230: Continuous-Reboot-Prevention

    YSTEM ONFIGURATION AND ONITORING OMMANDS CONTINUOUS REBOOT PREVENTION continuous-reboot-prevention Overview Use this command to enable and to configure the continuous reboot prevention feature. Continuous reboot prevention allows the user to configure the time period during which reboot events are counted, the maximum number of times the switch can reboot within the specified time period, referred to as the threshold, and the action to take if the threshold is exceeded.
  • Page 231 YSTEM ONFIGURATION AND ONITORING OMMANDS CONTINUOUS REBOOT PREVENTION Examples To enable continuous reboot prevention, use the commands: awplus# configure terminal awplus(config)# continuous-reboot-prevention enable To set the period to 500 and action to stopreboot, use the commands: awplus# configure terminal awplus(config)# continuous-reboot-prevention period 500 action stopreboot To return the period and action to the defaults and keep the continuous reboot...
  • Page 232: Ecofriendly Led

    YSTEM ONFIGURATION AND ONITORING OMMANDS ECOFRIENDLY LED ecofriendly led Overview Use this command to enable the eco-friendly LED (Light Emitting Diode) feature, which turns off power to the port LEDs, including the stack port status LEDs. Power to the system status and stack management LEDs is not disabled. Use the no variant of this command to disable the eco-friendly LED feature.
  • Page 233: Ecofriendly Lpi

    YSTEM ONFIGURATION AND ONITORING OMMANDS ECOFRIENDLY LPI ecofriendly lpi Use this command to conserve power by enabling the eco-friendly LPI (Low Power Idle) feature. This feature reduces the power supplied to the ports by the switch whenever the ports are idle and are connected to IEEE 802.3az Energy Efficient Ethernet compliant host devices.
  • Page 234 YSTEM ONFIGURATION AND ONITORING OMMANDS ECOFRIENDLY LPI To disable the eco-friendly feature on a range of switch ports, port1.0.2-port1.0.4, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.2-port1.0.4 awplus(config-if)# no ecofriendly lpi Related duplex Commands ecofriendly led show ecofriendly show interface speed C613-50102-01 REV C...
  • Page 235: Findme

    YSTEM ONFIGURATION AND ONITORING OMMANDS FINDME findme Overview Use this command to physically locate a specific device from a group of similar devices. Activating the command causes a selected number of port LEDs to alternately flash green then amber (if that device has amber LEDs) at a rate of 1 Hz. Use the no variant of this command to deactivate the Find Me feature prior to the timeout expiring.
  • Page 236 YSTEM ONFIGURATION AND ONITORING OMMANDS FINDME To activate the Find Me feature for the default duration (60 seconds) on switch port interfaces port1.0.2 through port1.0.4, use the following command: awplus# findme interface port1.0.2-1.0.4 In the example above, ports 2 to 4 will flash 4 times and then all ports will flash twice.
  • Page 237: Findme Trigger

    YSTEM ONFIGURATION AND ONITORING OMMANDS FINDME TRIGGER findme trigger Overview When this command is enabled, the LED flashing functionality of the find-me command is applied whenever any or all of the selected parameter conditions is detected. Use the no variant to remove the findme trigger function for the selected parameter.
  • Page 238: Hostname

    YSTEM ONFIGURATION AND ONITORING OMMANDS HOSTNAME hostname Overview This command sets the name applied to the device as shown at the prompt. The hostname is: • displayed in the output of the show system command • displayed in the CLI prompt so you know which device you are configuring •...
  • Page 239 YSTEM ONFIGURATION AND ONITORING OMMANDS HOSTNAME To set the system name to HQ-Sales, use the command: Example awplus# configure terminal awplus(config)# hostname HQ-Sales This changes the prompt to: HQ-Sales(config)# To revert to the default hostname awplus, use the command: HQ-Sales(config)# no hostname This changes the prompt to: awplus(config)#...
  • Page 240: Max-Fib-Routes

    YSTEM ONFIGURATION AND ONITORING OMMANDS ROUTES max-fib-routes Overview This command enables you to control the maximum number of FIB routes configured. It operates by providing parameters that enable you to configure preset maximums and warning message thresholds. The operation of these parameters is explained in the Parameter / Description table shown below.
  • Page 241: Max-Static-Routes

    YSTEM ONFIGURATION AND ONITORING OMMANDS STATIC ROUTES max-static-routes Overview Use this command to set the maximum number of static routes, excluding FIB (Forwarding Information Base) routes. : For FIB routes use the max-fib-routes command. NOTE Use the no variant of this command to set the maximum number of static routes to the default of 1000 static routes.
  • Page 242: No Debug All

    YSTEM ONFIGURATION AND ONITORING OMMANDS NO DEBUG ALL no debug all Overview This command disables the debugging facility for all features on your device. This stops the device from generating any diagnostic debugging messages. The debugging facility is disabled by default. Syntax no debug all [ipv6|dot1x|nsm|ospf|vrrp] Parameter...
  • Page 243: Reboot

    YSTEM ONFIGURATION AND ONITORING OMMANDS REBOOT reboot Overview This command halts the device and performs a cold restart (also known as reload). It displays a confirmation request before restarting. You can reboot a stand-alone device, a stack, or a specified stack member. Syntax reboot <stack-ID>...
  • Page 244: Reload

    YSTEM ONFIGURATION AND ONITORING OMMANDS RELOAD reload Overview This command performs the same function as the reboot command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 245: Show Clock

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CLOCK show clock Overview This command displays the system’s current configured local time and date. It also displays other clock related information such as timezone and summertime configuration. show clock Syntax Mode User Exec and Privileged Exec Example To display the system’s current local time, use the command: awplus#...
  • Page 246 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CLOCK Related clock set Commands clock summer-time date clock summer-time recurring clock timezone C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 247: Show Continuous-Reboot-Prevention

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CONTINUOUS REBOOT PREVENTION show continuous-reboot-prevention Overview This command displays the current continuous reboot prevention configuration. show continuous-reboot-prevention Syntax Mode User Exec and Privileged Exec Examples To show the current continuous reboot prevention configuration, use the command: awplus# show continuous-reboot-prevention...
  • Page 248: Show Cpu

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CPU show cpu Overview This command displays a list of running processes with their CPU utilization. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 249 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CPU Output Figure 7-3: Example output from show cpu Stack member 2:  CPU averages: 1 second: 12%, 20 seconds: 2%, 60 seconds: 2% System load averages: 1 minute: 0.03, 5 minutes: 0.02, 15 minutes: 0.00 Current CPU load:...
  • Page 250 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CPU Table 2: Parameters in the output of the show cpu command (cont.) Parameter Description state Process state; one of “run”, “sleep”, “zombie”, and “dead”. sleep% Percentage of time that the process is in the sleep state. runtime The time that the process has been running for, measured in jiffies.
  • Page 251: Show Cpu History

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CPU HISTORY show cpu history Overview This command prints a graph showing the historical CPU utilization. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 252 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CPU HISTORY Output Figure 7-4: Example output from the show cpu history command Per second CPU load history  100 90 80 70 60 50 40 30 * 10 ******************************************* **************** |..|..|..|..|..|..|..|..|..|..|..|.. Oldest Newest CPU load% per second (last 60 seconds)...
  • Page 253 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW CPU HISTORY Related show memory Commands show memory allocations show memory pools show process C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-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 Ecofriendly

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW ECOFRIENDLY show ecofriendly Overview This command displays the switch’s eco-friendly configuration status. The ecofriendly led ecofriendly lpi configuration status are shown in the show ecofriendly output. show ecofriendly Syntax Mode Privileged Exec and Global Configuration Example To display the switch’s eco-friendly configuration status, use the following command:...
  • Page 256 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW ECOFRIENDLY Table 3: Parameters in the output of the show ecofriendly command (cont.) Parameter Description off (configuration The eco-friendly LED feature has been enabled with overridden by eco the eco-switch button, overriding the configuration button) set with the ecofriendly led...
  • Page 257: 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 258 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW INTERFACE MEMORY Output Figure 7-7: Example output from the show interface memory command awplus#show interface memory Vlan blocking state shared memory usage --------------------------------------------- Interface shmid Bytes Used nattch Status port1.0.1 393228 1 port1.0.2 458766 1...
  • Page 259: Show Memory

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY show memory Overview This command displays the memory used by each process that is currently running For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 260 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY Table 4: Parameters in the output of the show memory command Parameter Description Stack member Stack member number. RAM total Total amount of RAM memory free. free Available memory size. buffers Memory allocated kernel buffers. Identifier number for the process.
  • Page 261: Show Memory Allocations

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY ALLOCATIONS show memory allocations Overview This command displays the memory allocations used by processes. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 262: Show Memory History

    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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 263: Show Memory History

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY HISTORY show memory history Overview This command prints a graph showing the historical memory usage. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 264 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY HISTORY Output Figure 7-11: Example output from the show memory history command STACK member 1:  Per minute memory utilization history  100 90 80 70 60 50 40************************************************************* 30 20 10 |..|..|..|..|..|..|..|..|..|..|..|.. Oldest Newest...
  • Page 265: Show Memory Pools

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW MEMORY POOLS show memory pools Overview This command shows the memory pools used by processes. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 266: 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 267: Show Process

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW PROCESS show process Overview This command lists a summary of the current running processes. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show process [<stack-ID>] [sort {cpu|mem}] Parameter...
  • Page 268 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW PROCESS Output Figure 7-14: Example output from the show process command Stack member 2:  CPU averages: 1 second: 8%, 20 seconds: 5%, 60 seconds: 5% System load averages: 1 minute: 0.04, 5 minutes: 0.08, 15 minutes: 0.12 Current CPU load:...
  • Page 269 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW PROCESS Table 5: Parameters in the output from the show process command (cont.) Parameter Description Process priority. state 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...
  • Page 270: Show Reboot History

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW REBOOT HISTORY show reboot history Overview Use this command to display the device’s reboot history. show reboot history [<stack-ID>] Syntax Parameter Description <stack-ID> Stack member number, from 1 to 8. Mode User Exec and Privileged Exec Example To show the reboot history of stack member 2, use the command: awplus#...
  • Page 271 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW REBOOT HISTORY Table 6: Parameters in the output from the show reboot history command Parameter Description Continuous reboot A continuous reboot prevention event has occurred. The prevention action taken is configured with the continuous-reboot- prevention command.
  • Page 272: Show Router-Id

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW ROUTER show router-id Overview Use this command to show the Router ID of the current system. show router-id Syntax Mode User Exec and Privileged Exec Example To display the Router ID of the current system, use the command: awplus# show router-id Output...
  • Page 273: Show System

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM show system Overview This command displays general system information about the device, including the hardware, installed, memory, and software versions loaded. It also displays location and contact details when these have been set. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 274: Show System Environment

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM ENVIRONMENT show system environment Overview This command displays the current environmental status of your device and any attached PSU, XEM, or other expansion option. The environmental status covers information about temperatures, fans, and voltage. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 275: Show System Interrupts

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM INTERRUPTS show system interrupts Overview Use this command to display the number of interrupts for each IRQ (Interrupt Request) used to interrupt input lines on a PIC (Programmable Interrupt Controller) on your device. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 276: Show System Mac

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM MAC show system mac Overview This command displays the physical MAC address available on a standalone switch, or a stack. This command also shows the virtual MAC address for a stack if the stack virtual MAC address feature is enabled with the stack virtual-mac or the stack enable...
  • Page 277: Show System Pci Device

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM PCI DEVICE show system pci device Overview Use this command to display the PCI devices on your device. show system pci device Syntax Mode User Exec and Privileged Exec Example To display information about the PCI devices on your device, use the command: awplus# show system pci device Output...
  • Page 278: Show System Pci Tree

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM PCI TREE show system pci tree Overview Use this command to display the PCI tree on your device. show system pci tree Syntax Mode User Exec and Privileged Exec Example To display information about the PCI tree on your device, use the command: awplus# show system pci tree Output...
  • Page 279: Show System Serialnumber

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW SYSTEM SERIALNUMBER show system serialnumber Overview This command shows the serial number information for the device. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 280: Show Tech-Support

    YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW TECH SUPPORT show tech-support Overview This command generates system and debugging information for the device and saves it to a file. You can optionally limit the command output to display only information for a given protocol or feature.
  • Page 281 YSTEM ONFIGURATION AND ONITORING OMMANDS SHOW TECH SUPPORT Parameter Description ripng Display RIPNG specific information stack Display stacking device information Display STP specific information system Display general system information tacacs+ Display TACACS+ information update Display resource update specific information Output modifier >...
  • Page 282: Speed (Asyn)

    YSTEM ONFIGURATION AND ONITORING OMMANDS SPEED ASYN speed (asyn) Overview This command changes the console speed from the device. Note that a change in console speed is applied for subsequent console sessions. Exit the current session to enable the console speed change using the clear line console command.
  • Page 283 YSTEM ONFIGURATION AND ONITORING OMMANDS SPEED ASYN Related clear line console Commands line show running-config show startup-config speed C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 284: System Territory (Deprecated)

    YSTEM ONFIGURATION AND ONITORING OMMANDS SYSTEM TERRITORY DEPRECATED system territory (deprecated) Overview This command has been deprecated in Software Version 5.4.4-0.1 and later. It now has no effect. It is no longer useful to specify a system territory, so there is no alternative command.
  • Page 285: Terminal Monitor

    YSTEM ONFIGURATION AND ONITORING OMMANDS TERMINAL MONITOR terminal monitor Overview Use this command to display debugging output on a terminal. To display the cursor after a line of debugging output, press the Enter key. Use the command terminal no monitor to stop displaying debugging output on the terminal, or use the timeout option to stop displaying debugging output on the terminal after a set time.
  • Page 286: Undebug All

    YSTEM ONFIGURATION AND ONITORING OMMANDS UNDEBUG ALL undebug all Overview This command applies the functionality of the no debug all command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 287: Pluggables And Cabling Commands

    Pluggables and Cabling Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure and monitor Pluggables and Cabling, including: • Cable Fault Locator for finding faults in copper cabling • Optical Digital Diagnostic Monitoring (DDM) to help find fiber issues when links go down •...
  • Page 288: Clear Test Cable-Diagnostics Tdr

    LUGGABLES AND ABLING OMMANDS CLEAR TEST CABLE DIAGNOSTICS TDR clear test cable-diagnostics tdr Overview Use this command to clear the results of the last cable test that was run. clear test cable-diagnostics tdr Syntax Mode Privileged Exec Examples To clear the results of a previous cable-diagnostics test use the following commands: awplus# clear test cable-diagnostics tdr...
  • Page 289: Debug Fiber-Monitoring

    LUGGABLES AND ABLING OMMANDS DEBUG FIBER MONITORING debug fiber-monitoring Overview Use this command to enable debugging of active fiber monitoring on the specified ports. Use the no variant of this command to disable debugging on all ports or the specified ports. Syntax debug fiber-monitoring interface <port-list>...
  • Page 290 LUGGABLES AND ABLING OMMANDS DEBUG FIBER MONITORING Output Figure 8-1: Example output from debug fiber-monitoring awplus#debug fiber-monitoring interface port2.0.1 awplus#terminal monitor  % Warning: Console logging enabled awplus#01:42:50 awplus Pluggable[522]: Fiber-monitor port2.0.1: Channel:1 Reading:1748 Baseline:1708 Threshold:1356 01:42:52 awplus Pluggable[522]: Fiber-monitor port2.0.1: Channel:1 Reading:1717 Baseline:1709 Threshold:1357...
  • Page 291: Fiber-Monitoring Action

    LUGGABLES AND ABLING OMMANDS FIBER MONITORING ACTION fiber-monitoring action Overview Use this command to specify an action to be taken if the optical power received on the port changes from the baseline by the amount specified in the fiber-monitoring sensitivity command. Use the no variant of this command to remove the specified action or all actions from the port.
  • Page 292: Fiber-Monitoring Baseline

    LUGGABLES AND ABLING OMMANDS FIBER MONITORING BASELINE fiber-monitoring baseline Overview Use this command to configure how the baseline value for comparison is calculated for active fiber monitoring on the port. Note that alarm generation will not commence until the link has been up for a full averaging period.
  • Page 293 LUGGABLES AND ABLING OMMANDS FIBER MONITORING BASELINE Related fiber-monitoring interval Commands fiber-monitoring sensitivity C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 294: Fiber-Monitoring Enable

    LUGGABLES AND ABLING OMMANDS FIBER MONITORING ENABLE fiber-monitoring enable Overview Use this command to enable active fiber monitoring on a fiber port. If the port can support fiber monitoring but does not have the correct SFP or fiber type installed, the configuration will be saved, and monitoring will commence when a supported SFP is inserted.
  • Page 295: Fiber-Monitoring Interval

    LUGGABLES AND ABLING OMMANDS FIBER MONITORING INTERVAL fiber-monitoring interval Overview Use this command to configure the fiber monitoring polling interval in seconds for the port. The optical power will be read every <interval> seconds and compared against the calculated threshold values to see if a log message or other action is required.
  • Page 296: Fiber-Monitoring Sensitivity

    LUGGABLES AND ABLING OMMANDS FIBER MONITORING SENSITIVITY fiber-monitoring sensitivity Overview Use this command to configure the sensitivity of the alarm thresholds on the port for active fiber monitoring. Use the no variant of this command to reset the sensitivity to the default. Syntax fiber-monitoring sensitivity (low|medium|high|highest|fixed <25-65535>)|relative <0.01-10.0>...
  • Page 297 LUGGABLES AND ABLING OMMANDS FIBER MONITORING SENSITIVITY Related fiber-monitoring action Commands fiber-monitoring baseline show system fiber-monitoring C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 298: Show System Fiber-Monitoring

    LUGGABLES AND ABLING OMMANDS SHOW SYSTEM FIBER MONITORING show system fiber-monitoring Overview Use this command to display settings and current status for Active Fiber Monitoring. show system fiber-monitoring Syntax Mode User Exec/Privileged Exec Example To display configuration and status for active fiber monitoring on ports, use the command: awplus# show system fiber-monitoring...
  • Page 299 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM FIBER MONITORING Table 8-1: Parameters in the output from show system fiber-monitoring Parameter Description Reading units The units for optical power readings in the rest of the display, e.g. 0.0001mW. Status Whether active fiber monitoring is enabled or disabled for this port.
  • Page 300 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM FIBER MONITORING fiber-monitoring interval fiber-monitoring sensitivity C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 301: 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 302 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM PLUGGABLE Table 9: Parameters in the output from the show system pluggable command Parameter Description Vendor Name Specifies the vendor’s name for the installed pluggable transceiver. Device Name Specifies the device name for the installed pluggable transceiver.
  • Page 303: 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 304 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM PLUGGABLE DETAIL • Power Monitoring: Displays the received power measurement type, which can be either OMA(Optical Module Amplitude) or Avg(Average Power) measured in μW. : For parameters that are not supported or not specified, a hyphen is displayed NOTE instead.
  • Page 305 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM PLUGGABLE DETAIL Table 10: Parameters in the output from the show system pluggable detail command: (cont.) Parameter Description Device Revision Specifies the hardware revision code for the pluggable transceiver. This may be useful for troubleshooting because different devices may support different pluggable transceiver revisions.
  • Page 306: Show System Pluggable Diagnostics

    LUGGABLES AND ABLING OMMANDS SHOW SYSTEM PLUGGABLE DIAGNOSTICS show system pluggable diagnostics Overview This command displays diagnostic information about SFP and SFP+ pluggable transceivers that support Digital Diagnostic Monitoring (DDM). Different types of pluggable transceivers are supported in different models of device.
  • Page 307 LUGGABLES AND ABLING OMMANDS SHOW SYSTEM PLUGGABLE DIAGNOSTICS Output Figure 8-5: Example output from the show system pluggable diagnostics command on a device awplus#show system pluggable diagnostics System Pluggable Information Diagnostics  Port1.0.25 Status Alarms Warnings Reading Alarm Warning Min Temp: (Degrees C) 29.387 100.00...
  • Page 308: Show Test Cable-Diagnostics Tdr

    LUGGABLES AND ABLING OMMANDS SHOW TEST CABLE DIAGNOSTICS TDR show test cable-diagnostics tdr Overview Use this command to display the results of the last cable-diagnostics test that was run using the TDR (Time Domain Reflectometer) on a fixed copper cable port. The displayed status of the cable can be either: •...
  • Page 309: Test Cable-Diagnostics Tdr Interface

    LUGGABLES AND ABLING OMMANDS TEST CABLE DIAGNOSTICS TDR INTERFACE test cable-diagnostics tdr interface Overview Use this command to apply the Cable Fault Locator’s cable-diagnostics tests to twisted pair data cables for a selected port. The tests will detect either correct, short circuit, or open, circuit terminations.
  • Page 310: Logging Commands

    Logging Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure logging. Command List • “clear exception log” on page 312 • “clear log” on page 313 • “clear log buffered” on page 314 • “clear log permanent”...
  • Page 311 OGGING OMMANDS • “log email time” on page 344 • “log facility” on page 346 • “log host” on page 348 • “log host (filter)” on page 350 • “log host exclude” on page 353 • “log host source” on page 356 •...
  • Page 312: Clear Exception Log

    OGGING OMMANDS CLEAR EXCEPTION LOG clear exception log Overview This command resets the contents of the exception log, but does not remove the associated core files. : When this command is used within a stacked environment, it will remove the NOTE contents of the exception logs in all stack members.
  • Page 313: Clear Log

    OGGING OMMANDS CLEAR LOG clear log Overview This command removes the contents of the buffered and permanent logs. : When this command is used within a stacked environment, it will remove the NOTE contents of the buffered and permanent logs in all stack members. Syntax clear log Mode...
  • Page 314: Clear Log Buffered

    OGGING OMMANDS CLEAR LOG BUFFERED clear log buffered Overview This command removes the contents of the buffered log. : When this command is used within a stacked environment, it will remove the NOTE contents of the buffered logs in all stack members. Syntax clear log buffered Mode...
  • Page 315: Clear Log Permanent

    OGGING OMMANDS CLEAR LOG PERMANENT clear log permanent Overview This command removes the contents of the permanent log. : When this command is used within a stacked environment, it will remove the NOTE contents of the permanent logs in all stack members. Syntax clear log permanent Mode...
  • Page 316: Default Log Buffered

    OGGING OMMANDS DEFAULT LOG BUFFERED default log buffered Overview This command restores the default settings for the buffered log stored in RAM. By default the size of the buffered log is 50 kB and it accepts messages with the severity level of “warnings” and above. default log buffered Syntax Default...
  • Page 317: Default Log Console

    OGGING OMMANDS DEFAULT LOG CONSOLE default log console Overview This command restores the default settings for log messages sent to the terminal when a log console command is issued. By default all messages are sent to the console when a log console command is issued. default log console Syntax Mode...
  • Page 318: Default Log Email

    OGGING OMMANDS DEFAULT LOG EMAIL default log email Overview This command restores the default settings for log messages sent to an email address. By default no filters are defined for email addresses. Filters must be defined before messages will be sent. This command also restores the remote syslog server time offset value to local (no offset).
  • Page 319: Default Log Host

    OGGING OMMANDS DEFAULT LOG HOST default log host Overview This command restores the default settings for log sent to a remote syslog server. By default no filters are defined for remote syslog servers. Filters must be defined before messages will be sent. This command also restores the remote syslog server time offset value to local (no offset).
  • Page 320: Default Log Monitor

    OGGING OMMANDS DEFAULT LOG MONITOR default log monitor Overview This command restores the default settings for log messages sent to the terminal when a terminal monitor command is used. default log monitor Syntax Default All messages are sent to the terminal when a terminal monitor command is used.
  • Page 321: Default Log Permanent

    OGGING OMMANDS DEFAULT LOG PERMANENT default log permanent Overview This command restores the default settings for the permanent log stored in NVS. By default, the size of the permanent log is 50 kB and it accepts messages with the severity level of warnings and above. default log permanent Syntax Default...
  • Page 322: Log Buffered

    OGGING OMMANDS LOG BUFFERED log buffered Overview This command configures the device to store log messages in RAM. Messages stored in RAM are not retained on the device over a restart. Once the buffered log reaches its configured maximum allowable size old messages will be deleted to make way for new ones.
  • Page 323: Log Buffered (Filter)

    OGGING OMMANDS LOG BUFFERED FILTER log buffered (filter) Overview Use this command to create a filter to select messages to be sent to the buffered log. Selection can be based on the priority/ severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
  • Page 324 OGGING OMMANDS LOG BUFFERED FILTER Parameter Description pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI) imish Integrated Management Interface Shell (IMISH)
  • Page 325 OGGING OMMANDS LOG BUFFERED FILTER Examples To add a filter to send all messages generated by EPSR that have a severity of notices or higher to the buffered log, use the following commands: awplus# configure terminal awplus(config)# log buffered level notices program epsr To add a filter to send all messages containing the text “Bridging initialization”...
  • Page 326: Log Buffered Exclude

    OGGING OMMANDS LOG BUFFERED EXCLUDE log buffered exclude Overview Use this command to exclude specified log messages from the buffered log. You can exclude messages on the basis of: • the priority/severity of the message • the program that generated the message •...
  • Page 327 OGGING OMMANDS LOG BUFFERED EXCLUDE Parameter Description pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI)
  • Page 328 OGGING OMMANDS LOG BUFFERED EXCLUDE Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log buffered exclude msgtext example of irrelevant message Related clear log buffered Commands default log buffered log buffered log buffered (filter) log buffered size...
  • Page 329: Log Buffered Size

    OGGING OMMANDS LOG BUFFERED SIZE log buffered size Overview This command configures the amount of memory that the buffered log is permitted to use. Once this memory allocation has been filled old messages will be deleted to make room for new messages. log buffered size <50-250>...
  • Page 330: Log Console

    OGGING OMMANDS LOG CONSOLE log console Overview This command configures the device to send log messages to consoles. The console log is configured by default to send messages to the device’s main console port. Use the no variant of this command to configure the device not to send log messages to consoles.
  • Page 331: Log Console (Filter)

    OGGING OMMANDS LOG CONSOLE FILTER log console (filter) Overview This command creates a filter to select messages to be sent to all consoles when the log console command is given. Selection can be based on the priority/severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
  • Page 332 OGGING OMMANDS LOG CONSOLE FILTER Parameter Description Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI) imish Integrated Management Interface Shell (IMISH) epsr Ethernet Protection Switched Rings (EPSR) rmon Remote Monitoring loopprot Loop Protection...
  • Page 333 OGGING OMMANDS LOG CONSOLE FILTER Examples To create a filter to send all messages containing the text “Bridging initialization” to console instances where the log console command has been entered, use the following commands: awplus# configure terminal awplus(config)# log console msgtext "Bridging initialization" To remove a filter that sends all messages generated by EPSR that have a severity of notices or higher to consoles, use the following commands: awplus#...
  • Page 334: Log Console Exclude

    OGGING OMMANDS LOG CONSOLE EXCLUDE log console exclude Overview Use this command to prevent specified log messages from being sent to the console, when console logging is turned on. You can exclude messages on the basis of: • the priority/severity of the message •...
  • Page 335 OGGING OMMANDS LOG CONSOLE EXCLUDE Parameter Description pim-dm Protocol Independent Multicast - Dense Mode (PIM-DM) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP)
  • Page 336 OGGING OMMANDS LOG CONSOLE EXCLUDE Mode Global configuration Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log console exclude msgtext example of irrelevant message Related default log console Commands log console log console (filter)
  • Page 337: Log Email

    OGGING OMMANDS LOG EMAIL log email Overview This command configures the device to send log messages to an email address. The email address is specified in this command. log email <email-address> Syntax Parameter Description <email-address> The email address to send log messages to Default By default no filters are defined for email log targets.
  • Page 338: Log Email (Filter)

    OGGING OMMANDS LOG EMAIL FILTER log email (filter) Overview This command creates a filter to select messages to be sent to an email address. Selection can be based on the priority/ severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
  • Page 339 OGGING OMMANDS LOG EMAIL FILTER Parameter Description pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI)
  • Page 340 OGGING OMMANDS LOG EMAIL FILTER Examples To create a filter to send all messages generated by EPSR that have a severity of notices or higher to the email address admin@homebase.com, use the following commands: awplus# configure terminal awplus(config)# log email admin@homebase.com level notices program epsr To create a filter to send all messages containing the text “Bridging initialization”, to the email address admin@homebase.com, use the following commands:...
  • Page 341: Log Email Exclude

    OGGING OMMANDS LOG EMAIL EXCLUDE log email exclude Overview Use this command to prevent specified log messages from being emailed, when the device is configured to send log messages to an email address. You can exclude messages on the basis of: •...
  • Page 342 OGGING OMMANDS LOG EMAIL EXCLUDE Parameter Description pim-dm Protocol Independent Multicast - Dense Mode (PIM-DM) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP)
  • Page 343 OGGING OMMANDS LOG EMAIL EXCLUDE Mode Global configuration Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log email exclude msgtext example of irrelevant message Related default log email Commands log email log email (filter)
  • Page 344: Log Email Time

    OGGING OMMANDS LOG EMAIL TIME log email time Overview This command configures the time used in messages sent to an email address. If the syslog server is in a different time zone to your device then the time offset can be configured using either the utc-offset parameter option keyword or the local-offset parameter option keyword, where utc-offset is the time difference from UTC (Universal Time, Coordinated) and local-offset is the difference from...
  • Page 345 OGGING OMMANDS LOG EMAIL TIME To send messages to the email address test@home.com in the same time zone Examples as the device’s local time zone, use the following commands: awplus# configure terminal awplus(config)# log email admin@base.com time local 0 To send messages to the email address admin@base.com with the time information converted to the time zone of the email recipient, which is 3 hours ahead of the device’s local time zone, use the following commands: awplus#...
  • Page 346: Log Facility

    OGGING OMMANDS LOG FACILITY log facility Overview Use this command to specify an outgoing syslog facility. This determines where the syslog server will store the log messages. Use the no variant of this command to remove the facility. Syntax log facility {kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|authpriv |ftp|local0|local1|local2|local3|local4|local5|local6|local7} no log facility...
  • Page 347 OGGING OMMANDS LOG FACILITY Example To specify a facility of local0, use the following commands: awplus# configure terminal awplus(config)# log facility local0 Related show log config Commands C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 348: Log Host

    OGGING OMMANDS LOG HOST log host Overview This command configures the device to send log messages to a remote syslog server via UDP port 514. The IP address of the remote server must be specified. By default no filters are defined for remote syslog servers. Filters must be defined before messages will be sent.
  • Page 349 OGGING OMMANDS LOG HOST log host time log trustpoint show log config C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 350: Log Host (Filter)

    OGGING OMMANDS LOG HOST FILTER log host (filter) Overview This command creates a filter to select messages to be sent to a remote syslog server. Selection can be based on the priority/severity of the message, the program that generated the message, the logging facility used, a substring within the message or a combination of some or all of these.
  • Page 351 OGGING OMMANDS LOG HOST FILTER Parameter Description pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI) imish Integrated Management Interface Shell (IMISH)
  • Page 352 OGGING OMMANDS LOG HOST FILTER Examples To create a filter to send all messages generated by EPSR that have a severity of notices or higher to a remote syslog server with IP address 10.32.16.21, use the following commands: awplus# configure terminal awplus(config)# log host 10.32.16.21 level notices program epsr To create a filter to send all messages containing the text “Bridging initialization”,...
  • Page 353: Log Host Exclude

    OGGING OMMANDS LOG HOST EXCLUDE log host exclude Overview Use this command to prevent specified log messages from being sent to the remote syslog server, when log host is enabled. You can exclude messages on the basis of: • the priority/severity of the message •...
  • Page 354 OGGING OMMANDS LOG HOST EXCLUDE Parameter Description pim-dm Protocol Independent Multicast - Dense Mode (PIM-DM) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP)
  • Page 355 OGGING OMMANDS LOG HOST EXCLUDE Mode Global configuration Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log host exclude msgtext example of irrelevant message Related default log host Commands log host log host (filter)
  • Page 356: Log Host Source

    OGGING OMMANDS LOG HOST SOURCE log host source Overview Use this command to specify a source interface or IP address for the device to send syslog messages from. You can specify any one of an interface name, an IPv4 address or an IPv6 address. This is useful if the device can reach the syslog server via multiple interfaces or addresses and you want to control which interface/address the device uses.
  • Page 357: Log Host Time

    OGGING OMMANDS LOG HOST TIME log host time Overview This command configures the time used in messages sent to a remote syslog server. If the syslog server is in a different time zone to your device then the time offset can be configured using either the utc-offset parameter option keyword or the local-offset parameter option keyword, where utc-offset is the time difference from UTC (Universal Time, Coordinated) and local-offset is the difference from local time.
  • Page 358 OGGING OMMANDS LOG HOST TIME To send messages to the remote syslog server with the IP address 10.32.16.12 with the time information converted to the time zone of the remote syslog server, which is 3 hours ahead of the device’s local time zone, use the following commands: awplus# configure terminal...
  • Page 359: Log Monitor (Filter)

    OGGING OMMANDS LOG MONITOR FILTER log monitor (filter) Overview This command creates a filter to select messages to be sent to the terminal when terminal monitor command is given. Selection can be based on the priority/severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
  • Page 360 OGGING OMMANDS LOG MONITOR FILTER Parameter Description lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI) imish Integrated Management Interface Shell (IMISH) epsr Ethernet Protection Switched Rings (EPSR) rmon Remote Monitoring...
  • Page 361 OGGING OMMANDS LOG MONITOR FILTER Examples To create a filter to send all messages that are generated by authentication and have a severity of info or higher to terminal instances where the terminal monitor command has been given, use the following commands: awplus# configure terminal awplus(config)#...
  • Page 362: Log Monitor Exclude

    OGGING OMMANDS LOG MONITOR EXCLUDE log monitor exclude Overview Use this command to prevent specified log messages from being displayed on a terminal, when terminal monitor is enabled. You can exclude messages on the basis of: • the priority/severity of the message •...
  • Page 363 OGGING OMMANDS LOG MONITOR EXCLUDE Parameter Description pim-dm Protocol Independent Multicast - Dense Mode (PIM-DM) pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP)
  • Page 364 OGGING OMMANDS LOG MONITOR EXCLUDE Mode Global configuration Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log monitor exclude msgtext example of irrelevant message Related default log monitor Commands log monitor (filter) show log config...
  • Page 365: Log Permanent

    OGGING OMMANDS LOG PERMANENT log permanent Overview This command configures the device to send permanent log messages to non-volatile storage (NVS) on the device. The content of the permanent log is retained over a reboot. Once the permanent log reaches its configured maximum allowable size old messages will be deleted to make way for new messages.
  • Page 366: Log Permanent (Filter)

    OGGING OMMANDS LOG PERMANENT FILTER log permanent (filter) Overview This command creates a filter to select messages to be sent to the permanent log. Selection can be based on the priority/ severity of the message, the program that generated the message, the logging facility used, a sub-string within the message or a combination of some or all of these.
  • Page 367 OGGING OMMANDS LOG PERMANENT FILTER Parameter Description dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI) imish Integrated Management Interface Shell (IMISH) epsr Ethernet Protection Switched Rings (EPSR)
  • Page 368 OGGING OMMANDS LOG PERMANENT FILTER Examples To create a filter to send all messages generated by EPSR that have a severity of notices or higher to the permanent log use the following commands: awplus# configure terminal awplus(config)# log permanent level notices program epsr To create a filter to send all messages containing the text “Bridging initialization”, to the permanent log use the following commands: awplus#...
  • Page 369: Log Permanent Exclude

    OGGING OMMANDS LOG PERMANENT EXCLUDE log permanent exclude Overview Use this command to prevent specified log messages from being sent to the permanent log. You can exclude messages on the basis of: • the priority/severity of the message • the program that generated the message •...
  • Page 370 OGGING OMMANDS LOG PERMANENT EXCLUDE Parameter Description pim-sm Protocol Independent Multicast - Sparse Mode (PIM-SM) pim-smv6 PIM-SM version 6 (PIM-SMv6) dot1x IEEE 802.1X Port-Based Access Control lacp Link Aggregation Control Protocol (LACP) Spanning Tree Protocol (STP) rstp Rapid Spanning Tree Protocol (RSTP) mstp Multiple Spanning Tree Protocol (MSTP) Integrated Management Interface (IMI)
  • Page 371 OGGING OMMANDS LOG PERMANENT EXCLUDE Example To remove messages that contain the string “example of irrelevant message”, use the following commands: awplus# configure terminal awplus(config)# log permanent exclude msgtext example of irrelevant message Related clear log permanent Commands default log permanent log permanent log permanent (filter) log permanent size...
  • Page 372: Log Permanent Size

    OGGING OMMANDS LOG PERMANENT SIZE log permanent size Overview This command configures the amount of memory that the permanent log is permitted to use. Once this memory allocation has been filled old messages will be deleted to make room for new messages. log permanent size <50-250>...
  • Page 373: Log-Rate-Limit Nsm

    OGGING OMMANDS RATE LIMIT NSM log-rate-limit nsm Overview This command limits the number of log messages generated by the device for a given interval. Use the no variant of this command to revert to the default number of log messages generated by the device of up to 200 log messages per second. Syntax log-rate-limit nsm messages <message-limit>...
  • Page 374 OGGING OMMANDS RATE LIMIT NSM To return the device the default setting, to generate up to 200 log messages per second, use the following commands: awplus# configure terminal awplus(config)# no log-rate-limit nsm C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 375: Log Trustpoint

    OGGING OMMANDS LOG TRUSTPOINT log trustpoint Overview This command adds one or more trustpoints to be used with the syslog application. Multiple trustpoints may be specified, or the command may be executed multiple times, to add multiple trustpoints to the application. The no version of this command removes one or more trustpoints from the list of trustpoints associated with the application.
  • Page 376: Show Counter Log

    OGGING OMMANDS SHOW COUNTER LOG show counter log Overview This command displays log counter information. show counter log Syntax Mode User Exec and Privileged Exec Example To display the log counter information, use the command: awplus# show counter log Output Figure 9-1: Example output from the show counter log command Log counters...
  • Page 377: Show Exception Log

    OGGING OMMANDS SHOW EXCEPTION LOG show exception log Overview This command displays the contents of the exception log. show exception log Syntax Mode User Exec and Privileged Exec Example To display the exception log, use the command: awplus# show exception log Output Figure 9-2: Example output from the show exception log command on a...
  • Page 378: Show Log

    OGGING OMMANDS SHOW LOG show log Overview This command displays the contents of the buffered log. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show log [tail [<10-250>]] Parameter Description tail...
  • Page 379 OGGING OMMANDS SHOW LOG Output Figure 9-3: Example output from the show log command awplus#show log  <date> <time> <facility>.<severity> <program[<pid>]>: <message>  -------------------------------------------------------------------- 2011 Aug 29 07:55:22 kern.notice awplus kernel: Linux version 2.6.32.12-at1 (mak er@awpmaker03-dl) (gcc version 4.3.3 (Gentoo 4.3.3-r3 p1.2, pie-10.1.5) ) #1 Wed Dec 8 11:53:40 NZDT 2010...
  • Page 380: Show Log Config

    OGGING OMMANDS SHOW LOG CONFIG show log config Overview This command displays information about the logging system. This includes the configuration of the various log destinations, buffered, permanent, syslog servers (hosts) and email addresses. This also displays the latest status information for each of these destinations.
  • Page 381 OGGING OMMANDS SHOW LOG CONFIG Host 10.32.16.21: Time offset ..+2:00 Offset type ..UTC Source ..- Secured ..enabled Filters: 1 Level ..critical Program ..any Facility ..any Message text . any Statistics ..1327 messages received, 1 accepted by filter (2016 Oct 11  10:36:16) Email admin@alliedtelesis.com:...
  • Page 382: Show Log Permanent

    OGGING OMMANDS SHOW LOG PERMANENT show log permanent Overview This command displays the contents of the permanent log. show log permanent [<stack-ID>] [tail [<10-250>]] Syntax Parameter Description <stack-ID> Stack member number, from 1 to 8. tail Display only the latest log entries. <10-250>...
  • Page 383 OGGING OMMANDS SHOW LOG PERMANENT log permanent (filter) log permanent exclude log permanent size show log config C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 384: Show Running-Config Log

    OGGING OMMANDS SHOW RUNNING CONFIG LOG show running-config log Overview This command displays the current running configuration of the Log utility. show running-config log Syntax Mode Privileged Exec and Global Configuration Example To display the current configuration of the log utility, use the command: awplus# show running-config log Related...
  • Page 385: Scripting Commands

    Scripting Commands Introduction Overview This chapter provides commands used for command scripts. Command List • “activate” on page 386 • “echo” on page 387 • “wait” on page 388 C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 386: Activate

    CRIPTING OMMANDS ACTIVATE activate Overview This command activates a script file. activate [background] <script> Syntax Parameter Description background Activate a script to run in the background. A process that is running in the background will operate as a separate task, and will not interrupt foreground processing.
  • Page 387: Echo

    CRIPTING OMMANDS ECHO echo Overview This command echoes a string to the terminal, followed by a blank line. echo <line> Syntax Parameter Description <line> The string to echo Mode User Exec and Privileged Exec Usage This command may be useful in CLI scripts, to make the script print user-visible comments.
  • Page 388: Wait

    CRIPTING OMMANDS WAIT wait Overview This command pauses execution of the active script for the specified period of time. wait <delay> Syntax Parameter Description <delay> <1-65335> Specify the time delay in seconds Default No wait delay is specified by default to pause script execution. Mode Privileged Exec (when executed from a script not directly from the command line) Usage...
  • Page 389: Interface Commands

    Interface Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure and display interfaces. Command List • “description (interface)” on page 390 • “interface (to configure)” on page 391 • “mru” on page 393 • “mtu” on page 395 •...
  • Page 390: Description (Interface)

    NTERFACE OMMANDS DESCRIPTION INTERFACE description (interface) Overview Use this command to add a description to a specific port or interface. description <description> Syntax Parameter Description <description> Text describing the specific interface. Mode Interface Configuration Example The following example uses this command to describe the device that a switch port is connected to.
  • Page 391: Interface (To Configure)

    NTERFACE OMMANDS INTERFACE TO CONFIGURE interface (to configure) Overview Use this command to select one or more interfaces to configure. interface <interface-list> Syntax interface lo Parameter Description <interface-list> The interfaces or ports to configure. An interface-list can be: • an interface such as a VLAN (e.g. vlan2), a switch port (e.g. port1.0.6), a static channel group (e.g.
  • Page 392 NTERFACE OMMANDS INTERFACE TO CONFIGURE The following example shows how to enter Interface mode to configure the local loopback interface. awplus# configure terminal awplus(config)# interface lo awplus(config-if)# Related ip address (IP Addressing and Protocol) Commands show interface show interface brief C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 393: Mru

    NTERFACE OMMANDS Overview Use this command to set the Maximum Receive Unit (MRU) size for switch ports, where MRU is the maximum frame size (excluding headers) that switch ports can receive. For more information, see the Switching Feature Overview and Configuration Guide.
  • Page 394 NTERFACE OMMANDS To 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 395: Mtu

    NTERFACE OMMANDS Overview Use this command to set the Maximum Transmission Unit (MTU) size for VLANs, where MTU is the maximum packet size that VLANs can transmit. The MTU size setting is applied to both IPv4 and IPv6 packet transmission. Use the no variant of this command to remove a previously specified Maximum Transmission Unit (MTU) size for VLANs, and restore the default MTU size (1500 bytes) for VLANs.
  • Page 396 NTERFACE OMMANDS Related show interface Commands C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 397: Show Interface

    NTERFACE OMMANDS SHOW INTERFACE show interface Overview Use this command to display interface configuration and status. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show interface [<interface-list>] show interface lo Parameter Description...
  • Page 398 NTERFACE OMMANDS SHOW INTERFACE Figure 11-1: Example output from the show interface command awplus#show interface Interface port1.0.1 Scope: both Link is UP, administrative state is UP Thrash-limiting Status Not Detected, Action link-down, Timeout 60(s) Hardware is Ethernet, address is 0000.cd24.daeb index 5001 metric 1 mru 1500...
  • Page 399 NTERFACE OMMANDS SHOW INTERFACE Figure 11-3: Example output from the show interface vlan1,vlan2 command  awplus#show interface vlan1,vlan2 Interface vlan1 Scope: both Link is UP, administrative state is UP Hardware is VLAN, address is 0015.77e9.5c50 IPv4 address 192.168.1.1/24 broadcast 192.168.1.255 index 201 metric 1 mtu 1500...
  • Page 400: Show Interface Brief

    NTERFACE OMMANDS SHOW INTERFACE BRIEF show interface brief Overview Use this command to display brief interface, configuration, and status information, including provisioning information. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 401: 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 402 NTERFACE OMMANDS SHOW INTERFACE MEMORY Output Figure 11-5: Example output from the show interface memory command awplus#show interface memory Vlan blocking state shared memory usage --------------------------------------------- Interface shmid Bytes Used nattch Status port1.0.1 393228 1 port1.0.2 458766 1 port1.0.3 360459 1...
  • Page 403: Show Interface Status

    NTERFACE OMMANDS SHOW INTERFACE STATUS show interface status Overview Use this command to display the status of the specified interface or interfaces. Note that when no interface or interfaces are specified then the status of all interfaces on the device are shown. show interface [<port-list>] status Syntax Parameter...
  • Page 404 NTERFACE OMMANDS SHOW INTERFACE STATUS Table 4: Parameters in the output from the show interface status command Parameter Description Port Name/Type of the interface. Name Description of the interface. Status The administrative and operational status of the interface; one of: •...
  • Page 405: Shutdown

    NTERFACE OMMANDS SHUTDOWN shutdown Overview This command shuts down the selected interface. This administratively disables the link and takes the link down at the physical (electrical) layer. Use the no variant of this command to disable this function and therefore to bring the link back up again.
  • Page 406: Port Mirroring And Remote Mirroring Commands

    Port Mirroring and Remote Mirroring Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure Port Mirroring and Remote Mirroring (also known as RSPAN). For more information, see the Mirroring Feature Overview and Configuration Guide. Command List •...
  • Page 407: Mirror Interface

    IRRORING AND EMOTE IRRORING OMMANDS MIRROR INTERFACE mirror interface Overview Use this command to define a mirror port and mirrored (monitored) ports and direction of traffic to be mirrored. The port for which you enter interface mode will be the mirror port. The destination port is removed from all VLANs, and no longer participates in other switching.
  • Page 408 IRRORING AND EMOTE IRRORING OMMANDS MIRROR INTERFACE Usage Use this command to send traffic to another device connected to the mirror port for monitoring. For more information, see the Mirroring Feature Overview and Configuration Guide. A mirror port cannot be associated with a VLAN. If a switch port is configured to be a mirror port, it is automatically removed from any VLAN it was associated with.
  • Page 409: Remote-Mirror Interface

    IRRORING AND EMOTE IRRORING OMMANDS REMOTE MIRROR INTERFACE remote-mirror interface Overview Use this command on the source device to specify the source port whose traffic is to be remote-mirrored (monitored), and the remote mirroring VLAN ID these mirrored frames will be tagged with when they egress from the source device. The port for which Interface Configuration mode is entered is the port via which the mirrored traffic egresses the source device towards the remote destination device.
  • Page 410 IRRORING AND EMOTE IRRORING OMMANDS REMOTE MIRROR INTERFACE This command can only be used to configure a single egress port on the source device, not a range of egress ports. Do not use the interface command with multiple interfaces before using this remote-mirror interface command. One egress (destination) port on the source device can transmit mirrored frames from up to four remote mirrored (source) ports.
  • Page 411: Show Mirror

    IRRORING AND EMOTE IRRORING OMMANDS SHOW MIRROR show mirror Overview Use this command to display the status of all mirrored ports. show mirror Syntax Mode User Exec and Privileged Exec Example To display the status of all mirrored ports, use the following command: awplus# show mirror Output...
  • Page 412: Show Mirror Interface

    IRRORING AND EMOTE IRRORING OMMANDS SHOW MIRROR INTERFACE show mirror interface Overview Use this command to display port mirroring configuration for a mirrored (monitored) switch port. show mirror interface <port> Syntax Parameter Description <port> The monitored switch port to display information about. Mode User Exec, Privileged Exec and Interface Configuration To display port mirroring configuration for the port1.0.4, use the following...
  • Page 413: Show Remote-Mirror

    IRRORING AND EMOTE IRRORING OMMANDS SHOW REMOTE MIRROR show remote-mirror Overview Use this command to display information for remote-mirroring. show remote-mirror Syntax Mode User Exec Example To display information about remote mirroring, use the command: awplus# show remote-mirror Output Figure 12-3: Example output from show remote-mirror awplus#show remote-mirror...
  • Page 414 IRRORING AND EMOTE IRRORING OMMANDS SHOW REMOTE MIRROR Table 12-1: Parameters in the output from show remote-mirror (cont.) Parameter Description Remote mirror On the destination device, this displays : egress ports • the remote mirror egress ports • the remote mirror VLANs they are associated with Remote mirror On source, destination and intermediate devices, this VLANs...
  • Page 415: Switchport Remote-Mirror-Egress

    IRRORING AND EMOTE IRRORING OMMANDS SWITCHPORT REMOTE MIRROR EGRESS switchport remote-mirror-egress Overview Use this command on the device receiving remote mirrored traffic to set the remote mirroring egress port for the specified remote mirroring VLAN. This port removes the remote mirror VLAN tagging before transmitting the mirrored traffic. Ingress traffic on this port is disabled.
  • Page 416: Vlan Mode Remote-Mirror-Vlan

    IRRORING AND EMOTE IRRORING OMMANDS VLAN MODE REMOTE MIRROR VLAN vlan mode remote-mirror-vlan Overview Use this command to create a single VLAN or a range of VLANs in remote mirror mode to be used for remote mirroring. Use the no variant of this command to remove the remote mirror VLAN from the VLAN database and its configurations.
  • Page 417: C613-50102-01 Rev C Command Reference For X510 Series

    IRRORING AND EMOTE IRRORING OMMANDS VLAN MODE REMOTE MIRROR VLAN switchport remote-mirror-egress C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 418: Interface Testing Commands

    Interface Testing Commands Introduction Overview This chapter provides an alphabetical reference of commands used for testing interfaces. Command List • “clear test interface” on page 419 • “service test” on page 420 • “test interface” on page 421 C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 419: Clear Test Interface

    NTERFACE ESTING OMMANDS CLEAR TEST INTERFACE clear test interface Overview This command clears test results and counters after issuing a test interface command. Test results and counters must be cleared to issue subsequent test interface commands later on. clear test interface {<port-list>|all} Syntax Parameter Description...
  • Page 420: Service Test

    NTERFACE ESTING OMMANDS SERVICE TEST service test Overview This command puts the device into the interface testing state, ready to begin testing. After entering this command, enter Interface Configuration mode for the desired interfaces and enter the command test interface. Do not test interfaces on a device that is part of a live network—disconnect the device first.
  • Page 421: Test Interface

    NTERFACE ESTING OMMANDS TEST INTERFACE test interface Overview This command starts a test on a port or all ports or a selected range or list of ports. Use the no variant of this command to disable this function. The test duration can be configured by specifying the time in minutes after specifying a port or ports to test.
  • Page 422 NTERFACE ESTING OMMANDS TEST INTERFACE Example To test the switch ports in VLAN 1, install loopbacks in the ports, and enter the following commands: awplus(config)# service test awplus(config)# no spanning-tree rstp enable bridge-forward awplus(config)# interface vlan1 awplus(config-if)# shutdown awplus(config-if)# awplus# test interface all To see the output, use the commands: awplus#...
  • Page 423: Part 2: Layer Two Switching

    Part 2: Layer Two Switching C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 424: Switching Commands

    Switching Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure switching. For more information, see the Switching Feature Overview and Configuration Guide. Command List • “backpressure” on page 426 • “clear loop-protection counters” on page 428 •...
  • Page 425 WITCHING OMMANDS • “mac address-table static” on page 451 • “mac address-table thrash-limit” on page 452 • “platform hwfilter-size” on page 453 • “platform load-balancing” on page 454 • “platform stop-unreg-mc-flooding” on page 456 • “platform vlan-stacking-tpid” on page 458 •...
  • Page 426: Backpressure

    WITCHING OMMANDS BACKPRESSURE backpressure Overview This command provides a method of applying flow control to ports running in half duplex mode. The setting will only apply when the link is in the half-duplex state. You can disable backpressure on an interface using the off parameter or the no variant of this command.
  • Page 427 WITCHING OMMANDS BACKPRESSURE To disable back pressure flow control on interface port1.0.2 enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# backpressure off Validation show running-config Commands show interface Related duplex Commands C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 428: Clear Loop-Protection Counters

    WITCHING OMMANDS CLEAR LOOP PROTECTION COUNTERS clear loop-protection counters Overview Use this command to clear the counters for the Loop Protection counters. clear loop-protection [interface <port-list>] counters Syntax Parameters Description interface The interface whose counters are to be cleared. <port-list> A port, a port range, or an aggregated link.
  • Page 429: Clear Mac Address-Table Dynamic

    WITCHING OMMANDS CLEAR MAC ADDRESS TABLE DYNAMIC clear mac address-table dynamic Overview Use this command to clear the filtering database of all entries learned for a selected MAC address, an MSTP instance, a switch port interface or a VLAN interface. clear mac address-table dynamic [address Syntax <mac-address>|interface <port>...
  • Page 430 WITCHING OMMANDS CLEAR MAC ADDRESS TABLE DYNAMIC This example shows how to clear all dynamically learned filtering database entries when learned through device operation for a given MSTP instance 1 on switch port interface port1.0.2. awplus# clear mac address-table dynamic interface port1.0.2 instance 1 Related clear mac address-table static...
  • Page 431: Clear Mac Address-Table Static

    WITCHING OMMANDS CLEAR MAC ADDRESS TABLE STATIC clear mac address-table static Overview Use this command to clear the filtering database of all statically configured entries for a selected MAC address, interface, or VLAN. clear mac address-table static [address <mac-address>|interface Syntax <port>|vlan <vid>] Parameter Description...
  • Page 432: Clear Port Counter

    WITCHING OMMANDS CLEAR PORT COUNTER clear port counter Overview Use this command to clear the packet counters of the port. clear port counter [<port>] Syntax Parameter Description <port> 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...
  • Page 433: Clear Port-Security Intrusion

    WITCHING OMMANDS CLEAR PORT SECURITY INTRUSION clear port-security intrusion Overview Use this command to clear the history of the port-security intrusion list on all ports, or an individual port. If a port is not specified, the intrusion lists of all ports are cleared.
  • Page 434 WITCHING OMMANDS CLEAR PORT SECURITY INTRUSION Table 2: Example output from the show port-security intrusion command  awplus#show port-security intrusion interface port1.0.1 Port Security Intrusion List ------------------------------------------------------------ Interface: port1.0.1 - 1 intrusion(s) detected 801f.0200.19da To clear the history of port-security intrusion list on port1.0.1, use the following command: awplus# clear port-security intrusion interface port1.0.1...
  • Page 435 WITCHING OMMANDS CLEAR PORT SECURITY INTRUSION Related show port-security interface Commands show port-security intrusion switchport port-security switchport port-security aging switchport port-security maximum switchport port-security violation C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 436: Debug Loopprot

    WITCHING OMMANDS DEBUG LOOPPROT debug loopprot Overview This command enables Loop Protection debugging. The no variant of this command disables Loop Protection debugging. Syntax debug loopprot {info|msg|pkt|state|nsm|all} no debug loopprot {info|msg|pkt|state|nsm|all} Parameter Description info General Loop Protection information. Received and transmitted Loop Detection Frames (LDFs). Echo raw ASCII display of received and transmitted LDF packets to the console.
  • Page 437: Debug Platform Packet

    WITCHING OMMANDS DEBUG PLATFORM PACKET debug platform packet Overview This command enables platform to CPU level packet debug functionality on the device. Use the no variant of this command to disable platform to CPU level packet debug. If the result means both send and receive packet debug are disabled, then any active timeout will be canceled.
  • Page 438 WITCHING OMMANDS DEBUG PLATFORM PACKET To enable packet debug for sFlow packets only for the default timeout of 5 minutes, enter: awplus# debug platform packet sflow To enable send packet debug with no timeout, enter: awplus# debug platform packet send timeout 0 To enable VLAN packet debug for VLAN 2 with a timeout duration of 3 minutes, enter: awplus#...
  • Page 439: Duplex

    WITCHING OMMANDS DUPLEX duplex Overview This command changes the duplex mode for the specified port. To see the currently-negotiated duplex mode for ports whose links are up, use the command show interface. To see the configured duplex mode (when different from the default), use the command show running-config.
  • Page 440 WITCHING OMMANDS DUPLEX Related backpressure Commands polarity speed show interface C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 441: Flowcontrol (Switch Port)

    WITCHING OMMANDS FLOWCONTROL SWITCH PORT flowcontrol (switch port) Overview Use this command to enable flow control, and configure the flow control mode for the switch port. Use the no variant of this command to disable flow control for the specified switch port.
  • Page 442 WITCHING OMMANDS FLOWCONTROL SWITCH PORT awplus# configure terminal Examples awplus(config)# interface port1.0.2 awplus(config-if)# flowcontrol receive on awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# flowcontrol send on awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# flowcontrol receive off awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# flowcontrol send off...
  • Page 443: Linkflap Action

    WITCHING OMMANDS LINKFLAP ACTION linkflap action Overview Use this command to detect flapping on all ports. If more than 15 flaps occur in less than 15 seconds the flapping port will shut down. Use the no variant of this command to disable flapping detection at this rate. Syntax linkflap action [shutdown] no linkflap action...
  • Page 444: Loop-Protection Loop-Detect

    WITCHING OMMANDS LOOP PROTECTION LOOP DETECT loop-protection loop-detect Overview Use this command to enable the loop-protection loop-detect feature and configure its parameters. Use the no variant of this command to disable the loop-protection loop-detect feature. Syntax loop-protection loop-detect [ldf-interval <period>] [ldf-rx-window <frames>] [fast-block] no loop-protection loop-detect Parameter...
  • Page 445: Loop-Protection Action

    WITCHING OMMANDS LOOP PROTECTION ACTION loop-protection action Overview Use this command to specify the protective action to apply when a network loop is detected on an interface. Use the no variant of this command to reset the loop protection actions to the default action, vlan-disable, on an interface.
  • Page 446: Loop-Protection Action-Delay-Time

    WITCHING OMMANDS LOOP PROTECTION ACTION DELAY TIME loop-protection action-delay-time Overview Use this command to sets the loop protection action delay time for an interface to specified values in seconds. The action delay time specifies the waiting period for the action. Use the no variant of this command to reset the loop protection action delay time for an interface to default.
  • Page 447: Loop-Protection Timeout

    WITCHING OMMANDS LOOP PROTECTION TIMEOUT loop-protection timeout Overview Use this command to specify the Loop Protection recovery action duration on an interface. Use the no variant of this command to set the loop protection timeout to the default. Syntax loop-protection timeout <duration> no loop-protection timeout Parameter Description...
  • Page 448: Mac Address-Table Acquire

    WITCHING OMMANDS MAC ADDRESS TABLE ACQUIRE mac address-table acquire Overview Use this command to enable MAC address learning on the device. Use the no variant of this command to disable learning. Syntax mac address-table acquire no mac address-table acquire Default Learning is enabled by default for all instances.
  • Page 449: Mac Address-Table Ageing-Time

    WITCHING OMMANDS MAC ADDRESS TABLE AGEING TIME mac address-table ageing-time Overview Use this command to specify an ageing-out time for a learned MAC address. The learned MAC address will persist for at least the specified time. The no variant of this command will reset the ageing-out time back to the default of 300 seconds (5 minutes).
  • Page 450: Mac Address-Table Logging

    WITCHING OMMANDS MAC ADDRESS TABLE LOGGING mac address-table logging Overview Use this command to create log entries when the content of the FDB (forwarding database) changes. Log messages are produced when a MAC address is added to or removed from the FDB. : MAC address table logging may impact the performance of the switch.
  • Page 451: Mac Address-Table Static

    WITCHING OMMANDS MAC ADDRESS TABLE STATIC mac address-table static Overview Use this command to statically configure the MAC address-table to forward or discard frames with a matching destination MAC address. mac address-table static <mac-addr> {forward|discard} interface Syntax <port> [vlan <vid>] no mac address-table static <mac-addr>...
  • Page 452: Mac Address-Table Thrash-Limit

    WITCHING OMMANDS MAC ADDRESS TABLE THRASH LIMIT mac address-table thrash-limit Overview Use this command to set the thrash limit on the device or stack. Thrashing occurs when a MAC address table rapidly “flips” its mapping of a single MAC address between two subnets, usually as a result of a network loop. Use the no variant of this command to disable thrash limiting.
  • Page 453: Platform Hwfilter-Size

    WITCHING OMMANDS PLATFORM HWFILTER SIZE platform hwfilter-size Overview You can use this command to control the configuration of hardware Access Control Lists (ACLs), which determines the total available number and functionality of hardware ACLs. For this command to take effect, you need to reboot the affected service. One cannot attach an IPv6 ACL to a port if the ACL contains a specified source or destination IPv6 address or both and the hw-filter size setting is ipv4-limited-ipv6.
  • Page 454: Platform Load-Balancing

    WITCHING OMMANDS PLATFORM LOAD BALANCING platform load-balancing Overview This command selects which address fields are used as inputs into the load balancing algorithm for aggregated links. The output from this algorithm is used to select which individual path a given packet will traverse within an aggregated link.
  • Page 455 WITCHING OMMANDS PLATFORM LOAD BALANCING Examples To use all four inputs, you do not have to enter any commands, because this is the default. Note that this setting is not displayed in the show running-config output. Use the show platform command to verify this setting.
  • Page 456: Platform Stop-Unreg-Mc-Flooding

    WITCHING OMMANDS PLATFORM STOP UNREG FLOODING platform stop-unreg-mc-flooding Overview If a multicast stream is arriving at a network device, and that network device has received no IGMP reports that request the receipt of the stream, then that stream is referred to as "unregistered". IGMP snooping actively prevents the flooding of unregistered streams to all ports in the VLAN on which the stream is received.
  • Page 457 WITCHING OMMANDS PLATFORM STOP UNREG FLOODING Examples To enable this feature and stop multicast packet flooding, use the following commands: awplus# configure terminal awplus(config)# platform stop-unreg-mc-flooding To disable this feature and allow multicast packet flooding, use the following commands: awplus# configure terminal awplus(config)# no platform stop-unreg-mc-flooding...
  • Page 458: Platform Vlan-Stacking-Tpid

    WITCHING OMMANDS PLATFORM VLAN STACKING TPID platform vlan-stacking-tpid Overview This command specifies the Tag Protocol Identifier (TPID) value that applies to all frames that are carrying double tagged VLANs. All nested VLANs must use the same TPID value. (This feature is sometimes referred to as VLAN stacking or VLAN double-tagging.) Use the no variant of this command to revert to the default TPID value (0x8100).
  • Page 459: Polarity

    WITCHING OMMANDS POLARITY polarity Overview This command sets the MDI/MDIX polarity on a copper-based switch port. polarity {auto|mdi|mdix} Syntax Parameter Description Sets the polarity to MDI (medium dependent interface). mdix Sets the polarity to MDI-X (medium dependent interface crossover). auto The switch port sets the polarity automatically.
  • Page 460: Show Debugging Loopprot

    WITCHING OMMANDS SHOW DEBUGGING LOOPPROT show debugging loopprot Overview This command shows Loop Protection debugging information. show debugging loopprot Syntax Mode User Exec and Privileged Exec Example To display the enabled Loop Protection debugging modes, use the command: awplus# show debugging loopprot Related debug loopprot Commands...
  • Page 461: Show Debugging Platform Packet

    WITCHING OMMANDS SHOW DEBUGGING PLATFORM PACKET show debugging platform packet Overview This command shows platform to CPU level packet debugging information. show debugging platform packet Syntax Mode User Exec and Privileged Exec Example To display the platform packet debugging information, use the command: awplus# show debugging platform packet Related...
  • Page 462: Show Flowcontrol Interface

    WITCHING OMMANDS SHOW FLOWCONTROL INTERFACE show flowcontrol interface Overview Use this command to display flow control information. show flowcontrol interface <port> Syntax Parameter Description <port> Specifies the name of the port to be displayed. Mode User Exec and Privileged Exec To display the flow control for the port1.0.5, use the command: Example awplus#...
  • Page 463: Show Interface Err-Disabled

    WITCHING OMMANDS SHOW INTERFACE ERR DISABLED show interface err-disabled Overview Use this command to show the ports which have been dynamically shut down by protocols running on the device and the protocols responsible for the shutdown. show interface [<interface-range> err-disabled] Syntax Parameter Description...
  • Page 464: Show Interface Switchport

    WITCHING OMMANDS SHOW INTERFACE SWITCHPORT show interface switchport Overview Use this command to show VLAN information about each switch port. show interface switchport Syntax Mode User Exec and Privileged Exec Example To display VLAN information about each switch port, enter the command: awplus# show interface switchport Output...
  • Page 465: Show Loop-Protection

    WITCHING OMMANDS SHOW LOOP PROTECTION show loop-protection Overview Use this command to display the current loop protection setup for the device. show loop-protection [interface <port-list>] [counters] Syntax Parameter Description interface The interface selected for display. <port-list> A port, a port range, or an aggregated link. counters Displays counter information for loop protection.
  • Page 466 WITCHING OMMANDS SHOW LOOP PROTECTION awplus#show loop-protection counters  Switch Loop Detection Counter  Interface Rx Invalid Last LDF Rx ------------------------------------------------------------------------- port1.0.1 vlan1 - port1.0.2 vlan1 - port1.0.3 vlan1 - C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 467: Show Mac Address-Table

    WITCHING OMMANDS SHOW MAC ADDRESS TABLE show mac address-table Overview Use this command to display the mac address-table for all configured VLANs. show mac address-table Syntax Mode User Exec and Privileged Exec Usage The show mac address-table command is only applicable to view a mac address-table for Layer 2 switched traffic within VLANs.
  • Page 468 WITCHING OMMANDS SHOW MAC ADDRESS TABLE awplus(config)#mac address-table static 0000.1111.2222 for int  port1.0.3 vlan 2 awplus(config)#end awplus# awplus#show mac address-table  VLAN Port State unknown 0000.cd28.0752 static port1.0.2 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...
  • Page 469: Show Mac Address-Table Thrash-Limit

    WITCHING OMMANDS SHOW MAC ADDRESS TABLE THRASH LIMIT show mac address-table thrash-limit Overview Use this command to display the current thrash limit set for all interfaces on the device. show mac address-table thrash-limit Syntax Mode User Exec and Privileged Exec Example To display the current, use the following command: awplus#...
  • Page 470: Show Platform

    WITCHING OMMANDS SHOW PLATFORM show platform Overview This command displays the settings configured by using the platform commands. show platform Syntax Mode Privileged Exec Usage This command displays the settings in the running config. For changes in some of these settings to take effect, the device must be rebooted with the new settings in the startup config.
  • Page 471 WITCHING OMMANDS SHOW PLATFORM Table 5: Parameters in the output of the show platform command (cont.) Parameter Description Vlan-stacking TPID The value of the TPID set in the Ethernet type field when a frame has a double VLAN tag (set with the platform vlan-stacking-tpid command).
  • Page 472: Show Platform Classifier Statistics Utilization Brief

    WITCHING OMMANDS SHOW PLATFORM CLASSIFIER STATISTICS UTILIZATION BRIEF show platform classifier statistics utilization brief Overview This command displays the number of used entries available for various platform functions, and the percentage that number of entries represents of the total available. Syntax show platform classifier statistics utilization brief Mode...
  • Page 473: Show Platform Port

    WITCHING OMMANDS SHOW PLATFORM PORT show platform port Overview This command displays the various port registers or platform counters for specified switchports. show platform port [<port-list>|counters] Syntax Parameter Description <port-list> The ports to display information about. A port-list can be: •...
  • Page 474 WITCHING OMMANDS SHOW PLATFORM PORT Output Figure 14-9: Example output from the show platform port command awplus#show platform port port1.0.1 Phy register value for port1.0.1 (ifindex: 5001)   00:1140 01:79ed 02:0362 03:5e7b 04:01e1 05:c1e1 06:006d 07:2001  08:4d77 09:0600 0a:3800 0b:0000 0c:0000...
  • Page 475 WITCHING OMMANDS SHOW PLATFORM PORT Table 6: Parameters in the output from the show platform port command Parameter Description 256 - 511 Number of 256 - 511 octet packets received and transmitted. 512 - 1023 Number of 512 - 1023 octet packets received and transmitted.
  • Page 476 WITCHING OMMANDS SHOW PLATFORM PORT Table 6: Parameters in the output from the show platform port command Parameter Description CarrierSenseErr Receive False Carrier Counter. UndersizePkts Number of undersized packets received. Transmit Counters for traffic transmitted. Octets Number of octets transmitted. Pkts Number of packets transmitted.
  • Page 477: Show Port-Security Interface

    WITCHING OMMANDS SHOW PORT SECURITY INTERFACE show port-security interface Overview Use this command to show the current port-security configuration and the switch port status. show port-security interface <port> Syntax Parameter Description <port> The port to display information about. The port may be a switch port (e.g.
  • Page 478: Show Port-Security Intrusion

    WITCHING OMMANDS SHOW PORT SECURITY INTRUSION show port-security intrusion Overview Use this command to show the intrusion list. If the port is not specified, the entire intrusion table is shown. show port-security intrusion [interface <port>] Syntax Parameter Description interface Specify a port <port>...
  • Page 479: Show Storm-Control

    WITCHING OMMANDS SHOW STORM CONTROL show storm-control Overview Use this command to display storm-control information for all interfaces or a particular interface. show storm-control [<port>] Syntax Parameter Description <port> The port to display information about. The port may be a switch port (e.g.
  • Page 480: Speed

    WITCHING OMMANDS SPEED speed Overview This command changes the speed of the specified port. You can optionally specify the speed or speeds that get autonegotiated, so autonegotiation is only attempted at the specified speeds. To see the currently-negotiated speed for ports whose links are up, use the show interface command.
  • Page 481: Speed Auto

    WITCHING OMMANDS SPEED To return the port to auto-negotiating its speed, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.49 awplus(config-if)# speed auto To set the port to auto-negotiate its speed at 1000Mbps only, enter the following commands: awplus# configure terminal awplus(config)# interface port1.0.49...
  • Page 482: Storm-Control Level

    WITCHING OMMANDS STORM CONTROL LEVEL storm-control level Overview Use this command to specify the speed limiting level for broadcasting, multicast, or destination lookup failure (DLF) traffic for the port. Storm-control limits the selected traffic type to the specified percentage of the maximum port speed. Use the no variant of this command to disable storm-control for broadcast, multicast or DLF traffic.
  • Page 483: Switchport Port-Security

    WITCHING OMMANDS SWITCHPORT PORT SECURITY switchport port-security Overview Use this command to enable the port-security feature. This feature is also known as the port-based learn limit. It allows the user to set the maximum number of MAC addresses that each port can learn. Use the no variant of this command to disable the port-security feature.
  • Page 484: Switchport Port-Security Aging

    WITCHING OMMANDS SWITCHPORT PORT SECURITY AGING switchport port-security aging Overview Use this command to set MAC addresses that have been learned by port security to age out. Use the no variant of this command to set the MAC addresses to not age out. Syntax switchport port-security aging no switchport port-security aging...
  • Page 485: Switchport Port-Security Maximum

    WITCHING OMMANDS SWITCHPORT PORT SECURITY MAXIMUM switchport port-security maximum Overview Use this command to set the maximum number of MAC addresses that each port can learn. Use the no variant of this command to unset the maximum number of MAC addresses that each port can learn.
  • Page 486: Switchport Port-Security Violation

    WITCHING OMMANDS SWITCHPORT PORT SECURITY VIOLATION switchport port-security violation Overview Use this command to set the action taken on a switch port when the port exceeds the learning limits. The port action can be either shutdown, restrict or protect. If shutdown is set, the physical link will be disabled and “shutdown”...
  • Page 487: Thrash-Limiting

    WITCHING OMMANDS THRASH LIMITING thrash-limiting Overview Sets and configures the thrash limit action that will be applied to any port on the device when a thrashing condition is detected. The thrash-limiting timeout specifies the time, in seconds, for which the thrash action is employed. thrash-limiting {[action Syntax {learn-disable|link-down|port-disable|vlan-disable|none}]...
  • Page 488 WITCHING OMMANDS THRASH LIMITING To set the thrash limiting action to its default, use the following command: awplus(config-if)# no thrash-limiting action To set the thrash limiting timeout to its default, use the following command: awplus(config-if)# no thrash-limiting timeout Related loop-protection loop-detect Commands loop-protection action loop-protection timeout...
  • Page 489: Undebug Loopprot

    WITCHING OMMANDS UNDEBUG LOOPPROT undebug loopprot Overview This command applies the functionality of the no debug loopprot command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 490: 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 491: Vlan Commands

    VLAN Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure VLANs. For more information see the VLAN Feature Overview and Configuration Guide. Command List • “clear vlan statistics” on page 493 • “port-vlan-forwarding-priority” on page 494 •...
  • Page 492 VLAN C OMMANDS • “switchport mode trunk” on page 516 • “switchport private-vlan host-association” on page 517 • “switchport private-vlan mapping” on page 518 • “switchport trunk allowed vlan” on page 519 • “switchport trunk native vlan” on page 522 •...
  • Page 493: Clear Vlan Statistics

    VLAN C OMMANDS CLEAR VLAN STATISTICS clear vlan statistics Overview This command resets the counters for either a specific VLAN statistics instance or (by not specifying an instance) resets the counters for all instances. The terms frame and packet are used interchangeably. Syntax clear vlan statistics [name <instance_name>] Parameter...
  • Page 494: Port-Vlan-Forwarding-Priority

    VLAN C OMMANDS PORT VLAN FORWARDING PRIORITY port-vlan-forwarding-priority Overview Use this command to specify which protocol has the highest priority for controling transitions from blocking to forwarding traffic. This command prioritizes switch port forwarding mode control, when more than one of EPSR, Loop Protection, and MAC thrashing protection protocols are used on the switch.
  • Page 495 VLAN C OMMANDS PORT VLAN FORWARDING PRIORITY However, if more than one of these three features is configured on a switch, you can use this command to prioritize either EPSR or Loop Protection when their effects on a port would conflict and override each other. Without this command, each protocol could set a port to forwarding for a VLAN, sometimes overriding the previous setting by another protocol to block the port.
  • Page 496 VLAN C OMMANDS PORT VLAN FORWARDING PRIORITY To prioritize Loop Protection over EPSR or MAC Thrashing protection settings, so that EPSR or MAC Thrashing protection cannot set a port to the forwarding state a VLAN if Loop Protection has set it to the blocking state, use the commands: awplus# configure terminal awplus(config)#...
  • Page 497: Private-Vlan

    VLAN C OMMANDS PRIVATE VLAN private-vlan Overview Use this command to a create a private VLAN. Private VLANs can be either primary or secondary. Secondary VLANs can be ether community or isolated. Use the no variant of this command to remove the specified private VLAN. For more information, see the VLAN Feature Overview and Configuration Guide.
  • Page 498: Private-Vlan Association

    VLAN C OMMANDS PRIVATE VLAN ASSOCIATION private-vlan association Overview Use this command to associate a secondary VLAN to a primary VLAN. Only one isolated VLAN can be associated to a primary VLAN. Multiple community VLANs can be associated to a primary VLAN. Use the no variant of this command to remove association of all the secondary VLANs to a primary VLAN.
  • Page 499: Show Port-Vlan-Forwarding-Priority

    VLAN C OMMANDS SHOW PORT VLAN FORWARDING PRIORITY show port-vlan-forwarding-priority Overview Use this command to display the highest priority protocol that controls port-vlan forwarding or blocking traffic. This command displays whether EPSR or Loop Protection is set as the highest priority for determining whether a port forwards a VLAN, as set by the port-vlan-forwarding-priority command.
  • Page 500: Show Interface Switchport Vlan Translation

    VLAN C OMMANDS SHOW INTERFACE SWITCHPORT VLAN TRANSLATION show interface switchport vlan translation Overview Use this command to display VLAN translation information for some or all interfaces. show interface switchport vlan translation interface [<int>] Syntax Parameter Description interface <int> The interface to display information about. An interface can be a switch port (e.g.
  • Page 501: Show Vlan

    VLAN C OMMANDS SHOW VLAN show vlan Overview Use this command to display information about a particular VLAN by specifying its VLAN ID. Selecting all will display information for all the VLANs configured. show vlan Syntax {all|brief|dynamic|static|auto|static-ports|<1-4094>} Parameter Description <1-4094> Display information about the VLAN specified by the VLAN ID.
  • Page 502: Show Vlan Classifier Group

    VLAN C OMMANDS SHOW VLAN CLASSIFIER GROUP show vlan classifier group Overview Use this command to display information about all configured VLAN classifier groups or a specific group. show vlan classifier group [<1-16>] Syntax Parameter Description <1-16> VLAN classifier group identifier Mode User Exec and Privileged Exec Usage...
  • Page 503: Show Vlan Classifier Group Interface

    VLAN C OMMANDS SHOW VLAN CLASSIFIER GROUP INTERFACE show vlan classifier group interface Overview Use this command to display information about a single switch port interface for all configured VLAN classifier groups. show vlan classifier group interface <switch-port> Syntax Parameter Description <switch-port>...
  • Page 504: Show Vlan Classifier Interface Group

    VLAN C OMMANDS SHOW VLAN CLASSIFIER INTERFACE GROUP show vlan classifier interface group Overview Use this command to display information about all interfaces configured for a VLAN group or all the groups. show vlan classifier interface group [<1-16>] Syntax Parameter Description <1-16>...
  • Page 505: Show Vlan Classifier Rule

    VLAN C OMMANDS SHOW VLAN CLASSIFIER RULE show vlan classifier rule Overview Use this command to display information about all configured VLAN classifier rules or a specific rule. show vlan classifier rule [<1-256>] Syntax Parameter Description <1-256> VLAN classifier rule identifier Mode User Exec and Privileged Exec Usage...
  • Page 506: Show Vlan Private-Vlan

    VLAN C OMMANDS SHOW VLAN PRIVATE VLAN show vlan private-vlan Overview Use this command to display the private VLAN configuration and associations. show vlan private-vlan Syntax Mode User Exec and Privileged Exec Example To display the private VLAN configuration and associations, enter the command: awplus# show vlan private-vlan Output...
  • Page 507: Show Vlan Statistics

    VLAN C OMMANDS SHOW VLAN STATISTICS show vlan statistics Overview Use this command to display the current configuration for either a specific VLAN statistics instance, or (by not specifying an instance) display all VLAN packet counter instances. show vlan statistics [name <instance_name>] Syntax Mode User Exec and Privileged Exec...
  • Page 508: Switchport Access Vlan

    VLAN C OMMANDS SWITCHPORT ACCESS VLAN switchport access vlan Overview Use this command to change the port-based VLAN of the current port. Use the no variant of this command to change the port-based VLAN of this port to the default VLAN, vlan1. Syntax switchport access vlan <vlan-id>...
  • Page 509: Switchport Enable Vlan

    VLAN C OMMANDS SWITCHPORT ENABLE VLAN switchport enable vlan Overview This command enables the VLAN on the port manually once disabled by certain actions, such as QSP (QoS Storm Protection) or EPSR (Ethernet Protection Switching Ring). Note that if the VID is not given, all disabled VLANs are re-enabled. switchport enable vlan [<1-4094>] Syntax Parameter...
  • Page 510: Switchport Mode Access

    VLAN C OMMANDS SWITCHPORT MODE ACCESS switchport mode access Overview Use this command to set the switching characteristics of the port to access mode. Received frames are classified based on the VLAN characteristics, then accepted or discarded based on the specified filtering criteria. switchport mode access [ingress-filter {enable|disable}] Syntax Parameter...
  • Page 511: Switchport Mode Private-Vlan

    VLAN C OMMANDS SWITCHPORT MODE PRIVATE VLAN switchport mode private-vlan Overview Use this command to make a Layer 2 port a private VLAN host port or a promiscuous port. Use the no variant of this command to remove the configuration. Syntax switchport mode private-vlan {host|promiscuous} no switchport mode private-vlan {host|promiscuous}...
  • Page 512: Switchport Mode Private-Vlan Trunk Promiscuous

    VLAN C OMMANDS SWITCHPORT MODE PRIVATE VLAN TRUNK PROMISCUOUS switchport mode private-vlan trunk promiscuous Overview Use this command to enable a port in trunk mode to be promiscuous port for isolated VLANs. : Private VLAN trunk ports are not supported by the current AlliedWare Plus GVRP NOTE implementation.
  • Page 513 VLAN C OMMANDS SWITCHPORT MODE PRIVATE VLAN TRUNK PROMISCUOUS To create the isolated VLANs 2, 3 and 4 and then enable port1.0.2 in trunk Examples mode as a promiscuous port for these VLANs with the group ID of 3, use the following commands: awplus# configure terminal...
  • Page 514: Switchport Mode Private-Vlan Trunk Secondary

    VLAN C OMMANDS SWITCHPORT MODE PRIVATE VLAN TRUNK SECONDARY switchport mode private-vlan trunk secondary Overview Use this command to enable a port in trunk mode to be a secondary port for isolated VLANs. : Private VLAN trunk ports are not supported by the current AlliedWare Plus GVRP NOTE implementation.
  • Page 515 VLAN C OMMANDS SWITCHPORT MODE PRIVATE VLAN TRUNK SECONDARY To create isolated private VLAN 2 and then enable port1.0.3 in trunk mode as Examples a secondary port for the this VLAN with the group ID of 3, use the following commands: awplus# configure terminal...
  • Page 516: Switchport Mode Trunk

    VLAN C OMMANDS SWITCHPORT MODE TRUNK switchport mode trunk Overview Use this command to set the switching characteristics of the port to trunk. Received frames are classified based on the VLAN characteristics, then accepted or discarded based on the specified filtering criteria. switchport mode trunk [ingress-filter {enable|disable}] Syntax Parameter...
  • Page 517: Switchport Private-Vlan Host-Association

    VLAN C OMMANDS SWITCHPORT PRIVATE VLAN HOST ASSOCIATION switchport private-vlan host-association Overview Use this command to associate a primary VLAN and a secondary VLAN to a host port. Only one primary and secondary VLAN can be associated to a host port. Use the no variant of this command to remove the association.
  • Page 518: Switchport Private-Vlan Mapping

    VLAN C OMMANDS SWITCHPORT PRIVATE VLAN MAPPING switchport private-vlan mapping Overview Use this command to associate a primary VLAN and a set of secondary VLANs to a promiscuous port. Use the no variant of this to remove all the association of secondary VLANs to primary VLANs for a promiscuous port.
  • Page 519: Switchport Trunk Allowed Vlan

    VLAN C OMMANDS SWITCHPORT TRUNK ALLOWED VLAN switchport trunk allowed vlan Overview Use this command to add VLANs to be trunked over this switch port. Traffic for these VLANs can be sent and received on the port. Use the no variant of this command to reset switching characteristics of a specified interface to negate a trunked configuration specified with switchport trunk allowed vlan command.
  • Page 520 VLAN C OMMANDS SWITCHPORT TRUNK ALLOWED VLAN : Only use the add or the remove parameters with this command if a list of NOTE VLANs are configured on a port. Only use the except parameter to remove VLANs after either the except or the all parameters have first been used to add a list of VLANs to a port.
  • Page 521 VLAN C OMMANDS SWITCHPORT TRUNK ALLOWED VLAN Add VLAN 4 by re-entering the except parameter with a list of VLANs to exclude, instead of using the add parameter to include VLAN 4, as shown in the command example below: awplus# configure terminal awplus(config)# interface port1.0.5...
  • Page 522: Switchport Trunk Native Vlan

    VLAN C OMMANDS SWITCHPORT TRUNK NATIVE VLAN switchport trunk native vlan Overview Use this command to configure the native VLAN for this port. The native VLAN is used for classifying the incoming untagged packets. Use the none parameter with this command to remove the native VLAN from the port and set the acceptable frame types to vlan-tagged only.
  • Page 523: Switchport Vlan Translation

    VLAN C OMMANDS SWITCHPORT VLAN TRANSLATION switchport vlan translation Overview Use this command to create a VLAN translation entry on an interface. The translation entry translates a packet's VLAN-ID as seen on the wire. Use the no variant of this command to remove all translation entries or a specific entry.
  • Page 524: Switchport Vlan Translation Default Drop

    VLAN C OMMANDS SWITCHPORT VLAN TRANSLATION DEFAULT DROP switchport vlan translation default drop Overview Use this command to configure a default behavior of dropping inbound tagged packets that have a VLAN-ID that does not match any entries in the VLAN translation table for an interface.
  • Page 525: Switchport Vlan-Stacking (Double Tagging)

    VLAN C OMMANDS SWITCHPORT VLAN STACKING DOUBLE TAGGING switchport vlan-stacking (double tagging) Overview Use this command to enable VLAN stacking on a port and set it to be a customer-edge-port or provider-port. This is sometimes referred to as VLAN double-tagging, nested VLANs, or Q in Q. Use no parameter with this command to disable VLAN stacking on an interface.
  • Page 526: Switchport Voice Dscp

    VLAN C OMMANDS SWITCHPORT VOICE DSCP switchport voice dscp Overview Use this command for a specific port to configure the Layer 3 DSCP value advertised when the transmission of LLDP-MED Network Policy TLVs for voice devices is enabled. When LLDP-MED capable IP phones receive this network policy information, they transmit voice data with the specified DSCP value.
  • Page 527: Switchport Voice Vlan

    VLAN C OMMANDS SWITCHPORT VOICE VLAN switchport voice vlan Overview Use this command to configure the Voice VLAN tagging advertised when the transmission of LLDP-MED Network Policy TLVs for voice endpoint devices is enabled. When LLDP-MED capable IP phones receive this network policy information, they transmit voice data with the specified tagging.
  • Page 528 VLAN C OMMANDS SWITCHPORT VOICE VLAN If the Voice VLAN details are to be assigned by RADIUS, then the RADIUS server must be configured to send the attribute “Egress-VLANID (56)” or “Egress-VLAN-Name (58)” in the RADIUS Accept message when authenticating a phone attached to this port.
  • Page 529 VLAN C OMMANDS SWITCHPORT VOICE VLAN Related egress-vlan-id Commands egress-vlan-name lldp med-tlv-select spanning-tree edgeport (RSTP and MSTP) switchport voice dscp switchport voice vlan priority show lldp C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 530: Switchport Voice Vlan Priority

    VLAN C OMMANDS SWITCHPORT VOICE VLAN PRIORITY switchport voice vlan priority Overview Use this command to configure the Layer 2 user priority advertised when the transmission of LLDP-MED Network Policy TLVs for voice devices is enabled. This is the priority in the User Priority field of the IEEE 802.1Q VLAN tag, also known as the Class of Service (CoS), or 802.1p priority.
  • Page 531: Vlan

    VLAN C OMMANDS VLAN vlan Overview This command creates VLANs, assigns names to them, and enables or disables them. Disabling the VLAN causes all forwarding over the specified VLAN ID to cease. Enabling the VLAN allows forwarding of frames on the specified VLAN. The no variant of this command destroys the specified VLANs or returns their MTU to the default.
  • Page 532: Vlan Classifier Activate

    VLAN C OMMANDS VLAN CLASSIFIER ACTIVATE vlan classifier activate Overview Use this command in Interface Configuration mode to associate a VLAN classifier group with the switch port. Use the no variant of this command to remove the VLAN classifier group from the switch port.
  • Page 533: Vlan Classifier Group

    VLAN C OMMANDS VLAN CLASSIFIER GROUP vlan classifier group Overview Use this command to create a group of VLAN classifier rules. The rules must already have been created. Use the no variant of this command to delete a group of VLAN classifier rules. Syntax vlan classifier group <1-16>...
  • Page 534: Vlan Classifier Rule Ipv4

    VLAN C OMMANDS VLAN CLASSIFIER RULE IPV vlan classifier rule ipv4 Overview Use this command to create an IPv4 subnet-based VLAN classifier rule and map it to a specific VLAN. Use the no variant of this command to delete the VLAN classifier rule.
  • Page 535: Vlan Classifier Rule Proto

    VLAN C OMMANDS VLAN CLASSIFIER RULE PROTO vlan classifier rule proto Overview Use this command to create a protocol type-based VLAN classifier rule, and map it to a specific VLAN. See the published IANA EtherType IEEE 802 numbers here: www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.txt. Instead of a protocol name the decimal value of the protocol's EtherType can be entered.
  • Page 536 VLAN C OMMANDS VLAN CLASSIFIER RULE PROTO Parameter Description [decsyscomm|24583] DEC Systems Comms Arch protocol [g8bpqx25|2303] G8BPQ AX.25 protocol [ieeeaddrtrans|2561] Xerox IEEE802.3 PUP Address [ieeepup|2560] Xerox IEEE802.3 PUP protocol [ip|2048] IP protocol [ipv6|34525] IPv6 protocol [ipx|33079] IPX protocol [netbeui|61680] IBM NETBIOS/NETBEUI protocol [netbeui|61681] IBM NETBIOS/NETBEUI...
  • Page 537 VLAN C OMMANDS VLAN CLASSIFIER RULE PROTO awplus# configure terminal Example awplus(config)# vlan classifier rule 1 proto x25 encap ethv2 vlan 2 awplus(config)# vlan classifier rule 2 proto 512 encap ethv2 vlan 2 awplus(config)# vlan classifier rule 3 proto 2056 encap ethv2 vlan 2 awplus(config)# vlan classifier rule 4 proto 2054 encap ethv2...
  • Page 538: Vlan Database

    VLAN C OMMANDS VLAN DATABASE vlan database Overview Use this command to enter the VLAN Configuration mode. vlan database Syntax Mode Global Configuration Usage Use this command to enter the VLAN configuration mode. You can then add or delete a VLAN, or modify its values. Example In the following example, note the change to VLAN configuration mode from Configure mode:...
  • Page 539: Vlan Mode Stack-Local-Vlan

    VLAN C OMMANDS VLAN MODE STACK LOCAL VLAN vlan mode stack-local-vlan Overview This command enables you to create stack-local-VLANs and use ICMP to monitor and diagnose issues within specific members of the stack. When a VLAN is added using this method, all its traffic will be trapped to and processed by the CPU of the specific local stack member, rather than the CPU of the stack master.
  • Page 540 VLAN C OMMANDS VLAN MODE STACK LOCAL VLAN To remove VLAN 4002, use the following commands: awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# no vlan 4002 Related ip igmp snooping Commands vlan database C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 541: Vlan Statistics

    VLAN C OMMANDS VLAN STATISTICS vlan statistics Overview This command creates a VLAN packet counter instance, and enables you to add one or more ports to a defined counter instance. This command can only be applied to switch ports. You cannot apply it to aggregated links or eth ports. The no variant of this command enables the deletion of VLAN packet counter instances, or for removing one or more ports that are currently mapped to a counter instance.
  • Page 542 VLAN C OMMANDS VLAN STATISTICS To remove the remaining ports 1.0.2 to 1.0.4 from the packet counter instance named vlan2-data. Note that because there are no ports associated with the vlan2-data, this instance will be removed. awplus(config)# interface port1.0.2-port1.0.4 awplus(config-if)# no vlan statistics name vlan2-data Related clear vlan statistics...
  • Page 543: Spanning Tree Commands

    Spanning Tree Commands Introduction Overview This chapter provides an alphabetical reference for commands used to configure RSTP, STP or MSTP. For information about spanning trees, including configuration procedures, see the STP Feature Overview and Configuration Guide. Command List • “clear spanning-tree statistics”...
  • Page 544 PANNING OMMANDS • “show spanning-tree statistics instance” on page 575 • “show spanning-tree statistics instance interface” on page 576 • “show spanning-tree statistics interface” on page 578 • “show spanning-tree vlan range-index” on page 580 • “spanning-tree autoedge (RSTP and MSTP)”...
  • Page 545: Clear Spanning-Tree Statistics

    PANNING OMMANDS CLEAR SPANNING TREE STATISTICS clear spanning-tree statistics Overview Use this command to clear all the STP BPDU (Bridge Protocol Data Unit) statistics. clear spanning-tree statistics Syntax clear spanning-tree statistics [instance <mstp-instance>] clear spanning-tree statistics [interface <port> [instance <mstp-instance>]] Parameter Description <port>...
  • Page 546: Clear Spanning-Tree Detected Protocols (Rstp And Mstp)

    PANNING OMMANDS (RSTP MSTP) CLEAR SPANNING TREE DETECTED PROTOCOLS clear spanning-tree detected protocols (RSTP and MSTP) Overview Use this command to clear the detected protocols for a specific port, or all ports. Use this command in RSTP or MSTP mode only. clear spanning-tree detected protocols [interface <port>] Syntax Parameter...
  • Page 547: Debug Mstp (Rstp And Stp)

    PANNING OMMANDS (RSTP STP) DEBUG MSTP debug mstp (RSTP and STP) Overview Use this command to enable debugging for the configured spanning tree mode, and echo data to the console, at various levels. Note that although this command uses the keyword mstp it displays debugging output for RSTP and STP protocols as well the MSTP protocol.
  • Page 548 PANNING OMMANDS (RSTP STP) DEBUG MSTP command. The default terminal monitor filter will select and display these messages. Alternatively, the messages can be directed to any of the other log outputs by adding a filter for the MSTP application using log buffered (filter) command: awplus#...
  • Page 549 PANNING OMMANDS (RSTP STP) DEBUG MSTP awplus#terminal monitor awplus#debug mstp packet rx decode interface port1.0.4 17:23:42 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - start 17:23:42 awplus MSTP[1417]: Protocol version: MSTP, BPDU type: RST 17:23:42 awplus MSTP[1417]: CIST Flags: Agree Forward Learn role=Desig 17:23:42 awplus MSTP[1417]: CIST root id : 0000:0000cd1000fe...
  • Page 550 PANNING OMMANDS (RSTP STP) DEBUG MSTP awplus#terminal monitor awplus#debug mstp packet rx decode interface port1.0.4 awplus#17:30:17 awplus MSTP[1417]: port1.0.4 xSTP BPDU rx - start 17:30:17 awplus MSTP[1417]: Protocol version: RSTP, BPDU type: RST 17:30:17 awplus MSTP[1417]: CIST Flags: Forward Learn role=Desig 17:30:17 awplus MSTP[1417]: CIST root id : 8000:0000cd1000fe...
  • Page 551: Instance Priority (Mstp)

    PANNING OMMANDS (MSTP) INSTANCE PRIORITY instance priority (MSTP) Overview Use this command to set the priority for this device to become the root bridge for the specified MSTI (Multiple Spanning Tree Instance). Use this command for MSTP only. Use the no variant of this command to restore the root bridge priority of the device for the instance to the default.
  • Page 552 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 553: Instance Vlan (Mstp)

    PANNING OMMANDS (MSTP) INSTANCE VLAN instance vlan (MSTP) Overview Use this command to create an MST Instance (MSTI), and associate the specified VLANs with it. An MSTI is a spanning tree instance that exists within an MST region (MSTR). When a VLAN is associated with an MSTI the member ports of the VLAN are automatically configured to send and receive spanning-tree information for the associated MSTI.
  • Page 554 PANNING OMMANDS (MSTP) INSTANCE VLAN Related region (MSTP) Commands revision (MSTP) show spanning-tree mst config spanning-tree mst instance vlan C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 555: Region (Mstp)

    PANNING OMMANDS (MSTP) REGION region (MSTP) Overview Use this command to assign a name to the device’s MST Region. MST Instances (MSTI) of a region form different spanning trees for different VLANs. Use this command for MSTP only. Use the no variant of this command to remove this region name and reset it to the default.
  • Page 556: Revision (Mstp)

    PANNING OMMANDS (MSTP) REVISION revision (MSTP) Overview Use this command to specify the MST revision number to be used in the configuration identifier. Use this command for MSTP only. Syntax revision <revision-number> Parameter Description <revision-number> <0-65535> Revision number. Default The default of revision number is 0. Mode MST Configuration Usage...
  • Page 557: Show Debugging Mstp

    PANNING OMMANDS SHOW DEBUGGING MSTP show debugging mstp Overview Use this command to show the MSTP debugging options set. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show debugging mstp Mode User Exec and Privileged Exec mode...
  • Page 558: Show Spanning-Tree

    PANNING OMMANDS SHOW SPANNING TREE show spanning-tree Overview Use this command to display detailed spanning tree information on the specified port or on all ports. Use this command for RSTP, MSTP or STP. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 559 PANNING OMMANDS SHOW SPANNING TREE Output Figure 16-2: Example output from show spanning-tree in RSTP mode awplus#show spanning-tree % 1: Bridge up - Spanning Tree Enabled % 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768 % 1: Forward Delay 15 - Hello Time 2 - Max Age 20...
  • Page 560 PANNING OMMANDS SHOW SPANNING TREE % 1: Bridge up - Spanning Tree Enabled % 1: Root Path Cost 0 - Root Port 0 - Bridge Priority 32768 % 1: Forward Delay 15 - Hello Time 2 - Max Age 20 % 1: Root Id 80000000cd20f093...
  • Page 561: Show Spanning-Tree Brief

    PANNING OMMANDS SHOW SPANNING TREE BRIEF show spanning-tree brief Overview Use this command to display a summary of spanning tree status information on all ports. Use this command for RSTP, MSTP or STP. show spanning-tree brief Syntax Parameter Description brief A brief summary of spanning tree information.
  • Page 562: Show Spanning-Tree Mst

    PANNING OMMANDS SHOW SPANNING TREE MST show spanning-tree mst Overview This command displays bridge-level information about the CIST and VLAN to MSTI mappings. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 563: Show Spanning-Tree Mst Config

    PANNING OMMANDS SHOW SPANNING TREE MST CONFIG show spanning-tree mst config Overview Use this command to display MSTP configuration identifier for the device. show spanning-tree mst config Syntax Mode User Exec, Privileged Exec and Interface Configuration Usage The region name, the revision number, and the digest of the VLAN to MSTI configuration table must be the same on all devices that are intended to be in the same MST region.
  • Page 564: Show Spanning-Tree Mst Detail

    PANNING OMMANDS SHOW SPANNING TREE MST DETAIL show spanning-tree mst detail Overview This command displays detailed information about each instance, and all interfaces associated with that particular instance. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 565 PANNING OMMANDS SHOW SPANNING TREE MST DETAIL port1.0.3: Port 5003 - Id 838b - Role Disabled - State Discarding port1.0.3: Designated External Path Cost 0 -Internal Path Cost 0 port1.0.3: Configured Path Cost 20000000 - Add type Explicit ref count 1 port1.0.3: Designated Port Id 838b - CIST Priority 128 -...
  • Page 566: Show Spanning-Tree Mst Detail Interface

    PANNING OMMANDS SHOW SPANNING TREE MST DETAIL INTERFACE show spanning-tree mst detail interface Overview This command displays detailed information about the specified switch port, and the MST instances associated with it. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 567 PANNING OMMANDS SHOW SPANNING TREE MST DETAIL INTERFACE port1.0.2: No portfast configured - Current portfast off port1.0.2: portfast bpdu-guard default - Current portfast bpdu-guard off port1.0.2: portfast bpdu-filter default - Current portfast bpdu-filter off port1.0.2: no root guard configured - Current root guard off port1.0.2: Configured Link Type point-to-point - Current shared...
  • Page 568: Show Spanning-Tree Mst Instance

    PANNING OMMANDS SHOW SPANNING TREE MST INSTANCE show spanning-tree mst instance Overview This command displays detailed information for the specified instance, and all switch ports associated with that instance. A topology change counter has been included for RSTP and MSTP. You can see the topology change counter for RSTP by using the show spanning-tree command.
  • Page 569: Show Spanning-Tree Mst Instance Interface

    PANNING OMMANDS SHOW SPANNING TREE MST INSTANCE INTERFACE show spanning-tree mst instance interface Overview This command displays detailed information for the specified MST (Multiple Spanning Tree) instance, and the specified switch port associated with that MST instance. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 570: Show Spanning-Tree Mst Interface

    PANNING OMMANDS SHOW SPANNING TREE MST INTERFACE show spanning-tree mst interface Overview This command displays the number of instances created, and VLANs associated with it for the specified switch port. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 571: Show Spanning-Tree Mst Detail Interface

    PANNING OMMANDS SHOW SPANNING TREE MST DETAIL INTERFACE show spanning-tree mst detail interface Overview This command displays detailed information about the specified switch port, and the MST instances associated with it. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 572 PANNING OMMANDS SHOW SPANNING TREE MST DETAIL INTERFACE port1.0.2: No portfast configured - Current portfast off port1.0.2: portfast bpdu-guard default - Current portfast bpdu-guard off port1.0.2: portfast bpdu-filter default - Current portfast bpdu-filter off port1.0.2: no root guard configured - Current root guard off port1.0.2: Configured Link Type point-to-point - Current shared...
  • Page 573: Show Spanning-Tree Statistics

    PANNING OMMANDS SHOW SPANNING TREE STATISTICS show spanning-tree statistics Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for all spanning-tree instances, and all switch ports associated with all spanning-tree instances. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 574 PANNING OMMANDS SHOW SPANNING TREE STATISTICS % STATUS of Port Timers % --------------------- % Hello Time Configured : 2 % Hello timer : INACTIVE % Hello Time Value : 0 % Forward Delay Timer : INACTIVE % Forward Delay Timer Value : 0...
  • Page 575: Show Spanning-Tree Statistics Instance

    PANNING OMMANDS SHOW SPANNING TREE STATISTICS INSTANCE show spanning-tree statistics instance Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for the specified MST (Multiple Spanning Tree) instance, and all switch ports associated with that MST instance. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 576: Show Spanning-Tree Statistics Instance Interface

    PANNING OMMANDS SHOW SPANNING TREE STATISTICS INSTANCE INTERFACE show spanning-tree statistics instance interface Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for the specified MST (Multiple Spanning Tree) instance and the specified switch port associated with that MST instance. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 577 PANNING OMMANDS SHOW SPANNING TREE STATISTICS INSTANCE INTERFACE Output Figure 16-15: Example output from show spanning-tree statistics instance interface awplus#sh spanning-tree statistics interface port1.0.2 instance 1 Spanning Tree Enabled for Instance : 1 ================================== % INST_PORT port1.0.2 Information & Statistics % ----------------------------------------...
  • Page 578: Show Spanning-Tree Statistics Interface

    PANNING OMMANDS SHOW SPANNING TREE STATISTICS INTERFACE show spanning-tree statistics interface Overview This command displays BPDU (Bridge Protocol Data Unit) statistics for the specified switch port, and all MST instances associated with that switch port. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 579 PANNING OMMANDS SHOW SPANNING TREE STATISTICS INTERFACE % PORT Based Information & Statistics % ----------------------------------- % Config Bpdu's xmitted : 0 % Config Bpdu's received : 0 % TCN Bpdu's xmitted : 0 % TCN Bpdu's received : 0 % Forward Trans Count : 0...
  • Page 580: Show Spanning-Tree Vlan Range-Index

    PANNING OMMANDS SHOW SPANNING TREE VLAN RANGE INDEX show spanning-tree vlan range-index Overview Use this command to display information about MST (Multiple Spanning Tree) instances and the VLANs associated with them including the VLAN range-index value for the device. show spanning-tree vlan range-index Syntax Mode Privileged Exec...
  • Page 581: Spanning-Tree Autoedge (Rstp And Mstp)

    PANNING OMMANDS (RSTP MSTP) SPANNING TREE AUTOEDGE spanning-tree autoedge (RSTP and MSTP) Overview Use this command to enable the autoedge feature on the port. The autoedge feature allows the port to automatically detect that it is an edge port. If it does not receive any BPDUs in the first three seconds after linkup, enabling, or entering RSTP or MSTP mode, it sets itself to be an edgeport and enters the forwarding state.
  • Page 582: Spanning-Tree Bpdu

    PANNING OMMANDS SPANNING TREE BPDU spanning-tree bpdu Overview Use this command in Global Configuration mode to configure BPDU (Bridge Protocol Data Unit) discarding or forwarding, with STP (Spanning Tree Protocol) disabled on the switch. See the Usage note about disabling Spanning Tree before using this command, and using this command to forward unsupported BPDUs unchanged for unsupported STP Protocols.
  • Page 583 PANNING OMMANDS SPANNING TREE BPDU Examples To enable STP BPDU discard in Global Configuration mode with STP disabled, which discards all ingress STP BPDU frames, enter the commands: awplus# configure terminal awplus(config)# no spanning-tree stp enable awplus(config)# spanning-tree bpdu discard To enable STP BPDU forward in Global Configuration mode with STP disabled, which forwards any ingress STP BPDU frames to all ports regardless of any VLAN membership, enter the commands:...
  • Page 584: Spanning-Tree Cisco-Interoperability (Mstp)

    PANNING OMMANDS (MSTP) SPANNING TREE CISCO INTEROPERABILITY spanning-tree cisco-interoperability (MSTP) Overview Use this command to enable/disable Cisco-interoperability for MSTP. Use this command for MSTP only. Syntax spanning-tree cisco-interoperability {enable|disable} Parameter Description enable Enable Cisco interoperability for MSTP. disable Disable Cisco interoperability for MSTP. Default If this command is not used, Cisco interoperability is disabled.
  • Page 585: Spanning-Tree Edgeport (Rstp And Mstp)

    PANNING OMMANDS (RSTP MSTP) SPANNING TREE EDGEPORT spanning-tree edgeport (RSTP and MSTP) Overview Use this command to set a port as an edge-port. Use this command for RSTP or MSTP. This command has the same effect as the spanning-tree portfast (STP) command, but the configuration displays differently in the output of some show commands.
  • Page 586: Spanning-Tree Enable

    PANNING OMMANDS SPANNING TREE ENABLE spanning-tree enable Overview Use this command in Global Configuration mode to enable the specified spanning tree protocol for all switch ports. Note that this must be the spanning tree protocol that is configured on the device by the spanning-tree mode command.
  • Page 587 PANNING OMMANDS SPANNING TREE ENABLE To disable RSTP in Global Configuration mode, enter the below commands: awplus# configure terminal awplus(config)# no spanning-tree rstp enable Related spanning-tree bpdu Commands spanning-tree mode C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 588: Spanning-Tree Errdisable-Timeout Enable

    PANNING OMMANDS SPANNING TREE ERRDISABLE TIMEOUT ENABLE spanning-tree errdisable-timeout enable Overview Use this command to enable the errdisable-timeout facility, which sets a timeout for ports that are disabled due to the BPDU guard feature. Use this command for RSTP or MSTP. Use the no variant of this command to disable the errdisable-timeout facility.
  • Page 589: Spanning-Tree Errdisable-Timeout Interval

    PANNING OMMANDS SPANNING TREE ERRDISABLE TIMEOUT INTERVAL spanning-tree errdisable-timeout interval Overview Use this command to specify the time interval after which a port is brought back up when it has been disabled by the BPDU guard feature. Use this command for RSTP or MSTP. Syntax spanning-tree errdisable-timeout interval <10-1000000>...
  • Page 590: Spanning-Tree Force-Version

    PANNING OMMANDS SPANNING TREE FORCE VERSION spanning-tree force-version Overview Use this command in Interface Configuration mode for a switch port interface only to force the protocol version for the switch port. Use this command for RSTP or MSTP only. spanning-tree force-version <version> Syntax no spanning-tree force-version Parameter...
  • Page 591: Spanning-Tree Forward-Time

    PANNING OMMANDS SPANNING TREE FORWARD TIME spanning-tree forward-time Overview Use this command to set the forward delay value. Use the no variant of this command to reset the forward delay value to the default setting of 15 seconds. The forward delay sets the time (in seconds) to control how fast a port changes its spanning tree state when moving towards the forwarding state.
  • Page 592: Spanning-Tree Guard Root

    PANNING OMMANDS SPANNING TREE GUARD ROOT spanning-tree guard root Overview Use this command in Interface Configuration mode for a switch port only to enable the Root Guard feature for the switch port. The root guard feature disables reception of superior BPDUs. You can use this command for RSTP, STP or MSTP. Use the no variant of this command to disable the root guard feature for the port.
  • Page 593: Spanning-Tree Hello-Time

    PANNING OMMANDS SPANNING TREE HELLO TIME spanning-tree hello-time Overview Use this command to set the hello-time. This sets the time in seconds between the transmission of device spanning tree configuration information when the device is the Root Bridge of the spanning tree or is trying to become the Root Bridge. Use this command for RSTP, STP or MSTP.
  • Page 594: Spanning-Tree Link-Type

    PANNING OMMANDS SPANNING TREE LINK TYPE spanning-tree link-type Overview Use this command in Interface Configuration mode for a switch port interface only to enable or disable point-to-point or shared link types on the switch port. Use this command for RSTP or MSTP only. Use the no variant of this command to return the port to the default link type.
  • Page 595: Spanning-Tree Max-Age

    PANNING OMMANDS SPANNING TREE MAX spanning-tree max-age Overview Use this command to set the max-age. This sets the maximum age, in seconds, that dynamic spanning tree configuration information is stored in the device before it is discarded. Use this command for RSTP, STP or MSTP. Use the no variant of this command to restore the default of max-age.
  • Page 596: Spanning-Tree Max-Hops (Mstp)

    PANNING OMMANDS (MSTP) SPANNING TREE MAX HOPS spanning-tree max-hops (MSTP) Overview Use this command to specify the maximum allowed hops for a BPDU in an MST region. This parameter is used by all the instances of the MST region. Use the no variant of this command to restore the default. Use this command for MSTP only.
  • Page 597: Spanning-Tree Mode

    PANNING OMMANDS SPANNING TREE MODE spanning-tree mode Overview Use this command to change the spanning tree protocol mode on the device. The spanning tree protocol mode on the device can be configured to either STP, RSTP or MSTP. spanning-tree mode {stp|rstp|mstp} Syntax Default The default spanning tree protocol mode on the device is RSTP.
  • Page 598: Spanning-Tree Mst Configuration

    PANNING OMMANDS SPANNING TREE MST CONFIGURATION spanning-tree mst configuration Overview Use this command to enter the MST Configuration mode to configure the Multiple Spanning-Tree Protocol. spanning-tree mst configuration Syntax Mode Global Configuration Examples The following example uses this command to enter MST Configuration mode. Note the change in the command prompt.
  • Page 599: Spanning-Tree Mst Instance

    PANNING OMMANDS SPANNING TREE MST INSTANCE spanning-tree mst instance Overview Use this command to assign a Multiple Spanning Tree instance (MSTI) to a switch port or channel group. Note that ports are automatically configured to send and receive spanning-tree information for the associated MSTI when VLANs are assigned to MSTIs using the instance vlan (MSTP) command.
  • Page 600: Spanning-Tree Mst Instance Path-Cost

    PANNING OMMANDS SPANNING TREE MST INSTANCE PATH COST spanning-tree mst instance path-cost Overview Use this command to set the cost of a path associated with a switch port, for the specified MSTI. This specifies the switch port’s contribution to the cost of a path to the MSTI regional root via that port.
  • Page 601 PANNING OMMANDS SPANNING TREE MST INSTANCE PATH COST To return the path cost to its default value on instance 3, use the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# no spanning-tree mst instance 3 path-cost Related instance vlan (MSTP) Commands spanning-tree mst instance spanning-tree mst instance priority...
  • Page 602: Spanning-Tree Mst Instance Priority

    PANNING OMMANDS SPANNING TREE MST INSTANCE PRIORITY spanning-tree mst instance priority Overview Use this command in Interface Configuration mode for a switch port interface only to set the port priority for an MST instance (MSTI). Use the no variant of this command to restore the default priority value (128). Syntax spanning-tree mst instance <instance-id>...
  • Page 603: Spanning-Tree Mst Instance Restricted-Role

    PANNING OMMANDS SPANNING TREE MST INSTANCE RESTRICTED ROLE spanning-tree mst instance restricted-role Overview Use this command in Interface Configuration mode for a switch port interface only to enable the restricted role for an MSTI (Multiple Spanning Tree Instance) on a switch port.
  • Page 604 PANNING OMMANDS 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 605: Spanning-Tree Mst Instance Restricted-Tcn

    PANNING OMMANDS SPANNING TREE MST INSTANCE RESTRICTED spanning-tree mst instance restricted-tcn Overview Use this command to prevent a switch port from propagating received topology change notifications and topology changes to other switch ports. This is named restricted TCN (Topology Change Notification). A TCN is a simple Bridge Protocol Data Unit (BPDU) that a bridge sends out to its root port to signal a topology change.
  • Page 606: Spanning-Tree Path-Cost

    PANNING OMMANDS SPANNING TREE PATH COST spanning-tree path-cost Overview Use this command in Interface Configuration mode for a switch port interface only to set the cost of a path for the specified port. This value then combines with others along the path to the root bridge in order to determine the total cost path value from the particular port, to the root bridge.
  • Page 607: Spanning-Tree Portfast (Stp)

    PANNING OMMANDS (STP) SPANNING TREE PORTFAST spanning-tree portfast (STP) Overview Use this command in Interface Configuration mode for a switch port interface only to set a port as an edge-port. The portfast feature enables a port to rapidly move to the forwarding state, without having first to pass through the intermediate spanning tree states.
  • Page 608 PANNING OMMANDS (STP) SPANNING 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 609: Spanning-Tree Portfast Bpdu-Filter

    PANNING OMMANDS SPANNING TREE PORTFAST BPDU FILTER spanning-tree portfast bpdu-filter Overview This command sets the bpdu-filter feature and applies a filter to any BPDUs (Bridge Protocol Data Units) received. Enabling this feature ensures that configured ports will not transmit any BPDUs and will ignore (filter out) any BPDUs received. BPDU Filter is not enabled on a port by default.
  • Page 610 PANNING OMMANDS SPANNING TREE PORTFAST BPDU FILTER To enable STP BPDU filtering in Interface Configuration mode, enter the commands: awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# spanning-tree portfast bpdu-filter enable Related spanning-tree edgeport (RSTP and MSTP) Commands show spanning-tree spanning-tree portfast (STP) spanning-tree portfast bpdu-guard C613-50102-01 REV C Command Reference for x510 Series...
  • Page 611: Spanning-Tree Portfast Bpdu-Guard

    PANNING OMMANDS SPANNING TREE PORTFAST BPDU GUARD spanning-tree portfast bpdu-guard Overview This command applies a BPDU (Bridge Protocol Data Unit) guard to the port. A port with the bpdu-guard feature enabled will block all traffic (BPDUs and user data), if it starts receiving BPDUs.
  • Page 612 PANNING OMMANDS SPANNING TREE PORTFAST BPDU GUARD Use the show spanning-tree command to display the device and port configurations for the BPDU Guard feature. It shows both the administratively configured and currently running values of bpdu-guard. Example To enable STP BPDU guard in Global Configuration mode, enter the below commands: awplus# configure terminal...
  • Page 613: Spanning-Tree Priority (Bridge Priority)

    PANNING OMMANDS SPANNING TREE PRIORITY BRIDGE PRIORITY spanning-tree priority (bridge priority) Overview Use this command to set the bridge priority for the device. A lower priority value indicates a greater likelihood of the device becoming the root bridge. Use this command for RSTP, STP or MSTP. When MSTP mode is configured, this will apply to the CIST.
  • Page 614: Spanning-Tree Priority (Port Priority)

    PANNING OMMANDS SPANNING TREE PRIORITY PORT PRIORITY spanning-tree priority (port priority) Overview Use this command in Interface Configuration mode for a switch port interface only to set the port priority for port. A lower priority value indicates a greater likelihood of the port becoming part of the active topology.
  • Page 615: Spanning-Tree Restricted-Role

    PANNING OMMANDS SPANNING TREE RESTRICTED ROLE spanning-tree restricted-role Overview Use this command in Interface Configuration mode for a switch port interface only to restrict the port from becoming a root port. Use the no variant of this command to disable the restricted role functionality. Syntax spanning-tree restricted-role no spanning-tree restricted-role...
  • Page 616: Spanning-Tree Restricted-Tcn

    PANNING OMMANDS SPANNING TREE RESTRICTED spanning-tree restricted-tcn Overview Use this command in Interface Configuration mode for a switch port interface only to prevent TCN (Topology Change Notification) BPDUs (Bridge Protocol Data Units) from being sent on a port. If this command is enabled, after a topology change a bridge is prevented from sending a TCN to its designated bridge.
  • Page 617: Spanning-Tree Transmit-Holdcount

    PANNING OMMANDS SPANNING TREE TRANSMIT HOLDCOUNT spanning-tree transmit-holdcount Overview Use this command to set the maximum number of BPDU transmissions that are held back. Use the no variant of this command to restore the default transmit hold-count value. Syntax spanning-tree transmit-holdcount no spanning-tree transmit-holdcount Default Transmit hold-count default is 3.
  • Page 618: Undebug Mstp

    PANNING OMMANDS UNDEBUG MSTP undebug mstp Overview This command applies the functionality of the no debug mstp (RSTP and STP) command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 619: Link Aggregation Commands

    Link Aggregation Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure a static channel group (static aggregator) and dynamic channel group (LACP channel group, etherchannel or LACP aggregator). Link aggregation is also sometimes referred to as channeling. : AlliedWare Plus™...
  • Page 620 GGREGATION OMMANDS • “lacp system-priority” on page 627 • “lacp timeout” on page 628 • “platform load-balancing” on page 630 • “show debugging lacp” on page 632 • “show diagnostic channel-group” on page 633 • “show etherchannel” on page 635 •...
  • Page 621: Channel-Group

    GGREGATION OMMANDS CHANNEL GROUP channel-group Overview Use this command to either create a new dynamic channel group while at the same time adding a port to it, or to add a port to an existing dynamic channel group. Note that you must also set the LACP mode to be either active or passive. You can create up to 32 dynamic (LACP) channel groups (and up to 96 static channel groups).
  • Page 622 GGREGATION OMMANDS CHANNEL GROUP Examples To add device port1.0.6 to a newly created LACP channel group 2 use the commands below: awplus# configure terminal awplus(config)# interface port1.0.6 awplus(config-if)# channel-group 2 mode active To remove device port1.0.6 from any created LACP channel groups use the command below: awplus# configure terminal...
  • Page 623: Clear Lacp Counters

    GGREGATION OMMANDS CLEAR LACP COUNTERS clear lacp counters Overview Use this command to clear all counters of all present LACP aggregators (channel groups) or a given LACP aggregator. clear lacp [<1-32>] counters Syntax Parameter Description <1-32> Channel-group number. Mode Privileged Exec awplus# clear lacp 2 counters Example...
  • Page 624: Debug Lacp

    GGREGATION OMMANDS DEBUG LACP debug lacp Overview Use this command to enable all LACP troubleshooting functions. Use the no variant of this command to disable this function. Syntax debug lacp {all|cli|event|ha|packet|sync|timer[detail]} no debug lacp {all|cli|event|ha|packet|sync|timer[detail]} Parameter Description Turn on all debugging for LACP. Specifies debugging for CLI messages.
  • Page 625: Lacp Global-Passive-Mode Enable

    GGREGATION OMMANDS LACP GLOBAL PASSIVE MODE ENABLE lacp global-passive-mode enable Overview Use this command to enable LACP channel-groups to dynamically self-configure when they are connected to another device that has LACP channel-groups configured with Active Mode. lacp global-passive-mode enable Syntax no lacp global-passive-mode enable Default Enabled...
  • Page 626: Lacp Port-Priority

    GGREGATION OMMANDS LACP PORT PRIORITY lacp port-priority Overview Use this command to set the priority of a device port. Ports are selected for aggregation based on their priority, with the higher priority (numerically lower) ports selected first. Use the no variant of this command to reset the priority of port to the default. Syntax lacp port-priority <1-65535>...
  • Page 627: Lacp System-Priority

    GGREGATION OMMANDS LACP SYSTEM PRIORITY lacp system-priority Overview Use this command to set the system priority of a local system. This is used in determining the system responsible for resolving conflicts in the choice of aggregation groups. Use the no variant of this command to reset the system priority of the local system to the default.
  • Page 628: Lacp Timeout

    GGREGATION OMMANDS LACP TIMEOUT lacp timeout Overview Use this command to set the short or long timeout on a port. Ports will time out of the aggregation if three consecutive updates are lost. lacp timeout {short|long} Syntax Parameter Description timeout Number of seconds before invalidating a received LACP data unit (DU).
  • Page 629 GGREGATION 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 630: Platform Load-Balancing

    GGREGATION OMMANDS PLATFORM LOAD BALANCING platform load-balancing Overview This command selects which address fields are used as inputs into the load balancing algorithm for aggregated links. The output from this algorithm is used to select which individual path a given packet will traverse within an aggregated link.
  • Page 631 GGREGATION OMMANDS PLATFORM LOAD BALANCING Examples To use all four inputs, you do not have to enter any commands, because this is the default. Note that this setting is not displayed in the show running-config output. Use the show platform command to verify this setting.
  • Page 632: Show Debugging Lacp

    GGREGATION OMMANDS SHOW DEBUGGING LACP show debugging lacp Overview Use this command to display the LACP debugging option set. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show debugging lacp Mode User Exec and Privileged Exec...
  • Page 633: 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 634 GGREGATION OMMANDS SHOW DIAGNOSTIC CHANNEL GROUP  Channel Group Info based on HW: Note: Pos - position in hardware table Only entries from firstdevice are displayed. ------------------------------------------------------------- Interface IfIndex Member port IfIndex Active Pos ------------------------------------------------------------- 4503 N/a 4601 N/a  ...
  • Page 635: Show Etherchannel

    GGREGATION OMMANDS SHOW ETHERCHANNEL show etherchannel Overview Use this command to display information about a LACP channel specified by the channel group number. The command output also shows the thrash limiting status. If thrash limiting is detected and the action parameter of the thrash-limiting command is set to vlan-disable, the output will also show the VLANs on which thrashing is detected.
  • Page 636: Show Etherchannel Detail

    GGREGATION OMMANDS SHOW ETHERCHANNEL DETAIL show etherchannel detail Overview Use this command to display detailed information about all LACP channels. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide, which is available on our website at alliedtelesis.com.
  • Page 637: Show Etherchannel Summary

    GGREGATION OMMANDS SHOW ETHERCHANNEL SUMMARY show etherchannel summary Overview Use this command to display a summary of all LACP channels. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide, which is available on our website at alliedtelesis.com.
  • Page 638: Show Lacp Sys-Id

    GGREGATION OMMANDS SHOW LACP SYS show lacp sys-id Overview Use this command to display the LACP system ID and priority. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide, which is available on our website at alliedtelesis.com.
  • Page 639: Show Lacp-Counter

    GGREGATION OMMANDS SHOW LACP COUNTER show lacp-counter Overview Use this command to display the packet traffic on all ports of all present LACP aggregators, or a given LACP aggregator. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 640: Show Port Etherchannel

    GGREGATION OMMANDS SHOW PORT ETHERCHANNEL show port etherchannel Overview Use this command to show LACP details of the device port specified. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide, which is available on our website at alliedtelesis.com.
  • Page 641: Show Static-Channel-Group

    GGREGATION OMMANDS SHOW STATIC CHANNEL GROUP show static-channel-group Overview Use this command to display all configured static channel groups and their corresponding member ports. Note that a static channel group is the same as a static aggregator. The command output also shows the thrash limiting status. If thrash limiting is detected and the action parameter of the thrash-limiting command is set to...
  • Page 642: Static-Channel-Group

    GGREGATION OMMANDS STATIC CHANNEL GROUP static-channel-group Overview Use this command to create a static channel group, or add a member port to an existing static channel group. Static channel groups are also known as static aggregators. You can create up to 96 static channel groups (and up to 32 dynamic channel groups).
  • Page 643 GGREGATION OMMANDS STATIC CHANNEL GROUP To reference static channel group 2 as an interface, use the commands: awplus# configure terminal awplus(config)# interface sa2 awplus(config-if)# To make it possible to use QoS Storm Protection on static channel group 2 on port1.0.6, with an ACL named “test-acl”, use the commands: awplus# configure terminal awplus(config)#...
  • Page 644: Undebug Lacp

    GGREGATION OMMANDS UNDEBUG LACP undebug lacp Overview This command applies the functionality of the no debug lacp command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 645: Power Over Ethernet Commands

    The following documents offer further information for configuring PoE on AlliedWare Plus switches. • PoE Feature Overview and Configuration_Guide. • Support for Allied Telesis Enterprise_MIBs_in AlliedWare Plus, for information about which PoE MIB objects are supported. • SNMP Feature Overview and Configuration_Guide, for information about SNMP traps.
  • Page 646 OWER OVER THERNET OMMANDS • “show debugging power-inline” on page 659 • “show power-inline” on page 660 • “show power-inline counters” on page 663 • “show power-inline interface” on page 665 • “show power-inline interface detail” on page 667 C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 647: Clear Power-Inline Counters Interface

    OWER OVER THERNET OMMANDS CLEAR POWER INLINE COUNTERS INTERFACE clear power-inline counters interface Overview This command will clear the counters from a specified port, a range of ports, or all ports on the switch. If no ports are entered then PoE counters for all ports are cleared.
  • Page 648: Debug Power-Inline

    OWER OVER THERNET OMMANDS DEBUG POWER INLINE debug power-inline Overview This command enables debugging display for messages that are specific to Power over Ethernet (PoE). Use the no variant of this command to disable the specified PoE debugging messages. Syntax debug power-inline [all|event|info|power] no debug power-inline [all|event|info|power] Parameter...
  • Page 649 OWER OVER THERNET OMMANDS DEBUG POWER INLINE Related show debugging power-inline Commands terminal monitor C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 650: Power-Inline Allow-Legacy

    OWER OVER THERNET OMMANDS POWER INLINE ALLOW LEGACY power-inline allow-legacy Overview This command enables detection of pre-IEEE 802.3af Power Ethernet standard legacy Powered Devices (PDs). The no variant of this command disables detection of pre-IEEE 802.3af Power Ethernet standard legacy Powered Devices (PDs). Syntax power-inline allow-legacy no power-inline allow-legacy...
  • Page 651: Power-Inline Description

    OWER OVER THERNET OMMANDS POWER INLINE DESCRIPTION power-inline description Overview This command adds a description for a Powered Device (PD) connected to a PoE port. The no variant of this command clears a previously entered description for a connected PD, resetting the PD description to the default (null). Syntax power-inline description <pd-description>...
  • Page 652: Power-Inline Enable

    OWER OVER THERNET OMMANDS POWER INLINE ENABLE power-inline enable Overview This command enables Power over Ethernet (PoE) to detect a connected Powered Device (PD) and supply power. The no variant of this command disables PoE functionality on the selected PoE port(s).
  • Page 653: Power-Inline Max

    OWER OVER THERNET OMMANDS POWER INLINE MAX power-inline max Overview This command sets the maximum power allocated to a Power over an Ethernet (PoE and PoE+) port. The amount of power actually supplied to the port depends on the power requirements of the connected PD. It is also a function of the total PoE power loading on the switch and the PoE priority set for the port by the power-inline priority command.
  • Page 654 OWER OVER THERNET OMMANDS POWER INLINE MAX  awplus#configure terminal  awplus(config)#interface port1.0.1  awplus(config-if)#power-line max 5300  % The maximum power has been rounded to 5450mW in hardware. See the LLDP Feature Overview and Configuration Guide for information about power monitoring at the PD.
  • Page 655: Power-Inline Priority

    OWER OVER THERNET OMMANDS POWER INLINE PRIORITY power-inline priority Overview This command sets the Power over Ethernet (PoE) priority level of a PoE port to one of three available priority levels: • • high • critical The no variant of this command restores the PoE port priority to the default (low). power-inline priority {low|high|critical} Syntax no power-inline priority...
  • Page 656 OWER OVER THERNET OMMANDS POWER INLINE PRIORITY Examples To set the priority level to high on port1.0.1 to port1.0.4, use the following commands: awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.4 awplus(config-if)# power-inline priority high To reset the priority level to the default of low on port1.0.1 to port1.0.4, use the following commands: awplus# configure terminal...
  • Page 657: Power-Inline Usage-Threshold

    OWER OVER THERNET OMMANDS POWER INLINE USAGE THRESHOLD power-inline usage-threshold Overview This command sets the level at which the switch will issue a message that the power supplied to all Powered Devices (PDs) has reached a critical level of the nominal power rating for the switch.
  • Page 658: Service Power-Inline

    OWER OVER THERNET OMMANDS SERVICE POWER INLINE service power-inline Overview This command enables Power over Ethernet (PoE) globally on the switch, for all PoE ports. service power-inline Syntax no service power-inline Default PoE functionality is enabled by default Mode Global Configuration Usage In a stack, issuing this command enables PoE globally for all PoE ports.
  • Page 659: Show Debugging Power-Inline

    OWER OVER THERNET OMMANDS SHOW DEBUGGING POWER INLINE show debugging power-inline Overview This command displays Power over Ethernet (PoE) debug settings. show debugging power-inline Syntax Mode User Exec and Privileged Exec Example To display PoE debug settings, use the following command: awplus# show debugging power-inline Output...
  • Page 660: Show Power-Inline

    OWER OVER THERNET OMMANDS SHOW POWER INLINE show power-inline Overview This command displays the Power over Ethernet (PoE) status for all ports. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 661 OWER OVER THERNET OMMANDS SHOW POWER INLINE Table 1: Parameters in the show power-inline command output (cont.) Parameter Description Operational The operational status of the PSU hardware when this Status command was issued: • On if the PSU is installed and switched on. •...
  • Page 662 OWER OVER THERNET OMMANDS SHOW POWER INLINE Table 1: Parameters in the show power-inline command output (cont.) Parameter Description Class The class of the connected PD, if power is being supplied to the PD. Max (mW) The power in milliwatts (mW) allocated for the PoE port. Additionally, note the following as displayed per PoE port: •...
  • Page 663: Show Power-Inline Counters

    OWER OVER THERNET OMMANDS SHOW POWER INLINE COUNTERS show power-inline counters Overview This command displays Power over Ethernet (PoE) event counters for ports on the Power Sourcing Equipment (PSE). The PoE event counters displayed can also be accessed by objects in the PoE MIB (RFC 3621). See the MIB Objects Feature Overview and Configuration Guide for information about which PoE MIB objects...
  • Page 664 OWER OVER THERNET OMMANDS SHOW POWER INLINE COUNTERS Table 2: Parameters in the show power-inline counters command output Parameter Description Interface The PoE port(s) in the format portx.y.z, where x is the device number, y is the module number within the device, and z is the PoE port number within the module.
  • Page 665: Show Power-Inline Interface

    OWER OVER THERNET OMMANDS SHOW POWER INLINE INTERFACE show power-inline interface Overview This command displays a summary of Power over Ethernet (PoE) information for specified ports. If no ports are specified then PoE information is displayed for all ports. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 666 OWER OVER THERNET OMMANDS SHOW POWER INLINE INTERFACE Table 3: Parameters in the show power-inline interface command output Parameter Description The current PoE priorities for PoE ports on the PSE, as configured from a power-inline priority command: • Low displays when the low parameter is issued. The lowest priority for a PoE enabled port (default).
  • Page 667: Show Power-Inline Interface Detail

    OWER OVER THERNET OMMANDS SHOW POWER INLINE INTERFACE DETAIL show power-inline interface detail Overview This command displays detailed information for one or more Power over Ethernet (PoE) ports. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 668 OWER OVER THERNET OMMANDS SHOW POWER INLINE INTERFACE DETAIL Table 4: Parameters in show power-inline interface detail command output Parameter Description Interface The PoE port(s) in the format portx.y.z, where x is the device number, y is the module number within the device, and z is the PoE port number within the module.
  • Page 669 OWER OVER THERNET OMMANDS SHOW POWER INLINE INTERFACE DETAIL Table 4: Parameters in show power-inline interface detail command output Parameter Description Detection of [Enabled|Disabled] legacy The status of legacy PoE detection on the PoE port, as configured devices is for the PoE port with the power-inline allow-legacy command.
  • Page 670: Gvrp Commands

    GVRP Commands Introduction Overview With GVRP enabled the switch can exchange VLAN configuration information with other GVRP enabled switches. VLANs can be dynamically created and managed through trunk ports. • There is a limit of 400 VLANs supported by the AlliedWare Plus GVRP implementation.
  • Page 671 GVRP C OMMANDS • “show gvrp timer” on page 685 C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 672: Clear Gvrp Statistics

    GVRP C OMMANDS CLEAR GVRP STATISTICS clear gvrp statistics Overview Use this command to clear the GVRP statistics for all switchports, or for a specific switchport. clear gvrp statistics {all|<interface>} Syntax Parameter Description Specify all switchports to clear GVRP statistics. <interface>...
  • Page 673: Debug Gvrp

    GVRP C OMMANDS DEBUG GVRP debug gvrp Overview Use this command to debug GVRP packets and commands, sending output to the console. Use the no variant of this command to turn off debugging for GVRP packets and commands. Syntax debug gvrp {all|cli|event|packet} no debug gvrp {all|cli|event|packet} Parameter Description...
  • Page 674 GVRP C OMMANDS DEBUG GVRP To send debug output for GVRP commands to the console, enter the commands: awplus# terminal monitor awplus# configure terminal awplus(config)# debug gvrp cli To stop sending debug output for GVRP packets and GVRP commands to the console, and to stop the display of any debug output on the console, enter the commands: awplus#...
  • Page 675: Gvrp (Interface)

    GVRP C OMMANDS GVRP INTERFACE gvrp (interface) Overview Use this command to enable GVRP for switchport interfaces. Use the no variant of this command to disable GVRP for switchport interfaces. Syntax gvrp no gvrp Mode Interface Configuration (for switchport interfaces). Default Disabled by default.
  • Page 676: Gvrp Dynamic-Vlan-Creation

    GVRP C OMMANDS GVRP DYNAMIC VLAN CREATION gvrp dynamic-vlan-creation Overview Use this command to enable dynamic VLAN creation globally for the switch. Use the no variant of this command to disable dynamic VLAN creation globally for the switch. Syntax gvrp dynamic-vlan-creation no gvrp dynamic-vlan-creation Mode Global Configuration...
  • Page 677: Gvrp Enable (Global)

    GVRP C OMMANDS GVRP ENABLE GLOBAL gvrp enable (global) Overview Use this command to enable GVRP globally for the switch. Use the no variant of this command to disable GVRP globally for the switch. Syntax gvrp enable no gvrp enable Mode Global Configuration Default...
  • Page 678: Gvrp Registration

    GVRP C OMMANDS GVRP REGISTRATION gvrp registration Overview Use this command to set GVRP registration to normal, fixed, and forbidden registration modes. Use the no variant of this command to disable GVRP registration. Syntax gvrp registration {normal|fixed|forbidden} no gvrp registration {normal|fixed|forbidden} Parameter Description normal...
  • Page 679: Gvrp Timer

    GVRP C OMMANDS GVRP TIMER gvrp timer Overview Use this command to set GVRP timers in Interface Configuration mode for a given interface. Use the no variant of this command to reset the GVRP timers to the defaults specified in the table below. Syntax gvrp timer {join <timer-value>|leave <timer-value>|leaveall <timer-value>}...
  • Page 680: No Gvrp Timer Join

    GVRP C OMMANDS GVRP TIMER To reset the GVRP join timer to its default of 20 hundredths of a second for interface port1.0.1, enter the commands: awplus# configure terminal awplus(config)# interface port1.0.1 awplus(config-if)# no gvrp timer join Related show gvrp timer Commands C613-50102-01 REV C Command Reference for x510 Series...
  • Page 681: Show Debugging Gvrp

    GVRP C OMMANDS SHOW DEBUGGING GVRP show debugging gvrp Overview Use this command to display the GVRP debugging option set. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show debugging gvrp Mode...
  • Page 682: Show Gvrp Configuration

    GVRP C OMMANDS SHOW GVRP CONFIGURATION show gvrp configuration Overview Use this command to display GVRP configuration data for a switch. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 683: Show Gvrp Machine

    GVRP C OMMANDS SHOW GVRP MACHINE show gvrp machine Overview Use this command to display the state machine for GVRP. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show gvrp machine Mode...
  • Page 684: Show Gvrp Statistics

    GVRP C OMMANDS SHOW GVRP STATISTICS show gvrp statistics Overview Use this command to display a statistical summary of GVRP information for the switch. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 685: Show Gvrp Timer

    GVRP C OMMANDS SHOW GVRP TIMER show gvrp timer Overview Use this command to display data for the GVRP timers set with the gvrp timer command. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 686: Part 3: Layer Three, Switching And Routing

    Part 3: Layer Three, Switching and Routing C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 687: Ip Addressing And Protocol Commands

    IP Addressing and Protocol Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure various IP features, including the following protocols: • Address Resolution Protocol (ARP) • Domain Name Service (DNS) For more information, see the IP Feature Overview and Configuration Guide.
  • Page 688 IP A DDRESSING AND ROTOCOL OMMANDS • “local-proxy-arp” on page 716 • “ip unreachables” on page 717 • “optimistic-nd” on page 719 • “ping” on page 720 • “show arp” on page 721 • “show debugging ip packet” on page 723 •...
  • Page 689: Arp-Aging-Timeout

    IP A DDRESSING AND ROTOCOL OMMANDS AGING TIMEOUT arp-aging-timeout Overview This command sets a timeout period on dynamic ARP entries associated with a specific interface. If your device stops receiving traffic for the host specified in a dynamic ARP entry, it deletes the ARP entry from the ARP cache after this timeout is reached.
  • Page 690: Arp-Mac-Disparity

    IP A DDRESSING AND ROTOCOL OMMANDS DISPARITY arp-mac-disparity Overview Use this command to enable the switch to support services like Microsoft Network Load Balancing (MS-NLB). Such services use ARP with disparate MAC addresses to ensure that packets destined for a server cluster virtual address are sent to all servers in the cluster. Disparate MAC addresses mean that the MAC address in the “sender hardware address”...
  • Page 691 IP A DDRESSING AND ROTOCOL OMMANDS DISPARITY For example, to flood only port1.0.1 to port1.0.3, use the commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# arp 10.10.1.100 010e.11ff.2222 port1.0.1-port1.0.3 Usage, multicast Multicast-IGMP mode is enabled by using the command arp-mac-disparity igmp mode multicast-igmp.
  • Page 692 IP A DDRESSING AND ROTOCOL OMMANDS DISPARITY To disable support for MS-NLB in unicast mode on interface vlan2, use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no arp-mac-disparity unicast Related arp (IP address MAC) Commands clear arp-cache show arp C613-50102-01 REV C Command Reference for x510 Series...
  • Page 693: Arp (Ip Address Mac)

    IP A DDRESSING AND ROTOCOL OMMANDS MAC) ADDRESS arp (IP address MAC) Overview This command adds a static ARP entry to the ARP cache. This is typically used to add entries for hosts that do not support ARP or to speed up the address resolution function for a host.
  • Page 694: Arp Log

    IP A DDRESSING AND ROTOCOL OMMANDS ARP LOG arp log Overview This command enables the logging of dynamic and static ARP entries in the ARP cache. The ARP cache contains mappings of device ports, VLAN IDs, and IP addresses to physical MAC addresses for hosts. This command can display the MAC addresses in the ARP log either using the notation HHHH.HHHH.HHHH, or using the IEEE standard hexadecimal notation (HH-HH-HH-HH-HH-HH).
  • Page 695 IP A DDRESSING AND ROTOCOL OMMANDS ARP LOG To enable ARP logging and specify that the MAC address in the log message is displayed in the standard IEEE format hexadecimal notation (HH-HH-HH-HH-HH-HH), use the following commands: awplus# configure terminal awplus(config)# arp log mac-address-format ieee To leave ARP logging enabled, but stop using HH-HH-HH-HH-HH-HH format and use HHHH.HHHH.HHHH format instead, use the following commands:...
  • Page 696 IP A DDRESSING AND ROTOCOL OMMANDS ARP LOG The following table lists the parameters in output of the show log | include ARP_LOG command. The ARP log message format is: <date> <time> <severity> <hostname> <program-name>  ARP_LOG <port-number> <vid> <operation> <MAC> <IP> Table 1: Parameters in output of the show log | include ARP_LOG command Parameter Description...
  • Page 697: Arp Opportunistic-Nd

    IP A DDRESSING AND ROTOCOL OMMANDS ARP OPPORTUNISTIC arp opportunistic-nd Overview This command changes the behavior for unsolicited ARP packet forwarding on the device. Use this command to enable opportunistic neighbor discovery for the global ARP cache. Use the no variant of this command to disable opportunistic neighbor discovery for the global ARP cache.
  • Page 698: Arp-Reply-Bc-Dmac

    IP A DDRESSING AND ROTOCOL OMMANDS REPLY DMAC arp-reply-bc-dmac Overview Use this command to allow processing of ARP replies that arrive with a broadcast destination MAC (ffff.ffff.ffff). This makes neighbors reachable if they send ARP responses that contain a broadcast destination MAC. Use the no variant of this command to turn off processing of ARP replies that arrive with a broadcast destination MAC.
  • Page 699: Clear Arp-Cache

    IP A DDRESSING AND ROTOCOL OMMANDS CLEAR ARP CACHE clear arp-cache Overview This command deletes dynamic ARP entries from the ARP cache. You can optionally specify the IPv4 address of an ARP entry to be cleared from the ARP cache. clear arp-cache [<ip-address>] Syntax Parameter...
  • Page 700: Debug Ip Packet Interface

    IP A DDRESSING AND ROTOCOL OMMANDS DEBUG IP PACKET INTERFACE debug ip packet interface Overview The debug ip packet interface command enables IP packet debug and is controlled by the terminal monitor command. If the optional icmp keyword is specified then ICMP packets are shown in the output.
  • Page 701 IP A DDRESSING AND ROTOCOL OMMANDS DEBUG IP PACKET INTERFACE To turn on ARP packet debugging on vlan1, use the command: Examples awplus# debug ip packet interface vlan1 arp To turn on all packet debugging on all interfaces on the device, use the command: awplus# debug ip packet interface all To turn on TCP packet debugging on vlan1 and IP address 192.168.2.4, use...
  • Page 702: Ip Address (Ip Addressing And Protocol)

    IP A DDRESSING AND ROTOCOL OMMANDS (IP A IP ADDRESS DDRESSING AND ROTOCOL ip address (IP Addressing and Protocol) Overview This command sets a static IP address on an interface. The no variant of this command removes the IP address from the interface. You cannot remove the primary address when a secondary address is present.
  • Page 703 IP A DDRESSING AND ROTOCOL OMMANDS (IP A IP ADDRESS DDRESSING AND ROTOCOL To add the IP address 10.10.11.50/24 to the local loopback interface lo, use the following commands: awplus# configure terminal awplus(config)# interface lo awplus(config-if)# ip address 10.10.11.50/24 Related interface (to configure) Commands show ip interface...
  • Page 704: Ip Directed-Broadcast

    IP A DDRESSING AND ROTOCOL OMMANDS IP DIRECTED BROADCAST ip directed-broadcast Overview Use this command to enable flooding of directed broadcast packets into a directly connected subnet. If this command is configured on a VLAN interface, then directed broadcasts received on other VLAN interfaces, destined for the subnet on this VLAN, will be flooded to the subnet broadcast address of this VLAN.
  • Page 705 IP A DDRESSING AND ROTOCOL OMMANDS IP DIRECTED BROADCAST Related ip forward-protocol udp Commands ip helper-address show running-config C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 706: Ip Forward-Protocol Udp

    IP A DDRESSING AND ROTOCOL OMMANDS IP FORWARD PROTOCOL UDP ip forward-protocol udp Overview This command enables you to control which UDP broadcasts will be forwarded to the helper address(es). A UDP broadcast will only be forwarded if the destination UDP port number in the packet matches one of the port numbers specified using this command.
  • Page 707 IP A DDRESSING AND ROTOCOL OMMANDS 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> Related ip helper-address Commands ip directed-broadcast show running-config C613-50102-01 REV C...
  • Page 708: Ip Gratuitous-Arp-Link

    IP A DDRESSING AND ROTOCOL OMMANDS IP GRATUITOUS LINK ip gratuitous-arp-link Overview This command sets the Gratuitous ARP time limit for all switchports. The time limit restricts the sending of Gratuitous ARP packets to one Gratuitous ARP packet within the time in seconds. : This command specifies time between sequences of Gratuitous ARP packets, NOTE and time between individual Gratuitous ARP packets occurring in a sequence, to allow...
  • Page 709 IP A DDRESSING AND ROTOCOL OMMANDS IP GRATUITOUS LINK To restrict the sending of Gratuitous ARP packets to one every 20 seconds, use the commands: awplus# configure terminal awplus(config)# ip gratuitous-arp-link 20 Validation show running-config Commands C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 710: Ip Helper-Address

    IP A DDRESSING AND ROTOCOL OMMANDS IP HELPER ADDRESS ip helper-address Overview This command adds a forwarding destination address for IP Helper to enable forwarding of User Datagram Protocol (UDP) broadcasts on an interface. Use the no variant of this command to disable the forwarding of broadcast packets to specific addresses.
  • Page 711 IP A DDRESSING AND ROTOCOL OMMANDS IP HELPER ADDRESS The following example removes IPv4 address 192.168.1.100 as an IP Helper destination address to which to forward UDP broadcasts received on vlan2: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no ip helper-address 192.168.1.100 Related ip forward-protocol udp Commands...
  • Page 712: Ip Limited-Local-Proxy-Arp

    IP A DDRESSING AND ROTOCOL OMMANDS IP LIMITED LOCAL PROXY ip limited-local-proxy-arp Overview Use this command to enable local proxy ARP, but only for a specified set of IP addresses. This makes the device respond to ARP requests for those IP addresses when the addresses are reachable via the interface you are configuring.
  • Page 713: Ip Local-Proxy-Arp

    IP A DDRESSING AND ROTOCOL OMMANDS IP LOCAL PROXY ip local-proxy-arp Overview This command allows you to stop MAC address resolution between hosts within a private VLAN edge interface. Local Proxy ARP works by intercepting ARP requests between hosts within a subnet and responding with your device’s own MAC address details instead of the destination host’s details.
  • Page 714: Ip Proxy-Arp

    IP A DDRESSING AND ROTOCOL OMMANDS IP PROXY ip proxy-arp Overview This command enables Proxy ARP responses to ARP requests on an interface. When enabled, your device intercepts ARP broadcast packets and substitutes its own physical address for that of the remote host. By responding to the ARP request, your device ensures that subsequent packets from the local host are directed to its physical address, and it can then forward these to the remote host.
  • Page 715: Ip Redirects

    IP A DDRESSING AND ROTOCOL OMMANDS IP REDIRECTS ip redirects Overview This command enables the device to send ICMP redirects on one or more interfaces. Use the no variant of this command to stop the device from sending ICMP redirects on one or more interfaces.
  • Page 716: Local-Proxy-Arp

    IP A DDRESSING AND ROTOCOL OMMANDS LOCAL PROXY local-proxy-arp Overview Use this command to specify an IP subnet for use with limited local proxy ARP. When limited local proxy ARP is enabled with the command limited-local-proxy-arp, the device will respond to ARP requests for addresses in that subnet.
  • Page 717: Ip Unreachables

    IP A DDRESSING AND ROTOCOL OMMANDS IP UNREACHABLES ip unreachables Overview Use this command to enable ICMP (Internet Control Message Protocol) type 3, destination unreachable, messages. Use the no variant of this command to disable destination unreachable messages. This prevents an attacker from using these messages to discover the topology of a network.
  • Page 718 IP A DDRESSING AND ROTOCOL OMMANDS IP UNREACHABLES Table 20-1: ICMP type 3 reason codes and description (cont.) Code Description [RFC] Host Precedence Violation [RFC1812] Precedence cutoff in effect [RFC1812] Example To disable destination unreachable messages, use the commands awplus# configure terminal awplus(config)# no ip unreachables...
  • Page 719: Optimistic-Nd

    IP A DDRESSING AND ROTOCOL OMMANDS OPTIMISTIC optimistic-nd Overview Use this command to enable the optimistic neighbor discovery feature for both IPv4 and IPv6. Use the no variant of this command to disable the optimistic neighbor discovery feature. Syntax optimistic-nd no optimistic-nd Default The optimistic neighbor discovery feature is enabled by default.
  • Page 720: Ping

    IP A DDRESSING AND ROTOCOL OMMANDS PING ping Overview This command sends a query to another IPv4 host (send Echo Request messages). ping [ip] <host> [broadcast] [df-bit {yes|no}] [interval Syntax <0-128>] [pattern <hex-data-pattern>] [repeat {<1-2147483647>|continuous}] [size <36-18024>] [source <ip-addr>] [timeout <1-65535>] [tos <0-255>] Parameter Description <host>...
  • Page 721: Show Arp

    IP A DDRESSING AND ROTOCOL OMMANDS SHOW ARP show arp Overview Use this command to display entries in the ARP routing and forwarding table—the ARP cache contains mappings of IP addresses to physical addresses for hosts. To have a dynamic entry in the ARP cache, a host must have used the ARP protocol to access another host.
  • Page 722 IP A DDRESSING AND ROTOCOL OMMANDS SHOW ARP Related arp (IP address MAC) Commands clear arp-cache C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 723: Show Debugging Ip Packet

    IP A DDRESSING AND ROTOCOL OMMANDS SHOW DEBUGGING IP PACKET show debugging ip packet Overview Use this command to show the IP interface debugging status. IP interface debugging is set using the debug ip packet interface command. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 724 IP A DDRESSING AND ROTOCOL OMMANDS SHOW DEBUGGING IP PACKET Related debug ip packet interface Commands terminal monitor C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 725: Show Ip Interface

    IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP INTERFACE show ip interface Overview Use this command to display information about interfaces and the IP addresses assigned to them. To display information about a specific interface, specify the interface name with the command. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 726: Show Ip Sockets

    IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP SOCKETS show ip sockets Overview Use this command to display information about the IP or TCP sockets that are present on the device. It includes TCP, UDP listen sockets, displaying associated IP address and port.
  • Page 727 IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP SOCKETS tcp :::23 :::* LISTEN udp 0.0.0.0:111 0.0.0.0:* udp 226.94.1.1:5405 0.0.0.0:* udp 0.0.0.0:161 0.0.0.0:* udp :::161 :::* raw 0.0.0.0:112 0.0.0.0:* 112 raw :::58 :::* 58 raw :::112 :::* 112 Table 22: Parameters in the output of the show ip sockets command Parameter Description Not showing...
  • Page 728 IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP SOCKETS Table 22: Parameters in the output of the show ip sockets command (cont.) Parameter Description Remote For TCP and UDP listening sockets this shows the source IP address Address (either IPv4 or IPv6) and source TCP or UDP port number for which the socket will accept packets.
  • Page 729: Show Ip Traffic

    IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP TRAFFIC show ip traffic Overview Use this command to display statistics regarding IP traffic sent and received by all interfaces on the device, showing totals for IP and IPv6 and then broken down into sub-categories such as TCP, UDP, ICMP and their IPv6 equivalents when appropriate.
  • Page 730 IP A DDRESSING AND ROTOCOL 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: Table 23: Parameters in the output of the show ip traffic command Parameter Description IPv4...
  • Page 731 IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP TRAFFIC Table 23: Parameters in the output of the show ip traffic command (cont.) Parameter Description packets transmitted Packets transmitted packets discarded on transmit Packets discarded on transmit packets discarded on transmit Packets discarded on transmit due to no due to no route route...
  • Page 732 IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP TRAFFIC Table 23: Parameters in the output of the show ip traffic command (cont.) Parameter Description syncookies received Syncookies received syncookies failed Syncookies failed embryonic resets Embryonic resets sockets pruned Sockets pruned ICMPs out of window ICMPs out of window ICMPs dropped due to lock...
  • Page 733 IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP TRAFFIC Table 23: Parameters in the output of the show ip traffic command (cont.) Parameter Description TCP Reno failures TCP Reno failures SACK failures SACK failures loss failures Loss failures fast retransmits Fast retransmits forward retransmits Forward retransmits...
  • Page 734 IP A DDRESSING AND ROTOCOL OMMANDS SHOW IP TRAFFIC Table 23: Parameters in the output of the show ip traffic command (cont.) Parameter Description TCP MD5 Unexpected TCP MD5 Unexpected TCP SACKs shifted TCP SACKs shifted TCP SACKs merged TCP SACKs merged TCP SACK shift fallback TCP SACK shift fallback UDP Counters...
  • Page 735: Tcpdump

    IP A DDRESSING AND ROTOCOL OMMANDS TCPDUMP tcpdump Overview Use this command to start a tcpdump, which gives the same output as the Unix-like tcpdump command to display TCP/IP traffic. Press <ctrl> + c to stop a running tcpdump. tcpdump <line> Syntax Parameter Description...
  • Page 736: Traceroute

    IP A DDRESSING AND ROTOCOL OMMANDS TRACEROUTE traceroute Overview Use this command to trace the route to the specified IPv4 host. traceroute {<ip-addr>|<hostname>} Syntax Parameter Description <ip-addr> The destination IPv4 address. The IPv4 address uses the format A.B.C.D. <hostname> The destination hostname. Mode User Exec and Privileged Exec awplus#...
  • Page 737: Undebug Ip Packet Interface

    IP A 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 738: Domain Name Service (Dns) Commands

    Domain Name Service (DNS) Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure Domain Name Service (DNS) features, including the following: • DNS client • DNS forwarding (DNS relay) For more information, see the IP Feature Overview and Configuration Guide.
  • Page 739 (DNS) C OMAIN ERVICE OMMANDS • “show ip domain-list” on page 758 • “show ip domain-name” on page 759 • “show ip name-server” on page 760 C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 740: Clear Ip Dns Forwarding Cache

    (DNS) C OMAIN ERVICE OMMANDS CLEAR IP DNS FORWARDING CACHE clear ip dns forwarding cache Overview Use this command to clear the DNS Relay name resolver cache. clear ip dns forwarding cache Syntax Mode Privileged Exec Examples To clear all cached data, use the command: awplus# clear ip dns forwarding cache Related...
  • Page 741: Debug Ip Dns Forwarding

    (DNS) C OMAIN ERVICE OMMANDS DEBUG IP DNS FORWARDING debug ip dns forwarding Overview Use this command to enable DNS Relay debugging. Use the no variant of this command to disable DNS Relay debugging. Syntax debug ip dns forwarding no debug ip dns forwarding Default DNS Relay debugging is disabled by default.
  • Page 742: Ip Dns Forwarding

    (DNS) C OMAIN ERVICE OMMANDS IP DNS FORWARDING ip dns forwarding Overview Use this command to enable DNS Relay, the forwarding of incoming DNS queries for IP hostname-to-address translation. Use the no variant of this command to disable the forwarding of incoming DNS queries for IP hostname-to-address translation.
  • Page 743: Ip Dns Forwarding Cache

    (DNS) C OMAIN ERVICE OMMANDS IP DNS FORWARDING CACHE ip dns forwarding cache Overview Use this command to set the DNS Relay name resolver cache size and cache entry lifetime period. The DNS Relay name resolver cache stores the mappings between domain names and IP addresses.
  • Page 744: Ip Dns Forwarding Dead-Time

    (DNS) C OMAIN ERVICE OMMANDS IP DNS FORWARDING DEAD TIME ip dns forwarding dead-time Overview Use this command to set the time period in seconds when the device stops sending any DNS requests to an unresponsive server and all retries set using ip dns forwarding retry are used.
  • Page 745: Ip Dns Forwarding Retry

    (DNS) C OMAIN ERVICE OMMANDS IP DNS FORWARDING RETRY ip dns forwarding retry Overview Use this command to set the number of times DNS Relay will retry to forward DNS queries. The device stops sending DNS requests to an unresponsive server at the time set using the ip dns forwarding dead-time command and when all of the...
  • Page 746: Ip Dns Forwarding Source-Interface

    (DNS) C OMAIN ERVICE OMMANDS IP DNS FORWARDING SOURCE INTERFACE ip dns forwarding source-interface Overview Use this command to set the interface to use for forwarding and receiving DNS queries. Use the no variant of this command to unset the interface used for forwarding and receiving DNS queries.
  • Page 747: Ip Dns Forwarding Timeout

    (DNS) C OMAIN ERVICE OMMANDS IP DNS FORWARDING TIMEOUT ip dns forwarding timeout Overview Use this command to set the time period for the DNS Relay to wait for a DNS response. Use the no variant of this command to set the time period to wait for a DNS response to the default of 3 seconds.
  • Page 748: Ip Domain-List

    (DNS) C OMAIN ERVICE OMMANDS IP DOMAIN LIST ip domain-list Overview This command adds a domain to the DNS list. Domains are appended to incomplete host names in DNS requests. Each domain in this list is tried in turn in DNS lookups.
  • Page 749: Ip Domain-Lookup

    (DNS) C OMAIN ERVICE OMMANDS IP DOMAIN LOOKUP ip domain-lookup Overview This command enables the DNS client on your device. This allows you to use domain names instead of IP addresses in commands. The DNS client resolves the domain name into an IP address by sending a DNS inquiry to a DNS server, specified with the ip name-server command.
  • Page 750: Ip Domain-Name

    (DNS) C OMAIN ERVICE OMMANDS IP DOMAIN NAME ip domain-name Overview This command sets a default domain for the DNS. The DNS client appends this domain to incomplete host-names in DNS requests. The no variant of this command removes the domain-name previously set by this command.
  • Page 751: Ip Name-Server

    (DNS) C OMAIN ERVICE OMMANDS IP NAME SERVER ip name-server Overview This command adds IPv4 or IPv6 DNS server addresses. The DNS client on your device sends DNS queries to IP addresses in this list when trying to resolve a host name.
  • Page 752 (DNS) C OMAIN ERVICE OMMANDS IP NAME SERVER Related ip domain-list Commands ip domain-lookup ip domain-name show ip dns forwarding cache show ip name-server C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 753: Show Debugging Ip Dns Forwarding

    (DNS) C OMAIN ERVICE OMMANDS SHOW DEBUGGING IP DNS FORWARDING show debugging ip dns forwarding Overview Use this command to display the DNS Relay debugging status. DNS Relay debugging is set using the debug ip dns forwarding command. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 754: Show Hosts

    (DNS) C OMAIN ERVICE OMMANDS SHOW HOSTS show hosts Overview This command shows the default domain, domain list, and name servers configured on your device. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 755: Show Ip Dns Forwarding

    (DNS) C OMAIN ERVICE OMMANDS SHOW IP DNS FORWARDING show ip dns forwarding Overview Use this command to display the DNS Relay status. show ip dns forwarding Syntax Mode User Exec and Privileged Exec Examples To display the DNS Relay status, use the command: awplus# show ip dns forwarding Output...
  • Page 756: Show Ip Dns Forwarding Cache

    (DNS) C OMAIN ERVICE OMMANDS SHOW IP DNS FORWARDING CACHE show ip dns forwarding cache Overview Use this command to display the DNS Relay name resolver cache. show ip dns forwarding cache Syntax Mode User Exec and Privileged Exec Example To display the DNS Relay name resolver cache, use the command: awplus# show ip dns forwarding cache...
  • Page 757: Show Ip Dns Forwarding Server

    (DNS) C OMAIN ERVICE OMMANDS SHOW IP DNS FORWARDING SERVER show ip dns forwarding server Overview Use this command to display the status of DNS forwarding name servers. show ip dns forwarding server Syntax Parameter Description forwarding The DNS forwarding name server. server Mode User Exec and Privileged Exec...
  • Page 758: Show Ip Domain-List

    (DNS) C OMAIN ERVICE OMMANDS SHOW IP DOMAIN LIST show ip domain-list Overview This command shows the domains configured in the domain list. The DNS client uses the domains in this list to append incomplete hostnames when sending a DNS inquiry to a DNS server. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 759: Show Ip Domain-Name

    (DNS) C OMAIN ERVICE OMMANDS SHOW IP DOMAIN NAME show ip domain-name Overview This command shows the default domain configured on your device. When there are no entries in the DNS list, the DNS client appends this domain to incomplete hostnames when sending a DNS inquiry to a DNS server.
  • Page 760: Show Ip Name-Server

    (DNS) C OMAIN ERVICE OMMANDS SHOW IP NAME SERVER show ip name-server Overview This command displays a list of IPv4 and IPv6 DNS server addresses that your device will send DNS requests to. This is a static list configured using the name-server command.
  • Page 761: Ipv6 Commands

    IPv6 Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure IPv6. For more information, see the IPv6 Feature Overview and Configuration Guide. Command List • “clear ipv6 neighbors” on page 763 • “ipv6 address” on page 764 •...
  • Page 762 OMMANDS • “ipv6 unreachables” on page 787 • “ping ipv6” on page 788 • “show ipv6 forwarding” on page 789 • “show ipv6 interface brief” on page 790 • “show ipv6 neighbors” on page 791 • “show ipv6 route” on page 792 •...
  • Page 763: Clear Ipv6 Neighbors

    OMMANDS CLEAR IPV NEIGHBORS 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 764: Ipv6 Address

    OMMANDS ADDRESS ipv6 address Overview Use this command to set the IPv6 address of a VLAN interface and enable IPv6. Use the optional eui64 parameter to derive the interface identifier of the IPv6 address from the MAC address of the interface. Note that the MAC address of the default VLAN is applied if the interface does not have a MAC address of its own when specifying the eui64 parameter.
  • Page 765 OMMANDS ADDRESS To assign the IPv6 address 2001:0db8::a2/64 to the VLAN interface vlan2, use the Examples following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# ipv6 address 2001:0db8::a2/64 To remove the IPv6 address 2001:0db8::a2/64 from the VLAN interface vlan2, use the following commands: awplus# configure terminal...
  • Page 766: Ipv6 Address Autoconfig

    OMMANDS ADDRESS AUTOCONFIG ipv6 address autoconfig Overview Use this command to enable IPv6 stateless address autoconfiguration (SLAAC) for an interface. This configures an IPv6 address on an interface derived from the MAC address on the interface. Use the no variant of this command to disable IPv6 SLAAC on an interface. Note that if no global addresses are left after removing all IPv6 autoconfigured addresses then IPv6 is disabled.
  • Page 767 OMMANDS ADDRESS AUTOCONFIG To disable SLAAC on the VLAN interface vlan2, use the following commands: awplus# configure terminal awplus(config)# interface vlan2 awplus(config-if)# no ipv6 address autoconfig Related ipv6 address Commands ipv6 enable show ipv6 interface brief show ipv6 route show running-config C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 768: Ipv6 Enable

    OMMANDS ENABLE ipv6 enable Overview Use this command to enable IPv6 on an interface without an IPv6 global address for the interface. This enables IPv6 with a IPv6 link-local address, not an IPv6 global address. Use the no variant of this command to disable IPv6 on an interface without a global address.
  • Page 769 OMMANDS ENABLE Related ipv6 address Commands ipv6 address autoconfig show ipv6 interface brief show ipv6 route show running-config C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 770: Ipv6 Forwarding

    OMMANDS FORWARDING ipv6 forwarding Overview Use this command to turn on IPv6 unicast routing for IPv6 packet forwarding. Execute this command globally on your device prior to issuing ipv6 enable individual interfaces. Use this no variant of this command to turn off IPv6 unicast routing. Note IPv6 unicast routing is disabled by default.
  • Page 771: Ipv6 Multicast Forward-Slow-Path-Packet

    OMMANDS MULTICAST FORWARD SLOW PATH PACKET ipv6 multicast forward-slow-path-packet Overview Use this command to enable multicast packets to be forwarded to the CPU. Enabling this command will ensure that the layer L3 MTU is set correctly for each IP multicast group and will apply the value of the smallest MTU among the outgoing interfaces for the multicast group.
  • Page 772: Ipv6 Nd Managed-Config-Flag

    OMMANDS ND MANAGED CONFIG FLAG ipv6 nd managed-config-flag Overview Use this command to set the managed address configuration flag, contained within the router advertisement field. Setting this flag indicates the operation of a stateful autoconfiguration protocol such as DHCPv6 for address autoconfiguration, and that address information (i.e. the network prefix) and other (non-address) information can be requested from the device.
  • Page 773: Ipv6 Nd Minimum-Ra-Interval

    OMMANDS ND MINIMUM INTERVAL ipv6 nd minimum-ra-interval Overview Use this command in Interface Configuration mode to set a minimum Router Advertisement (RA) interval for a VLAN interface. Use the no variant of this command in Interface Configuration mode to remove the minimum RA interval for a VLAN interface.
  • Page 774: Ipv6 Nd Other-Config-Flag

    OMMANDS ND OTHER CONFIG FLAG ipv6 nd other-config-flag Overview Use this command to set the other stateful configuration flag (contained within the router advertisement field) to be used for IPv6 address auto-configuration. This flag is used to request the router to provide information in addition to providing addresses.
  • Page 775: Ipv6 Nd Prefix

    OMMANDS ND PREFIX ipv6 nd prefix Overview Use this command in Interface Configuration mode for a VLAN interface to specify the IPv6 prefix information that is advertised by the router advertisement for IPv6 address auto-configuration. Use the no parameter with this command to reset the IPv6 prefix for a VLAN interface in Interface Configuration mode.
  • Page 776 OMMANDS ND PREFIX Usage This command specifies the IPv6 prefix flags that are advertised by the router advertisement message. Examples The following example configures the device to issue router advertisements on the VLAN interface vlan4, and advertises the address prefix of 2001:0db8::/64. awplus# configure terminal awplus(config)#...
  • Page 777: Ipv6 Nd Ra-Interval

    OMMANDS ND RA INTERVAL ipv6 nd ra-interval Overview Use this command to specify the interval between IPv6 Router Advertisements (RA) transmissions. Use no parameter with this command to reset the value to the default value (600 seconds). Syntax ipv6 nd ra-interval <seconds> no ipv6 nd ra-interval Parameter Description...
  • Page 778: Ipv6 Nd Ra-Lifetime

    OMMANDS ND RA LIFETIME ipv6 nd ra-lifetime Overview Use this command to specify the time period that this router can usefully act as a default gateway for the network. Each router advertisement resets this time period. Use no parameter with this command to reset the value to default. Syntax ipv6 nd ra-lifetime <seconds>...
  • Page 779: Ipv6 Nd Raguard

    OMMANDS ND RAGUARD ipv6 nd raguard Overview Use this command to apply the Router Advertisements (RA) Guard feature from the Interface Configuration mode for a device port. This blocks all RA messages received on a device port. For more information about RA Guard, see the IPv6 Feature Overview and Configuration Guide.
  • Page 780 OMMANDS ND RAGUARD Output Example output from using show running-config interface port1.0.2 to verify RA Guard: ! interface port1.0.2 switchport mode access  ipv6 nd raguard ! Related show running-config interface Commands C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 781: Ipv6 Nd Reachable-Time

    OMMANDS ND REACHABLE TIME ipv6 nd reachable-time Overview Use this command to specify the reachable time in the router advertisement to be used for detecting reachability of the IPv6 neighbor. Use the no variant of this command to reset the value to default. Syntax ipv6 nd reachable-time <milliseconds>...
  • Page 782: Ipv6 Nd Retransmission-Time

    OMMANDS ND RETRANSMISSION TIME ipv6 nd retransmission-time Overview Use this command to specify the advertised retransmission interval for Neighbor Solicitation in milliseconds between IPv6 Routers. Use the no variant of this command to reset the retransmission time to the default (1 second).
  • Page 783: Ipv6 Nd Suppress-Ra

    OMMANDS ND SUPPRESS ipv6 nd suppress-ra Overview Use this command to inhibit IPv6 Router Advertisement (RA) transmission for the current interface. Router advertisements are used when applying IPv6 stateless auto-configuration. Use no parameter with this command to enable Router Advertisement transmission.
  • Page 784: Ipv6 Neighbor

    OMMANDS NEIGHBOR ipv6 neighbor Overview Use this command to add a static IPv6 neighbor entry. Use the no variant of this command to remove a specific IPv6 neighbor entry. Syntax ipv6 neighbor <ipv6-address> <vlan-name> <mac-address> <port-list> no ipv6 neighbor <ipv6-address> <vlan-name> <port-list> Parameter Description <ipv6-address>...
  • Page 785: Ipv6 Opportunistic-Nd

    OMMANDS OPPORTUNISTIC ipv6 opportunistic-nd Overview Use this command to enable opportunistic neighbor discovery for the global IPv6 ND cache. Opportunistic neighbor discovery changes the behavior for unsolicited ICMPv6 ND packet forwarding on the device. Use the no variant of this command to disable opportunistic neighbor discovery for the global IPv6 ND cache.
  • Page 786: Ipv6 Route

    OMMANDS ROUTE ipv6 route Overview This command adds a static IPv6 route to the Routing Information Base (RIB). If this route is the best route for the destination, then your device adds it to the Forwarding Information Base (FIB). Your device uses the FIB to advertise routes to neighbors and forward packets.
  • Page 787: Ipv6 Unreachables

    OMMANDS UNREACHABLES ipv6 unreachables Overview Use this command to enable ICMPv6 (Internet Control Message Protocol version 6) type 1, destination unreachable, messages. Use the no variant of this command to disable destination unreachable messages. This prevents an attacker from using these messages to discover the topology of a network.
  • Page 788: Ping Ipv6

    OMMANDS PING IPV ping ipv6 Overview This command sends a query to another IPv6 host (send Echo Request messages). : Use of the interface parameter keyword, plus an interface or an interface range, NOTE with this command is only valid when pinging an IPv6 link local address. Syntax ping ipv6 {<host>|<ipv6-address>} [repeat {<1-2147483647>|continuous}] [size <10-1452>] [interface...
  • Page 789: Show Ipv6 Forwarding

    OMMANDS SHOW IPV FORWARDING show ipv6 forwarding Overview Use this command to display IPv6 forwarding status. show ipv6 forwarding Syntax Mode User Exec and Privileged Exec awplus# show ipv6 forwarding Example Output Figure 22-1: Example output from the show ipv6 forwarding command ...
  • Page 790: Show Ipv6 Interface Brief

    OMMANDS SHOW IPV INTERFACE BRIEF show ipv6 interface brief Overview Use this command to display brief information about interfaces and the IPv6 address assigned to them. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 791: Show Ipv6 Neighbors

    OMMANDS SHOW IPV NEIGHBORS show ipv6 neighbors Overview Use this command to display all IPv6 neighbors. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show ipv6 neighbors Mode User Exec and Privileged Exec C613-50102-01 REV C...
  • Page 792: Show Ipv6 Route

    OMMANDS SHOW IPV ROUTE show ipv6 route Overview Use this command to display the IPv6 routing table for a protocol or from a particular table. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 793 OMMANDS SHOW IPV ROUTE Output Figure 22-3: Example output of the show ipv6 route command  IPv6 Routing Table Codes: C - connected, S - static, R - RIP, O - OSPFS ::/0 [1/0] via 2001::a:0:0:c0a8:a6, vlan10 2001:db8::a:0:0:0:0/64 via ::, vlan10 2001:db8::14:0:0:0:0/64 via ::, vlan20...
  • Page 794: Show Ipv6 Route Summary

    OMMANDS SHOW IPV ROUTE SUMMARY show ipv6 route summary Overview Use this command to display the summary of the current NSM RIB entries. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 795: Traceroute Ipv6

    OMMANDS TRACEROUTE IPV traceroute ipv6 Overview Use this command to trace the route to the specified IPv6 host. traceroute ipv6 {<ipv6-addr>|<hostname>} Syntax Parameter Description <ipv6-addr> The destination IPv6 address. The IPv6 address uses the format X:X::X:X. <hostname> The destination hostname. Mode User Exec and Privileged Exec Example...
  • Page 796: Routing Commands

    Routing Commands Introduction Overview This chapter provides an alphabetical reference of routing commands that are common across the routing IP protocols. For more information, see the Route Selection Feature Overview and Configuration Guide. Command List • “ip route” on page 797 •...
  • Page 797: Ip Route

    OUTING OMMANDS IP ROUTE ip route Overview This command adds a static route to the Routing Information Base (RIB). If this route is the best route for the destination, then your device adds it to the Forwarding Information Base (FIB). Your device uses the FIB to advertise routes to neighbors and forward packets.
  • Page 798 OUTING OMMANDS IP ROUTE Examples To add the destination 192.168.3.0 with the mask 255.255.255.0 as a static route available through the device at “10.10.0.2” with the default administrative distance, use the commands: awplus# configure terminal awplus(config)# ip route 192.168.3.0 255.255.255.0 10.10.0.2 To remove the destination 192.168.3.0 with the mask 255.255.255.0 as a static route available through the device at “10.10.0.2”...
  • Page 799: Ipv6 Route

    OUTING OMMANDS ROUTE ipv6 route Overview This command adds a static IPv6 route to the Routing Information Base (RIB). If this route is the best route for the destination, then your device adds it to the Forwarding Information Base (FIB). Your device uses the FIB to advertise routes to neighbors and forward packets.
  • Page 800: Max-Fib-Routes

    OUTING OMMANDS ROUTES max-fib-routes Overview This command enables you to control the maximum number of FIB routes configured. It operates by providing parameters that enable you to configure preset maximums and warning message thresholds. The operation of these parameters is explained in the Parameter / Description table shown below. : For static routes use the max-static-routes command.
  • Page 801: Max-Static-Routes

    OUTING OMMANDS STATIC ROUTES max-static-routes Overview Use this command to set the maximum number of static routes, excluding FIB (Forwarding Information Base) routes. : For FIB routes use the max-fib-routes command. NOTE Use the no variant of this command to set the maximum number of static routes to the default of 1000 static routes.
  • Page 802: Maximum-Paths

    OUTING OMMANDS MAXIMUM PATHS maximum-paths Overview This command enables ECMP on your device, and sets the maximum number of paths that each route has in the Forwarding Information Base (FIB). ECMP is enabled by default. The no variant of this command sets the maximum paths to the default of 4. Syntax maximum-paths <1-8>...
  • Page 803: Show Ip Route

    OUTING OMMANDS SHOW IP ROUTE show ip route Overview Use this command to display routing entries in the FIB (Forwarding Information Base). The FIB contains the best routes to a destination, and your device uses these routes when forwarding traffic. You can display a subset of the entries in the FIB based on protocol.
  • Page 804 OUTING OMMANDS SHOW IP ROUTE • outgoing interface name • time since route entry was added Figure 23-1: Example output from the show ip route command Codes: C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2...
  • Page 805: Show Ip Route Database

    OUTING OMMANDS SHOW IP ROUTE Related ip route Commands maximum-paths show ip route database C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 806: Show Ip Route Database

    OUTING OMMANDS SHOW IP ROUTE DATABASE show ip route database Overview This command displays the routing entries in the RIB (Routing Information Base). When multiple entries are available for the same prefix, RIB uses the routes’ administrative distances to choose the best route. All best routes are entered into the FIB (Forwarding Information Base).
  • Page 807 OUTING OMMANDS SHOW IP ROUTE DATABASE The routes added to the FIB are marked with a *. When multiple routes are available for the same prefix, the best route is indicated with the > symbol. All unselected routes have neither the * nor the > symbol. *>...
  • Page 808: Show Ip Route Summary

    OUTING OMMANDS SHOW IP ROUTE SUMMARY show ip route summary Overview This command displays a summary of the current RIB (Routing Information Base) entries. To modify the lines displayed, use the | (output modifier token); to save the output to a file, use the > output redirection token. Syntax show ip route summary Mode...
  • Page 809: Show Ipv6 Route

    OUTING OMMANDS SHOW IPV ROUTE show ipv6 route Overview Use this command to display the IPv6 routing table for a protocol or from a particular table. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 810 OUTING OMMANDS SHOW IPV ROUTE Output Figure 23-4: Example output of the show ipv6 route command  IPv6 Routing Table Codes: C - connected, S - static, R - RIP, O - OSPFS ::/0 [1/0] via 2001::a:0:0:c0a8:a6, vlan10 2001:db8::a:0:0:0:0/64 via ::, vlan10 2001:db8::14:0:0:0:0/64 via ::, vlan20...
  • Page 811: Show Ipv6 Route Summary

    OUTING OMMANDS SHOW IPV ROUTE SUMMARY show ipv6 route summary Overview Use this command to display the summary of the current NSM RIB entries. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 812: Rip Commands

    RIP Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure RIP. For information about configuring RIP, see the RIP Feature Overview and Configuration Guide. Command List • “accept-lifetime” on page 814 • “alliedware-behavior” on page 816 •...
  • Page 813 RIP C OMMANDS • “ip rip split-horizon” on page 840 • “key” on page 841 • “key chain” on page 842 • “key-string” on page 843 • “maximum-prefix” on page 844 • “neighbor (RIP)” on page 845 • “network (RIP)” on page 846 •...
  • Page 814: Accept-Lifetime

    RIP C OMMANDS ACCEPT LIFETIME accept-lifetime Overview Use this command to specify the time period during which the authentication key on a key chain is received as valid. Use the no variant of this command to remove a specified time period for an authentication key on a key chain as set previously with the accept-lifetime command.
  • Page 815 RIP C OMMANDS ACCEPT LIFETIME awplus# configure terminal awplus(config)# key chain mychain awplus(config-keychain)# key 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 816: Alliedware-Behavior

    RIP C OMMANDS ALLIEDWARE BEHAVIOR alliedware-behavior Overview This command configures your device to exhibit AlliedWare behavior when sending RIPv1 response/update messages. Configuring for this behavior may be necessary if you are replacing an AlliedWare device with an AlliedWare Plus device and wish to ensure consistent RIPv1 behavior.
  • Page 817 RIP C OMMANDS ALLIEDWARE BEHAVIOR To return your device to AlliedWare Plus-like behavior when sending and receiving RIPv1 update messages, enter the commands: awplus# configure terminal awplus(config)# router rip awplus(config-router)# no alliedware-behavior rip1-send awplus(config-router)# no alliedware-behavior rip1-recv Validation show ip protocols rip Commands show running-config Related...
  • Page 818: Cisco-Metric-Behavior (Rip)

    RIP C OMMANDS (RIP) CISCO METRIC BEHAVIOR cisco-metric-behavior (RIP) Overview Use this command to enable or disable the RIP routing metric update to conform to Cisco’s implementation. This command is provided to allow inter-operation with older Cisco devices that do not conform to the RFC standard for RIP route metrics.
  • Page 819: Clear Ip Rip Route

    RIP C OMMANDS CLEAR IP RIP ROUTE clear ip rip route Overview Use this command to clear specific data from the RIP routing table. clear ip rip route {<ip-dest-network/prefix-length>| Syntax static|connected|rip|ospf|invalid-routes|all} Parameter Description <ip-dest-network/ Removes entries which exactly match this destination prefix-length>...
  • Page 820: Debug Rip

    RIP C OMMANDS DEBUG RIP debug rip Overview Use this command to specify the options for the displayed debugging information for RIP events and RIP packets. Use the no variant of this command to disable the specified debug option. Syntax debug rip {events|nsm|<packet>|all} no debug rip {events|nsm|<packet>|all} Parameter...
  • Page 821: Default-Information Originate (Rip)

    RIP C OMMANDS (RIP) DEFAULT INFORMATION ORIGINATE default-information originate (RIP) Overview Use this command to generate a default route into the Routing Information Protocol (RIP). Use the no variant of this command to disable this feature. Syntax default-information originate no default-information originate Default Disabled Mode...
  • Page 822: Default-Metric (Rip)

    RIP C OMMANDS (RIP) DEFAULT METRIC default-metric (RIP) Overview Use this command to specify the metrics to be assigned to redistributed RIP routes. Use the no variant of this command to reset the RIP metric back to its default (1). Syntax default-metric <metric>...
  • Page 823: Distance (Rip)

    RIP C OMMANDS (RIP) DISTANCE distance (RIP) Overview This command sets the administrative distance for RIP routes. Your device uses this value to select between two or more routes to the same destination obtained from two different routing protocols. The route with the smallest administrative distance value is added to the Forwarding Information Base (FIB).
  • Page 824: Distribute-List (Rip)

    RIP C OMMANDS (RIP) DISTRIBUTE LIST distribute-list (RIP) Overview Use this command to filter incoming or outgoing route updates using the access-list or the prefix-list. Use the no variant of this command to disable this feature. Syntax distribute-list {<access-list> | prefix <prefix-list>} {in|out} [<interface>] no distribute-list {<access-list>...
  • Page 825: Fullupdate (Rip)

    RIP C OMMANDS (RIP) FULLUPDATE fullupdate (RIP) Overview Use this command to specify which routes RIP should advertise when performing a triggered update. By default, when a triggered update is sent, RIP will only advertise those routes that have changed since the last update. When fullupdate is configured, the device advertises the full RIP route table in outgoing triggered updates, including routes that have not changed.
  • Page 826: Ip Rip Authentication Key-Chain

    RIP C OMMANDS IP RIP AUTHENTICATION KEY CHAIN ip rip authentication key-chain Overview Use this command to enable RIPv2 authentication on an interface and specify the name of the key chain to be used. Use the no variant of this command to disable this function. Syntax ip rip authentication key-chain <key-chain-name>...
  • Page 827 RIP C OMMANDS IP RIP AUTHENTICATION KEY CHAIN Specify the mode of authentication for the given interface (text or MD5), using the following command: awplus(config-if)# ip rip authentication mode {md5|text} Example In the following example of a configuration for multiple keys authentication, a password “toyota”...
  • Page 828: Ip Rip Authentication Mode

    RIP C OMMANDS IP RIP AUTHENTICATION MODE ip rip authentication mode Overview Use this command to specify the type of authentication mode used for RIP v2 packets. Use the no variant of this command to restore clear text authentication. Syntax ip rip authentication mode {md5|text} no ip rip authentication mode Parameter...
  • Page 829 RIP C OMMANDS IP RIP AUTHENTICATION MODE Usage: multiple For multiple keys authentication, use the following steps to configure a route to enable RIPv2 authentication using multiple keys at different times: Define a key chain with a key chain name, using the following commands: awplus# configure terminal awplus(config)#...
  • Page 830 RIP C OMMANDS IP RIP AUTHENTICATION MODE Example 3 The following example specifies “mykey” as the authentication string with MD5 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 Related ip rip authentication string Commands...
  • Page 831: Ip Rip Authentication String

    RIP C OMMANDS IP RIP AUTHENTICATION STRING ip rip authentication string Overview Use this command to specify the authentication string or password used by a key. Use the no variant of this command to remove the authentication string. Syntax ip rip authentication string <auth-string> no ip rip authentication string Parameter Description...
  • Page 832 RIP C OMMANDS IP RIP AUTHENTICATION STRING In the following example, the VLAN interface vlan2 is configured to have an Example authentication string as guest. Any received RIP packet in that interface should have the same string as password. awplus# configure terminal awplus(config)# interface vlan2...
  • Page 833: Ip Rip Receive-Packet

    RIP C OMMANDS IP RIP RECEIVE PACKET ip rip receive-packet Overview Use this command to configure the interface to enable the reception of RIP packets. Use the no variant of this command to disable this feature. Syntax ip rip receive-packet no ip rip receive-packet Default Receive-packet is enabled...
  • Page 834: Ip Rip Receive Version

    RIP C OMMANDS IP RIP RECEIVE VERSION ip rip receive version Overview Use this command to specify the version of RIP packets accepted on an interface and override the setting of the version command. Use the no variant of this command to use the setting specified by the version (RIP) command.
  • Page 835: Ip Rip Send-Packet

    RIP C OMMANDS IP RIP SEND PACKET ip rip send-packet Overview Use this command to enable sending RIP packets through the current interface. Use the no variant of this command to disable this feature. Syntax ip rip send-packet no ip rip send-packet Default Send packet is enabled Mode...
  • Page 836: Ip Rip Send Version

    RIP C OMMANDS IP RIP SEND VERSION ip rip send version Overview Use this command in Interface Configuration mode to specify the version of RIP packets sent on an interface and override the setting of the version (RIP) command. This mechanism causes RIP version 2 interfaces to send multicast packets instead of broadcasting packets.
  • Page 837 RIP C OMMANDS IP RIP SEND VERSION In the following example, the VLAN interface vlan4 is configured to send both RIP version 2 and 1 packets. awplus# configure terminal awplus(config)# interface vlan4 awplus(config-if)# ip rip send version 2 1 In the following example, the VLAN interface vlan4 is configured to send RIP version 1 packets only.
  • Page 838: Ip Rip Send Version 1-Compatible

    RIP C OMMANDS IP RIP SEND VERSION COMPATIBLE ip rip send version 1-compatible Overview Use this command in Interface Configuration mode to send RIP version 1 compatible packets from a RIP version 2 interfaces to other RIP Interfaces. This mechanism causes RIP version 2 interfaces to send broadcast packets instead of multicasting packets, and is used in environments where multicast is not enabled or where hosts do not listen to multicast.
  • Page 839 RIP C OMMANDS IP RIP SEND VERSION COMPATIBLE Related ip rip send version Commands version (RIP) C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 840: Ip Rip Split-Horizon

    RIP C OMMANDS IP RIP SPLIT HORIZON ip rip split-horizon Overview Use this command to turn on the split-horizon mechanism on the interface. Use the no variant of this command to disable this mechanism. Syntax ip rip split-horizon [poisoned] no ip rip split-horizon Parameter Description poisoned...
  • Page 841: Key

    RIP C OMMANDS Overview Use this command to manage, add and delete authentication keys in a key-chain. Use the no variant of this command to delete the authentication key. Syntax key <keyid> no key <keyid> Parameter Description <keyid> <0-2147483647> Key identifier number. Mode Keychain Configuration Usage...
  • Page 842: Key Chain

    RIP C OMMANDS KEY CHAIN key chain Overview Use this command to enter the key chain management mode and to configure a key chain with a key chain name. Use the no variant of this command to remove the key chain and all configured keys.
  • Page 843: Key-String

    RIP C OMMANDS STRING key-string Overview Use this command to define the password to be used by a key. Use the no variant of this command to remove a password. Syntax key-string <key-password> no key-string Parameter Description <key-password> A string of characters to be used as a password by the key. Mode Keychain-key Configuration Usage...
  • Page 844: Maximum-Prefix

    RIP C OMMANDS MAXIMUM PREFIX maximum-prefix Overview Use this command to configure the maximum number of RIP routes stored in the routing table. Use the no variant of this command to disable all limiting of the number of RIP routes stored in the routing table. Syntax maximum-prefix <maxprefix>...
  • Page 845: Neighbor (Rip)

    RIP C OMMANDS (RIP) NEIGHBOR neighbor (RIP) Overview Use this command to specify a neighbor router. It is used for each router to which you wish to send unicast RIP updates. Use the no variant of this command to stop sending unicast updates to the specific router.
  • Page 846: Network (Rip)

    RIP C OMMANDS (RIP) NETWORK network (RIP) Overview Use this command to activate the transmission of RIP routing information on the defined network. Use the no variant of this command to remove the specified network or VLAN as one that runs RIP. Syntax network {<network-address>[/<subnet-mask>]|<vlan-name>} no network {<network-address>[/<subnet-mask>]|<vlan-name>}...
  • Page 847: Offset-List (Rip)

    RIP C OMMANDS (RIP) OFFSET LIST offset-list (RIP) Overview Use this command to add an offset to the in and out metrics of routes learned through RIP. Use the no variant of this command to remove the offset list. Syntax offset-list <access-list>...
  • Page 848: Passive-Interface (Rip)

    RIP C OMMANDS (RIP) PASSIVE INTERFACE passive-interface (RIP) Overview Use this command to block RIP broadcasts on the VLAN interface. Use the no variant of this command to disable this function. Syntax passive-interface <interface> no passive-interface <interface> Parameter Description <interface> Specifies the interface name.
  • Page 849: Recv-Buffer-Size (Rip)

    RIP C OMMANDS (RIP) RECV BUFFER SIZE recv-buffer-size (RIP) Overview Use this command to run-time configure the RIP UDP (User Datagram Protocol) receive-buffer size to improve UDP reliability by avoiding UDP receive buffer overrun. Use the no variant of this command to reset the configured RIP UDP receive-buffer size to the system default (196608 bits).
  • Page 850: Redistribute (Rip)

    RIP C OMMANDS (RIP) REDISTRIBUTE redistribute (RIP) Overview Use this command to redistribute information from other routing protocols into RIP. Use the no variant of this command to disable the specified redistribution. The parameters metric and routemap may be used on this command, but have no effect.
  • Page 851: Restart Rip Graceful

    RIP C OMMANDS RESTART RIP GRACEFUL restart rip graceful Overview Use this command to force the RIP process to restart, and optionally set the grace-period. restart rip graceful [grace-period <1-65535>] Syntax Mode Privileged Exec Default The default RIP grace-period is 60 seconds. Usage After this command is executed, the RIP process immediately shuts down.
  • Page 852: Rip Restart Grace-Period

    RIP C OMMANDS RIP RESTART GRACE PERIOD rip restart grace-period Overview Use this command to change the grace period of RIP graceful restart. Use the no variant of this command to disable this function. Syntax rip restart grace-period <1-65535> no rip restart grace-period <1-65535> Mode Global Configuration Default...
  • Page 853: Route (Rip)

    RIP C OMMANDS (RIP) ROUTE route (RIP) Overview Use this command to configure static RIP routes. Use the no variant of this command to disable this function. Syntax route <ip-addr/prefix-length> no route <ip-addr/prefix-length> Parameter Description <ip-addr/prefix-length> The IPv4 address and prefix length. Default No static RIP route is added by default.
  • Page 854: Router Rip

    RIP C OMMANDS ROUTER RIP router rip Overview Use this global command to enter Router Configuration mode to enable the RIP routing process. Use the no variant of this command to disable the RIP routing process. Syntax router rip no router rip Mode Global Configuration Example...
  • Page 855: Send-Lifetime

    RIP C OMMANDS SEND LIFETIME send-lifetime Overview Use this command to specify the time period during which the authentication key on a key chain can be sent. send-lifetime <start-date> {<end-date>| Syntax duration <seconds>|infinite} no send-lifetime Parameter Description Specifies the start time and date in the format:  <start-date>...
  • Page 856 RIP C OMMANDS SEND LIFETIME Related Commands key-string key chain accept-lifetime C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 857: Show Debugging Rip

    RIP C OMMANDS SHOW DEBUGGING RIP show debugging rip Overview Use this command to display the RIP debugging status for these debugging options: nsm debugging, RIP event debugging, RIP packet debugging and RIP nsm debugging. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 858: Show Ip Protocols Rip

    RIP C OMMANDS SHOW IP PROTOCOLS RIP show ip protocols rip Overview Use this command to display RIP process parameters and statistics. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 859: Show Ip Rip

    RIP C OMMANDS SHOW IP RIP show ip rip Overview Use this command to show RIP routes. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show ip rip Mode User Exec and Privileged Exec awplus#...
  • Page 860: Show Ip Rip Database

    RIP C OMMANDS SHOW IP RIP DATABASE show ip rip database Overview Use this command to display information about the RIP database. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 861: Show Ip Rip Interface

    RIP C OMMANDS SHOW IP RIP INTERFACE show ip rip interface Overview Use this command to display information about the RIP interfaces. You can specify an interface name to display information about a specific interface. show ip rip interface [<interface>] Syntax Parameter Description...
  • Page 862: Timers (Rip)

    RIP C OMMANDS (RIP) TIMERS timers (RIP) Overview Use this command to adjust routing network timers. Use the no variant of this command to restore the defaults. Syntax timers basic <update> <timeout> <garbage> no timers basic Parameter Description <update> <5-2147483647> Specifies the period at which RIP route update packets are transmitted.
  • Page 863: Undebug Rip

    RIP C OMMANDS UNDEBUG RIP undebug rip Overview Use this command to disable the options set for debugging information of RIP events, packets and communication between RIP and NSM. This command has the same effect as the no debug rip command. Syntax undebug rip {all|events|nsm|<packet>} Parameter...
  • Page 864: Version (Rip)

    RIP C OMMANDS (RIP) VERSION version (RIP) Overview Use this command to specify a RIP version used globally by the router. Use the no variant of this command to restore the default version. Syntax version {1|2} no version Parameter Description Specifies the version of RIP processing.
  • Page 865: Ripng For Ipv6 Commands

    RIPng for IPv6 Commands Introduction Overview This chapter contains RIPng commands. RIPng (Routing Information Protocol next generation) is an extension of RIPv2 to support IPv6. RFC 2080 specifies RIPng. The differences between RIPv2 and RIPng are: • RIPng does not support RIP updates authentication •...
  • Page 866 NG FOR OMMANDS • “router ipv6 rip” on page 883 • “show debugging ipv6 rip” on page 884 • “show ipv6 protocols rip” on page 885 • “show ipv6 rip” on page 886 • “show ipv6 rip database” on page 887 •...
  • Page 867: Aggregate-Address (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP AGGREGATE ADDRESS aggregate-address (IPv6 RIPng) Overview Use this command to add an aggregate route to RIPng. Use the no variant of this command to remove the aggregate route from RIPng. Syntax aggregate-address <ipv6-addr/prefix-length> no aggregate-address <ipv6-addr/prefix-length> Parameter Description <ipv6-addr/prefix-length>...
  • Page 868: Clear Ipv6 Rip Route

    NG FOR OMMANDS CLEAR IPV RIP ROUTE clear ipv6 rip route Overview Use this command to clear specific data from the RIPng routing table. clear ipv6 rip route Syntax {<ipv6-addr/prefix-length>|all|connected|rip|static|ospf} Parameter Description <ipv6-addr/ Specify the IPv6 Address in format X:X::X:X/Prefix-Length. prefix-length>...
  • Page 869: Debug Ipv6 Rip

    NG FOR OMMANDS DEBUG IPV debug ipv6 rip Overview Use this command to enable RIPng debugging and specify debugging for RIPng events, RIPng packets, or RIPng communication with NSM processes. Use the no variant of this command to disable RIPng debugging. Syntax debug ipv6 rip [all|events|nsm|packet [detail]|recv [detail]|send [detail]]...
  • Page 870: Default-Information Originate (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP DEFAULT INFORMATION ORIGINATE default-information originate (IPv6 RIPng) Overview Use this command to generate a default route into RIPng. Use the no variant of this command to disable this feature. Syntax default-information originate no default-information originate Default Disabled Mode...
  • Page 871: Default-Metric (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP DEFAULT METRIC default-metric (IPv6 RIPng) Overview Use this command to specify the metrics to be assigned to redistributed RIPng routes. Use the no variant of this command to reset the RIPng metric back to its default (1). Syntax default-metric <1-16>...
  • Page 872: Distribute-List (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP DISTRIBUTE LIST distribute-list (IPv6 RIPng) Overview Use this command to filter incoming or outgoing route updates using the access-list or the prefix-list. Use the no variant of this command to disable this feature. Syntax distribute-list [<access-list>|prefix <prefix-list-name>] [in|out] [<interface>] no distribute-list [<access-list>|prefix <prefix-list-name>] [in|out] [<interface>]...
  • Page 873: Ipv6 Rip Metric-Offset

    NG FOR OMMANDS RIP METRIC OFFSET ipv6 rip metric-offset Overview Use this command to increment the metric value on incoming routes for a specified interface. This command can be used to artificially inflate the metric value for routes learned on the specified interface. Routes learned on the specified interface are only used if the routes to the same destination with a lower metric value in the routing table are down.
  • Page 874 NG FOR OMMANDS RIP METRIC OFFSET Examples To increment the metric-offset on the VLAN interface vlan2, enter the below commands: awplus# configure terminal awplus(config)# router ipv6 rip awplus(config-router)# exit awplus(config)# interface vlan2 awplus(config-if)# ipv6 rip metric-offset 1 To reset the metric-offset on the VLAN interface vlan2 to the default value, enter the below commands: awplus# configure terminal...
  • Page 875: Ipv6 Rip Split-Horizon

    NG FOR OMMANDS RIP SPLIT HORIZON ipv6 rip split-horizon Overview Use this command to perform the split-horizon action on the interface. The default is split-horizon with poisoned reverse. Use the no variant of this command to disable this function. Syntax ipv6 rip split-horizon [poisoned] no ipv6 rip split-horizon Parameter...
  • Page 876: Ipv6 Router Rip

    NG FOR OMMANDS ROUTER RIP ipv6 router rip Overview Use this command to enable RIPng routing on an interface. Use the no variant of this command to disable RIPng routing on an interface. Syntax ipv6 router rip no ipv6 router rip Default RIPng routing is disabled by default.
  • Page 877: Neighbor (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP NEIGHBOR neighbor (IPv6 RIPng) Overview Use this command to specify a neighbor router. Use the no variant of this command to disable the specific router. Syntax neighbor <ipv6-link-local-addr> <interface> no neighbor <ipv6-link-local-addr> <interface> Parameter Description <ipv6-link-local-addr>...
  • Page 878: Offset-List (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP OFFSET LIST offset-list (IPv6 RIPng) Overview Use this command to add an offset to in and out metrics to routes learned through RIPng. Use the no variant of this command to remove an offset list. Syntax offset-list {<access-list-number>|<access-list-name>} {in|out} <offset>...
  • Page 879: Passive-Interface (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP PASSIVE INTERFACE passive-interface (IPv6 RIPng) Overview Use this command to enable suppression of routing updates on an interface. Use the no variant of this command to disable this function. Syntax passive-interface <interface> no passive-interface <interface> Parameter Description <interface>...
  • Page 880: Recv-Buffer-Size (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP RECV BUFFER SIZE recv-buffer-size (IPv6 RIPng) Overview Use this command to configure the RIPng UDP (User Datagram Protocol) receive-buffer size. This should improve UDP reliability by avoiding UDP receive buffer overruns. Use the no variant of this command to unset the configured RIPng UDP receive-buffer size and set it back to the system default of 196608 bits.
  • Page 881: Redistribute (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP REDISTRIBUTE redistribute (IPv6 RIPng) Overview Use this command to redistribute information from other routing protocols into RIPng. Use the no variant of this command to disable the specified redistribution. The parameters metric and routemap may be used on this command, but have no effect.
  • Page 882: Route (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP ROUTE route (IPv6 RIPng) Overview Use this command to configure static RIPng routes. Use the no variant of this command to disable this function. Syntax route <ipv6-addr/prefix-length> no route <ipv6-addr/prefix-length> Parameter Description <ipv6-addr/prefix-length> Specify the IPv6 Address in format X:X::X:X/Prefix- Length.
  • Page 883: Router Ipv6 Rip

    NG FOR OMMANDS ROUTER IPV router ipv6 rip Overview Use this global command to enter Router Configuration mode to enable a RIPng routing process. Use the no variant of this command to disable the RIPng routing process. Syntax router ipv6 rip no router ipv6 rip Mode Global Configuration...
  • Page 884: Show Debugging Ipv6 Rip

    NG FOR OMMANDS SHOW DEBUGGING IPV show debugging ipv6 rip Overview Use this command to display the RIPng debugging status for the debugging options of: nsm debugging, RIPng event debugging, RIPng packet debugging, and RIPng nsm debugging. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 885: Show Ipv6 Protocols Rip

    NG FOR OMMANDS SHOW IPV PROTOCOLS RIP show ipv6 protocols rip Overview Use this command to display RIPng process parameters and statistics. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 886: Show Ipv6 Rip

    NG FOR OMMANDS SHOW IPV show ipv6 rip Overview Use this command to show RIPng routes. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide. Syntax show ipv6 rip Mode User Exec and Privileged Exec Example...
  • Page 887: Show Ipv6 Rip Database

    NG FOR OMMANDS SHOW IPV RIP DATABASE show ipv6 rip database Overview Use this command to display information about the RIPng database. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 888: Show Ipv6 Rip Interface

    NG FOR OMMANDS SHOW IPV RIP INTERFACE show ipv6 rip interface Overview Use this command to display information about the RIPng interfaces. You can specify an interface name to display information about a specific interface. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 889: Timers (Ipv6 Ripng)

    NG FOR OMMANDS 6 RIP TIMERS timers (IPv6 RIPng) Overview Use this command to adjust the RIPng routing network timers. Use the no variant of this command to restore the defaults. Syntax timers basic <update> <timeout> <garbage> no timers basic Parameter Description <update>...
  • Page 890: Undebug Ipv6 Rip

    NG FOR OMMANDS UNDEBUG IPV undebug ipv6 rip Overview Use this command to disable debugging options of RIPng events, RIPng packets, and communication between RIPng and NSM processes. undebug ipv6 rip [all|events|nsm|packet [recv|send][detail]] Syntax Parameter Description Disables all RIPng debugging. events Disable the display of RIPng events information.
  • Page 891: Ospf Commands

    OSPF Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure OSPF. For more information, see the OSPF Feature Overview and Configuration Guide. Command List • “area default-cost” on page 894 • “area authentication” on page 895 •...
  • Page 892 OSPF C OMMANDS • “debug ospf route” on page 918 • “default-information originate” on page 919 • “default-metric (OSPF)” on page 920 • “distance (OSPF)” on page 921 • “distribute-list (OSPF)” on page 923 • “enable db-summary-opt” on page 925 •...
  • Page 893 OSPF C OMMANDS • “router ospf” on page 959 • “router-id” on page 960 • “show debugging ospf” on page 961 • “show ip ospf” on page 962 • “show ip ospf border-routers” on page 965 • “show ip ospf database”...
  • Page 894: Area Default-Cost

    OSPF C OMMANDS AREA DEFAULT COST area default-cost Overview This command specifies a cost for the default summary route sent into a stub or NSSA area. The no variant of this command removes the assigned default-route cost. Syntax area <area-id> default-cost <0-16777215> no area <area-id>...
  • Page 895: Area Authentication

    OSPF C OMMANDS AREA AUTHENTICATION area authentication Overview Use this command to enable authentication for an OSPF area. Specifying the area authentication sets the authentication to Type 1 authentication or the Simple Text password authentication (details in RFC 2328). The no variant of this command removes the authentication specification for an area.
  • Page 896: Area Filter-List

    OSPF C OMMANDS AREA FILTER LIST area filter-list Overview This command configures filters to advertise summary routes on Area Border Routers (ABR). This command is used to suppress particular intra-area routes from/to an area to/from the other areas. You can use this command in conjunction with either the access-list or the prefix-list command.
  • Page 897: Area Nssa

    OSPF C OMMANDS AREA NSSA area nssa Overview This command sets an area as a Not-So-Stubby-Area (NSSA). By default, no NSSA area is defined. Use this command to simplify administration if you are connecting a central site using OSPF to a remote site that is using a different routing protocol. You can extend OSPF to cover the remote connection by defining the area between the central router and the remote router as an NSSA.
  • Page 898 OSPF C OMMANDS AREA NSSA Parameter Description <role> The role type. Specify one of the following keywords: always Router always translate NSSA- LSA to Type-5 LSA. candidate Router may translate NSSA-LSA to Type-5 LSA if it is elected. never Router never translate NSSA- LSA.
  • Page 899: Area Range

    OSPF C OMMANDS AREA RANGE area range Overview Use this command to summarize OSPF routes at an area boundary, configuring an IPv4 address range which consolidates OSPF routes. By default, this feature is not enabled. A summary route created by this command is then advertised to other areas by the Area Border Routers (ABRs).
  • Page 900 OSPF C OMMANDS AREA RANGE 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™...
  • Page 901: Area Stub

    OSPF C OMMANDS AREA STUB area stub Overview This command defines an OSPF area as a stub area. By default, no stub area is defined. Use this command when routers in the area do not require learning about summary LSAs from other areas. You can define the area as a totally stubby area by configuring the Area Border Router of that area using the area stub no-summary command.
  • Page 902: Area Virtual-Link

    OSPF C OMMANDS AREA VIRTUAL LINK area virtual-link Overview This command configures a link between two backbone areas that are physically separated through other non-backbone areas. In OSPF, all non-backbone areas must be connected to a backbone area. If the connection to the backbone is lost, the virtual link repairs the connection.
  • Page 903 OSPF C OMMANDS AREA VIRTUAL LINK Parameter Description message-digest Use message-digest authentication. null Use null authentication to override password or message digest. dead-interval If no packets are received from a particular neighbor for dead-interval seconds, the router considers that neighboring router as being off-line.
  • Page 904 OSPF C OMMANDS AREA VIRTUAL LINK Related area authentication Commands show ip ospf show ip ospf virtual-links C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 905: Auto-Cost Reference Bandwidth

    OSPF C OMMANDS AUTO COST REFERENCE BANDWIDTH auto-cost reference bandwidth Overview This command controls how OSPF calculates default metrics for the interface. Use the no variant of this command to assign cost based only on the interface bandwidth. Syntax auto-cost reference-bandwidth <1-4294967> no auto-cost reference-bandwidth Parameter Description...
  • Page 906 OSPF C OMMANDS AUTO COST REFERENCE BANDWIDTH Calculation result = 0.1 Result after rounding up to the nearest integer = 1 (Interface cost is 1) The auto-cost reference bandwidth value should be consistent across all OSPF routers in the OSPF process. Note that using the ip ospf cost command on a layer 3 interface will override the...
  • Page 907: Bandwidth

    OSPF C OMMANDS BANDWIDTH bandwidth Overview Use this command to specify the maximum bandwidth to be used for each VLAN interface. The bandwidth value is in bits. OSPF uses this to calculate metrics for the VLAN interface. The no variant of this command removes any applied bandwidth value and replaces it with a value equal to the lowest port speed within that VLAN.
  • Page 908: Capability Opaque

    OSPF C OMMANDS CAPABILITY OPAQUE capability opaque Overview This command enables opaque-LSAs. Opaque-LSAs are Type 9, 10 and 11 LSAs that deliver information used by external applications. By default, opaque-LSAs are enabled. Use the no variant of this command to disables opaque-LSAs. capability opaque Syntax no capability opaque...
  • Page 909: Capability Restart

    OSPF C OMMANDS CAPABILITY RESTART capability restart Overview This command enables OSPF Graceful Restart or restart signaling features. By default, this is enabled. Use the no variant of this command to disable OSPF Graceful Restart and restart signaling features. Syntax capability restart [graceful|signaling] no capability restart Parameter...
  • Page 910: Clear Ip Ospf Process

    OSPF C OMMANDS CLEAR IP OSPF PROCESS clear ip ospf process Overview This command clears and restarts the OSPF routing process. Specify the Process ID to clear one particular OSPF process. When no Process ID is specified, this command clears all running OSPF processes. clear ip ospf [<0-65535>] process Syntax Parameter...
  • Page 911: Compatible Rfc1583

    OSPF C OMMANDS 1583 COMPATIBLE RFC compatible rfc1583 Overview This command changes the method used to calculate summary route to the that specified in RFC 1583. By default, OSPF uses the method specified in RFC 2328. RFC 1583 specifies a method for calculating the metric for summary routes based on the minimum metric of the component paths available.
  • Page 912: Debug Ospf Events

    OSPF C OMMANDS DEBUG OSPF EVENTS debug ospf events Overview This command enables OSPF debugging for OSPF event troubleshooting. To enable all debugging options, specify debug ospf event with no additional parameters. The no and undebug variant of this command disable OSPF debugging. Use this command without parameters to disable all the options.
  • Page 913: Debug Ospf Ifsm

    OSPF C OMMANDS DEBUG OSPF IFSM debug ospf ifsm Overview This command specifies debugging options for OSPF Interface Finite State Machine (IFSM) troubleshooting. To enable all debugging options, specify debug ospf ifsm with no additional parameters. The no and undebug variant of this command disable OSPF IFSM debugging. Use this command without parameters to disable all the options.
  • Page 914: Debug Ospf Lsa

    OSPF C OMMANDS DEBUG OSPF LSA debug ospf lsa Overview This command enables debugging options for OSPF Link State Advertisements (LSA) troubleshooting. This displays information related to internal operations of LSAs. To enable all debugging options, specify debug ospf lsa with no additional parameters.
  • Page 915: Debug Ospf Nfsm

    OSPF C OMMANDS DEBUG OSPF NFSM debug ospf nfsm Overview This command enables debugging options for OSPF Neighbor Finite State Machines (NFSMs). To enable all debugging options, specify debug ospf nfsm with no additional parameters. The no and undebug variant of this command disable OSPF NFSM debugging. Use this command without parameters to disable all the options.
  • Page 916: Debug Ospf Nsm

    OSPF C OMMANDS DEBUG OSPF NSM debug ospf nsm Overview This command enables debugging options for the OSPF Network Service Module. To enable both debugging options, specify debug ospf nsm with no additional parameters. The no and undebug variant of this command disable OSPF NSM debugging. Use this command without parameters to disable both options.
  • Page 917: Debug Ospf Packet

    OSPF C OMMANDS DEBUG OSPF PACKET debug ospf packet Overview This command enables debugging options for OSPF packets. To enable all debugging options, specify debug ospf packet with no additional parameters. The no and undebug variant of this command disable OSPF packet debugging. Use this command without parameters to disable all options.
  • Page 918: Debug Ospf Route

    OSPF C OMMANDS DEBUG OSPF ROUTE debug ospf route Overview This command enables debugging of route calculation. Use this command without parameters to turn on all the options. To enable all debugging options, specify debug ospf route with no additional parameters.
  • Page 919: Default-Information Originate

    OSPF C OMMANDS DEFAULT INFORMATION ORIGINATE default-information originate Overview This command creates a default external route into an OSPF routing domain. When you use the default-information originate command to redistribute routes into an OSPF routing domain, then the system acts like an Autonomous System Boundary Router (ASBR).
  • Page 920: Default-Metric (Ospf)

    OSPF C OMMANDS (OSPF) DEFAULT METRIC default-metric (OSPF) Overview This command sets default metric values for the OSPF routing protocol. The no variant of this command returns OSPF to using built-in, automatic metric translations, as appropriate for each routing protocol. Syntax default-metric <1-16777214>...
  • Page 921: Distance (Ospf)

    OSPF C OMMANDS (OSPF) DISTANCE distance (OSPF) Overview This command sets the administrative distance for OSPF routes based on the route type. Your device uses this value to select between two or more routes to the same destination from two different routing protocols. The route with the smallest administrative distance value is added to the Forwarding Information Base (FIB).
  • Page 922: No Distance Ospf

    OSPF C OMMANDS (OSPF) DISTANCE • 10 for intra-area routes • 40 for external routes use the commands: awplus(config)# router ospf 100 awplus(config-router)# distance ospf inter-area 20 intra-area 10 external 40 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...
  • Page 923: Distribute-List (Ospf)

    OSPF C OMMANDS (OSPF) DISTRIBUTE LIST distribute-list (OSPF) Overview Use this command to apply filtering to the transfer of routing information between OSPF and the IP route table. You can apply filtering in either direction, from OSPF to the IP route table using an in distribute-list, or from the IP route table to OSPF using an ou t distribute-list.
  • Page 924 OSPF C OMMANDS (OSPF) DISTRIBUTE LIST from the LSA database. By default, all of these routes become OSPF’s candidate routes for inclusion into the IP route table. • An in distribute-list can be used to control whether or not certain routes generated by the SPF calculation are included into the set of candidates for inclusion into the IP route table.
  • Page 925: Enable Db-Summary-Opt

    OSPF C OMMANDS ENABLE DB SUMMARY enable db-summary-opt Overview This command enables OSPF database summary list optimization. The no variant of this command disables database summary list optimization. Syntax enable db-summary-opt no enable db-summary-opt Default The default setting is disabled. Mode Router Configuration Usage...
  • Page 926: Host Area

    OSPF C OMMANDS HOST AREA host area Overview This command configures a stub host entry belonging to a particular area. You can use this command to advertise specific host routes in the router-LSA as stub link. Since stub host belongs to the specified router, specifying cost is optional. The no variant of this command removes the host area configuration.
  • Page 927: Ip Ospf Authentication

    OSPF C OMMANDS IP OSPF AUTHENTICATION ip ospf authentication Overview This command sets the authentication method used when sending and receiving OSPF packets on the current VLAN interface. The default is to use no authentication. If no authentication method is specified in this command, then plain text authentication will be used.
  • Page 928: Ip Ospf Authentication-Key

    OSPF C OMMANDS IP OSPF AUTHENTICATION ip ospf authentication-key Overview This command specifies an OSPF authentication password for the neighboring routers. The no variant of this command removes the OSPF authentication password. Syntax ip ospf [<ip-address>] authentication-key <pswd-long> no ip ospf [<ip-address>] authentication-key Parameter Description <ip-address>...
  • Page 929: Ip Ospf Cost

    OSPF C OMMANDS IP OSPF COST ip ospf cost Overview This command explicitly specifies the cost of the link-state metric in a router-LSA. The no variant of this command resets the VLAN interface cost to the default. Syntax ip ospf [<ip-address>] cost <1-65535> no ip ospf [<ip-address>] cost Parameter Description...
  • Page 930: Ip Ospf Database-Filter

    OSPF C OMMANDS IP OSPF DATABASE FILTER ip ospf database-filter Overview This command turns on the LSA database-filter for a particular VLAN interface. The no variant of this command turns off the LSA database-filter. Syntax ip ospf [<ip-address>] database-filter all out no ip ospf [<ip-address>] database-filter Parameter Description...
  • Page 931: Ip Ospf Dead-Interval

    OSPF C OMMANDS IP OSPF DEAD INTERVAL ip ospf dead-interval Overview This command sets the interval during which no hello packets are received and after which a neighbor is declared dead. The dead-interval is the amount of time that OSPF waits to receive an OSPF hello packet from the neighbor before declaring the neighbor is down.
  • Page 932: Ip Ospf Disable All

    OSPF C OMMANDS IP OSPF DISABLE ALL ip ospf disable all Overview This command completely disables OSPF packet processing on a VLAN interface. It overrides the network area command and disables the processing of packets on the specific interface. Use the no variant of this command to restore OSPF packet processing on a selected interface.
  • Page 933: Ip Ospf Hello-Interval

    OSPF C OMMANDS IP OSPF HELLO INTERVAL ip ospf hello-interval Overview This command specifies the interval between hello packets. The hello-interval is advertised in the hello packets. Configure the same hello-interval for all routers on a specific network. A shorter hello interval ensures faster detection of topological changes, but results in more routing traffic.
  • Page 934: Ip Ospf Message-Digest-Key

    OSPF C OMMANDS IP OSPF MESSAGE DIGEST ip ospf message-digest-key Overview This command registers an MD5 key for OSPF MD5 authentication. Message Digest Authentication is a cryptographic authentication. A key (password) and key-id are configured on each router. The router uses an algorithm based on the OSPF packet, the key, and the key-id to generate a message digest that gets appended to the packet.
  • Page 935 OSPF C OMMANDS IP OSPF MESSAGE DIGEST Examples The following example shows OSPF authentication on the VLAN interface vlan5 when IP address has not been specified. awplus# configure terminal awplus(config)# interface vlan5 awplus(config-if)# ip ospf authentication message-digest awplus(config-if)# ip ospf message-digest-key 1 md5 yourpass The following example shows configuring OSPF authentication on the VLAN interface vlan2 for the IP address 1.1.1.1.
  • Page 936: Ip Ospf Mtu

    OSPF C OMMANDS IP OSPF MTU ip ospf mtu Overview This command sets the MTU size for OSPF. Whenever OSPF constructs packets, it uses VLAN interface MTU size as Maximum IP packet size. This command forces OSPF to use the specified value, overriding the actual VLAN interface MTU size. Use the no variant of this command to return the MTU size to the default.
  • Page 937: Ip Ospf Mtu-Ignore

    OSPF C OMMANDS IP OSPF MTU IGNORE ip ospf mtu-ignore Overview Use this command to configure OSPF so that OSPF does not check the MTU size during DD (Database Description) exchange. Use the no variant of this command to make sure that OSPF checks the MTU size during DD exchange.
  • Page 938: Ip Ospf Network

    OSPF C OMMANDS IP OSPF NETWORK ip ospf network Overview This command configures the OSPF network type to a type different from the default for the particular VLAN interface. The no variant of this command returns the network type to the default for the particular VLAN interface.
  • Page 939: Ip Ospf Priority

    OSPF C OMMANDS IP OSPF PRIORITY ip ospf priority Overview This command sets the router priority, which is a parameter used in the election of the designated router for the network. The no variant of this command returns the router priority to the default of 1. Syntax ip ospf [<ip-address>] priority <priority>...
  • Page 940: Ip Ospf Resync-Timeout

    OSPF C OMMANDS IP OSPF RESYNC TIMEOUT ip ospf resync-timeout Overview Use this command to set the interval after which adjacency is reset if out-of-band resynchronization has not occurred. The interval period starts from the time a restart signal is received from a neighbor. Use the no variant of this command to return to the default.
  • Page 941: Ip Ospf Retransmit-Interval

    OSPF C OMMANDS IP OSPF RETRANSMIT INTERVAL ip ospf retransmit-interval Overview Use this command to specify the time between link-state advertisement (LSA) retransmissions for adjacencies belonging to the interface. Use the no variant of this command to return to the default of 5 seconds. Syntax ip ospf [<ip-address>] retransmit-interval <1-65535>...
  • Page 942: Ip Ospf Transmit-Delay

    OSPF C OMMANDS IP OSPF TRANSMIT DELAY ip ospf transmit-delay Overview Use this command to set the estimated time it takes to transmit a link-state-update packet on the VLAN interface. Use the no variant of this command to return to the default of 1 second. Syntax ip ospf [<ip-address>] transmit-delay <1-65535>...
  • Page 943: Max-Concurrent-Dd

    OSPF C OMMANDS CONCURRENT max-concurrent-dd Overview Use this command to set the limit for the number of Database Descriptors (DD) that can be processed concurrently. Use the no variant of this command to reset the limit for the number of Database Descriptors (DD) that can be processed concurrently.
  • Page 944: Maximum-Area

    OSPF C OMMANDS MAXIMUM AREA maximum-area Overview Use this command to set the maximum number of OSPF areas. Use the no variant of this command to set the maximum number of OSPF areas to the default. Syntax maximum-area <1-4294967294> no maximum-area Parameter Description <1-4294967294>...
  • Page 945: Neighbor (Ospf)

    OSPF C OMMANDS (OSPF) NEIGHBOR neighbor (OSPF) Overview Use this command to inform the router of other neighboring routers that are connected to the same NBMA network. Use the no variant of this command to remove a configuration. Syntax neighbor <ip-address> [<cost>]{<priority>|<poll-interval>} no neighbor <ip-address>...
  • Page 946: Network Area

    OSPF C OMMANDS NETWORK AREA network area Overview Use this command to enable OSPF routing with a specified Area ID on any interfaces with IP addresses that match the specified network address. Use the no variant of this command to disable OSPF routing on the interfaces. Syntax network <network-address>...
  • Page 947 OSPF C OMMANDS 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-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 948: Ospf Abr-Type

    OSPF C OMMANDS OSPF ABR TYPE ospf abr-type Overview Use this command to set an OSPF Area Border Router (ABR) type. Use the no variant of this command to revert the ABR type to the default setting (Cisco). Syntax ospf abr-type {cisco|ibm|standard} no ospf abr-type {cisco|ibm|standard} Parameter Description...
  • Page 949: Ospf Restart Grace-Period

    OSPF C OMMANDS OSPF RESTART GRACE PERIOD ospf restart grace-period Overview Use this command to configure the grace-period for restarting OSPF routing. Use the no variant of this command to revert to the default grace-period. Syntax ospf restart grace-period <1-1800> no ospf restart grace-period Parameter Description...
  • Page 950: Ospf Restart Helper

    OSPF C OMMANDS OSPF RESTART HELPER ospf restart helper Overview Use this command to configure the helper behavior for the OSPF Graceful Restart feature. Use the no variant of this command to revert to the default grace-period. Syntax ospf restart helper {max-grace-period <grace-period>|only-reload|only-upgrade} ospf restart helper {never router-id <router-id>} no ospf restart helper [max-grace-period]...
  • Page 951 OSPF C OMMANDS OSPF RESTART HELPER Related ospf restart grace-period Commands restart ospf graceful C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 952: Ospf Router-Id

    OSPF C OMMANDS OSPF ROUTER ospf router-id Overview Use this command to specify a router ID for the OSPF process. Use the no variant of this command to disable this function. Syntax ospf router-id <ip-address> no ospf router-id Parameter Description <ip-address>...
  • Page 953: Overflow Database

    OSPF C OMMANDS OVERFLOW DATABASE overflow database Overview Use this command to limit the maximum number of Link State Advertisements (LSAs) that can be supported by the current OSPF instance. Use the no variant of this command to have no limit on the maximum number of LSAs.
  • Page 954: Overflow Database External

    OSPF C OMMANDS OVERFLOW DATABASE EXTERNAL overflow database external Overview Use this command to configure the size of the external database and the time the router waits before it tries to exit the overflow state. Use the no variant of this command to revert to default. Syntax overflow database external <max-lsas>...
  • Page 955: Passive-Interface (Ospf)

    OSPF C OMMANDS (OSPF) PASSIVE INTERFACE passive-interface (OSPF) Overview Use this command to suppress the sending of Hello packets on all interfaces, or on a specified interface. If you use the passive-interface command without the optional parameters then all interfaces are put into passive mode. Use the no variant of this command to allow the sending of Hello packets on all interfaces, or on the specified interface.
  • Page 956: Redistribute (Ospf)

    OSPF C OMMANDS (OSPF) REDISTRIBUTE redistribute (OSPF) Overview Use this command to redistribute routes from other routing protocols, static routes and connected routes into an OSPF routing table. Use the no variant of this command to disable this function. Syntax redistribute {connected|rip|static} {metric <0-16777214>|metric-type {1|2}|route-map <name>|tag <0-4294967295>}...
  • Page 957 OSPF C OMMANDS (OSPF) REDISTRIBUTE The following example shows the configuration of a route-map named rmap2, Example which is then applied using the redistribute route-map command, so routes learned via interface vlan1 can be redistributed as type-1 external LSAs: awplus# configure terminal awplus(config)# route-map rmap2 permit 3...
  • Page 958: Restart Ospf Graceful

    OSPF C OMMANDS RESTART OSPF GRACEFUL restart ospf graceful Overview Use this command to force the OSPF process to restart, and optionally set the grace-period. restart ospf graceful [grace-period <1-1800>] Syntax Parameter Description grace-period Specify the grace period. <1-1800> The grace period in seconds. Default In the AlliedWare Plus™...
  • Page 959: Router Ospf

    OSPF C OMMANDS ROUTER OSPF router ospf Overview Use this command to enter Router Configuration mode to configure an OSPF routing process. You must specify the process ID with this command for multiple OSPF routing processes on the device. Use the no variant of this command to terminate an OSPF routing process. Use the no parameter with the process-id parameter, to terminate and delete a specific OSPF routing process.
  • Page 960: Router-Id

    OSPF C OMMANDS ROUTER router-id Overview Use this command to specify a router ID for the OSPF process. Use the no variant of this command to force OSPF to use the previous OSPF router-id behavior. Syntax router-id <ip-address> no router-id Parameter Description <ip-address>...
  • Page 961: Show Debugging Ospf

    OSPF C OMMANDS SHOW DEBUGGING OSPF show debugging ospf Overview Use this command to display which OSPF debugging options are currently enabled. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 962: Show Ip Ospf

    OSPF C OMMANDS SHOW IP OSPF show ip ospf Overview Use this command to display general information about all OSPF routing processes. Include the process ID parameter with this command to display information about specified instances. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 963 OSPF C OMMANDS SHOW IP OSPF Table 1: Example output from the show ip ospf command (cont.) External LSA database is unlimited. Number of LSA originated 0 Number of LSA received 0 Number of areas attached to this router: 2 Area 0 (BACKBONE) (Inactive)...
  • Page 964 OSPF C OMMANDS SHOW IP OSPF Table 3: Parameters in the output of the show ip ospf command Output Parameter Meaning Route Licence: Route: Limit The maximum number of OSPF routes which may be used for forwarding. Allocate The current total number of OSPF routes allocated in the OSPF module.
  • Page 965: Show Ip Ospf Border-Routers

    OSPF C OMMANDS SHOW IP OSPF BORDER ROUTERS show ip ospf border-routers Overview Use this command to display the ABRs and ASBRs for all OSPF instances. Include the process ID parameter with this command to view data about specified instances. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 966: Show Ip Ospf Database

    OSPF C OMMANDS SHOW IP OSPF DATABASE show ip ospf database Overview Use this command to display a database summary for OSPF information. Include the process ID parameter with this command to display information about specified instances. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 967 OSPF C OMMANDS SHOW IP OSPF DATABASE awplus# show ip ospf database external 1.2.3.4 self-originate Example awplus# show ip ospf database self-originate Figure 26-5: Example output from the show ip ospf database self-originate command OSPF Router process 100 with ID (10.10.11.50) Router Link States (Area 0.0.0.1 [NSSA])...
  • Page 968: Show Ip Ospf Database Asbr-Summary

    OSPF C OMMANDS SHOW IP OSPF DATABASE ASBR SUMMARY show ip ospf database asbr-summary Overview Use this command to display information about the Autonomous System Boundary Router (ASBR) summary LSAs. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 969: Show Ip Ospf Database External

    OSPF C OMMANDS SHOW IP OSPF DATABASE EXTERNAL show ip ospf database external Overview Use this command to display information about the external LSAs. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 970 OSPF C OMMANDS SHOW IP OSPF DATABASE EXTERNAL Output Figure 26-7: Example output from the show ip ospf database external adv-router command awplus#show ip ospf database external adv-router 1.1.1.1  AS External Link States LS age: 273 Options: 0x2 (-|-|-|-|-|-|E|-) LS Type: AS-external-LSA...
  • Page 971: Show Ip Ospf Database Network

    OSPF C OMMANDS SHOW IP OSPF DATABASE NETWORK show ip ospf database network Overview Use this command to display information about the network LSAs. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 972: Show Ip Ospf Database Nssa-External

    OSPF C OMMANDS SHOW IP OSPF DATABASE NSSA EXTERNAL show ip ospf database nssa-external Overview Use this command to display information about the NSSA external LSAs. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 973 OSPF C OMMANDS SHOW IP OSPF DATABASE NSSA EXTERNAL OSPF Router process 100 with ID (10.10.11.50) NSSA-external Link States (Area 0.0.0.0) NSSA-external Link States (Area 0.0.0.1 [NSSA]) LS age: 78 Options: 0x0 (*|-|-|-|-|-|-|-) LS Type: AS-NSSA-LSA Link State ID: 0.0.0.0 (External Network Number For NSSA) Advertising Router: 10.10.11.50...
  • Page 974: Show Ip Ospf Database Opaque-Area

    OSPF C OMMANDS SHOW IP OSPF DATABASE OPAQUE AREA show ip ospf database opaque-area Overview Use this command to display information about the area-local (link state type 10) scope LSAs. Type-10 Opaque LSAs are not flooded beyond the borders of their associated area.
  • Page 975: Show Ip Ospf Database Opaque-As

    OSPF C OMMANDS SHOW IP OSPF DATABASE OPAQUE show ip ospf database opaque-as Overview Use this command to display information about the link-state type 11 LSAs. This type of link-state denotes that the LSA is flooded throughout the Autonomous System (AS). For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 976: Show Ip Ospf Database Opaque-Link

    OSPF C OMMANDS SHOW IP OSPF DATABASE OPAQUE LINK show ip ospf database opaque-link Overview Use this command to display information about the link-state type 9 LSAs. This type denotes a link-local scope. The LSAs are not flooded beyond the local network.
  • Page 977: Show Ip Ospf Database Router

    OSPF C OMMANDS SHOW IP OSPF DATABASE ROUTER show ip ospf database router Overview Use this command to display information only about the router LSAs. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 978 OSPF C OMMANDS SHOW IP OSPF DATABASE ROUTER Router Link States (Area 0.0.0.1) LS age: 877 Options: 0x2 (*|-|-|-|-|-|E|-) Flags: 0x3 : ABR ASBR LS Type: router-LSA Link State ID: 10.10.11.50  Advertising Router: 10.10.11.50 LS Seq Number: 80000003 Checksum: 0xee93 Length: 36...
  • Page 979: Show Ip Ospf Database Summary

    OSPF C OMMANDS SHOW IP OSPF DATABASE SUMMARY show ip ospf database summary Overview Use this command to display information about the summary LSAs. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 980 OSPF C OMMANDS SHOW IP OSPF DATABASE SUMMARY Figure 26-15: Example output from the show ip ospf database summary self-originate command OSPF Router process 100 with ID (10.10.11.50) Summary Link States (Area 0.0.0.0) LS age: 1061 Options: 0x2 (*|-|-|-|-|-|E|-) LS Type: summary-LSA Link State ID: 10.10.11.0 (summary Network Number)...
  • Page 981 OSPF C OMMANDS SHOW IP OSPF DATABASE SUMMARY Figure 26-16: Example output from the show ip ospf database summary adv-router <ip-address> command OSPF Router process 100 with ID (10.10.11.50) Summary Link States (Area 0.0.0.0) LS age: 989 Options: 0x2 (*|-|-|-|-|-|E|-) LS Type: summary-LSA...
  • Page 982: Show Ip Ospf Interface

    OSPF C OMMANDS SHOW IP OSPF INTERFACE show ip ospf interface Overview Use this command to display interface information for OSPF. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 983: Show Ip Ospf Neighbor

    OSPF C OMMANDS SHOW IP OSPF NEIGHBOR show ip ospf neighbor Overview Use this command to display information on OSPF neighbors. Include the ospf-id parameter with this command to display information about specified instances. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 984 OSPF C OMMANDS SHOW IP OSPF NEIGHBOR Figure 26-19: Example output from the show ip ospf <ospf-id> neighbor command OSPF process 100: Neighbor ID State Dead Time Address Interface 192.168.0.3 2-Way/DROther 00:01:59* 192.168.200.3 vlan200 Figure 26-20: Example output from the show ip ospf neighbor detail command Neighbor 10.10.10.50, interface address 10.10.10.50...
  • Page 985: Show Ip Ospf Route

    OSPF C OMMANDS SHOW IP OSPF ROUTE show ip ospf route Use this command to display the OSPF routing table. Include the process ID Overview parameter with this command to display the OSPF routing table for specified instances. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus”...
  • Page 986: Show Ip Ospf Virtual-Links

    OSPF C OMMANDS SHOW IP OSPF VIRTUAL LINKS show ip ospf virtual-links Overview Use this command to display virtual link information. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 987: Show Ip Protocols Ospf

    OSPF C OMMANDS SHOW IP PROTOCOLS OSPF show ip protocols ospf Overview Use this command to display OSPF process parameters and statistics. For information on filtering and saving command output, see the “Getting Started with AlliedWare Plus” Feature Overview and Configuration Guide.
  • Page 988: Summary-Address

    OSPF C OMMANDS SUMMARY ADDRESS summary-address Overview Use this command to summarize, or possibly suppress, external routes that have the specified address range. Use the no variant of this command to stop summarizing, or suppressing, external routes that have the specified address range. Syntax summary-address <ip-addr/prefix-length>...
  • Page 989: Timers Spf Exp

    OSPF C OMMANDS TIMERS SPF EXP timers spf exp Overview Use this command to adjust route calculation timers using exponential back-off delays. Use no form of this command to return to the default exponential back-off timer values. Syntax timers spf exp <min-holdtime> <max-holdtime> no timers spf exp Parameter Description...
  • Page 990: Undebug Ospf Events

    OSPF C OMMANDS UNDEBUG OSPF EVENTS undebug ospf events Overview This command applies the functionality of the no debug ospf events command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 991: Undebug Ospf Ifsm

    OSPF C OMMANDS UNDEBUG OSPF IFSM undebug ospf ifsm Overview This command applies the functionality of the no debug ospf ifsm command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 992: Undebug Ospf Lsa

    OSPF C OMMANDS UNDEBUG OSPF LSA undebug ospf lsa Overview This command applies the functionality of the no debug ospf lsa command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 993: Undebug Ospf Nfsm

    OSPF C OMMANDS UNDEBUG OSPF NFSM undebug ospf nfsm Overview This command applies the functionality of the no debug ospf nfsm command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 994: Undebug Ospf Nsm

    OSPF C OMMANDS UNDEBUG OSPF NSM undebug ospf nsm Overview This command applies the functionality of the no debug ospf nsm command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 995: Undebug Ospf Packet

    OSPF C OMMANDS UNDEBUG OSPF PACKET undebug ospf packet Overview This command applies the functionality of the no debug ospf packet command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 996: Undebug Ospf Route

    OSPF C OMMANDS UNDEBUG OSPF ROUTE undebug ospf route Overview This command applies the functionality of the no debug ospf route command. C613-50102-01 REV C Command Reference for x510 Series AlliedWare Plus™ Operating System - Version 5.4.6-1.x...
  • Page 997: Ospfv3 For Ipv6 Commands

    OSPFv3 for IPv6 Commands Introduction Overview This chapter provides an alphabetical reference of commands used to configure OSPFv3 for IPv6. See the OSPFv3 Feature Overview and Configuration Guide more information and examples. Command List • “abr-type” on page 1000 • “area authentication ipsec spi”...
  • Page 998 OSPF OMMANDS • “default-metric (IPv6 OSPF)” on page 1028 • “distance (IPv6 OSPF)” on page 1029 • “distribute-list (IPv6 OSPF)” on page 1031 • “ipv6 ospf authentication spi” on page 1033 • “ipv6 ospf cost” on page 1035 • “ipv6 ospf dead-interval”...
  • Page 999 OSPF OMMANDS • “show ipv6 ospf virtual-links” on page 1081 • “summary-address (IPv6 OSPF)” on page 1082 • “timers spf (IPv6 OSPF) (deprecated)” on page 1084 • “timers spf exp (IPv6 OSPF)” on page 1085 • “undebug ipv6 ospf events” on page 1086 •...
  • Page 1000: Abr-Type

    OSPF OMMANDS TYPE abr-type Overview Use this command to set an OSPF Area Border Router (ABR) type. Use the no variant of this command to revert the ABR type to the default setting (Cisco). Syntax abr-type {cisco|ibm|standard} no abr-type {cisco|ibm|standard} Parameter Description cisco...

Table of Contents