Extreme Networks XOS Commands
Skočit na navigaci
Skočit na vyhledávání
List of handy commands for XOS in the SummitX switches:
List version of current XOS image
$ show version image
Displays detailed informations about ports including VLAN membership
$ show ports 48 info detail
Show all VLANs configured at port 2
$ show vlan ports 2
Show MAC database
$ show fdb <VLANName> | include "String"
List of all vlans and associated ports
$ show configuration vlan
Kills system chosen system process
$ terminate process _processname_
Display the SNMP settings configured on the switch
$ show management
Access Lists Configuration
To edit access policy felk-kn run internal vi editor:
$ edit policy felk-kn
Sample policy code
entry one {
if {
source-address 147.32.80.0/21;
}
then {
permit;
}
}
entry two {
if {
source-address 10.32.0.0/16;
}
then {
permit;
}
}
entry three {
if {
source-address 2001:718:2:1600::/56;
}
then {
permit;
}
}
entry Telnet_Allow {
if match any {
source-address 192.168.1.0 /24;
source-address 192.168.2.0 /24;
} then {
permit;
}
}
Check written code against semantic errors:
$ check policy felk-kn
Assign it to the service, vlan, port:
$ conf ssh2 access-profile felk-kn
Reload policy
$ refresh policy felk-kn
Upgrade XOS image with ssh module
$ use image secondary $ download image <IPaddress> <ImageName>.xos vr "VR-Default" primary $ download image <IPaddress> <ModuleName>-ssh.xmod vr "VR-Default" primary
Confirm installation with "Yes", wait
$ use image <TargetPartition> $ reboot
LACP configuration
# configure sharing <MasterPort> add ports <SlavePorts> # configure sharing <MasterPort> lacp activity-mode active
Time, SNTP and timezone configuration
To configure proper timezone for CET and CEST
# configure timezone name CET 60 autodst name CEST begins every last sunday march at 2 0 ends every last sunday october at 3 0
SNTP client with primary and secondary server
# enable sntp-client # configure sntp-client primary <IPAddress> vr <VRName> # configure sntp-client secondary <IPAddress> vr <VRName>