rss logo

Main CLI commands for Allied Telesis switches

Allied Telesis logo

Configuration

Switch models

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

Default password

  • Default login/password: manager/friend

Commands

Misc

  • Enter Privileged Exec mode:
awplus> enable awplus# awplus# disable awplus>
  • Enter Global Configuration mode:
awplus# conf t awplus(config)# awplus(config)# end awplus#
  • Add a user john who has all privileges:
awplus(config)# username john privilege 15 password StupidPassword
  • Delete the user account john:
awplus(config)# no username john
  • Enable password encryption (default):
awplus(config)# service password-encryption
  • Disable the telnet service :
awplus(config)# no service telnet
  • Restart:
awplus# reboot
  • Save current config:
awplus# copy running-config startup-config awplus# write
  • Interface range, configure interface 15 and interface 17:
awplus(config)# interface port1.0.15,port1.0.17
  • Interface range, configure interface 15 to interface 18:
awplus(config)# interface port1.0.15-port1.0.18
  • Reset console line:
awplus(config)# clear line console 0
  • Enable ssh server and allow user John to create 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 stack and free dedicated ports:
awplus(config)# no stack 1 enable

Show

  • Displays the firmware version:
awplus# show system environment
  • Display physical MAC address:
awplus# show system mac
  • Display 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
  • Displays information on users currently logged to this device:
awplus# show users
  • Displays current Secure Shell server configuration:
awplus# show ssh server
  • Display latest logs:
awplus# show log tail

Import/Export Config

  • Uploading configuration to a tftp server:
awplus# copy run tftp://tftp_server/YYYY-MM-DD
  • Import configuration from tftp server:
awplus# copy tftp://tftp_server/YYYY-MM-DD run

PoE

  • Disable PoE:
awplus(config)# interface port1.0.1 awplus(config-if)# no power-inline enable
  • Enable PoE:
awplus(config)# interface port1.0.1 awplus(config-if)# power-inline enable
  • Display PoE information:
awplus# show power-inline interface awplus# show power-inline interface port1.0.1 detail

VLAN

  • Create a VLAN:
awplus(config)# vlan database awplus(config-vlan)# vlan 4 awplus(config-if)# name VoIP
  • Delete a VLAN:
awplus(config)# vlan database awplus(config-vlan)# no vlan 40
  • Configure a port in access mode and specify the VLAN to which the port should belong:
awplus(config)# interface port1.0.1 awplus(config-if)# switchport mode access awplus(config-if)# switchport access vlan4
  • Configure the VLANs allowed on 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

  • Display 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