Thursday, January 8, 2015

Extreme Networks EXOS Cheat Sheet

After working in primarily Cisco or Cisco-esque CLIs, ExtremeXOS can have a bit of a learning curve.  At the time of this post, Extreme Networks' documentation is almost entirely in PDFs.  In my opinion, these are a bit of a pain to navigate and are not well indexed by search engines.

This post is meant to serve as a basic EXOS cheat sheet.  It is by no means meant to be a configuration guide or thorough command reference.  I will update this post periodically to add additional commands.

update: I reached out to Extreme regarding their documentation (I work for a partner), and it turns out they already have an EXOS cheat sheet, so my channel SE sent it over.  I was not able to find this document anywhere on Extreme's site.  However, an Extreme SE confirmed this document is public, so here it is:  EXOS Quick Guide - Cheat Sheet.  I may still update this page on occasion, but Extreme's document is more complete.


Assign default VLAN IP address.
configure vlan Default ipaddress 10.222.222.1 255.255.255.0

Update Firmware:
download image 10.222.222.2 summitX-15.5.2.9-patch1-5.xos VR-Default secondary
use image secondary
reboot
(repeat process for primary)

Install SSH:
download image 10.222.222.2 summitX-15.5.2.9-patch1-5-ssh.xmod VR-Default secondary
run update

Enable SSH:
disable telnet
enable ssh2

Configure SNMP information:
configure snmp sysContact "System Contact"
configure snmp sysLocation "System Location"
configure snmp sysName "System Name"
disable snmp access

Configure SNTP:
configure sntp-client primary 173.255.230.140 vr VR-Default
configure sntp-client secondary 129.6.15.30 vr VR-Default
enable sntp-client

Configure timezone:
configure timezone name EST -300 autodst

Configure admin user:
configure account admin

Enable Stacking:
configure stacking easy-setup

Connect stacking cables:
sw01-port2 -> sw02-port1
sw02-port2 -> sw03-port1
sw03-port2 -> sw04-port1
sw04-port2 -> sw01-port1
(can have up to eight nodes per stack)


Configure display string:
conf port 1:48 display-string UplinkToASA

Create and configure VLAN / SVI:
create vlan vlan10 description "User Access" tag 10
configure vlan vlan10 ipaddress 10.10.10.10 255.255.255.0

Stop using default VLAN (vlan 1):
configure vlan "Default" delete ports all
configure vlan vlan10 add ports 1:1-48,2:2-48

Remove VLAN / SVI
unconfigure vlan vlan10 ipaddress
delete vlan vlan10

Configure default route
config iproute add default 10.10.10.1

Enable IP routing
enable ipforwarding vlan vlan2
enable ipforwarding vlan Default

Link Aggregation Group (LAG, etherchannel, port-channel, LACP):
configure sharing 1:47 add ports 1:48, 2:48

DHCP:
configure vlan vlan5 dhcp-address-range 172.21.5.51 - 172.21.5.51
configure vlan vlan5 dhcp-options default-gateway 172.21.5.1
configure vlan vlan5 dhcp-options dns-server 8.8.8.8
configure vlan vlan5 dhcp-options dns-server secondary 8.8.4.4
enable dhcp ports 1:1-46, 2:1-46, 3:1-46, 4:1-16 vlan vlan5

Show commands:
show config
show iproute
show iparp
show fdb
show version [images]
show switch [detail]
show stack [detail]
show log

6 comments:

  1. How cool. Thanks for sharing this article!

    ReplyDelete
  2. Thanks for this. Exactly what I was looking for.

    ReplyDelete
  3. Hi Matt, is there a command to remove a secondary ntp server from a switch? If it's there they've done a good job of hiding it!

    ReplyDelete
  4. Hey Ronald. Are you using NTP or SNTP?

    ReplyDelete
  5. I'm making use of SNTP and going through the options that comes with configuring the sntp-client there doesn't seem to be one for removing say a secondary sntp client from the switch.

    ReplyDelete