
The CLI has a built-in syntax helper. If you are unsure of the
complete syntax for a particular command, enter as much of the command as
possible and press [Return]. The syntax helper provides a list of options for
the remainder of the command. The syntax helper also provides assistance if you
have entered an incorrect command.
COMMAND COMPLETION WITH SYNTAX HELPER
ExtremeWare
provides command completion by way of the [Tab] key. If you enter a partial
command, pressing the [Tab] key posts a list of available options, and places
the cursor at the end of the command.
Abbreviated syntax is the most unambiguous, shortest allowable
abbreviation of a command or parameter. Typically, this is the first three
letters of the command.
When using abbreviated syntax, you must enter enough characters to
make the command unambiguous and distinguishable to the switch.
All named components of the switch configuration must have a unique name.
Components are named using the create command. When you enter a
command to configure a named component, you do not need to use the whole
keyword of the component. For example, to create a VLAN, you must enter a
unique VLAN name:
create vlan engineering
Once
you have created the VLAN with a unique name, you can then eliminate the
keyword vlan from all other commands that require the name to be entered. For
example, instead of entering the switch command
config
vlan engineering delete port 1:3,4:6
you
could enter the following shortcut:
config
engineering delete port 1:3,4:6
Similarly,
on the Summit switch, instead of entering the command
config
vlan engineering delete port 1-3,6
you could enter the following shortcut:
config
engineering delete port 1-3,6
SUMMIT
SWITCH NUMERICAL RANGES
Commands that require you to enter one or more port numbers on a
Summit switch use the parameter <portlist> in the syntax. A portlist can
be a range of numbers, for example:
port 1-3
You can add additional port numbers to the list, separated by a
comma:
port 1-3,6,8
All named components of the switch configuration must have a unique name. Names must begin with an alphabetical character and are delimited by white space, unless enclosed in quotation marks.
Each switch has a built in HTTP server that drives the web based GUI interface. To access the GUI interface simply open a web browser and point to the IP Address of the switch. Now the switch has an easy point and click means of configuration.
Resetting
Back to Factory Configs.
To
reset the switch back to factory configs, and keep the user account
informantion type the command:
To
rest the switch back to factory configs and remove the users account
information type the command:
Port
mirroring configures to the switch to copy all traffic associated with one or
more ports. The monitor port can then be connected to a Sniffer or RMON probe
for analysis. The traffic filter can be defined based on one of the following
criteria:
Physical
port – All data that traverses that port, regardless of the VLAN, is
copied to the mirror port
VLAN
– All data that traverses the VLAN, regardless of the physical port, is
copied to the mirror port.
Virtual
Post – All data specific to a VLAN on a specific port is copied to the
mirror port.
Note: The port you configure to be the mirror port must be active prior to enabling it for mirroring.
The
following example selects port 3 as the mirror port and sends all traffic
coming into out of port 1 to the mirror port
enable
mirroring to port 3
config
mirroring add port 1
The
following example sends all traffic for the Default VLAN to the mirror port
config
mirroring add vlan default
The following example sends all traffic coming into and out of port 1 and the Default VLAN to the mirror port.
config
mirroring add port 1 vlan default
To disable mirroring:
You
can name switch ports in order to keep track of what is plugged in to them, or
for personal records.
To
name a port type the command:
Config
port <port number> display-string <name>
To reset port name type:
unconfig
port <port number> display-string <name>
To
set a port for 100Meg full duplex type the command:
To
set a port for 10Meg Half duplex type the command:
To
reset the port able to auto negotiation type the command:
Note: If you want to look at all ports, simply leave out the port number and the switch will display all ports. Also you can specify port groups. (i.e. port 1-19, 20,34,46, etc)
Show
port <number> collision
Show
port <number> configuration
Show
port <number> info detail
Show
port <number> rxerror
Show
port <number> stat
Show
port <number> txerror
Show
port <number> util (use the space bar
to scroll through different utilization screens)
With
all switches from Extreme Networks there is no need to create a “router
interface” in order to use VLANS.
Since every port can be a router and the routing mechanism is built into
the switch fabric, VLAN configuration has become incredibly easy. When the
switch is first started up our of the box, there is a single VLAN called
“Default” (VLAN 1) and contains all ports on the switch. If you desire
to add ports to other VLANS, you must first delete the port out of the VLAN
they are in. (for security purposes).
Type the command:
Create vlan <name> Note: the name can be any unique name the
user desires.
Type the command:
Config vlan <name> ip x.x.x.x /xx Note: The network mask can be
either “slash notation” or “dotted decimel”, (i.e. /24 or 255.255.255.0)
Type the command:
Config vlan <name> add port n Note: You can also add multiple ports
by using commas or dashes. (i.e. port 1-48 or 1,2,8,10 or 1-10,5-20)
Type the command:
Be
default when you add ports to a VLAN, they are added untagged. Most user ports will be untagged. The
reason for adding tags to ports is to allow multiple VLAN traffic to traverse
those ports, as with trunk ports.
Trunk ports (or Uplinks) can contain several thousand VLANS on a single
link. This is useful if you have
more than one VLAN at an edge switch.
In order to have more than one VLAN on a uplink you will need to add an
802.1q tag to port. Please be aware that Cisco’s VLAN numbers should be
the same as a standard 802.1q tag number. (I.e. if you want to trunk a Cisco
switch using Vlan500 and Vlan600 to another standards based switch, the VLAN
tags should match up. Tag 500 and Tag 600 should be on that trunk)
Type the command:
Config vlan <name> add tag <number> Note: this number can be any number between 2 and 4096.
Type
the command:
To
define a load sharing group, you assign a group of ports to a single logical
port number.
To
enable or disable loadsharing use the following commands.
Enable
sharing <master port> grouping <list of ports you want in the
group>
To
disable sharing:
For
example
Every switch from Extreme is a layer 3 switch. To enable routing, obviously you need more than 1 VLAN with an IP address on the switch. Once you have your desired number of VLANS created, with their own unique IP address, you issue a single command to enable routing.
Type the command:
Enable
ipforwarding
Note: you can also turn on or off routing for any single vlan on the switch.
(i.e. enable ipforwarding vlan <name> or disable ipforwarding vlan <name>)
You are now routing between VLANS.
All Extreme Networks switches support static routes, Rip v1/v2, OSPF, BGP and IS-IS. Just like any router you must use a routing protocol in order for routers/switches to share routing information.
Type the command:
config ospf
add vlan <name> area 0.0.0.0
This adds each
VLAN to the OSPF Area 0
You can also add
all the VLANS by typing the command:
Config ospf
add vlan all area 0.0.0.0
Now you enable
OSPF by typing:
Enable OSPF
You now have OSPF running on your switch.
The following is a sample configuration:
create vlan HQ_10_0_2
create vlan HQ_10_0_3
create vlan LA_161_48_2
create vlan Chi_160_26_26
config vlan HQ_10_0_2 ipaddress
10.0.2.1 255.255.255.0
config vlan HQ_10_0_3 ipaddress
10.0.3.1 255.255.255.0
config vlan LA_161_48_26 ipaddress
161.48.2.26 255.255.255.0
config vlan Chi_160_26_26 ipaddress
160.26.2.1 255.255.255.0
create ospf area 0.0.0.5
create ospf area 0.0.0.6
enable ipforwarding
config ospf area 0.0.0.6 stub
nosummary stub-default-cost 10
config ospf add vlan LA_161_48_2
area 0.0.0.6
config ospf add vlan Chi_160_26_26
area 0.0.0.5
config ospf add virtual-link
160.26.25.1 0.0.0.5
config ospf add vlan all
enable
ospf