rss logo

The Allied Telesis Switching useful commands

Allied Telesis logo

Configuration

Switches models

  • Switch model : x530L Series
  • Switch model : x530 Series
  • Switch model : x930 Series

Default password

  • Default login / password : manager / friend

Commands

Misc

  • Enter the Privileged Exec mode :
awplus> enable awplus# awplus# disable awplus>
  • Enter the Global Configuration mode :
awplus# conf t awplus(config)# awplus(config)# end awplus#
  • Restart :
awplus# reboot
  • Save current config :
awplus# copy running-config startup-config awplus# write
  • Interface range :
awplus(config)# interface port1.0.15,port1.0.17 awplus(config)# interface port1.0.15-port1.0.18
  • Reset the console line :
awplus(config)# clear line console 0
  • Enable ssh server and allow the user john to create an SSH session from any host :
awplus(config)# service ssh awplus(config)# ssh server allow-users john
  • Set ip address :
awplus(config)# interface vlan1 awplus(config-if)# ip address 192.168.1.100/24
  • Set default gateway :
awplus(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.254
  • Enable radius and aaa logs :
awplus# debug radius all awplus# debug aaa all
  • Disable DNS client :
awplus(config)# no ip domain-lookup
  • Disable the stack and make the dedicated ports free :
awplus(config)# no stack 1 enable

Show

  • Display firmware version :
awplus# show system environment
  • Display the physical MAC address :
awplus# show system mac
  • Display the serial number information :
awplus# show system serialnumber
  • Display interface configuration and status :
awplus# show interface awplus# show interface brief awplus# show interface port1.0.28
  • Display password configuration :
awplus# show running-config security-password
  • Shows information about the users who are currently logged into the device :
awplus# show users
  • Displays the current configuration of the Secure Shell server :
awplus# show ssh server
  • Displays last logs :
awplus# show log tail

Import/Export Config

  • Upload config to tftp server
awplus# copy run tftp://tftp_server/YYYY-MM-DD
  • Import config from tftp server
awplus# copy tftp://tftp_server/YYYY-MM-DD run

PoE

  • Turn off PoE
awplus(config)# interface port1.0.1 awplus(config-if)# no power-inline enable
  • Turn on PoE
awplus(config)# interface port1.0.1 awplus(config-if)# power-inline enable
  • Display PoE informations
awplus# show power-inline interface awplus# show power-inline interface port1.0.1 detail

VLAN

  • Create VLAN :
awplus(config)# vlan database awplus(config-vlan)# vlan 4 awplus(config-if)# name VoIP
  • Remove VLAN :
awplus(config)# vlan database awplus(config-vlan)# no vlan 40
  • Configure a port in access mode and specify which VLAN the port should belong :
awplus(config)# interface port1.0.1 awplus(config-if)# switchport mode access awplus(config-if)# switchport access vlan4
  • Configure the allowed VLAN to a Trunk interface :
awplus(config)# interface port1.0.1 awplus(config-if)# switchport mode trunk awplus(config-if)# switchport trunk allowed vlan none awplus(config-if)# switchport trunk allowed vlan add 1,4,100,101,150

Spanning Tree

  • Show spanning tree configuration :
Switch# show spanning-tree
  • Set current switch as root bridge :
awplus(config)# spanning-tree priority 4096
  • Use RTSP (Rapid Spanning Tree Protocol) mode :
awplus(config)# spanning-tree mode rstp
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact :

contact mail address