Here is a quick cheat sheet of commands that I use during the initial setup of an Extreme switch.
Showing Configuration:
show config
show config detail
NTP, Clock and Time
You can see clock and time by either the show system or show switch commands
configure timezone name EST -360 autodst name EDT
enable ntp
configure ntp server add 192.168.1.200
configure time 1 19 2016 7 55 55
Show Switch time in use counters
show odometers
See which config is used:
show switch
Factory reset:
unconfigure switch – Resets everything back except odometer, clock, and user accounts/passes
unconfigure switch all – Resets everything including users
Default Password:
admin and blank password
Setting Password
configure account admin password
Setting System Name:
configure snmp sysName name
Set Management IP information:
con mgmt ipa 10.10.10.9/24
con vlan default ipaddress 10.10.10.9/24
Set Default Gateway
configure iproute add default 10.x.x.x
Enable Web Interface:
enable web http
Show Serial Number:
show version
Enable telnet:
enable telnet
Reset IP address on Management interface:
unconfig vlan mgmt ipaddress
Ports:
Enable and Disable
enable port 1
disable port 2:1-2:15
Showing Port config
show port config
show port 1 info detail
Port Utilization
show port utilization
Jumbo Frames
show port information detail
enable jumbo-frame ports [all | ]
LACP
show ports sharing
show lacp lag
enable sharing port grouping port_list {algorithm [address-based {L2 | L3 | L3_L4| custom} | port-based }]} {lacp | health-check}
configure ports partition 4x10G
configure lacp member-port 1 port priority 32768
VLANs:
create vlan ;
configure vlan ptp_gm tag 40
configure vlan VLANname add port 1 untagged
Remove Ports
config Default delete port 1-12
Routing:
show iproute
Enabling routing
routing for one vlan – enable ipforwarding [vlan]<vlan name>
routing on all VLANs – enable ipforwarding
Saving Configuration:
save configuration {primary | secondary}
Reboot the Switch
reboot
Updating XOS Image:
download image 10.10.10.10 summitX-15.4.1.3-patch1-9.xos
install the software after it loads by typing Y when prompted if you want to install the load
When the download and install finishes, instruct the switch to reboot by typing reboot
Selecting boot image:
use image primary
use image secondary
These are the commands I have come across that I find useful, I will add additional as I find them. If you have any you think should be added please leave them in the comments below.
Leave a Reply