Elastic Networks BitStorm L3S-T, BitStorm L3S-X User Manual

BitStorm L3S-T
08-01082-01 Rev 1.5
Last Updated 9/15/00
User's Manual
includes the BitStorm L3S-X Stack Slave
2
3
4
5
6
7
8
Stacking BitStorm L3S Switches
As new networks are deployed and existing ones continue to grow aggressively, managers need cost-effective products that can adapt.
Low cost, high-performance “stacked” switches that can be managed as a single entity
are the most desirable solutions, especially for small to medium-sized enterprises.
What is a “stackable” switch?
A stackable solution ensures that a “master” switch can be connected to one or more “slave” switches and that all can function or be managed as a single logical device.
Built in a predominately standalone fixed-port configuration, this type of switch is typically a single-board system that is self-contained in an enclosure with its own power supply.
Port density is increased by connecting one switch to another, unlike a chassis-based system in which ports are added using expansion boards. A stackable switch is connected in a peer-to-peer or in a master-slave relationship to switches of equal or similar size.
When a “stack” is not a stack
Many manufacturers today say their switches are “stackable” simply because they can be connected using a single Gigabit uplink on each switch.
This not only “burns” switch resources by stealing a Gigabit link, it is an ineffective design that creates severe blocking and packet loss between switches. Others use a “virtual chassis” where a separate switch is used as a “traffic cop” to interconnect switches, again, using gigabit ports for this connection and creating both non wire-speed transfers and blocking.
These switches are more accurately described as “linked” not “stacked”. They cannot truly be called stackable switches because:
these external Gigabit links introduce a significant degree of blocking
these connections consume switch ports in many cases, they are not necessarily managed as a single unit and therefore cannot truly be called
stackable switches.
Linking
Some manufacturers “stack” their switches by using a Gigabit uplink on each switch. This uses valuable resources and creates severe blocking and packet loss.
Virtual Chassis
Other manufacturers use a “virtual chassis” concept that burns Gigabit ports while creating non wire-speed transfers and blocking constraints.
Stacking
The BitStorm L3S system uses dedicated 8 Gbps stacking interfaces to guarantee wire-speed, non-blocking performance.
When a stack is a stack
The only true stacking interface is a design that uses an external, high-speed bus to interconnect separate stackable switches.
High-speed stacking bus
This interface connects the ports on the stackable “slave” switches directly to the switching fabric on the “master” switch. This is the only switch interface technology that can deliver the bandwidth necessary for wire-speed packet forwarding and eliminate blocking between connected switches.
What is blocking?
Basically, blocking is the inability of a switch to forward traffic due to bandwidth limitations. Technically, packet transfers are blocked when sufficient bandwidth is not available for all packets to be forwarded at the highest speed possible on the link.
Packets can be blocked externally as they are forwarded between switches as well as internally within the switch. Internal, or head-of-line blocking, is eliminated through complex buffering and queuing, while blocking between
9
switches is a simple matter of providing sufficient bandwidth for wire-speed packet transfers.
How BitStorm L3S stacking eliminates blocking
BitStorm L3S's high performance stacking architecture guarantees that packets are forwarded at wire speed to all ports on all switches in the stack without blocking any transmissions. BitStorm L3S does this using a dedicated high-speed interface connecting all ports directly to the central switching fabric.
Blocking between switches
To avoid blocking between switches, a stackable switch must be able to forward the full traffic load from any of its switch ports to any switch port on any switch in its stack.
Using the example of a single Gigabit uplink that is used to connect two switches with 24 Fast Ethernet ports, that single Gigabit uplink is less than half the bandwidth needed to prevent blocking between two switches.
At full duplex, that single uplink delivers only 2Gbps of bandwidth instead the 4.8Gbps needed to forward packets at wire-speed over all 24 Fast Ethernet ports also operating at full duplex.
At full duplex, 24 Fast Ethernet ports talking to 24 Fast Ethernet ports need 200 Mbps x 24,
or 4.8 Gbps of bandwidth for non-blocking performance.
At full duplex, a single Gigabit link between switches only provides 2 Gbps of bandwidth,
less than half of what's required.
BitStorm L3S stacking dedicates 8Gbps of bandwidth between 24-port switches,
almost double the 4.8 Gbps required for non-blocking transfers.
Single entity management
In a BitStorm L3S stack, the management software running in the master extends its power over the ports on the slave switches. In effect, the slaves rely upon the greater power of the master. As such, slaves are very cost effective. The master CPU runs a single management system that sees all ports in the stack as its own, making the slave switches transparent to the network.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Command List
Command Line
This is a complete list of all commands available in the BitStorm L3S Series Device Manager.
Entering commands
Commands must be entered in lower case.
Names used in commands can be either upper or lower case. Use quotation marks when entering your own names that include a space, such as when naming ports or
VLANs. For example:
>set vlan name "Sales 3rd floor" requires quotation marks. >set vlan name Sales does not require quotation marks.
The following symbols indicate variables used in a command. Symbols are not typed in the command.
Symbols
Description
< >
angled brackets indicate a required variable parameter
|
this bar separates options available within a variable parameter
[ ]
square brackets indicate an optional variable parameter
Examples
Examples are given in italics after each command description, as shown here:
Example: >clear ip route all Example: >clear ip route 192.168.3.2 255.255.255.0
Commands
>[no] access-group <port_group> <access_list_number>
sets ports to either apply or stop applying the filtering entry specified in the access list
[no] deletes an existing access list for a port or port group <port_group> for Fast Ethernet ports is a specific range of eight numbers, 1-8, 9-16, 17-24,
etc. These numbers must be entered in exactly the same port groups that exist on the switch. For Gigabit ports, enter the port number. <access_list_number> the number you assigned to the access list
Example: >access-group 1,3 1
>[no] access-list <number> <permit | deny> <ip_address> <mask> out
creates a filtering entry that specifies whether the switch should forward traffic destined to a specific IP address or not
[no] deletes an existing access list <number> is any number from 1 - 99 that you assign to identify this access list entry <permit | deny> permit means forward traffic to the destination IP address, deny means drop
all traffic to this address <ip_address> <mask> are the IP address and subnet mask of the destination
Example: >access-list 1 permit 192.168.5.1 255.255.255.0 out
>[no] area <area_id> [create | stub] creates or deletes an OSPF area or stub area
<area_id> is any number, expressed in dotted IP format, used to identify an OSPF area. All
implementations must have at least one area identified by 0.0.0.0
Example: >area 0.0.0.1 create Example: >area 0.0.0.5 stub Example: >no area 0.0.0.5
>[no] area <area_id> range <address> /mask
summarizes routes at an OSPF area boundary, or disables this function <address> is the part of an IP address that represents a group of networks /mask is the number of significant bits
52
Example: >area 0.0.0.4 range 192.168.98.0/16
>[no] area authentication <area_id> adds or removes an OSPF area's password protection
Example: >area authentication 0.0.0.1
>arp [-a | -d | -s] [ ip_address ] [mac_addr ] [vid] [ port_number]
displays and manipulates ARP cache entries
[-a
] adds a host IP address and associates it with the MAC address, a VLAN ID and a port
number. The MAC address is given as 6 hexadecimal bytes separated by colons. The entry is permanent.
[-d]
deletes the host specified by ip_address
[-s] sets the entry as static [ip_address] is an IP address (a.b.c.d) [mac_addr] is a MAC or hardware address (aa:bb:cc:dd:ee:ff). If both IP and MAC addresses
are entered, only entries for that host are displayed.
[vid] is a VLAN identifier associated with a port-based VLAN [port_number] specifies a port number
Example: >arp -a 192.168.3.16 00:3c:24:81:99:01 3 14
>bye
exits the Command Line and returns to the Console
Example: >bye
>clear interface <ip_address> deletes a routing interface identified by specific IP address
Example: >clear interface 192.168.3.16
>clear ip route <all | ip_address> deletes route table entries
<all> erases all routes <ip_address> deletes a specific route
Example: >clear ip route all Example: >clear ip route 192.168.3.2
>clear port statistics <port_number> resets all port statistics counters to zero for a single port
Example: >clear port statistics 10
>clear snmp community <community_name> deletes a community name
Example: >clear snmp community support
>clear snmp trap <ip_address> removes the SNMP trap for a specific address
<ip_address> is the IP address of the SNMP management station
Example: >clear snmp trap 192.168.3.8
>clear timezone erases the current timezone setting, same as >set timezone 0
Example: >clear timezone
>clear vlan [<vid> | name< vlan_name>] deletes a VLAN by its VID or VLAN name
Example: >clear vlan 3 Example: >clear vlan name Engineering
>cls
clears the screen
Example: >cls
>dl <ip_address> <filename> downloads files to upgrade firmware
<ip_address> is the IP address of the TFTP server <filename> is the name of the new file
Example: >dl 192.168.4.5 r1_50_11.bin
>fs
saves current program to flash
Example: >fs
>help
lists all commands on screen
Example: >help
53
>history
lists all commands used
Example: >history
>ip ospf <enable | disable> <ip_address> enables or disables an OSPF interface
Example: >ip ospf enable 192.168.23.3
>ip ospf authentication-key <ip_address> <authKey> sets the password for an OSPF interface
Example: >ip ospf authentication-key 192.168.23.3 diablo42
>ip ospf cost <ip_address> <cost> assigns a metric to an OSPF interface
Example: >ip ospf cost 192.168.23.3 2
>ip ospf dead-interval <ip_address> <seconds>
assigns the OSPF dead interval, which is the time in seconds that the switch waits to receive a hello packet from a neighboring router before the switch declares the neighbor inoperable. This value must be the same in all neighboring routers. The default is 40 seconds.
Example: >ip ospf dead-interval 192.168.2.23 40
>ip ospf hello-interval <ip_address> <seconds>
assigns the OSPF hello time interval, which is the time in seconds that the switch waits before issuing another hello packet. This value must be the same in all neighboring routers. The default is 10 seconds.
Example: >ip ospf hello-internal 192.168.23.5 20
>ip ospf priority <ip_address> <priority>
<priority> a number from 0 to 127 that specifies the priority level OSPF uses for this interface
when OSPF must determine a new designated router or backup designated router. 127 is the highest priority. 0 means this interface will never be chosen.
Example: >ip ospf priority 192.168.98.6 5
>ip ospf retransmit-interval <ip_address> <seconds>
<seconds> sets the time between Link State Announcements (LSA) retransmissions
Example: >ip ospf retransmit-interval 192.168.98.6 2
>ip ospf transmit-delay <ip_address> <seconds>
<seconds> sets the estimated time it takes to transmit a link state update packet
Example: >ip ospf transmit-delay 192.168.98.6 2
>menu
quits command line and returns to console menu
Example: >menu
>monitor
monitors event logging
Example: >monitor
>network <ip_address> area <area_id> assigns an interface to an OSPF area
Example: >network 192.168.98.5 area 0.0.0.2
>ospf reset-default resets all OSPF settings to the factory defaults; requires a warm boot
Example: >ospf reset-default
>ping <ip_adress> [v] <ping_count>
sends a request from the switch to a host to test whether the host is reachable
<ip_address> is the IP address of the destination you are trying to reach [v] for verbose reports on all communication between the switch and host <ping_count> is a number from 0 - 30 to issue a number of ping commands
Example: >ping 192.168.3.16 v 10
>purgefdb
erases all entries in the forwarding database
Example: >purgefdb
>[no] redistribute static <ip_address>
54
sets the switch to advertise its static routes to other routers <ip_address> is the address of the other router When no is added, then the route will only be known locally
Example: >redistribute static 192.168.3.23 Example: >no redistribute static 192.168.3.23
>reset
resets system, keeps current configuration
Example: >reset
>reset system resets system, restores factory defaults
Example: >reset system
>rip <ip_address | * > <on | off>
enables or disables RIP on one or all interfaces
<ip_address> is the IP address of a single interface <*> indicates all interfaces
Example: >rip 192.168.16.3 on Example: >rip * off Example: >rip 192.168.16.3 off
>rip <ip_address | * >
[<parameter> <value>]
configures or displays RIP options for one or all interfaces
<ip_address> is the IP address for a single interface <*> indicates all interfaces
<parameter> snd: outgoing protocol for RIP packets <value> 1 = doNotSend, 2 = ripVersion1, 3 = rip1Compatible (default), 4 = ripVersion2
Example: >rip 192.168.16.3 snd 4
<parameter> rcv: incoming protocol for RIP packets. <value> 1 = rip1, 2 = rip2, 3 = rip1or rip2 (default)
Example: >rip 192.168.16.3 rcv 2
<parameter> mtrc: metric for this interface. <value> 1 to 15
Example: >rip 192.168.16.3 mtrc 5
<parameter> splt: enable, disable Simple Split Horizon, Split Horizon w/ Poison Reverse <value> 1 = disable, 2 = Simple Split Horizon (default), 3 = Split Horizon with Poison Reverse
Example: >rip 192.168.16.3 splt 1
<parameter> trig: enable, disable triggered updates <value> 1 = disable (default), 2 = enable
Example: >rip 192.168.16.3 trig 2
<parameter> hsti: process host routes in packets received <value> 1 = disable (default), 2 = enable
Example: >rip 192.168.16.3 hsti 2
<parameter> hsto: include host routes in packets sent <value> 1 = disable (default), 2 = enable
Example: >rip 192.168.16.3 hsto 1
>route change <ip_address> [/mask] <gateway> [metric <metric>] modifies an existing route.
<ip_address> is the destination's IP address </mask> is the destination's subnet mask <gateway> is the destination's default gateway <metric> is the cost assigned to this route
Example: >route change 192.168.211.2 192.168.2.2 metric 5
>[no] router ospf enables or disables OSPF routing on the switch
55
Example: >router ospf Example: >no router ospf
>set dhcp [off]
sets whether the switch gets its IP address from a DHCP server. If it does, the IP address is used for the switch's default port-based VLAN only
Example: >set dhcp
>set garp timer [leaveall | leave | join] <port_number> <timer_value>
sets the timers for the GARP protocol. Same as >set gvrp timer.
Example: >set garp timer join 4 10
<port_number> is the number of the port [leaveall] a message issued when all ports no longer belong to the VLAN and the VLAN
should be deleted
[leave] a message issued when a single port no longer belongs to the VLAN [join] a message issued when a new port has been added to the VLAN
<timer_value> is in milliseconds
>set gvrp [enable | disable] enables or disables the GVRP protocol on the switch
Example: >set gvrp enable
>set gvrp timer [leaveall | leave | join] <port_number> <timer_value>
sets the time interval that the switch uses before issuing updates to other devices. Same as >set garp timer. See that description above.
Example: >set gvrp timer join 4 10
>set interface <vid> <ip_address> [/mask] creates a routing interface
<vid> is the VLAN ID <ip_address> [/mask] is the IP address and subnet mask for the VLAN. If no mask is specified,
these default masks are assigned:
Class
Range <ip_address> Default Mask
A 0.0.0.0 - 127.255.255.255
/8 (255.0.0.0)
B
128.0.0.0 - 191.255.255.255 /16 (255.255.0.0
C 192.0.0.0 - 223.255.255.255
/24 (255.255.255.0)
D 224.0.0.0 - 239.255.255.255
no mask
E 240.0.0.0 - 247.255.255.255
no mask
Example: >set interface 6 192.168.211.2
>set ip route <ip_address> <gateway> </mask> metric <metric_value>
adds static entries to the routing table
<ip_address> is the destination's IP address </mask> is the number of significant bits <gateway> is the destination's gateway address <metric_value> is the cost assigned to this route
Example: >set ip route 192.168.211.0/24 192.168.2.2 metric 5
>set password creates the system password; enter up to 16 characters
Example: >set password Enter Password: diablo
>set port acceptable-types <port_number> <admit-all | admit-tagged>
specifies whether the port can admit all frames or only VLAN-tagged frames
<admit-all> for all frames <admit-tagged> for only VLAN-tagged frames
Example: >set port acceptable-types 4 admit-all
56
>set port [enable | disable] <port_number> enables or disables one or more ports by port number
Example: >set port enable 12 Example: >set port disable 1,4-8,15
>set port duplex <port_number> [full | half] sets full duplex mode for specific ports
Example: >set port duplex 12 full
>set port flowcontrol <port_number> [on | off] sets the port's flow control on or off
Example: >set port flowcontrol 4 off
>set port gvrp-status <port_number> [enable | disable]
enables or disables GVRP for one or more ports
Example: >set port gvrp-status 4 enable
>set port ingress-filtering <port_number> [true | false]
specifies whether the port will accept or discard frames classified as belonging to a VLAN of which the ingress port is not a member
true is accept false is discard
Example: >set port ingress-filtering 4 false
>set port name <port_number> <port_name> gives a text name to a port
Example: >set port name 7 sales
>set port negotiation <port_number> [enable | disable]
enables or disables autonegotiation on one or more ports
Example: >set port negotiation 5 disable
>set port pvid <port_number> <vid>
a low-level command required by the IEEE standard that assigns a VID to a port-based VLAN. >set vlan name is the preferred command to set a VID and all VLAN parameters
Example: >set port pvid 4 3
>set port speed <port_number> <10 | 100 | 1000 | auto>
sets the transmission speed of one or more ports
<10> is 10Mbps on 10/100 ports <100> is 100Mbps on 10/100 ports <1000> is 1000Mbps for gigabit ports only <auto> sets the speed automatically to the connection speed. For 10/100 ports only.
Example: >set port speed 7 10
>set port tagging <port_list> <tagged | untagged>
sets a port to add or not add tags to packets before forwarding
Example: >set port tagging 4 tagged
>set qos defaultpriority <port_list> <priority>
changes the priority tag in incoming priority-tagged packets
<port_list> one or more or a range of ports <priority> is a value from 0-7 that sets the priority for all incoming traffic on the specified port or
ports. 0 is the lowest, 7 is the highest
Example: >set qos defaultpriority 1, 4-8 7
>set qos egressqueuesize <port_list> <class_list> <percentage>
57
specifies the amount of buffer memory the switch reserves in the outgoing queue for specified ports and traffic classes
<port_list> one or more or a range of ports <class_list> one or more traffic classes, from 0 - 3 <percentage> 0 through 100. The default is 100.
Example: >set qos egressqueuesize 2, 3 75%
>set qos ingressqueuesize <port_list> <priority_list> <percentage>
Gigabit ports only: specifies the amount of port buffer memory available for incoming packets
for specific Gigabit ports and priority values. Incoming queue size cannot be set on Fast Ethernet ports.
<port_list> one or more or a range of Gigabit ports <priority_list> one or more or a range of priorities, from 0-7 <percentage> 0 through 100. The default is 100%, which means all priorities have access to all
buffer space.
Example: >set qos ingressqueuesize 1-4 2,3,4 50
sets all Priority 2, 3 and 4 queues to 50% for ports 1 through 4
>set qos regenpriority <port_list> <priority_list> <new_priority>
sets the new, regenerated priority for IP traffic. Changes the priority tag from the packets incoming value to a new value for transit. By default, the new priority is equivalent to the old priority.
<port_list> one or more or a range of ports <priority_list> a list of one or more priority values, numbers from 0-7 <new_priority> the new priority level. A number from 0-3.
Example: >set qos regenpriority 1-4 0,1,2 3
>set qos trafficclass <port_list> <priority_list> <traffic_class>
maps one or more ports and the priority value of 0-7 to a single traffic class, a value from 0-3. Useful when you have several ports and several priorities to group into a single traffic class.
<port_list> one or more or a range of ports <priority_list> a list of one or more priority values, numbers from 0-7 <traffic_class> the transmit priority level; a number from 0-3
Example: >set qos trafficclass 1-12 4-7 3
This example assigns all priority 4,5,6 and 7 traffic from ports 1-12 is to traffc class 3.
>set qos trafficclassname <class_list> <class_name>
assigns a name to the specified class or list of classes. For reference only.
<class_list> is the list of traffic classes, numbers from 0-3 assigned to this name <class_name> is any name you wish to assign to this traffic class
Example: >set qos trafficclassname 3 video
>set snmp community [read-only | read-write] <community_name>
modifies or adds a community name and its attributes
Example: >set snmp community read-only support
>set snmp trap [dynamic | permanent] <rcvr_address>
changes the status of a trap address to dynamic or permanent. By default, traps added from the command line are permanent and cannot be changed to dynamic.
Example: >set snmp trap permanent 192.168.3.8
>set snmp trap <ip_address>[/mask] [rcvr_community]
sets the trap destination for the specified IP address and optional mask
<ip_address> is the destination IP address [/mask] is the subnet mask rcvr_community is the community name
Example: >set snmp trap 192.168.3.8/24 public
>set snmp trap level <n> sets the trap severity to a value <n> between 0 and 7
Example: >set snmp trap level 5
58
>set span [enable | disable] <port_number>
enables or disables spanning tree on one or more ports
Example: >set span disable 6
>set spantree [enable | disable] enables or disables spanning tree on the switch
Example: >set spantree disable
>set spantree fwddelay <delay> sets forwarding delay for spanning tree. Default is 15 seconds.
<delay> ranges from 4-30 seconds.
Example: >set spantree fwddelay 9
>set spantree hello <interval> sets hello response time for spanning tree
<interval> ranges 1-10 seconds.
Example: >set spantree hello 200
>set spantree maxage <agingtime> sets maximum aging time for spanning tree
<agingtime> ranges from 6-40 seconds.
Example: >set spantree maxage 6
>set spantree portcost <port_number> <cost>
sets the port path cost that the spanning tree algorithm uses to determine the cost of the path through this port to the root. The value can range from 1-65535. The default is 19 for ports set to 100Mpbs, 2 for 10Mbps and 4 for Gigabit.
Example: >set spantree portcost 5 600
>set spantree portpri <port_number> <priority>
sets spanning tree port priority to influence the choice of this port when the switch has more than one port available. This value can range from 0-255. The lower the number, the greater the priority. The default is 128.
Example: >set spantree portpri 4 30
>set spantree priority <bridge_priority>
sets spanning tree bridge priority to influence the choice of this switch as the root bridge of the spanning tree. This value can range from 0-65535. The lower the number, the greater the priority. The default is 32768.
Example: >set spantree priority 0
>set system contact <name>
enters contact information for system support; enter up to 16 text characters
Example: >set system contact Service
>set system location <location> identifies the switch's network location
enter up to 16 characters
Example: >set system location "3rd floor bldg B"
>set system name <name> identifies this switch; enter up to 16 characters
Example: >set system name Service Department
>set time mm/dd/yyyy hh:mm [:ss] sets the switch's date and time
Time and date can be set together or individually. If a two-digit year is entered, its value is added to 2000. Hours must be entered in 24-hour format. If seconds are not entered, they are assumed to be zero.
59
Example: >set time 2/5/00 17:30:15 Example: >set time17:30 Example: >set time 2/5/00
>set timezone <hours> sets the switch time relative to UTC
Valid entries range from -23 to + 24
Example: >set timezone +8
>set vlan <fixed | forbidden | normal> <vid> <port_list>
sets how the switch updates VLAN membership information for the GVRP protocol
<fixed> means ports specified in the port_list are always members of the specified VID <forbidden> means ports specified are never members of the VID <normal> means the switch updates this VLAN's port members dynamically using the GVRP
protocol
Example: >set vlan fixed 5, 3-6
>set vlan [name <vlan_name>] <port_list> [ 802.1q] [vid]
creates a VLAN and sets or modifies its parameters <vlan_name> creates or changes the name of the VLAN. If the name includes a space it must be enclosed in quotation marks. Do not enter a vlan_name if you are modifying the port list. <port_list> is one or more ports assigned to this VLAN. A range of port numbers are separated by dashes, non-contiguous numbers by commas. [802.1q] enables tagging on all ports in the VLAN. If you do not enter 802.1q in this command, tagging is disabled. <vid> assigns the VLAN identifier to the VLAN. If a VID is not specified, the switch assigns one at random. When an existing VID is used, that VLAN is updated with any new parameters
Example: >set vlan name "VLAN 2" 4-6,10 802.1q 12
>show access-group shows all existing access groups
See >[no] access-group <port_group> <access_list_number> for more details.
Example: >show access-group
>show access-list shows all existing access lists
See >[no] access-list <number> <permit | deny> <ip_address> <mask> out for more details.
Example: >show access-list
>show baud shows the switch's RS232 baud rate setting
Example: >show baud
>show dhcp config shows the switch's current DHCP settings
Example: >show dhcp config
>show gvrp status shows if GVRP is enabled
Example: >show gvrp status
>show garp timer <port_number> shows the settings of the GARP timers
Example: >show garp timer 4
>show gvrp timer <port_number> shows the settings of the GVRP timers
Example: >show gvrp timer 4
>show interface displays all IP routing interfaces, their subnet masks and VIDs
Example: >show interface
60
>show ip ospf [area | interface | routes] shows the current status of OSPF
show ip ospf shows whether the protocol is enabled, its areas, interfaces and authentication [area] shows configuration and status information for OSPF areas [interface] shows configuration and status information for OSPF interfaces [routes] shows next hop for all routes
Example: >show ip ospf area
OSPF Areas
Area ID Stub Area #IFs
#Nets
#Rtrs
0.0.0.0
0.0.0.1
False True
2 2
2 1
2 0
Example: >show ip ospf interface
INTERFACES
IF IPaddr State Cost DR BDR #NBRS #ADJ
192.48.5.6
192.168.1.1
Down UP
10
5
192.168.3.123
192.168.3.123
0.0.0.0
0.0.0.0
0
0
0
0
IF IPaddr AREA
192.168.3.123 0.0.0.4
Example: >show ip ospf routes ROUTE MASK TOS NEXT HOP
192.168.2.0
255.255.255.0 0 0.0.0.0
>show ip ospf database lists the contents of the Link State Database
Example: >show ip ospf database LSA DATABASE OF AREA : 0.0.0.5 LSA Type Link ID ADV Router Age Seq#(hex) CheckSum
LSA DATABASE OF AREA : 0.0.0.4 LSA Type Link ID ADV Router Age Seq#(hex) CheckSum Router 192.168.3.123 192.168.3.123 0 8000001B DBBF
>show ip ospf neighbor displays a list of all neighboring routers running OSPF
Example: >show ip ospf neighbor
>show ip route [mask | use] displays route table entries
[mask] shows each route's subnet mask in the table [use] shows the number of times a route was used
The following flags may appear:
C - cloned U - route is up G - gateway H - host route X - route rejected M - route netmask T - static route
Example: >show ip route mask
>show port acceptable-types <port_number>
61
shows the setting of the acceptable frame type parameter for the specified port
Example: >show port acceptable-types 3
>show port gvrp-status <port_number>
shows whether GVRP is enabled on the specified port
Example: >show port gvrp-status 3
>show port ingress-filtering <port_number>
shows the setting of the ingress filtering parameter for the specified port
Example: >show port ingress-filtering 3
>show port pvid <port_number>
shows the port's VID
Example: >show port pvid 3
>show port name <port_number> displays text name for all ports or one port
Example: >show port name Example: >show port name 8
>show port statistics <port_number> displays traffic statistics for a specific port
Example: >show port statistics 4
>show port status <port_number> displays the configuration for a specific port
Example: >show port status 2
>show port tagging <port_number> shows the state of the tagging parameter for the specified port
Example: >show port tagging 3
>show processes displays CPU process, status and state information
Example: >show processes
>show qos defaultpriority <port_list> displays the default priority (0-7) for the given list of ports
Example: >show qos defaultpriority 1-4
>show qos egressqueuesize <port_list> <class_list>
shows the outgoing data queue sizes, in percent, for the specified ports Example: >set qos egressqueuesize 1-2 0-3 shows queue sizes for all classes for ports 1
through 2:
Port 1, Priority 0 is using 100% Port 1, Priority 1 is using 100% Port 1, Priority 2 is using 100% Port 1, Priority 3 is using 100% Port 2, Priority 0 is using 90% Port 2, Priority 1 is using 90% Port 2, Priority 2 is using 90% Port 2, Priority 3 is using 90%
>show qos ingressqueuesize <port_list> <class_list>
Gigabit ports only: shows the incoming data queue sizes, in percent, for the specified list of
Gigabit ports
Example: >show qos ingressqueuesize 1-4 0-3
shows queue sizes for all classes for ports 1 through 4:
Port 1, Priority 0 is using 100% Port 1, Priority 1 is using 100% Port 1, Priority 2 is using 100% Port 1, Priority 3 is using 100% Port 2, Priority 0 is using 90% Port 2, Priority 1 is using 90% Port 2, Priority 2 is using 90% Port 2, Priority 3 is using 90%
62
>show qos numclasses <port_list>
shows the number of available class queues for the specified incoming port. This value is read-only.
Example: >show qos numclasses 1, 4-8
>show qos regenpriority <port_list> <priority_list>
displays the priority regeneration table for the given list of ports and incoming priority
Example: >show qos regenpriority 1-3 0-3 Port 1, Priority 0 is mapped to 0 Port 1, Priority 1 is mapped to 1 Port 1, Priority 2 is mapped to 0 Port 1, Priority 3 is mapped to 3 Port 2, Priority 0 is mapped to 0 Port 2, Priority 1 is mapped to 1 Port 2, Priority 2 is mapped to 0 Port 2, Priority 3 is mapped to 3 Port 3, Priority 0 is mapped to 0 Port 3, Priority 1 is mapped to 1 Port 3, Priority 2 is mapped to 0 Port 3, Priority 3 is mapped to 3
>show qos trafficclass <port_list> <priority_list>
displays the traffic class, or queue number, associated with the specified port and priority, or port list and priority list
Example: >show qos trafficclass 1-3 0-3 Port 1, Priority is 0 is class 1 Port 1, Priority is 1 is class 0 Port 1, Priority is 2 is class 0 Port 1, Priority is 3 is class 1 Port 2, Priority is 0 is class 1 Port 2, Priority is 1 is class 0 Port 2, Priority is 2 is class 0 Port 2, Priority is 3 is class 1 Port 3, Priority is 0 is class 1 Port 3, Priority is 1 is class 0 Port 3, Priority is 2 is class 0 Port 3, Priority is 3 is class 1
>show qos trafficclassname <class_list> displays the class names for the desired list of classes
<class_list> The list of classes are 0, 1, 2, or 3, which may be separated by commas to
represent individual numbers or dashes to represent a range. For example, "0,1,2,3" is equivalent to "0-3". The maximum class value is "3".
Example: >show qos trafficclassname 0-3 Traffic Class 0 Name is Background Traffic Class 1 Name is Best Effort Traffic Class 2 Name is Controlled Load Traffic Class 3 Name is Voice
>show snmp community displays all community names
Example: >show snmp community
>show snmp trap displays all community names, IP addresses and attribute
Example: >show snmp trap public
Trap-Rec-Address Trap-Rec-Community Attribute
192.168.3.8/32
public permanent
192.168.3.3/32 public permanent
192.168.3.7/8 public permanent
>show snmp trap level shows the switch's current trap level
Example: >show snmp trap level
63
>show spantree displays spanning tree status and port status
Example: >show spantree
>show time displays the date, time and day of the week. Time is in 24-hour format.
Example: >show time
>show timezone displays the time zone offset from the UTC
Example: >show timezone
>show version displays the switch's hardware and software versions, system name, SNMP IP, mask
and gateway. This information is helpful when troubleshooting or upgrading software.
Example: >show version
Switch Name :
ABC Switch
Up Time :
0:00:33
Contact : EN Technical Support
Location :
MAC Address : 0:a0:ae:60:2:0
Default Gateway : 192.168.111.2
Trap Level : 1
BOOTP/DHCP <Off>
Hardware Version : ABC Switch
Software Version : v1.5
SNMP Agent IP Address: 111.23.3.123
SNMP Agent Subnet Mask: 255.255.255.0
Boot ROM Version : 2.0
>show vlan [<vid> | name <vlan_name>] lists all VLANs or one VLAN by VID or name
Example: >show vlan Example: >show vlan 3 Example: >show vlan name Engineering
>show vlan egress <vid> shows egress port list
Example: >show vlan egress 3
>show vlanreg <vid> lists ports currently members of a specific VLAN
Example: >show vlanreg 3
>show vlan untagged <vid> shows the list of VLANs set to untagged
Example: >show vlan untagged 3
>shutdown shuts down the switch
Example: >shutdown
>telnet <ip_address> starts the Telnet protocol to gain management access to the switch
<ip_address> is the IP address of the Switch
Example: >telnet 192.23.3.16
>tftp <r | w> <ip_address> <filename> upgrades firmware
<r | w> reads the file from or writes the file to the TFTP server <ip_address> is the IP address of the TFTP server <filename> is the name of the firmware upgrade file
Example: >tftp r 192.23.3.16 r1_50_16
>traceroute <ip_address> [v] <maxHop>
64
traces the route that an IP datagram follows from one host to another. It is helpful in debugging routes from the switch to a specified destination. Replies and information for each hop are displayed on the screen. Enter Control-C to stop the program.
<ip_address> the IP address of the destination host [v] verbose setting displays additional information along with replies from the hosts <maxHop> limits the number of hops or hosts tried during the probe. A number from 0-255.
Example: >traceroute 192.23.3.16 v 4
>vlan byprotocol [enable | disable]
sets the switch to automatically create or stop creating dynamic VLANs by protocol type. The default setting is disable.
Example: >vlan byprotocol enable
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Restarting and Resetting the Switch, Factory Defaults
Command Line
Important:
When you change the configuration, always allow a few seconds for the Switch to process the change. If you turn the Switch off immediately, you could lose the new settings.
You must type: >reset after changing the Switch's IP address or subnet mask to have these changes take effect.
1.
To erase all configuration settings and restore all factory defaults, type: >reset system.2. To power down the Switch before unplugging it, type: >shutdown3.
System Factory Default Settings
Function Default Setting
IP Address
192.168.111.1
Subnet Mask
255.255.255.0
Default Gateway 192.168.111.2
Password None
BOOTP/DHCP Off
Spanning Tree Disabled
IP Routing Disabled
VLANs
Disabled
Fast Ethernet Ports Factory Default Settings
Enabled Yes
Flow Control Disabled
Auto-negotiation Enabled
Full Duplex Half Port speed Set by auto-negotiation
93
94
95
96
97
98
99
100
Loading...