Extreme Networks XOS Commands

Z DCEwiki
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