Professional Documents
Culture Documents
Manual LightBolt - 1.7 - Inglês
Manual LightBolt - 1.7 - Inglês
Manual LightBolt - 1.7 - Inglês
INDEX
1 INTRODUCTION ........................................................................................................................................ 8
1.1 FRONT PANEL ............................................................................................................................. 14
1.2 REAR PANEL............................................................................................................................... 14
1.3 POWER SUPPLY ..................................................................................................................... 15
1.4 CONSUMPTION ...................................................................................................................... 15
1.5 DIMENSIONS .......................................................................................................................... 15
1.6 ENVIRONMENTAL CONDITIONS ....................................................................................... 15
1.7 LED SYSTEM INFORMATION ............................................................................................. 15
2 SPECIFICATION ...................................................................................................................................... 17
2.1 SYSTEM DEFAULTS .................................................................................................................... 17
3 CONFIGURATION ................................................................................................................................... 18
3.1 COMMAND LINE INTERFACE....................................................................................................... 18
3.2 CONVENTIONS USED IN THIS GUIDE ........................................................................................... 18
3.3 COMMAND LINE INTERFACE PRIMER.......................................................................................... 18
3.3.1 Command Line Help .......................................................................................................... 19
3.3.2 Syntax Help ........................................................................................................................ 19
3.3.3 Command Abbreviations .................................................................................................... 20
3.3.4 Command Line Errors ........................................................................................................ 20
3.4 MODES COMMON TO PROTOCOLS .............................................................................................. 20
3.5 COMMAND NEGATION ................................................................................................................ 21
3.6 FORMAT USED FOR COMMAND DESCRIPTION ............................................................................. 21
3.7 INITIAL CONFIGURATION ............................................................................................................ 21
3.8 CONNECTING TO THE SWITCH ..................................................................................................... 22
3.8.1 Local Configuration ........................................................................................................... 22
3.8.2 Remote Connections........................................................................................................... 22
3.9 CONFIGURING THE SWITCH ........................................................................................................ 23
3.9.1 Basic Configuration – Console Connection ....................................................................... 23
3.9.2 Displaying system configuration ........................................................................................ 24
3.9.3 Displaying system inventory .............................................................................................. 27
3.9.4 Defining 802.1Q VLAN ..................................................................................................... 27
3.9.4.1 Creating VLANs into the Switch Database ........................................................................................ 27
3.9.5 Switch Port Roles ............................................................................................................... 28
3.9.6 Switchport Mode ................................................................................................................ 28
3.9.7 Assigning a VLAN to an Access port ................................................................................ 29
3.9.8 Adding VLANs to a Trunk Port ......................................................................................... 30
3.9.9 Displaying VLAN information .......................................................................................... 30
3.9.10 Setting Management IP address ..................................................................................... 31
3.9.11 Creating a Switched Virtual interface. ........................................................................... 31
3.9.12 Specifying Host Name.................................................................................................... 32
3.10 MANAGING FILE SYSTEM ........................................................................................................... 32
3.10.1 File types ........................................................................................................................ 32
3.10.2 Loading new files into your system ............................................................................... 33
3.10.3 Saving and restoring system Files .................................................................................. 33
3.10.4 Configure your booting process. .................................................................................... 33
AsGa LightB
LightBolt 10G Switch
User Guide Index
3.10.5 Creating a Default configuration File ............................................................................. 35
3.11 CONFIGURING SYSTEM LOGS..................................................................................................... 35
3.11.1 System Log Configuration ............................................................................................. 35
3.12 CONFIGURING YOUR CONSOLE PORT........................................................................................... 36
3.12.1 Console attributes ........................................................................................................... 36
3.12.2 Enabling Telnet connections and SSH connections ....................................................... 37
3.13 CONFIGURING REMOTE OR LOCAL LOGON AUTHENTICATION ................................................... 38
3.13.1 Enabling a RADIUS Server .......................................................................................... 38
3.13.2 Enabling a TACACs Server ......................................................................................... 39
3.13.3 Configuring User and Passwords .................................................................................. 39
3.13.3.1 Setting locally defined users and passwords........................................................................................ 39
3.13.3.2 Setting remotly authenticated users using an external server. .......................................................... 40
3.14 CONFIGURING SNMP ................................................................................................................. 41
3.14.1 Configuring SNMP V1 ................................................................................................... 41
3.14.2 Configuring SNMP V3 ................................................................................................... 41
3.15 PORT CONFIGURATION ............................................................................................................... 42
3.15.1 Configuring specific basic physical port settings ........................................................... 42
3.15.1.1 Speed ................................................................................................................................................... 42
3.15.1.2 Duplex ................................................................................................................................................. 42
3.15.1.3 Flow Control ........................................................................................................................................ 43
3.16 CONFIGURING IP ADDRESSES ON SWITCHED VIRTUAL INTERFACES SVI´S ................................ 43
3.17 MAC ADDRESS TABLE............................................................................................................... 44
3.17.1 Displaying MAC address tables ..................................................................................... 44
3.17.2 Setting the aging time ..................................................................................................... 45
3.17.3 Setting a Static MAC address......................................................................................... 45
3.18 ACCESS LIST .............................................................................................................................. 45
3.18.1 Access-Lists Categories ................................................................................................. 46
3.18.2 Wildcard Mask ............................................................................................................... 46
3.18.3 Configuring IP standard Access List ............................................................................. 47
3.18.4 Configuring IP extended Acees List .............................................................................. 47
3.18.5 Istaling IP based Access List ......................................................................................... 48
3.18.6 Configuring MAC Bases Access List ............................................................................ 49
3.18.7 Instilling MAC based Access List ................................................................................. 49
3.18.8 Aplaying multiple entries to an ACL ............................................................................. 49
3.19 DENIAL OF SERVICE ATTACK PREVENTION (DOS PREVENTION) ................................................. 50
3.19.1 IP packet with invalid “First-fragment” ......................................................................... 50
3.19.2 Fragmented ICMP packets- icmp-attack-check ............................................................. 50
3.19.3 TCP fragment attack ....................................................................................................... 50
3.19.4 Source IP equal to destination IP attack ......................................................................... 51
3.19.5 Check on invalid TCP flags............................................................................................ 51
3.20 SPANNING TREE PROTOCOLS...................................................................................................... 53
3.20.1 Common Spanning Tree Protocol Commands ............................................................... 53
3.20.1.1 bridge forward-time ............................................................................................................................. 53
3.20.1.2 bridge hello-time .................................................................................................................................. 53
3.20.1.3 bridge max-age .................................................................................................................................... 54
3.20.1.4 bridge priority ...................................................................................................................................... 55
3.20.1.5 Bridge spanning-tree errdisable-timeout enable .................................................................................. 55
3.20.1.6 Bridge spanning-tree errdisable-timeout interval ................................................................................ 56
3.20.1.7 bridge spanning-tree portfast bpdu-filter ............................................................................................. 56
3.20.1.8 bridge spanning-tree portfast bpdu-guard ............................................................................................ 57
3.20.1.9 bridge-group path-cost ......................................................................................................................... 57
3.20.1.10 bridge-group priority ....................................................................................................................... 58
AsGa LightB
LightBolt 10G Switch
User Guide Index
3.20.1.11 spanning-tree guard root.................................................................................................................. 58
3.20.2 STP Commands .............................................................................................................. 58
3.20.2.1 Bridge spanning-tree enable ................................................................................................................ 59
3.20.2.2 debug stp .............................................................................................................................................. 59
3.20.2.3 Show spanning-tree ............................................................................................................................. 60
3.20.3 RSTP Commands ........................................................................................................... 60
3.20.3.1 Bridge rapid-spanning-tree enable ....................................................................................................... 60
3.20.3.2 Clear spanning-tree detected protocols ................................................................................................ 61
3.20.3.3 debug rstp ............................................................................................................................................ 61
3.20.3.4 show spanning-tree .............................................................................................................................. 62
3.20.3.5 spanning-tree force-version ................................................................................................................. 63
3.20.3.6 Spanning-tree link-type ....................................................................................................................... 63
3.20.4 MSTP Commands .......................................................................................................... 64
3.20.4.1 bridge cisco-interoperability ................................................................................................................ 64
3.20.4.2 bridge instance priority ........................................................................................................................ 64
3.20.4.3 bridge instance vlan ............................................................................................................................. 65
3.20.4.4 bridge max-hops .................................................................................................................................. 66
3.20.4.5 bridge multiple-spanning-tree enable .................................................................................................. 66
3.20.4.6 bridge region ........................................................................................................................................ 67
3.20.4.7 bridge revision ..................................................................................................................................... 67
3.20.4.8 bridge-group instance .......................................................................................................................... 68
3.20.4.9 bridge-group instance path-cost ........................................................................................................... 68
3.20.4.10 bridge-group instance priority ......................................................................................................... 68
3.20.4.11 clear spanning-tree detected protocols ............................................................................................ 69
3.20.4.12 debug mstp ...................................................................................................................................... 70
3.20.4.13 show spanning-tree mst ................................................................................................................... 70
3.20.4.14 Show spanning-tree mst config ....................................................................................................... 71
3.20.4.15 Show spanning-tree mst detail ........................................................................................................ 71
3.20.4.16 Show spanning-tree mst instance .................................................................................................... 72
3.20.4.17 Spanning-tree force-version ............................................................................................................ 73
3.20.4.18 link-type .......................................................................................................................................... 74
3.20.4.19 spanning-tree mst configuration ...................................................................................................... 74
3.21 LINK AGREGATION CONTROL PROTOCOL COMMANDS SET. ....................................................... 75
3.21.1 Channel-group ................................................................................................................ 75
3.21.2 port-channel load-balance .............................................................................................. 76
3.21.3 lacp port-priority............................................................................................................. 76
3.21.4 lacp timeout .................................................................................................................... 77
3.21.5 lacp system-priority ........................................................................................................ 77
3.21.6 Show lacp counters ......................................................................................................... 78
3.21.7 Show etherchannel detail................................................................................................ 78
3.21.8 Show etherchannel summary.......................................................................................... 79
3.21.9 show port etherchannel ................................................................................................... 79
3.22 VLAN CLASSIFIER. .................................................................................................................... 80
3.22.1 Introduction .................................................................................................................... 80
3.22.2 Exec mode commands .................................................................................................... 80
3.22.2.1 Show Vlan Classifier Rules ................................................................................................................. 80
3.22.2.2 Show Vlan Classifier groups ............................................................................................................... 80
3.22.2.3 Show Vlan Classifier Groups interface configuration ......................................................................... 80
3.22.3 Configure mode commands............................................................................................ 81
3.22.3.1 Create a Vlan Classifier Protocol rule ................................................................................................. 81
3.22.3.2 Create a Vlan Classifier MAC rule ...................................................................................................... 82
3.22.3.3 Create a Vlan Classifier Subnet rule .................................................................................................... 82
3.22.3.4 Delete Vlan Classifier rule................................................................................................................... 82
3.22.3.5 Associate a Vlan Classifier Protocol rule to a Vlan Classifier Group ................................................. 83
AsGa LightB
LightBolt 10G Switch
User Guide Index
3.22.3.6 Associate all Vlan Classifier MAC rules to a Vlan Classifier Group .................................................. 83
3.22.3.7 Associate all Vlan Classifier Subnet rules to a Vlan Classifier Group ................................................ 83
3.22.3.8 Disassociate a Vlan Classifier Protocol rule to a Vlan Classifier Group............................................. 83
3.22.3.9 Disassociate all Vlan Classifier MAC rules to a Vlan Classifier Group ............................................. 84
3.22.3.10 Disassociate all Vlan Classifier Subnet rules to a Vlan Classifier Group ....................................... 84
3.22.3.11 Delete a Vlan Classifier group ........................................................................................................ 84
3.22.4 Interface mode commands.............................................................................................. 84
3.22.4.1 Install a Vlan Classifier group into interface ....................................................................................... 84
3.22.4.2 Uninstall a Vlan Classifier group into interface .................................................................................. 85
3.23 PRIVATE VLAN SUPPORT .......................................................................................................... 86
3.23.1 Introduction .................................................................................................................... 86
3.23.2 Configuring Private VLANs. ........................................................................................ 86
3.23.2.1 Creating an Associated Private VLAN. ............................................................................................... 86
3.23.2.2 Setting interfaces as Host or Promiscuous mode. ................................................................................ 87
3.23.2.3 Associating VLANs to Host or Promiscuous interfaces. ................................................................... 87
3.23.2.4 A complete configuration example ...................................................................................................... 88
3.24 VLAN TRANSLATION ................................................................................................................ 90
3.24.1 Selective Queue-in-queue............................................................................................... 90
3.24.2 Vlan Translate Swap ...................................................................................................... 92
3.24.3 Vlan Translate Egress ..................................................................................................... 93
3.25 QUALITY OF SERVICE ................................................................................................................. 95
3.25.1 Introduction .................................................................................................................... 95
3.25.2 Ethernet Marking ............................................................................................................ 96
3.25.3 L3 Packet Markings........................................................................................................ 97
3.25.3.1 ToS....................................................................................................................................................... 97
3.25.3.2 Differentiated Service Code Point (DSCP) ......................................................................................... 98
3.25.3.3 Classification ....................................................................................................................................... 99
3.25.4 Queuing ........................................................................................................................ 101
3.25.4.1 Scheduling modes. ............................................................................................................................. 101
3.25.5 Queuing commands ...................................................................................................... 103
3.25.5.1 Queuing profile .................................................................................................................................. 103
3.25.5.2 DSCP to COS default mapping ......................................................................................................... 105
3.25.5.3 Changing DSCP to COS mapping. .................................................................................................... 106
3.25.5.4 DSCP to DSCP mutation map ........................................................................................................... 106
3.25.5.5 CoS to egress queue map ................................................................................................................... 107
3.25.5.6 Queuing Show commands ................................................................................................................ 107
3.25.6 Multicast ....................................................................................................................... 110
3.25.6.1 IGMP Multicast Snooping ................................................................................................................. 110
3.25.6.2 IGMP Snooping show commands. .................................................................................................... 112
3.25.6.3 IGMP Snooping configuration comands ........................................................................................... 113
Safety
When installing, operating and maintaining this equipment, basic safety precautions should always be
followed. No adjustment, repair or maintenance should be performed by the operator or user. Only
qualified person or authorized services are allowed to repair or make adjustments to this equipment.
Optical Device
Since this product has an optical device, the following security warnings should be followed:
• Never look directly into the optical transmission interface, aligning your
eye with the optical device. Doing so, user could expose your eye to a
concentrated beam of optical radiation.
• Do not attempt to adjust the optical device, intending to amplify or
attenuate the optical signal.
Internal Voltage
As the serial inputs and outputs of this equipment operate with voltages lower
than the 5 volt threshold, it cannot harm the user when handling the equipment.
However, over voltages coming from the Telecommunication Network could be
present, mainly if the equipment is not properly installed.
Electrostatic Discharge
This product (chassis and printed circuit boards) can be handled by the user, not
presenting any problems concerning electrical discharge. However, it is
recommended user to follow ANSI IPC-A-610 standard for electrical discharge
(ESD) and use a wrist strap when removing or inserting any card into the
equipment.
The information contained in this guide is AsGa’s property, and it is not authorized to publish,
reproduce or to make any other use without written permission of AsGa.
AsGa reserves the right to make changes to this guide without notice.
7
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
1 INTRODUCTION
Over the past several years, Ethernet has been the most popular choice of technology for
local area networks (LAN). There are millions of Ethernet users worldwide and still counting growing.
In 1998, the standard for 1-Gigabit Ethernet was released. Today 1-Gigabit Ethernet dominate the
LAN markets.
As the demand for high-speed networks continues to grow, the need for a faster Ethernet
technology became a need. By March 1999, a working group was formed at IEEE 802.3 Higher
Speed Study Group (HSSG) to develop a standard for 10-Gigabit Ethernet, today 10GigE is a reality.
10-Gigabit Ethernet is basically the faster-speed version of Ethernet. It will support the data rate of 10
Gb/s. It offers similar benefits to those of the preceding Ethernet standard.
The potential of 10-Gigabit Ethernet to solve the actual and future network bottlenecks are
enormous.
There are broad groups of users who demand 10-Gigabit Ethernet; for example, enterprise
users, universities, telecommunication carriers, and Internet service providers, but in a last instance;
users and their application will be pushing up this new generation of equipments and its use.
One of the main benefits of 10-Gigabit standard is that it offers a low-cost solution to solve the
current and future demands for bandwidth. Not only the cost of installation is low, but the cost of
network maintenance and management is minimal as well. Management and maintenance for 10-
Gigabit Ethernet may be done by local network administrators as it is done actually for 1GigE
networks.
In addition to the cost reduction benefit, 10-Gigabit Ethernet may allow faster switching. Since
10-Gigabit Ethernet uses the same Ethernet format, it allows seamless integration of LAN, MAN, and
WAN. There is no need for packet fragmentation, reassembling, or address translation 10-Gigabit
Ethernet also offers straightforward scalability (10/100/1000/10000 Mb/s).
Upgrading to 10-Gigabit Ethernet is simple since the upgrade paths are similar to those of 1-
Gigabit Ethernet.
AsGa LightBolt 10Giga switches offer a seamless path migration to your 10Gig solution,
integrating in just one rack unit 24 1Giga electrical/ optical ports (two optical/ electrical 1Giga combo
port available) plus four 10Giga ports with an unparallel switching capacity: less than 3 microsecond
switching time at full load. In addition to many other capabilities, all switching/routing decisions are
solved by hardware, all Access Control List (ACL´s) are also solved in hardware off loading all host
CPU processing time related with those and many other tasks.
LightBotl 26302-O
8
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
LightBotl 26302-E
LightBotl 28322-E
• 24 Ports 10/100/1000. Electrical ports. Two Combo ports Electrical/Optical (base on SFP
technology).
• 4 ports 10G (Two XSFP based plus two 10Gig electrical port XC4 compatible).
• 1 Rack Unit.
• 8K MAC Table.
• 4K L3 IPV4 Table.
• 0,75 MBit Shared Buffer memory pool.
LightBotl 28522-E
• 24 Ports 10/100/1000. Electrical Ports. Two Combo ports Electrical/Optical (base on SFP
technology).
• 4 ports 10G (Two XSFP based plus two 10Gig electrical port XC4 compatible).
• 1 Rack Unit.
• 16K MAC Table.
• 8K L3 IPV4 Table.
• 2 MBit Shared Buffer memory pool.
9
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
LightBotl 28322-O
LightBotl 28522-O
LightBotl 28340-O
10
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
LightBotl 28540-O
LightBotl 28540-E
With LightBOLT switches, AsGa introduce AsGOS a compressive CLI (Command Line Interface)
industry standard configuration. AsGOS come in the following packages:
11
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
• Static MAC Filtering.
• Mac freezing.
Stop the automatic learning process on the switch.
• Double VLAN / vMAN Tagging Q on Q.
• Support for Jumbo Frames.
• L2 Access Control List. ACLs Support.
• MAC addresses Table size:
Up to 16K MAC addresses for LightBolt 285XX.
Up to 8K MAC addresses for LightBolt 283XX.
• L3 Access Control List ACLs fully supported in Hardware.
• Denied Of Service (DoS) Checking.
DoS checking for source IP equal to destination IP
Fragmented ICMP packets.
Packets with TCP header offset equals to 1.
UDP packets where destination ports is the same as source ports.
TCP packets where destination ports is the dame as source ports.
TCP packets with FIN, URG, PSH bits enable and sequence number = 0.
Minimum TCP header size value for header size
Other specific DoS characteristics are checked.
• Private VLAN Support
• VLAN translation support.
• Selective Q in Q support.
• Quality Of Service Support:
Filtering (L3/L4 Access Lists).
RFC 2474 – DiffServ Definition.
RFC 2475 – DiffServ Architecture.
RFC 2597 – Assured Forwarding PHB.
RFC 3246 – An Expedited Forwarding PHB.
RFC 3260 – New Terminology and Clarifications for DiffServ.
L3 ACLs Access Control List.
Queuing Method: Strict Priority (SP).
Queuing Method: Round Robbing. (RR).
Queuing Method: Weighted Round Robbing (WRR).
Queuing Method: Defict Round-Robin Scheduling.
RFC 2698 – A Two Rate Three Color Marker.
Single Rate Two Color Marker.
L3 Access Control List.
L2 Access Control List.
Multi-rule Access Control Lists.
L4 Filtering capabilities for Access Control Lists
Vlan traffic classification.
Mac traffic classification.
IP traffic Classification.
L4 traffic Classification.
TCP/UDP port traffic Classification.
Access Control Lists reuse for classification.
Access Control Lists reuse for classification.
Traffic Police.
Traffic L3 QoS parameters change.
Traffic priority assignment.
Policed and classified traffic counters.
Bandwidth profiles.
Multi-queue system per-port (8 queues)
Per-queue bandwidth configuration
DSCP-to-CoS mapping
DSCP-to-DSCP mutation mapping
12
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
Per-port default CoS value with system trust mode.
Full system CoS to Priority mapping.
2nd TAG COS Copy (Q In Q COS Copy).
• Management:
SNMP V1 RFC 1157.
SNMP V2 RFC 1901.
SNMP V3 RFC 257.
- RFC 2575 – View based Access Control Model for SNMP.
CLI industry standard.
TFTP as a transfer protocol for all File exchange operations.
Logging system.
Configuration Backup and restore: You can save the current configuration settings to a
file on a TFTP server, and later download this file to restore the switch configuration
settings.
Image Backup and restore: You can save or restore the image files on a TFTP
server, and later download or restore it to the switch
Authentication – This switch authenticates management access via the console port,
Telnet. User names and passwords can be configured locally or can be verified via a
remote authentication server RADIUS. Other authentication options include SSH for
secure management access over a Telnet-equivalent connection, IP address filtering
for SNMP/Telnet management.
• Full L3 protocol Support (*). When loaded with this feature set software. In addition to the
before mentioned L2 characteristics the LightBOLT family of switches Full Layer 3 support.
• AsGOS MC Extension (*): Full Layer 2; little Layer 3 package specifically adapted for provide
full management support to AsGa 1GigE Media Converters directly attached to Optical
LightBOLT Family of switches.
The following lines detail basic CLI standard commands available at the current AsGOS L2
version; for more complete information about all command available please refer to the alphabetic
command index.
13
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
1.1 Front Panel
The figure 1-1 displays the frontal view of Switch LightBolt.
Position Designation
RJ45 connector for combo port Electrical 10/ 100/ 1000Mbps and indicative Led of activity
[1]
in the port (ports 1 – 24).
[2] SFP connector for combo port Optical.
[3] Microgiga connector for ports 10GE.
[4] Indicative Led for Ethernet link (LINK 1 - 4).
[5] Indicative Led of activity in the port 10GE (ACT 1 - 4).
[6] Indicative Led for activated Switch (PWR).
Position Designation
[7] RJ45 connector for notebook connection.
[8] DB9 connector for notebook connection.
[9] Backup connectors for power supply input (AC / DC).
[10] Main connectors for power supply input (AC / DC).
14
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
1.3 POWER SUPPLY
LightBolt10GigE switch has a 90 to 250VAC or 36V to 60V DC input voltage supply source.
Power input is made through a three-pole connector found in the rear panel. Alternatively, switch may
be supplied with an extra source for protection.
1.4 CONSUMPTION
• LightBolt 26302-O: 98W • LightBolt 26302-E: 94W
• LightBolt 28322-O: 98W • LightBolt 28322-E: 94W
• LightBolt 28522-O: 98W • LightBolt 28522-E: 94W
• LightBolt 28540-O: 98W • LightBolt 28540-E: 94W
• LightBolt 28340-O: 98W
1.5 DIMENSIONS
• Height: 44,45mm (1U)
• Width: 482,6 mm (19”)
• Depth: 367 mm
15
AsGa LightB
LightBolt 10G Switch
User Guide Introduction
The 10 gigE system Led appear at each side of the 10GigE connectors. See the description of
those leds in Figure 1.4:
To Optical LightBolt switches, the system of Leds have the same meaning but their function are
determinate by the MODE button at the right side of the front panel switch. Pressing this button you
will change the front panel led meaning. The color follows the same pattern of electrical switches.
The blue Led on the right side have also some meanings:
• Off: No power.
• On: System working.
• Blinking: System on test; System not working properly; or, system on booting process.
16
AsGa LightB
LightBolt 10GigE Switch
User Guide Specification
2 SPECIFICATION
2.1 System Defaults
The switch’s system defaults are provided in the configuration file
“Factory_Default_Config.cfg.” To reset the switch defaults, this file should be set as the startup
configuration file. The following table lists some of the basic system default.
FUNCTION PARAMETER DEFAULT
Baud Rate 9600 bps
Data Bit 8
CONSOLE PORT CONNECTION Stop Bit 1
Parity N
Console time out Disable 0
User Name: none
Normal Exec
Password: none
Configuration Level Password: none
AUTHENTICATION
RADIUS Disable
SSH V2.0 Disable
Telnet port 23 Disable
SNMP V1; V2; V3 Disable
RO: not configured
SNMP
Communities R/WR: not configured
Trap: not configured
Admin Status Enable
Auto negotiation (on 1GigE optical Disable (fixed at 1GigE on optical
port) switch model)
Flow Control ( on 1 GigE optical
Disable
ports)
10 Mbps Half Duplex Enable
PORT CONFIGURATION 10 Mbps Full Duplex Enable
GiGE (Electrical) negotiated Port 100 Mbps Half Duplex Enable
Negotiated and Fixed Capabilities 100 Mbps Full Duplex Enable
1000 Mbps Full Duplex Enable
Flow Control Enable
Xe (10GigE) Optical Port 10 GigE Full Duplex. Fixed.
Capabilities Flow Control Disable.
Xe (10GigE) XAUI Port 10 GigE Full Duplex. Fixed.
Capabilities Physical: CX4
RATE LIMITING In/Out Disable
BROADCAST STORM
In Disable
SUPPRESSION
MULTICAST LIMIT
In Disable
SUPPRESSION
Mode 802.1D Classic Spanning Tree
SPANNING TREE PROTOCOL
Port Fast Disable
ADDRESS MAC TABLE Aging Time 300 seconds
Default VLAN 1
Port vlan Mode: PVID 1
VIRTUAL LANs VLANs
Frames Acceptable Untagged
Switch Port Mode Access
IP address 0.0.0.0
MANAGEMENT IP SETTINGS
Mask 255.0.0.0
first-fragment-ip-packets Enable
icmp-attack-check Enable
minimun-icmp-packet-over-size 512
minimun-tcp-header-allowed 20
DENIED OF SERVICES
sip-dip-protection Enable
tcp-fragment-attack Enable
tcp-on-invalid-flags Enable
tcp-udp-sp-equal-dp Eanble
SYSTEM LOG Status Disable
Table 2.1: System Defaults.
17
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3 CONFIGURATION
3.1 Command Line Interface
This Guide attempts to make configuration simpler as possible; displaying all AsGOS
command lines necessaries to configure LightBOLT series switches. It covers basic configurations for
Basic Access and all Networking Services provided by the platform.
Note: Unless otherwise stated, press Enter after each command entry.
18
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.3.1 Command Line Help
The AsGOS CLI contains a text-based help facility. Access this help by typing in the full or
partial command string then typing “?”. The AsGOS CLI displays the command keywords or
parameters plus a short description.
Note: Some of our command exemplified here are base on features that will be released. All of them
must be taken as typographic examples only.
For example, at the CLI command prompt, type “show ?” (the CLI does not display the question
mark). The CLI displays this keyword list with short descriptions for each keyword:
bgpd# show
debugging Debugging functions (see also 'undebug')
history Display the session command history
ip IP information
memory Memory statistics
route-map route-map information
running-config running configuration
startup-config Contents of startup configuration
version Displays AsGOS version
AsGOS> sh
Press TAB. The CLI shows:
AsGOS> show
If the command or parameter partial spelling is ambiguous, the AsGOS CLI displays the
choices that match the abbreviation. Type “show i”. Press TAB. The CLI shows:
AsGOS> show i
interface ip
AsGOS> show i
The interface displays the interface and ip keywords. Type “n” to select interface and press
TAB. The CLI shows:
AsGOS> show in
AsGOS> show interface
Type “?” and the CLI shows the list of parameters for the show interface command.
This command has but one positional parameter, an interface name. Supply a value for the
IFNAME parameter.
19
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.3.3 Command Abbreviations
The AsGOS CLI accepts abbreviations for commands. For example:
sh in Ge7
Some commands are too long for the display line and can wrap in mid-parameter or mid-
keyword if necessary.
Privileged Exec: This mode, also called the Enable mode, allows users to perform debugging
commands, the write commands (for saving and viewing the configuration), show commands, and so
on.
Configure: Sometimes referred to as Configure Terminal, this mode serves as a gateway to jump to
another cotext, like the Interface, Line, Route Map, Key Chain and Address Family modes contexts.
Interface: This mode (or context) is used to configure protocol-specific settings for a particular
interface.
20
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.5 Command Negation
Some commands can be negated by using a no keyword. Depending on the command or
the parameters, command negation can mean the disabling of one entire feature for the
AsGOS/switch or the disabling of that feature for a specific ID, interface or address.
In the following example, negation is for the base command only. The negated form does
not take any parameter.
default-metric <1-16777214>
no default-metric
Command name
Description of the command. What the command does and when should it be used.
Command Syntax
Sample command name mandatory-parameters (OPTIONAL-PARAMETERS)
Default
The status of the command before it is executed. Is it enabled or disabled by default.
Command Mode
Name of the command mode in which this command is to be used. Such as, Exec, Privilege Exec,
Configure mode and so on.
Usage
This section is optional. It describes the usage of a specific command and the interactions between
parameters. It also includes appropriate sample outputs for show commands.
Example
Used if needed to show the complexities of the command syntax.
Related Commands
This section is optional and lists those commands that are of immediate importance.
Equivalent Commands
This section is optional and lists commands that accomplish the same function.
Validation Commands
This section is optional and lists commands that can be used to validate the effects of other
commands.
21
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
you need to configure an IP management address. The IP address for this switch is unassigned by
default. To change this address, see “Setting Management IP address” on page 31.
The switch, CLI interface configuration program agent allows you to perform the following
management functions:
• Select the appropriate serial port (COM port 1 or COM port 2).
• Set the profile to the default switch profile.
• Once you have set up the terminal correctly, the console login screen will be displayed.
• Refer to “Line Commands” for a complete description of console configuration options.
COMMAND DESCRIPTION
AsGa> enable To enter in configuration mode ingress the enable command
22
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
and press enter.
AsGa# service telnet (enable | Disable) Enable or disable the Telnet Service
AsGa# wr Save the current configuration
SSH Service:
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# service ssh (enable | disable) Enable or Disable the SSH Service
AsGa# wr Save the current configuration
As well to gain access to onboard management agent via a network connection, you must
first configure it with a valid IP address, subnet mask, and route (when it is needed) using a console
connection. The IP address for this switch is unassigned by default; see “Setting Management IP
address” on page 31.
This switch supports five simultaneous Telnet sessions. After configuring the switch’s IP
parameters, you can access the onboard configuration program from anywhere within the attached
network. The onboard configuration program can be accessed using Telnet (port 23 by default) or
SSH from any computer attached to the network.
COMMAND DESCRIPTION
AsGa> Default hostname and prompt will be displayed
To enter in configuration mode ingress the enable command and
AsGa> Enable
press enter (by default this mode has no password protection).
AsGa# Now you are into configuration mode or privileged mode.
If you have configured a user name and password you will be prompted:
COMMAND DESCRIPTION
After connect your terminal you will be prompted for a user name
and password.
User name: Enter your configured User name.
Password: Enter Your Configured Pass.
AsGa> Default hostname and password.
AsGa> enable Now you can issue the command enable.
AsGa# The prompt will change to “#”. Now you are into the privileged
mode or configuration mode.
23
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.9.2 Displaying system configuration
In order to verify your current configuration you need to type the command “show
running” under the privileged Exec level (enable mode). This command displays your
configuration stored into NVRAM and actually running on your system. A typical view of this command
can be summarized:
AsGa#sh run
!
no service password-encryption
!
hostname AsGa
!
spanning-tree mst config
bridge instance 1 vlan 100
bridge instance 1 vlan 300
bridge instance 2 vlan 20
bridge region test
!
maximum-paths 8
bridge protocol mstp
bridge acquire
vlan classifier rule 1 ipv4 40.40.40.40/24 vlan 300
vlan classifier rule 2 mac 00.0c4.012 vlan 300
vlan classifier rule 3 proto 8192 encap ethv2 vlan 300
vlan classifier group 1 add rule 1
vlan classifier group 1 add rule 2
vlan classifier group 1 add rule 3
bridge spanning-tree errdisable-timeout interval 1
bridge cisco-interoperability enable
!
interface ge1
switchport
switchport mode access
switchport access vlan 100
flowcontrol send on
flowcontrol receive on
bridge-group instance 1
spanning-tree portfast
!
interface ge2
switchport
bridge-group
switchport mode access
switchport access vlan 20
bridge-group instance 2
spanning-tree portfast
!
interface ge3
switchport
switchport mode access
switchport access vlan 100
bridge-group instance 1
spanning-tree portfast
!
interface ge4
switchport
24
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
switchport mode access
vlan classifier activate 1
bridge-group instance 1
!
interface ge5
!
interface ge6
!
interface ge7
!
interface ge8
!
interface ge9
!
interface ge10
!
interface ge11
switchport
switchport mode access
!
interface ge12
switchport
switchport mode trunk
switchport mode trunk ingress-filter enable
switchport trunk allowed vlan add 300
bridge-group instance 1
bridge-group instance 2
!
interface ge13
!
interface ge14
!
interface ge15
!
interface ge16
!
interface ge17
!
interface ge18
!
interface ge19
!
interface ge20
switchport
switchport mode access
switchport mode access ingress-filter enable
switchport access vlan 300
flowcontrol send on
flowcontrol receive on
bridge-group instance 1
spanning-tree portfast
!
interface ge21
switchport
switchport mode access
switchport access vlan 300
spanning-tree portfast
!
25
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
interface ge22
!
interface ge23
switchport
switchport mode trunk
switchport mode trunk ingress-filter enable
switchport trunk allowed vlan add 20
switchport trunk allowed vlan add 100
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 4094
switchport trunk native vlan 4094
bridge-group instance 1
bridge-group instance 2
!
interface ge24
switchport
switchport mode trunk
switchport mode trunk ingress-filter enable
switchport trunk allowed vlan add 20
switchport trunk allowed vlan add 100
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 4094
bridge-group instance 1
bridge-group instance 2
!
interface lo
mtu 1500
ip address 127.0.0.1/8
ip address 30.30.30.30/24 secondary
!
interface vlan1.1
!
interface vlan1.20
!
interface vlan1.100
ip address 10.10.10.10/24
!
interface vlan1.300
!
interface vlan1.4094
!
line con 0
exec-timeout 0 0
login
line vty 0 4
exec-timeout 0 0
login local
!
end
AsGa#
26
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.9.3 Displaying system inventory
The command “show inventory” shows all basic system information including MAC base
system address; software and hardware versions; manufacturing data; etc. A typical view of this
command is:
vlan-id ID: Of the configured VLAN. Valid IDs are from 1 to 4095. Do not enter leading zeros.
Name: vlan-name (Optional): Specify the VLAN name, an ASCII string from 1 to 32
characters.
State: {suspend | active} (Optional) Specify the VLAN state:
• If active, the VLAN is operational.
• If suspend, the VLAN is suspended. Suspended VLANs do not traffic
packets.
27
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
• Create the VLANs into the VLAN switch database:
COMMAND DESCRIPTION
AsGOS (config)# vlan database Enter the VLAN configuration mode.
Enable VLAN number 5. Specifying the enable
AsGOS (config-vlan)# vlan 5 state enable state allows forwarding of frames on this VLAN-
aware bridge.
AsGOS (config-vlan)# exit Exit the VLAN configuration mode and enter
Configuration mode.
Note: By default all ports are switched (no routed) access ports with the default per port VLAN ID
(PVID) equal to one (PVID=1). By default the system run classical STP on all those access port.
Use the switchport interface configuration command with no keywords to put an interface
that is in Layer 3 mode into Layer 2 mode for Layer 2 configuration. Use the no statement of this
command to put an interface in Layer 3 mode.
switchport
no switchport
Use the no switchport command (without parameters) to set the interface to the routed-
interface status and to erase all Layer 2 configurations. You must use this command before assigning
an IP address to a routed port.
COMMAND DESCRIPTION
AsGa>config t Enter into configuration mode.
AsGa#interface ge1 Enter into interface ge1 configuration mode.
AsGa(interface)# Now you are into the interface configuration mode.
AsGa(interface)# swtchport Put the interface into the default switchport mode.
AsGa(interface)#end Exit from interface configuration mode.
AsGa# wr Save the configuration.
COMMAND DESCRIPTION
AsGa>config t Enter into configuration mode
AsGa#interface ge1 Enter into interface ge1 configuration mode.
AsGa(interface)# Now you are into the interface configuration mode.
AsGa(interface)# NO swtchport Put the interface into the routed port mode, ready to
accept an IP address.
AsGa(interface)#end Exit from interface configuration mode.
AsGa# wr Save the configuration.
28
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
In order to identify the ports where the frame must be sent first at all you need to define the
switch port mode of a port.
Ports can be 3 types:
• Access Ports.
• Trunk Ports.
• Hybrid ports.
Use the switchport mode interface configuration command to configure the mode of a port. Use
the <no> statement of this command to reset the mode to the appropriate default for the device.
Access: Set the port to access mode. The port is set to access unconditionally and operates as a
nonetrunking, single VLAN interface that sends and receives none capsulated (non-tagged) frames.
An access port can be assigned to only one VLAN.
Trunk: Set the port to trunk unconditionally. The port is a trunking VLAN Layer-2 interface. The port
sends and receives encapsulated (tagged) frames that identify the VLAN of origination. A trunk is a
point-to-point link between two switches or between a switch and a router.
Hibrid: This mode set the trunk in an hybrid mode which means that the port acting as a trunk has a
default VLAN for all those packets that arrive at the port untagged. Under this mode the user must
specify the untagged VLAN for all those arriving non tagged packets. Packet going outward for the
specified VLAN ID will go from this trunk in an untagged form.
COMMAND DESCRIPTION
AsGa>config t Enter in configuration mode.
AsGa#interface ge1 Enter in interface ge1 configuration mode.
AsGa(interface)# Now you are into the interface configuration mode.
AsGa(interface)# swtchport mode access Put the interface in the accces switch port mode.
AsGa(interface)#end Exit from interface configuration mode.
AsGa# wr Save the configuration.
COMMAND DESCRIPTION
AsGa>config t Enter in configuration mode.
AsGa#interface ge1 Enter in interface ge1 configuration mode.
AsGa(interface)# Now you are into the interface configuration mode.
AsGa(interface)# swtchport mode trunk Put the interface in the trunk switch port mode.
AsGa(interface)#end Exit from interface configuration mode.
AsGa# wr Save the configuration.
29
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
COMMAND DESCRIPTION
AsGa>config t Enter in configuration mode.
AsGa#interface ge1 Enter in interface ge1 configuration mode.
AsGa(interface)# Now you are in the interface configuration mode.
AsGa(interface)# swtchport access vlan 300 Assign Pert Port VLAN ID to an access port.
AsGa(interface)#end Exit from interface configuration mode.
AsGa# wr Save the configuration.
ge1(u)ge2(u)ge3(u)
ge4(u)ge5(u)ge6(u)
ge7(u)ge8(u)ge9(u)ge10(u)
ge11(u)ge12(u)ge13(u)ge14(u)
ge15(u)ge16(u)ge17(u)ge18(u)
ge19(u)ge20(u)ge21(u)ge22(u)
ge23(u)ge24(u)
xe1(u)xe2(u)xe3(u)xe4(u)
30
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.9.10 Setting Management IP address
You must define an IP address for the switch to obtain management access through a external
network. At this time you can set the management IP address manually. No DHCP is supported.
Remote management is taken from any IP interface defined into the switch, Routed IP
interfaces and Switched Virtual interfaces (SVI´s) are suitable of receive an IP address. Those IP
address can be used as Management interfaces as they appear as directed connected IP interfaces
to the global L3 routing table.
Use the ip address interface configuration command to set an IP address for the Layer 2 switch
or an IP address for each switch virtual interface (SVI) or routed port on the Layer 3 switch.
Assuming that your LightBolt switch has just one default vlan (VLAN1) and its respective
switched virtual interface (SVI) VLAN1.1; the following commands shows how to set up an IP address
for these particular default SVI; which can be reached from any interface belonging to those VLAN.
COMMAND DESCRIPTION
AsGa>config t Enter in configuration mode
Enter in interface vlan1.1 configuration mode.
AsGa#interface VLAN1.1 VLAN1.1 is the default switched virtual interface which
represent the routed interface for the default VLAN 1
AsGa(interface)# Now you are in the interface configuration mode
AsGa(interface)#ipaddress x.x.x.x/y Enter the IP address
AsGa(interface)#end Exit from interface configuration mode
AsGa# wr Save the configuration
In Order to negate this IP address uses the <no> statement of this command. The example use
the SVI VLAN1.1 which is created by default into the system. By default SVI´s created by the user
does not contain any IP address.
COMMAND DESCRIPTION
AsGa> enable Enter in enable mode
AsGa# configure terminal Enter into configuration mode
Enter in interface vlan1.1000 configuration mode.
AsGa#interface VLAN1.1000 VLAN1.1000 will be created and VLAN 1000 will be
addred to VLAN database automatically,
AsGa(interface)# Now you are in the interface configuration mode
AsGa(interface)#end Exit from interface configuration mode
AsGa# wr Save the configuration
Interface VLANs will be used as a routing point between VLANS. See “Configuring IP
addresses on Switched Virtual Interfaces SVI´s”.
31
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.9.12 Specifying Host Name
To assign your host name use the following steps at your privileged command line.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)#hostname LighetBolt Specify your host name.
LightBolt (config)# Your host name will appear as a new prompt in your system.
Exit from configuration mode.
LightBolt# Write Save your changes into permanent memory.
• AsGos: Binary Files that contain all mayors control planes and switching/routing software. Naming
convention for this file is:
LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
• System: Binary files that contain no switching / routing control planes software but have some
other software pices. Naming convention for this file is:
LightBolt-28322-E1-L2-System-1.0.0-RC2.bin
• Sanity: Binary files that contain sanity check code. Naming convention for this file is:
LightBolt-28322-E1-L2-Sanity-1.0.0-RC1.bin
In addition to this system file there are configuration files identified by the extension .CONF this
file type storage in a plain text format all configuration rules. There is no limit to the quantity of
configuration files sorted into your system (only the Disk capacity limits the quantity of stored files).
Only one will be active at time.
Another file type is the .LOG file this file type storage all system sanity test information under
this extension you can find a default file which name is production.log this file storage all factory
sanity log, this file is a read only file and cannot be deleted. The user can decide at startup time run a
new sanity test; its result will be storage under a new file name.
LighBOLT flash system has a flash memory capacity of 32 Mb. This memory cannot be
formatted by the user. Use the dir command at privilege level to inspect your file system.
The following shows a typical file system:
AsGa-LAB-1#dir
3.8M Wed Jan 2 01:15:59 2002 LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
3.8M Mon Jul 21 17:13:49 2036 LightBolt-28322-E1-L2-AsGOS-1.0.0---RC4.bin
1.4M Wed Jan 2 01:18:32 2002 LightBolt-28322-E1-L2-Sanity-1.0.0-RC1.bin
708.8k Mon Jul 21 17:16:06 2036 LightBolt-28322-E1-L2-System-1.0.0---RC4.bin
708.8k Wed Jan 2 01:16:49 2002 LightBolt-28322-E1-L2-System-1.0.0-RC2.bin
3.5k Thu Jul 24 10:59:22 2036 default.conf
0 Mon Jul 14 17:34:08 2036 julio
32
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Used Available Use%
11.8M 31.2M 27%
Examples:
First at all you must have defined a management VLAN with an IP configured into the respective SVI:
COMMAND DESCRIPTION
AsGa>config t Enter in configuration mode
Enter in interface vlan1.1 configuration mode.
AsGa#interface VLAN1.1 VLAN1.1 is the default switched virtual interface which
represent the routed interface for the default VLAN 1
AsGa(interface)# Now you are in the interface configuration mode
AsGa(interface)#ipaddress Enter the IP address
102.168.3.2/24
AsGa(interface)#end Exit from interface configuration mode
AsGa# wr Save the configuration
In order to load files into your lightbolt platform execute the following steps:
COMMAND DESCRIPTION
AsGa>enable Enter in configuration mode
AsGa# copy from tftp 192.168.3.1 Execute the copy from TFTP server to flash
LightBolt-28322-E1-L2-AsGOS-1.0.0- command. The system will inform yo the copy
RC4.bin flash progress as a serie of dots int the screen
33
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
ASGA_1#sh boot
Config File:
Startup: AsGa-conf-1
Running: AsGa-conf-1
Last Modified: Mon Apr 7 12:56:13 2036
AsGOS Image:
Startup: LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
Running: LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
Last Modified: Thu Apr 3 08:34:12 2036
System Image:
Startup: LightBolt-28322-E1-L2-System-1.0.0-RC2.bin
Running: LightBolt-28322-E1-L2-System-1.0.0-RC2.bin
Last Modified: Tue Apr 1 08:45:23 2036
Sanity Image:
Startup: LightBolt-28322-E1-L2-Sanity-1.0.0-RC1.bin
Last Modified: Tue Apr 1 08:45:23 2036
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# boot LightBolt-28322-E1-
Specify the booting AsGOS image file name.
L2-AsGOS-1.0.0-RC5.bin
AsGOS (config)# exit Exit from configuration mode.
LightBolt# Write Save your changes into permanent memory.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# boot config AsGa-conf-2 Specify the booting configuration file name.
AsGOS (config)# exit Exit from configuration mode.
LightBolt# Write Save your changes into permanent memory.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# boot systemLightBolt-
Specify the booting system file name.
28322-E1-L2-System-1.0.0-RC3.bin
AsGOS (config)# exit Exit from configuration mode.
LightBolt# Write Save your changes into permanent memory.
Under those changes the show boot command will display the show boot command will display
the following changes:
34
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
ASGA_1#sh boot
Config File:
Startup: AsGa-conf-2
Running: AsGa-conf-2
Last Modified: Mon Apr 7 12:56:13 2036
AsGOS Image:
Startup: LightBolt-28322-E1-L2-AsGOS-1.0.0-RC5.bin
Running: LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
Last Modified: Thu Apr 3 08:34:12 2036
System Image:
Startup: LightBolt-28322-E1-L2-System-1.0.0-RC3.bin
Running: LightBolt-28322-E1-L2-System-1.0.0-RC2.bin
Last Modified: Tue Apr 1 08:45:23 2036
Sanity Image:
Startup: LightBolt-28322-E1-L2-Sanity-1.0.0-RC1.bin
Last Modified: Tue Apr 1 08:45:23 2036
On next booting time the switch will load the new AsGOS; System and config files.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# write erase <filename.conf> Specify de default file name. It must be
defined with de .conf extension.
AsGOS (config)# boot config <filename.conf> Redefine your conf file for next booting time.
LightBolt# exit Exit from config
LightBolt# reload Reload process for the new default config file.
AsgOS(config)#log ?
file Logging to file
monitor Copy debug output to the current terminal line
stdout Logging goes to stdout
syslog Logging goes to syslog
trap Limit logging to specified level
35
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
• Logging to a file:
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# log <file> Specify the logging file name.
AsGOS (config)# exit Exit from configuration mode.
LightBolt# Write Save your changes into permanent memory.
Your file will be stored in RAM; if you need save it you need to type issue the following command:
COMMAND DESCRIPTION
AsGOS# write log Write your log file into permanent memory.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# log syslog <IP address> Specify the logging server IP address.
AsGOS (config)# exit Exit from configuration mode.
LightBolt# Write Save your changes into permanent memory.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# log monitor Specify logging method eq monitor
AsGOS (config)# exit Exit from configuration mode.
36
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Exec-timeout: Sets the interval that the system waits until user input is detected. If user input is not
detected within the timeout interval, the current
EXEC session is terminated. Limits: Timeout in minutes <0-35791> - Timeout in seconds <0-
2147483>.
Flowcontrol: Sets the current flow control mechanism; it can be set by hardware, software or no flow
control. Direction can be in; out or both. Default No flow control.
Start-character: Sets the current start character used when software flow control mechanism is
activate ( possible ASCII values are 1-255 )
Stop-character: Sets the current stop character used when software flow control mechanism is
activate ( possible ASCII values are 1-255 )
Width: Sets the current screen column width valid values are 0-60.
Length: Sets number of lines on a screen valid values are 0-512.
Privilege level Changes privilege level for line <1-15>.
Escape-character: Changes the current escape character possible values are ASCII from 1-255.
To configure any of those parameters you must issue the following commands. The table
shows just some of those commands.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# line console Enter in console configuration mode.
AsGOS (config)# speed
<(115200|57600|38400|19200|9600|4800|2400) Change the console speed.
AsGOS (config)# parity (none|even|odd|space|mark) Change the console parity.
AsGOS (config)# flowcontrol (none|software
(in|out)|hardware) Change the console flow control mode.
AsGOS (config)# databits <5-8> Change the console data bits.
AsGOS (config)# exec-timeout <0-35791> (<0-2147483>|) Change the Exec time out for a session
started from console.
AsGOS (config)# session-timeout <0-35791> (<0- Change the session time out for the
2147483>|) console.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# service SSH enable Enable SSH service.
AsGOS(config)# service telnet enable Enable Telnet Service.
37
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
• Disabling Telnet or SSH services:
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# service SSH disable Disable SSH service.
AsGOS(config)# service telnet disable Disable Telnet Service.
retransmit < RETRIES> The number of times a RADIUS request is re-sent to a server, if that
server is not responding or responding slowly. Enter a value in the
range 1 to 100.
timeout <SEC> (Optional) The time interval (in seconds) that the switch waits for the
RADIUS server to reply before retransmitting. This setting overrides
the global value of the radius-server If no timeout value is specified,
the global value is used. Enter a value in the range 1 to 1000.SEC.
auth-port < PORTNO> Specifies the UDP destination port for authentication requests port-
number (Optional) . If unspecified, the port number sets default to
1645.
This command specify the global key string used between the switch and the Radius Server.
38
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Key Set default radius server key
STRING Shared secret among radius server and client.
• Defining Users:
Locally defined User Accounts: Manually configure access rights on the switch for specific users.
RADIUS User accounts: Configure RADIUS user accounts for remote authentication.
name Specify the user ID as one word. Spaces and quotation marks are not allowed.
level For level, specify the privilege level the user has after gaining access. At
this software revision AsGOS 2.0.0 just level 15 is allowed.
password Specify the password the user must enter to gain access to the switch
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# user <user-name>
privilege <privilege> password Enter the local database, and establish a username-
<Encryption-level> <password> based authentication system.
39
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGOS(config)# end Go to privilege level mode
AsGOS# copy running–config startup-
config Copy running config into startup config.
In order to make login authentication in a Raduis server you need to configure the following
commands:
aaa new-model
This command specifies a new model for the authentication process; if not the default
authentication will be used. The default method is: locally defined users. Under this method user
names and passwords will be defined locally at the switch.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# aaa new model Enable a new model for authentication process.
AsGOS(config)# aaa authentication Enable Radius authentication, over a Raduis Server. If
default radius the authentication process fails no other authentication
method is applied.
Enable Radius telnet authentication, over a Raduis
AsGOS(config)# aaa authentication login
default group radius local Server. If the authentication process fails a local
authentication process is applied.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# line console Enter in console config mode
AsGOS(config)# ogin authentication Define the default authentication method fa a session
default opened in a console port
AsGOS(config)# exit
Return to the privilege Exec mode
AsGOS# wr Save configs
40
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
• Applying The authentication rule on VTY Sessions
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# line vty 0 5 Enter in vty config mode (for all sessions from 0 to 5)
AsGOS(config)# ogin authentication Define the default authentication method for a session
default opened on any VTY session from 0 to 5
AsGOS(config)# exit
Return to the privilege Exec mode
AsGOS# wr
Save configs
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
Set the 192.168.1.1 as the server for receiving
AsGOS# snmp-server manager 192.168.1.1 traps-
version 1 community ASGA traps with community name ASGA. Traps will be
send as SNMP traps version 1.
AsGOS# snmp-server community ASGA rw remote Specify the community name and de IP address
192.168.1.1 for all RW operations.
AsGOS# snmp-server contact ASGA Specify the SNMP contact name.
AsGOS# snmp-server location Rodovia RM Km 4 Specify the SNMP location name.
AsGOS# snmp-server enable trap all Enable all trap sending.
41
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
RFC NUMBER TITLE
2571 An Architecture for Describing SNMP Management Frameworks.
2572 Message Processing and Dispatching for the Simple Network Management Protocol (SNMP).
2573 SNMPv3 Applications.
2574 User-Based Security Model for SNMPv3.
2575 View-Based Access Control Model (VACM) for SNMP.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS (config)# snmp-server users create
Dguerri auth md5 brasil3x0 priv naargentina Create the user name.
AsGOs(config)#snmp-server users access
Dguerri ro priv Give the access type to the configured user.
AsGOS(config)# snmp-server manager Set the 192.168.1.1 as the server for receiving
192.168.1.1 traps-version 3 priv Dguerri traps with user Dguerri.
3.15.1.1 Speed
To change the negotiated speed of the port use the following commands:
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS (config)# interface Ge1 Enter in the interface configuration mode.
AsGOs(interface)#speed <auto|10|100|1000> You can modify the Speed to auto negotiation;
or 10Mbps or 100Mbps or 1000 Mbps.
Note1: On LightBolt platform is not possible modify the negotiating parameters. All Speeds are
negotiated. And the final seed is the best negotiated one.
Note 2: On LightBolt Optical switches series all Optical ports have a Fixed Speed value of 1000
Mbps. No speed setting is allowed on optical ports.
3.15.1.2 Duplex
To change the negotiated mode of one interface use the following commands:
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS (config)# interface Ge1 Enter in interface configuration mode.
AsGOs(interface)# duplex < half|full|auto> You can modify the duplex mode to full or half or
auto. In 1000Mbps there is no duplex mode.
42
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Note 1: On LightBolt Optical switches series all Optical ports have a Fixed full duplex mode of
operation.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS (config)# interface Ge1 Enter in interface configuration mode.
You can modify the flow control mode to send
(on|off) or receive (on|off). Receive on means
AsGOs(interface)# send on receive on that the switch honors the flow control. Send on
means that the switch will send flow control
when needed.
Note2: on Optical LightBolt switches, all optical ports have no flow control enable by default.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# VLAN database Enter in the VLAN database mode.
AsGOS (VLAN)# VLAN 200 Create the VLAN 200.
AsGOS (VLAN)# exit Return.
AsGOS(config)# interface vlan1.200 Enter in the SVI interface configuration mode.
AsGOS (config_if)# ip address 20.20.20.20/24 Assign an IP address.
AsGOS (config_if)# end Exit configuration mode.
AsGOS#
43
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Displaying the global IP routing table:
AsgOS#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
* - candidate default
C 20.20.20.0/24 is directly connected, vlan1.200
Now any port (trunk or access) associated to VLAN 200 has direct L3 access to this virtual
switched interface VLAN1.200. Any default gateway can be configured using commands to add static
routes to the routing table in order to reach those networks.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsgOS(config)#ip route 192.168.1.0/24 10.10.10.1 Configuring a static route.
AsGOS(config)# end
• LightBolt family 2x5xx has a total MAC address capacity of 16.384 MACs.
• LightBolt 2x3xx has a total MAC address capacity of 8.192 MACs.
MAC address learning process is an automatic hardware base process, all learned address are
subject to the aging process; this process ensure that after 300 seconds of no hearing a particular
source MAC this will be deleted from the table.
All lookup process into the LightBolt platform is done by hardware. This feature allows wire line
rates for all packet sizes and conditions. For switching decisions the MAC-SA, VID is used to search
the L2 table. When a match is found the packet is forwarded to the specific port indicated into the
same table. When the address is not found the packet generates a Destination Lookup Failure (DLF)
signal and it is flooded to all port member of that VLAN.
You must specify which Static; Dynamic; interface; or vlan portion of the table, in order to
display the entries associated with it.
LightBolt#show mac-address-table
44
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
200 0000.0101.0202 Static ge1 No
200 0000.C001.0102 Dynamic ge2 Yes
Total address matching this criteria: 4
The hit bit column shows if the MAC address (Source or Destination) has being hide during the
last aging period.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode
AsGOS (config)# mac-address-table aging-time Configure the Aging time in seconds. It is
200 applied to all VLANs/MACs in the table.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# mac-address-table static Configure the static entry MAC address
0000.0101.0202 vlan 122 interface ge2 associated with a VLAN and Port.
45
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.18.1 Access-Lists Categories
There are two main categories of access-lists, Standard and Extended. What do we mean by
standard or extended type of access-list? Standard and Extended access-lists allow different type of
control.
Standard Access-List: With standard access-lists you can check just the source IP address of the
packet, meaning, you can check to see if the source address happens to be a specific IP address (or
IP subnet), then you can permit or deny that packet.
Extended Access-List: With extended access-list, there are many things that can be checked.
Besides source L3 addresses, you can check for destination L3 addresses, source/destination port
number, or source/destination protocol number just for mention some examples.
Named Access-Lists
Standard Access Lists are in the range from 1- 99. Extended access-lists are in the range from
100-199. That would mean that you can only have 99 standard access-lists or 100 extended access-
lists on any given equipment. If you really wanted more than 99 standard access-lists or more than
100 extended access-lists, you can use Named access-list.
With named access-list, you can classify it to be standard or extended, and then you will follow
the same rules (meaning standard named access-list can check for source address only and
extended named access-list can check for all those other things mentioned earlier). In order to argue
the number of standard and extended access list we provide an expanded range for each. The
expanded range for standard access-list is 1300-1999 and for extended it is 2000-2699.
IP Address 172 16 32 0
Binary format 10101100 00010000 00100000 00000000
Network Mask 11111111 11111111 11100000 00000000
46
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.18.3 Configuring IP standard Access List
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode
AsGOS (config)# access-list Define a standard IP access list by using a source address
<standard access-list-number> (deny and wildcard.
| permit) source = <IP Address> The access-list-number is a decimal number from 1 to 99 or
<source-wildcard> 1300 to 1999.
Enter deny or permit to specify whether to deny or permit
access if conditions are matched.
The source is the source address of the network or host from
which the packet is being sent specified as:
• The 32-bit quantity in dotted-decimal format.
• The keyword any as an abbreviation for source
and source-wildcard
of 0.0.0.0 255.255.255.255. You do not need to
enter a source-wildcard.
• The keyword host as an abbreviation for source
and source-wildcard of source 0.0.0.0.
47
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode
AsGOS(config)# access-list<extended Define a extended IP access number
access-list-number>
(deny|permit|remark) (tcp|udp) Deny: Specify packets to reject
(A.B.C.D A.B.C.D | any | host permit: Specify packets to forward
A.B.C.D)
Remark: Access list entry comment
(A.B.C.D A.B.C.D |any | host
A.B.C.D) tcp:Transmission Control Protocol
Src (eq|gt|lt|neq) PORT dst udp: User Datagram Protocol
(eq|gt|lt|neq) PORT A.B.C.D: Source address
A.B.C.D: Source wildcard bits
any: Any source host
host: A single source host
A.B.C.D: Source address
A.B.C.D: Destination address
A.B.C.D: Destination wildcard bits
Any: Any destination host
host: A single destination host
A.B.C.D: Destination address
Src: Source (TCP/UDP) port
eq: Equal
gt: Greater than
lt: Less than
neq: Not equal
PORT: Port number <0-65535>
dst: Destination (TCP/UDP) port
eq: Equal
gt: Greater than
lt: Less than
neq: Not equal
PORT: Port number <0-65535>
For a complete syntax of access list please refer the alphabetic session.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configuration mode
AsGOS (config)# interface <IF- Enter into Interface configuration mode.enter a Valid
NAME> Interface ID.
AsGOS(config-if)# ip access- Ip Interface Internet Protocol config commands
group <ACL-Number> (in|out) access-group Specify access control for packets
ACL-number IP access list number (Standard or
Extended)
in This ACL is installed for inbound packets
Out This ACL is installed for outbound packets
48
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.18.6 Configuring MAC Bases Access List
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode
AsGOS (config)# access-list deny Specify packets to reject
<MAC-ACeess-List Number> permit Specify packets to permit
(deny|permit) <MAC ; MAC-MASK | MAC Source host's MAC address in
any > <MAC; MAC-MASK | any;> HHHH.HHHH.HHHH format
any Source any
MASK Source mask in HHHH.HHHH.HHHH format
MAC Destination host's MAC address in
HHHH.HHHH.HHHH formatce
any Destination any
MASK Destintion mask in HHHH.HHHH.HHHH format
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode
AsGOS (config)# interface <IF- Enter into Interface configuration mode.enter a Valid
NAME> Interface ID.
AsGOS(config-if)# mac access- Mac config commands
group <ACL-Number> (in) access-group Specify access control for packets
ACL-number IP access list number (Standard or
Extended)
in This ACL is installed for inbound packets
Note: MAC access List cannot be installed as OUT into a Interface context.
Access list can be generated with multiple entries. Assuming the following rules:
In this case; the last statement has the bigger priority. All parquets with destination IP address
that match with 10.10.10.10 will be switched.
In this case a packet with src-ip 10.10.10.10 dst-ip 20.20.20.20 tcp port 80 will be not blocked,
because all statement have a “match” for this packet but the last one permit it, the entries with big
priority.
49
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.19 Denial of service attack prevention (DoS Prevention)
LightBolt family of switches have a hardware base built in mechanisms in order to detect and
refuse some of the most common DoS attacks. The following lines can be used to little understanding
some of the most common attacks and explain the settings to prevent those attacks.
Denial of service definition: It is an attempt to make a computer resource unavailable to its intended
users.
A type of attack involving fragments is known as the “tiny fragment attack”. Two TCP fragments
are created. The first fragment is so small that it does not even include the full TCP header,
particularly the destination port number. The second fragment contains the reminder of the TCP
header, including the port number. Some firewalls and intrusion detection systems may let one or
both fragments pass through, particularly if they do not perform packet reassembly. Under this setting
if the first fragment of the packet does not have a full TCP header length the packet will be dropped.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# denial-of-service Enter into Dos mode configuration
AsGOS(config-dos)# first-fragment-ip-packets
Enable the first fragment DoS Checking.
enable
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# denial-of-service Enter into Dos mode configuration.
AsGOS(config-dos)# icmp-attack-check enable Enable ICMP DoS attack checking.
AsGOS(config-dos)# minimun-icmp-packet-over- Modify the minimum packet oversize ICMP
size 512 packet size.
AsGOS(config-dos)# end
50
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
sequence number). The data in the second IP packet then holds the TCP connection request (SYN
flag is 1 and ACK flag is 0).
However, IP filters apply the same rule to all the fragments in a packet. The filter of the first
fragment (Fragment Offset = 0) defines the rule, accordingly it applies to the other fragments
(Fragment Offset = 1) without any other type of control. So, when defragmenting at IP level on the
target machine, the connection request packet is rebuilt and passed to the TCP layer. The connection
is established despite the IP filter in between which should have prevented it.
Under this setting the system will check for highly TCP fragmented packet and with payloads minors
than those specified by “minimun-tcp-header-allowed”. Default value 20.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)# denial-of-service Enter into Dos mode configuration.
AsGOS(config-dos)# tcp-fragment-attack enable Enable TCP fragment protection.
AsGOS(config-dos)# minimun-tcp-header-allowed 20 Modify the minimum TCP header allowed.
AsGOS(config-dos)# end
COMMAND DESCRIPTION
AsGOS# configure terminal Enter the Configure mode.
AsGOS(config)# denial-of-service Enter into Dos mode configuration.
AsGOS(config-dos)# sip-dip-protection enable SAIP = DAIP checking.
AsGOS(config-dos)# tcp-udp-sp-equal-dp enable Source and Destination TCP/UDP checking.
AsGOS(config-dos)# end
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Port | Destination Port |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Acknowledgment Number |
51
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data | |U|A|P|R|S|F| |
| Offset| Reserved |R|C|S|S|Y|I| Window |
| | |G|K|H|T|N|N| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Checksum | Urgent Pointer |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Options | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| data |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Programs utilize TCP by passing it buffers of data. TCP breaks this data into packages known
as segments, and then uses IP to further package these segments into datagrams. Finally, the
datagrams are embedded into a network packet which can be routed across a network.
When the packet arrives at its destination, the IP stack on the remote host extracts the
datagram from the packet, then the segment from the datagram. The segment is then passed up to
the TCP stack, where it can be validated. Ultimately the TCP stack can reassemble all the segments
into the complete buffer which is then passed to the application. TCP provides two way
communication, so this same process occurs in both directions.
Inside of the packet there are some bits related with control structures. Particularly there are six
'control bits' defined in TCP, one or more of which is defined in each packet. The control bits are
'SYN', 'ACK', 'PSH', 'URG', 'RST', and 'FIN'. TCP uses these bits to define the purpose and contents
of a packet. We will briefly define them.
• URG means out of band data. For example in the telnet session if you press ctr-c tcp stack will
send a packet, which has this flag set.
• SYN bit has meaning only when establishing connection e.g. in the handshaking procedure.
Both sides of the connection need to send this special packet with SYN flag on.
• When the ACK flag is on the Acknowledgement field in the tcp packet contains the number of
the next acknowledgeable tcp packet with this sequence number. This bit is on almost in every
packet. ACK flag tells to the target machine that the sending machine has approved all
packets with sequence number below the Ack number in the packet.
• If the reset flag (RST) is on then the connection is destroyed and all data structures in memory
for the connection must be freed.
• With interactive connections PSH (push) flag is used to gain rapid and smooth interaction. The
packet is not queued but rather sent as soon as possible. Interactive programs should thus
use this flag.
• FIN flag tells to the target machine that it should not take any more data packets from the
sending machine. E.g. the sending machine tells that it won’t send anymore packets but can
still receive packets by himself.
AsGa LightBolt Switches have a hardware based built in mechanism to detect malicious control
flag bit combinations. The detected combinations are:
Under this setting the system will check for those malicious combinations.
COMMAND DESCRIPTION
AsGOS# configure terminal Enter in the Configure mode.
AsGOS(config)#denial-of-service Enter into Dos mode configuration.
AsGOS(config-dos)#tcp-on-invalid-flags enable Enable the TCP invalid Flag checking.
52
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20 Spanning Tree Protocols.
Command Syntax
Command Mode
Configure mode
Default
Usage
The allowable range for forward-time is 4-30 seconds. Care should be exercised if the value is to be
made below 7 seconds.
Examples
Related Commands
Command Syntax
53
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Default
Command Mode
Configure mode
Usage
Configure the bridge instance NAME before using this command. The allowable range of values is 1-
10 seconds. However, make sure that the value of hello time is always greater than the value of hold
time (1 second by default).
Examples
Command Syntax
Command Mode
Configure mode
Default
Usage
Max-age is the maximum time in seconds for which (if a bridge is the root bridge) a message is
considered valid. This prevents the frames from looping indefinitely.
The value of max-age should be greater than twice the value of hello time plus one, but less than
twice the value of forward delay minus one. The allowable range for max-age is 6-40 seconds.
Configure this value sufficiently high, so that a frame generated by root can be propagated to the lead
nodes without exceeding the max-age.
Examples
54
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.1.4 bridge priority
Use this command to set bridge priority for the common instance. Using a lower priority
indicates a greater likelihood of the bridge becoming root.
Command Syntax
Command Mode
Configure mode
Default
Usage
This command must be used to set the priority of the bridge. The priority values can be set only in
increments of 4094.
Examples
Command Syntax
Default
Command Mode
Configure mode
Usage
The BPDU guard feature shuts down the port on receiving a BPDU on a BPDU-guard enabled port.
This command associates a timer with the feature such that the port gets enabled back without
manual intervention after a set interval.
This interval can be configured by the user using the bridge spanning-tree errdisable-
timeout interval command.
Example
55
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGOS(config)# bridge spanning-tree errdisable-timeout enable
Command Syntax
Default
Command Mode
Configure mode
Example
Command Syntax
Command Mode
Configure mode
Usage
The Spanning Tree Protocol sends BPDUs from all ports. Enabling the BPDU Filter feature ensures
that PortFastenabled ports do not transmit or receive any BPDUs. Use the show spanning tree
command to display administratively configured and currently running values of the bpdu-filter
parameter for bridge and port.
Example
Related Commands
56
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.1.8 bridge spanning-tree portfast bpdu-guard
Use this command to enable the BPDU (Bridge Protocol Data Unit) Guard feature on a bridge. Use
the <no> statement with this command to disable the BPDU Guard feature on a bridge.
Command Syntax
Command Mode
Configure mode
Usage
When the BPDU Guard feature is set for a bridge, all portfast-enabled ports of the bridge that have
bpdu-guard set to default shut down the port on receiving a BPDU. In this case, the BPDU is not
processed. You can either bring the port back up manually by using the no shutdown command, or
configure the errdisable-timeout feature to enable the port after the specified time interval.
Use the <show spanning-tree> command to display the bridge and port configurations for the
BPDU Guard feature. It shows both the administratively configured and currently running values of
bpdu-guard.
Example
Related Commands
Command Syntax
Default
Command Mode
Interface mode
Examples
57
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGOS(config-if)# bridge-group path-cost 123
Command Syntax
Default
Command Mode
Interface mode.
Examples
Command Syntax
Command Mode
Interface mode
Usage
The Root Guard feature makes sure that the port on which it is enabled is a designated port. If the
Root Guard enabled port receives a superior BPDU, it goes to a Listening state (for STP) or
discarding state (for RSTP and MSTP).
Example
AsGOS# configure terminal
AsGOS(config)# interface ge0
AsGOS(config-if)# spanning-tree guard root
58
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Related Commands
Bridge instance
Command Syntax
Command Mode
Configure mode
Default
Example
Command Syntax
Command Mode
Configure mode
Examples
59
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.2.3 Show spanning-tree
This command shows the state of the spanning tree for all named bridge groups. Use the |
(output modifier token) to modify the lines displayed, and the > (output redirection token) to save the
output to a file. For more information, see AsGOS Command Line Interface Environment.
Command Syntax
Command Mode
Examples
Usage
Command Syntax
60
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Bridge-group ID used for bridging.
Command Mode
Configure mode
Default
Examples
Command Syntax
Command Mode
Example
Command Syntax
Command Mode
Configure mode
Examples
61
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGOS(config)# debug rstp all
AsGOS(config)# debug rstp cli
AsGOS(config)# debug rstp packet rx
AsGOS(config)# debug rstp protocol detail
AsGOS(config)# debug rstp timer
Command Syntax
Command Mode
Examples
Usage
The following is an output of this command displaying the state of the spanning tree.
62
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.3.5 spanning-tree force-version
Use this command to specify the version. A version identifier of less than a value of 2 enforces
the spanning tree protocol. Although the command supports an input range of 0-3, for RSTP, the valid
range is 0-2. Use the no parameter with this command to set the default protocol version.
Command Syntax
Command Mode
Interface mode
Examples
Command Syntax
Command Mode
Interface mode
Usage
Examples
63
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.4 MSTP Commands
This chapter lists the commands that are exclusive to the Multiple Spanning Tree Protocol
(MSTP). For other commands useful in the MSTP, see the Common Spanning Tree Protocol
Commands chapter.
Command Syntax
Default
Command Mode
Configure mode
Usage
If Cisco interoperability is required, all AsGOS boxes in the switched LAN must be Cisco-
interoperability enabled. When AsGOS is interoperating with Cisco, the only criteria used to classify a
region are the region name and revision level. VLAN to instance mapping is not used to classify
regions when interoperating with Cisco.
Examples
To enable Cisco interoperability on a Layer-2 switch for a particular bridge (bridge 2 in this example):
Command Syntax
64
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
BRIDGE_PRIORITY <0-61440> Specify the bridge priority (a lower priority indicates a greater
likelihood of the bridge becoming root).
Command Mode
Configure mode.
Default
Usage
The lower is the priority of the bridge, the better are the chances of the bridge becoming a root bridge
or a designated bridge for the LAN. The permitted range of values is 0-61440. The priority values can
be set only in increments of 4094.
Examples
Command Syntax
Command Mode
Usage
The permitted range of instances is 0-15. Instance 0 refers to the internal spanning tree. The VLANs
must be created before being associated with an MST instance (MSTI). If the VLAN range is not
specified, the MSTI will not be created.
Example
65
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.4.4 bridge max-hops
Use this command to specify the maximum allowed hops for a BPDU in an MST region. This
parameter is used by all the instances of the MST. To restore the default value, use the no parameter
with this command.
Command Syntax
Command Mode
Configure Mode
Default
Usage
Specifying the max hops for a BPDU prevents the messages from looping indefinitely in the network.
When a bridge receives a MST BPDU that has exceeded the allowed max-hops, it discards the
BPDU.
Examples
Command Syntax
Command Mode
Configure mode
Default
Example
66
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.4.6 bridge region
Use this command to create an MST region, and specify a name to it. MST bridges of a region
form different spanning trees for different VLANs.
Command Syntax
Command Mode
Default
By default, each MST bridge starts with the region name as its bridge address. This means each MST
bridge is a region by itself, unless specifically added to one.
Examples
Command Syntax
Command Mode
Default
Examples
67
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.4.8 bridge-group instance
Use this command to assign a Multiple Spanning Tree instance to a port. Use the <no>
statement with this command to remove the instance.
Command Syntax
Command Mode
Interface mode
Examples
Command Syntax
Command Mode
Interface mode
Default
Examples
68
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Syntax
Command Mode
Interface mode
Default
Usage
The Multiple Spanning Tree Protocol uses port priority as a tiebreaker to determine which port should
forward frames for a particular instance on a LAN, or which port should be the root port for an
instance. A lower value implies a better priority. In the case of the same priority, the interface index
will serve as the tiebreaker, with the lower-numbered interface being preferred over others. The
permitted range is 0-240. The priority values can only be set in increments of 16.
Examples
Command Syntax
Command Mode
Default
Examples
69
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.20.4.12 debug mstp
Use this command to turn on, and turn off, debugging and echoing data to the console, at
various levels. Use the no parameter with this command, to turn off debugging.
Command Syntax
Command Mode
Examples
Command Syntax
Command Mode
Usage
The following is a display of this command showing the number of instances created, and the VLANs
associated with it.
70
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
% 2: 4
Command Syntax
Command Mode
Usage
The following show output displays the MSTP configuration information for bridge b.
Command Syntax
Command Mode
Usage
The following is a display of this command showing displaying detailed information about each
instance, and all interfaces associated with them.
AsGOS# show spanning-tree mst detail
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 0
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 0000009027342b72
% 1: CIST Reg Root Id 0000009027342b72
% 1: CST Bridge Id 0000009027342b72
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 1 sec
% eth2: Port 4 - Id 8004 - Role Designated - State Forwarding
% eth2: Designated External Path Cost 0 -Internal Path Cost 0
71
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
% eth2: Configured Path Cost 200000 - Add type Explicit ref count 2
% eth2: Designated Port Id 8004 - CST Priority 128 -
% eth2: CIST Root 0000009027342b72
% eth2: Regional Root 0000009027342b72
% eth2: Designated Bridge 0000009027342b72
% eth2: Message Age 0 - Max Age 20
% eth2: CIST Hello Time 2 - Forward Delay 15
% eth2: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
% eth2: Version Multiple Spanning Tree Protocol - Received None - Send STP
% eth2: No portfast configured - Current portfast off
% eth2: portfast bpdu-guard default - Current portfast bpdu-guard off
% eth2: portfast bpdu-filter default - Current portfast bpdu-filter off
% eth2: no root guard configured - Current root guard off
% eth2: Configured Link Type point-to-point - Current point-to-point
%
% eth1: Port 3 - Id 8003 - Role Designated - State Forwarding
% eth1: Designated External Path Cost 0 -Internal Path Cost 0
% eth1: Configured Path Cost 200000 - Add type Explicit ref count 2
% eth1: Designated Port Id 8003 - CST Priority 128 -
% eth1: CIST Root 0000009027342b72
% eth1: Regional Root 0000009027342b72
% eth1: Designated Bridge 0000009027342b72
% eth1: Message Age 0 - Max Age 20
% eth1: CIST Hello Time 2 - Forward Delay 15
% eth1: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
% eth1: Version Multiple Spanning Tree Protocol - Received STP - Send STP
% eth1: No portfast configured - Current portfast off
% eth1: portfast bpdu-guard default - Current portfast bpdu-guard off
% eth1: portfast bpdu-filter default - Current portfast bpdu-filter off
% eth1: no root guard configured - Current root guard off
% eth1: Configured Link Type point-to-point - Current point-to-point
%
% Instance 1: Vlans: 2
% 1: MSTI Root Path Cost 0 - MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8001009027342b72
% 1: MSTI Bridge Id 8001009027342b72
% eth2: Port 4 - Id 8004 - Role Designated - State Forwarding
% eth2: Designated Internal Path Cost 0 - Designated Port Id 8004
% eth2: Configured Internal Path Cost 200000
% eth2: Configured CST External Path cost 200000
% eth2: CST Priority 128 - MSTI Priority 128
% eth2: Designated Root 8001009027342b72
% eth2: Designated Bridge 8001009027342b72
% eth2: Message Age 0 - Max Age 0
% eth2: Hello Time 2 - Forward Delay 15
% eth2: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
%
% eth1: Port 3 - Id 8003 - Role Designated - State Forwarding
% eth1: Designated Internal Path Cost 0 - Designated Port Id 8003
% eth1: Configured Internal Path Cost 200000
% eth1: Configured CST External Path cost 200000
% eth1: CST Priority 128 - MSTI Priority 128
% eth1: Designated Root 8001009027342b72
% eth1: Designated Bridge 8001009027342b72
% eth1: Message Age 0 - Max Age 0
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
Command Syntax
72
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Mode
Usage
The following is a display of this command showing detailed information for instance 2.
AsGOS# show spanning-tree mst instance 2
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 0
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 0000009027342b72
% 1: CIST Reg Root Id 0000009027342b72
% 1: CST Bridge Id 0000009027342b72
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 1 sec
%
% 1: MSTI Root Path Cost 0 - MSTI Root Port 0 - MSTI Bridge Priority 32768
% 1: MSTI Root Id 8002009027342b72
% 1: MSTI Bridge Id 8002009027342b72
% eth2: Port 4 - Id 8004 - Role Designated - State Discarding
% eth2: Designated Internal Path Cost 0 - Designated Port Id 8004
% eth2: Configured Internal Path Cost 200000
% eth2: Configured CST External Path cost 200000
% eth2: CST Priority 128 - MSTI Priority 128
% eth2: Designated Root 8002009027342b72
% eth2: Designated Bridge 8002009027342b72
% eth2: Message Age 0 - Max Age 0
% eth2: Hello Time 2 - Forward Delay 15
% eth2: Forward Timer 11 - Msg Age Timer 0 - Hello Timer 1
%
% eth1: Port 3 - Id 8003 - Role Designated - State Discarding
% eth1: Designated Internal Path Cost 0 - Designated Port Id 8003
% eth1: Configured Internal Path Cost 200000
% eth1: Configured CST External Path cost 200000
% eth1: CST Priority 128 - MSTI Priority 128
% eth1: Designated Root 8002009027342b72
% eth1: Designated Bridge 8002009027342b72
% eth1: Message Age 0 - Max Age 0
% eth1: Hello Time 2 - Forward Delay 15
% eth1: Forward Timer 7 - Msg Age Timer 0 - Hello Timer 1
Command Syntax
Command Mode
Interface mode
Examples
73
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGOS# configure terminal
AsGOS(config)# interface eth0
AsGOS(config-if)# spanning-tree force-version 1
3.20.4.18 link-type
Use this command to enable or disable point-to-point or shared link types.
Command Syntax
Command Mode
Interface mode
Usage
Examples
Command Syntax
Command Mode
Configure mode
Examples
74
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.21 Link Agregation Control Protocol Commands Set.
Link Aggregation Control Protocol (LACP) is part of an IEEE specification (802.3ad) that allows
to bundle physical ports into a single logical channel. LACP allows a switch to negotiate an automatic
bundle by sending special PDUs named LACP packets to the peer.
Link Aggregation provides several benefits: Increased bandwidth, load balancing, and allows
you to create redundant Ethernet links. If a link in a Ethernet channel goes down, the switches on
which is configured to use LACP will automatically fail over to the links that are still up and remain
connected
3.21.1 Channel-group
Assign the interface to a channel group, and specify the LACP mode. For channel-group-
number, the range is 1 to 32. Each Channel can have up to eight compatibly configured Ethernet
interfaces.
When you configure Layer 2 EtherChannels by configuring the Ethernet interfaces with the
channel-group interface configuration command, the system creates the port-channel logical
interface. Each Ethernet Interfaces pertaining to the same LACP Group will heritage port-channel
interface characteristics.
Command Syntax
active: Enables LACP only if an LACP device is detected. It places an interface into an active
negotiating state, in which the interface starts negotiations with other interfaces by sending LACP
packets.
passive: Enables LACP on an interface and places it into a passive negotiating state, in which the
interface responds to LACP packets that it receives, but does not start LACP packet negotiation.
Command Mode
Interface mode
Usage
Examples
75
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGOS(config-if)# channel-group 21 mode lacp static
Related commands
no channel-group
show etherchannel lacp <1-32>
show etherchannel static
Command Syntax
Command Mode
Interface mode
Usage
Examples
Command Syntax
76
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
priority-value, the range is 1 to 65535. By default, the priority value is 32768. The lower the
range, the most likely the interface will be used for LACP transmission.
Command Mode
Interface mode
Usage
Examples
Command Syntax
timeout Number of seconds before invalidating a received LACP data unit (DU).
short LACP short timeout. Default short timeout value is 3 seconds.
long LACP long timeout. Default long timeout value is 90 seconds.
Command Mode
Examples
Command Syntax
77
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Mode
Examples
Command Syntax
Command Mode
Exec mode
Examples
Command Syntax
Command Mode
Exec mode
Examples
78
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.21.8 Show etherchannel summary
Command Syntax
Command Mode
Exec mode
Examples
Command Mode
Exec mode
Examples
79
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.22 VLAN Classifier.
3.22.1 Introduction
Vlan classifier is a feature that tags arriving packets with a specified vlan tag based in some
packet parameters. It is an extension to the IEEE 802.1v, VLAN Classification by Protocol and Port.
This feature can be used too with Q-in-Q and, in this case, the vlan classifier is used to select the new
packet outer-tag.
The packet parameters that are used to select the packet vlan can be separated in three
classes: MAC, Ipv4 Subnet and Protocol. The last one, Protocol based vlan classifier, is associated
with IEEE 802.1v specification. Rules can be created for all the three classes and these rules can be
associated together in groups but the action differ from Protocol based to MAC/Subnet based rules
when installing a group into an interface. We can select which Protocol rules we can enable in an
interface but for MAC/Subnet we can't; when a group with MAC/Subnet rules is installed into an
interface, all MAC/Subnet rules are installed into that interface. In commands description we will see
this aspect in more details.
When a group have all three classes rules, the hierarchy of rules is this: first MAC, than Subnet
and then Protocol.
Description:
Show vlan classifier rules created. If a rule number is specified, display only the configuration of
rule with that number. If no rule number is given, than display the configuration of all rules.
Description:
Show vlan classifier groups created and the rules associated. If a group number is specified,
display only the configuration of group with that number. If no group number is given, than display the
configuration of all groups.
80
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
show vlan classifier interface group (<1-256>|<cr>)
<1-256> Group Id
<cr> All groups
Description:
Show interfaces with vlan classifier groups configured. If a group number is specified, display
only interfaces with this group number installed. If no group number is given, display all interfaces with
an group installed, showing the group number that is installed.
vlan classifier rule <1-16> proto PROTO encap ENCAP vlan <2-4094>
<1-16> Vlan classifier protocol rule id
PROTO Specify an ethernet protocol classification (see Table 1
for all options)
ENCAP Specifify packet encapsulation (see Table 2 for all
options)
<2-4094> Vlan Identifier
Description:
Create an Ethernet protocol based rule. The first parameter identifies the rule. PROTO and
ENCAP parameters specify which Ethernet protocol and encapsulation must match to assign the vlan
configured by the last parameter. To see all options to PROTO and ENCAP, see Table 3.4 and Table
3.5 respectably.
81
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
x25 CCITT X.25
xeroxaddrtrans Xerox PUP Address Translation
xeroxpup Xerox PUP
ethv2 ethernet v2
nosnapllc llc without snap encapsulation
snapllc llc snap encapsulation
Description:
Create an MAC based rule. The first parameter identifies the rule. MAC parameter specify the
source MAC address that must match to assign the vlan specified in the last parameter to the packet.
Description:
Create an Subnet based rule. The first parameter identifies the rule. IP/M parameter specify the
source subnet (in A.B.C.D/M format) that must match to assign the vlan specified in the last
parameter to the packet.
Description:
Delete rule identified by the number given. The rule is remove from all groups associated ant
interfaces too.
82
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.22.3.5 Associate a Vlan Classifier Protocol rule to a Vlan Classifier
Group
Command:
Description:
Add to group identified by the first parameter the protocol based rule identified by the second
parameter. We can select which protocol based rules we want to associate with the group. If the
group doesn't exist, it is created.
Description:
Add to group identified by the first parameter all MAC based rules created. When a new MAC
based rule is created, it is automatically associat with all groups that have this configuration. We can't
select which MAC based rules we want to associate with the group, it is all or none. If the group
doesn't exist, it is created.
Description:
Add to group identified by the first parameter all Subnet based rules created. When a new
Subnet based rule is created, it is automatically associate with all groups that have this configuration.
We can't select which Subnet based rules we want to associate with the group, it is all or none. If the
group doesn't exist, it is created.
83
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Description:
Remove from group identified by the first parameter the protocol based rule identified by the
second parameter. The rule is automatically removed from all interfaces that has this group installed.
Command:
Description:
Remove from group identified by the first parameter all MAC based rules created. All rules are
automatically removed from all interfaces that has this group installed.
Command:
Description:
Remove from group identified by the first parameter all Subnet based rules created. All rules
are automatically removed from all interfaces that has this group installed.
Command:
Description:
Delete group identified by the given parameter. The group is automatically removed from all
interfaces that it is installed.
84
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Description:
Install into the interface the vlan classifier group identified by the given parameter. If there was
an old group installed, the old group is removed and the new one is installed.
Description:
Remove from the interface the vlan classifier group identified by the given parameter.
85
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.23 Private VLAN Support
3.23.1 Introduction
Private VLANs provide a mechanism to control which devices can communicate within a single
subnet. The private VLAN uses isolated secondary VLANs to control how devices communicate. The
secondary VLANs are assigned to the primary VLAN, and ports are assigned to the secondary
VLANs. Ports in an isolated VLAN cannot communicate with any device in the VLAN other than the
promiscuous port or interswitch link port (*). The figure 3.4 shows these concepts:
The following table describes the communication possibilities between ports in a private vlan domain.
(*) Please note that this asymmetric behavior is for traffic traversing inter-switch link ports over an
isolated VLAN only. Traffic from an inter-switch link port to an isolated port will be denied if it is in the
isolated VLAN. Traffic from an inter-switch link port to an isolated port will be permitted if it is in the
primary VLAN.
Command:
86
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Description:
This command makes the association between a VLAN ID and an isolated one. An isolated VLAN is
a secondary VLAN whose distinctive characteristic is that all hosts connected to its ports are isolated
at Layer 2.
Command Mode:
Configuration mode
VLAN Database context
Examples:
SW-1(config)#vlan database
SW-1(config-vlan)#vlan 1000 associate isolated 1100
Description:
Command Mode:
Configuration mode
Interface Context
Examples
87
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
mapping : Set the primary and secondary VLANs in promiscuous
mode to Xmit/TX through the Layer2 interface
VLAN-ID <2-4094> Primary VLAN that will be added
VLAN-ID <2-4094> Primary VLAN that will be added
Description:
Command Mode:
Configuration mode
Interface context
Examples
Or
Figure 3.5 - Private VLAN configuration with two host port and one promiscuous port.
Configuration
88
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
vlan database
Interfaces Configuration
interface ge12
switchport
switchport mode private-vlan promiscuous
switchport private-vlan mapping 2000 2100
!
interface ge13
switchport
switchport mode private-vlan host
switchport private-vlan host-association 2000 2100
!
interface ge14
switchport
switchport mode private-vlan host
switchport private-vlan host-association 2000 2100
!
89
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.24 VLAN Translation
Command Syntax
switchport vlan-translate
90
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Mode.
Interface Context.
Default
Examples
The following picture describes a simple setup. The idea of this setup is to double tag an incoming
packet based in its original customer tag (ct) adding a carrier tag (st).
In this setup we have a flow of tagged packets entering in a switch access port, port ge1, and
exiting in a switch trunk port, port ge23. The abstraction of this setup is that in port ge1 we have the
customer network and in port ge24 we have the carrier network connected. The customer traffic
wants to enter carrier network, and for that, the switch adds a new tag to the packet that will be used
to switch the traffic inside the carrier network. The packet that exits in ge23 has two tags, as show in
Figure 3.7. The following commands show the configuration steps:
COMMAND DESCRIPTION
To enter in configuration mode ingress
AsGa> enable
the enable command and press enter.
AsGa# configure terminal Enter into configuration mode
AsGa# interface Ge1 Enter into interface configuration mode
AsGa(config-if)#switchport access
Configure the default access VLAN
vlan 333
AsGa(config-if)# switchport vlan- Define the switch port mode as vlan
translate translate
AsgOS(config-if)#switchport Define the translation rule. VLAN 33
translate qinq from 13 to 33 will be mapped to VLAN 13 (Note1)
AsGa# wr Save the current configuration
NOTE1: Different rules can be mapped to a single interface. LightBolt switches support up to 768
VLAN translates rules.
This configuration translate customers vlan 13 to carrier vlan 33. After this configuration take
effect ; the switch starts to add vlan 33 as carrier tag only to packets that match the rules. All other
tagged packets that arrive in port ge1 are double tagged with interface default vlan id (VLAN ID 333)
as untagged packets are single tagged with interface default vlan id as well. Trunk port ge23 must
have vlan id 33 added as an allowed vlan.
91
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Traffic arriving from the carrier network with a double-tag that goes out through customer port,
but single-tagged. The configuration is the same from the previous test.
Command Syntax
OLDVID is the original customer vlan id that will be translated from and then will be removed.
NEWVID is the new carrier vlan id that translation will add.
Command Mode.
Interface Context.
92
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Default
Examples
The following picture (Figure 3.9) describes the test setup created. The idea of this setup was
to swap an incoming packet based in his original customer tag (ct), swapping to a carrier tag (st).
In this setup a flow of tagged packets enter in access switched port, port ge1, and exiting in a
switch trunk port, port ge23. The abstraction of this setup is that in port ge1 we have the customer
network and in port ge24 we have the carrier network connected. The customer traffic wants to enter
carrier network, and for that, the switch changes its original customer tag to a new carrier tag. Notice
that the original tag is removed and a new is added when using this process and not a new tag is
added over the original tag like when using vlan translate.
COMMAND DESCRIPTION
To enter in configuration mode ingress
AsGa> enable
the enable command and press enter.
AsGa# configure terminal Enter into configuration mode
AsGa# interface Ge1 Enter into interface configuration mode
AsGa(config-if)#switchport access
Configure the default access VLAN.
vlan 333
AsGa(config-if)# switchport vlan- Define the switch port mode as vlan
translate translate
AsgOS(config-if)# switchport
Define the translation swap rule.
translate swap from 13 to 33
AsGa# wr Save the current configuration
This configuration changes (swap) the customer tags 13 to a new carrier tag 33. The old tags
are not preserved inside the packet; only the new tag will take effect. Trunk on port ge23 must have
vlan id 33 added as an allowed vlan.
93
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
To use Vlan Translate Egress, AsGOS provides the following commands in the AsGOS
command line:
Command Syntax
OLDVID is the carrier vlan id that will be translated from and will be removed
NEWVID is the original customer vlan id that translation will recover
Command Mode
Interface Context.
Default
Examples
The next test is a returning packet that arrives in a carrier port with a carrier vlan tag and exits
in a customer tag; remember that all switching is done using the carrier tag, even the customer port.
Figure 3.10 describes this test.
In this setup we have a flow of tagged packets entering in a switch trunk port, port ge23, and
exiting in a switch access port, port ge1. The abstraction of this setup is that in port ge1 we have the
customer network and in port ge23 we have the carrier network connected. The customer traffic
wants to receive traffic from carrier network, and for that, the switch recovers the original customer
tag. Notice that the carrier tag is removed and customer tag added when using this process.
Commands for this configuration are:
COMMAND DESCRIPTION
To enter in configuration mode ingress
AsGa> enable
the enable command and press enter.
AsGa# configure terminal Enter into configuration mode
AsGa# interface Ge1 Enter into interface configuration mode
94
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGa(config-if)#switchport access
Configure the default access VLAN.
vlan 333
AsGa(config-if)# switchport vlan- Define the switch port mode as vlan
translate translate
AsgOS(config-if)# switchport
Define the translation rule.
translate swap egress from 33 to 13
AsGa# wr Save the current configuration
This configuration changes (swap) the carrier tag 33 to customer tag 13. Remember that the
old tags are not preserved inside the packet, only the new tag. Trunk port ge23 must have vlan id 33
added as an allowed vlan, but the switch doesn't need to have customer vlan 13 added on its vlan
table.
3.25.1 Introduction
Quality of Service (QoS) refers to the capability of a network to provide better service to select
(classify) network traffic. The primary goal of QoS is to provide priority including dedicated bandwidth,
controlled jitter and latency (required by some real-time and interactive traffic), and improved loss
characteristics. Also important is making sure that providing priority for one or more flows does not
make other flows fail.
The main building blocks of QoS concepts, inside of a network element are:
• Classification
• Congestion Management
• Congestion Avoidance
• Policing and Shaping
95
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Figure 3.13 - Ethernet 802.1q frame and the TAG byte where the Priority bits are located.
IEEE has put forth recommendations on various traffic types, corresponding traffic classes, and
priorities to be used with 802.1p standard. They are listed in the following table:
Traffic class Priority
Default priority tagged 0
Background 1
Voice 2
Video 3
Controlled Load 4
Excellent Effort 5
Best Effort 6
Network Control 7
Table 3.7 - Traffic class
Internally, switches will use those bits in order to map different traffic classes to different priority
queues. So almost all COS classes can be mapped to a Queue.
96
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.3 L3 Packet Markings
Similar to Layer 2 headers, the IP header has fields that can be used to classify traffic groups.
The most widely used L3 marking techniques are Type of Service (ToS) and DSCP. The figure below
shows a typical IP header making reference to a ToS or DSCP Bits.
3.25.3.1 ToS
ToS was originally defined in RFC 791 and 795 and was further modified/updated by other
RFCs like RFC 1122, RFC 1123, and RFC1349. Although the field has been there for quite some
time, it has not been widely used. Its use has been superseded by DSCP today.
97
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.3.2 Differentiated Service Code Point (DSCP)
Differentiated Services (DiffServ) is a model in which traffic is treated by intermediate systems
with relative priorities based on the type of services (ToS) IPV4 field. Defined in RFC 2474 and RFC
2475, the DiffServ standard supersedes the original specification for defining packet priority described
in RFC 791. DiffServ increases the number of definable priority levels by reallocating bits of an IP
packet for priority marking.
The DiffServ architecture defines the DiffServ (DS) field, which supersedes the ToS field in
IPv4 to make per-hop behavior (PHB) decisions about packet classification and traffic conditioning
functions, such as metering, marking, shaping, and policing.
The RFCs do not dictate the way to implement PHBs; this is the responsibility of the vendor..
Based on DSCP or IP precedence, traffic can be put into a particular service class (Queue). Packets
within a service class are treated the same way.
The six most significant bits of the DiffServ field is called as the DSCP. The last two Currently
Unused (CU) bits in the DiffServ field were not defined within the DiffServ field architecture; these are
now used as Explicit Congestion Notification (ECN) bits. Equipments at the edge of the network
classify packets and mark them with either the IP Precedence or DSCP value. Other network devices
in the core that support Diffserv use the DSCP value in the IP header to select a PHB behavior for the
packet and provide the appropriate QoS treatment.
The following figure specify the DS bits and ECN bits positions.
The DiffServ standard utilizes the same precedence bits (the most significant bits—DS5, DS4
and DS3) for priority setting, but further clarifies the definitions, offering finer granularity through the
use of the next three bits in the DSCP. DiffServ reorganizes and renames the precedence levels (still
defined by the three most significant bits of the DSCP) into these categories.
With this system, a device prioritizes traffic by class first. Then it differentiates and prioritizes
same-class traffic, taking the drop probability into account.
The DiffServ standard does not specify a precise definition of "low," "medium," and "high" drop
probability. Not all devices recognize the DiffServ (DS2 and DS1) settings; and even when these
settings are recognized, they do not necessarily trigger the same PHB forwarding action at each
network node. Each node implements its own response based on how it is configured.
98
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.3.2.1 Assured Forwarding
RFC 2597 defines the assured forwarding (AF) PHB and describes it as a means for a provider
DS domain to offer different levels of forwarding assurances for IP packets received from a customer
DS domain. There are four AF classes, AF1x through AF4x. Within each class, there are three drop
probabilities. Depending on a given network's policy, packets can be selected for a PHB based on
required throughput, delay, jitter, loss or according to priority of access to network services.
Classes 1 to 4 are referred to as AF classes. The following table illustrates the DSCP coding for
specifying the AF class with the probability. Bits DS5, DS4 and DS3 define the class; bits DS2 and
DS1 specify the drop probability; bit DS0 is always zero.
Drop Class 1 Class 2 Class 3 Class 4
001010 010010 011010 100010
Low AF11 AF21 AF31 AF41
DSCP 10 DSCP 18 DSCP 26 DSCP 34
001100 010100 011100 100100
Medium AF12 AF 22 AF32 AF42
DSCP 12 DSCP 20 DSCP 28 DSCP 36
001110 010110 011110 100110
High AF13 AF23 AF33 AF43
DSCP 14 DSCP 22 DSCP 30 DSCP 38
Table 3.10 - DSCP coding for specifying the AF class with the probability.
3.25.3.2.2 Expedited Forwarding
RFC 2598 defines the Expedited Forwarding (EF) PHB: "The EF PHB can be used to build a
low loss, low latency, low jitter, assured bandwidth, end-to-end service through DS (Diffserv) domains.
Such a service appears to the endpoints like a point-to- point connection or a "virtual leased line."
This service has also been described as Premium service." Codepoint 101110 is recommended for
the EF PHB, which corresponds to a DSCP value of 46.
Again, vendor-specific mechanisms need to be configured to implement these PHBs. Refer to
RFC 2598 for more information about EF PHB.
3.25.3.3 Classification
Packet classification features provide the capability to “partition” network traffic into multiple
priority levels or classes of service. For example, using the three precedence bits in the type of
service (ToS) field of the IP packet header—two of the values are reserved for other purposes—you
can categorize packets into a limited set of up to six traffic classes. After you classify packets, you can
utilize other QoS features to assign the appropriate traffic handling policies including congestion
management, bandwidth allocation, and delay bounds for each traffic class.
LightBolt switches utilize the most advanced processing technology for classifying flows. Highly
parallel processors specifically designed for that process are allocated per port base. Those
processors work independently from all CPU activities. So the total CPU load can be maintained at
very low utilization index also in situations in which all ACL and content aware procedures are fully
matched on 10GigE ports (for example).
The following table summarizes the available methods for classifying packets.
Feature Direction
Ingress Egress
Marking YES YES
Match with ACL YES YES
Match with DSCP YES YES
Match with IP Precedence YES YES
Match with COS YES YES
Trust on DSCP YES NO
Trust on COS YES NO
Trust on IP Precedence YES NO
Table 3.11 - Methods for classifying packets.
99
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.3.3.1 Using ACL as clasification method.
You can use IP standard, IP extended, and Layer 2MAC ACLs to define a group of packets
with the same characteristics (class).
If a match with a permit action is encountered (first-match principle), the specified QoS-related action
is taken.
This example shows how to allow access for only those hosts on the three specified networks.
The wildcard bits apply to the network portions of the network addresses. Any host with a source
address that does not match the access list statements is rejected and no QoS action will be taken.
Step#2 Aplying Access list to a class map and then policy map.
policy-map POLICE-1
class CLASS-1
set cos 5
Command Syntax
AsGos(config)#QOS trust
By default, switch ports on the LightBolt are not trustable with respect to QoS. This means that
the 802.1p value or the DSCP value in packets received on the port is ignored. In addition the 802.1p
and DSCP values in frames received under the untrusted mode of operation are reset to zero.
When a port is configured to be trusted, the QoS settings in the 802.1p and DSCP fields are
preserved and are used to define the priority of the packet as it passes through the switch and also
determines the CoS queue assignment on the egress port unless the packet matches a QoS policy
rule. If the packet matches a QoS policy rule, the priority of the packet is determined by the. Action
defined in the policy rule.
The trust or untrusted modes are set at global configuration mode.
100
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Mode
Default
Examples
3.25.4 Queuing
LightBolt switches have been designed using the best technology available in today Ethernet
switching. LightBolt architecture is base on two concepts named “Output Queuing” (OQ) and “Shared
Memory Switching” (SMS) architectures.
Shared Memories architectures offer the optimal approach to exploit the benefits of output
queuing without being limited by poor burst absorption capabilities.
Output buffer architectures offer the best switching characteristics in terms of delay and
throughput. In an output queue switch every arriving packet will be transported to its output queue
without delay and enqueued at that queue. In terms of performance this architecture offers the
following advantages:
A shared memory switch is an output queue switch in which all ingress and egress ports have
access to a common memory pool of buffer resources. This architecture can significantly improve the
available amount of buffer resources available to any port and improve the burst absorption.
Lightbolt switches have shared memory architecture in addition to a small static buffer
allocation per port. During normal operation Static buffer Resources are consumed and under high
load interval shared buffer resources can be used.
• strict-priority
• round-robin
• weight-round-robin
• deficit-round-robin
101
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
The strict priority scheduler provides strict access to the egress port across COS Queues from
de highest cos Queue to the lowest. The purpose of strict priority is to provide low latency service to
higer COS class of traffics.
Queues are serviced in strict order of queue priority, so the high queue always is serviced first,
then the next-lower priority and so on.
If a lower-priority queue is being serviced and a packet enters a higher queue, that queue is serviced
immediately. This mechanism is good for important traffic, but can lead to queue starvation.
3.25.4.1.2 Round-Robin
The round robin (RR) scheduling mode provides round robbing arbitration mode across
different COS queues. The scheduler visit each backlogged queue servicing a single packet at each
queue before moving to the next one. The purpose of the round robbing scheduler is to provide fair
access to the egress port bandwidth. This scheduler work well when the packet size is approximately
comparable.
The Weighted Round Robbing (WRR) scheduler provides a weighted round robbing scheme
across the CoS queues. The purpose of WRR is to provide weighted access to the egress port
bandwidth.
In WRR mode, the scheduler provides access to each CoS in Round Robbing order. When the
scheduling process is providing access to a particular CoS queue it service a configurable number of
back-to-back of packets before moving on the subsequent CoS Queue. Each CoS queue has an
associated value of weights coming from 1 to 15 (Cero value has an internal meaning). These values
are used to indicate that between 1 and 15 back-to-back packet are to be serviced when the
scheduler is servicing a particular CoS queue. If the weight setting is N but if there are < N parquets
in the queue, the scheduler continue working and move to the next backlogged queue.
An inherent limitation of WRR method is that bandwith is allocated in terms of packets. WRR
works well if the packet size for each coarse-grained CoS queue flow is know. In most instances
however, this attribute is traffic dependent and can vary over time. The Deficit round robbing (DRR)
mode is aimed at addressing this issue. DRR provide bandwith allocation scheduler mode that take
into account the variability-sized packet issue by maintaining sufficient state information when
arbitrating across the CoS queues.
The goal of DRR is to provide coarse-grained flow isolation and bandwith sharing when
arbitrating access to a link among contending CoS flows. This is accomplished by using a modified
form of round robbing service. A set of queues is service by the RDD scheduler, where each queue is
associated with a particular CoS. These queues are serviced in round robbing order while taking into
account two state variables: “the quantum” and “the credit counter”. Each CoS queue has associated
with it a configurable quantum, similar to a WRR weight values. However, the unit for the quantum is
in bytes. The purpose of the credit counter is to track the overuse of bandwith by a particular CoS
queue relative to its specified quantum.
DRR operates by servicing the set of backlogged queues in packet round robin order. Initially,
each queue sets its credits counters to its associated (and configurable) quantum values. Every time
a packet from CoS queue is sent, the size of the packet is subtracted from the corresponding credit
counter. When the credit counter drop below 0, the queue is no longer serviced until its credits are
replenished. All queues are serviced until either they are empty or their counters credit is negative.
102
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
When this occurs, the credits are replenished. When the credits are replenished, a quantum of credit
are added to each CoS queue credit counter. The quantum for each CoS queue may differ based on
the configuration.
Command Syntax
Command Mode
Configuration mode
Default
No default
Examples
Inside of a queuing profile is possible define a unique Scheduler for queue attendant. The
following commands show the configuration steps.
Command Syntax
Command Syntax
103
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Set the weight from 1 to 15 for each COS queue in packet units or Strict priority. Those
weights are assigned in sequence from queue number 0 to queue number 7.
Command Mode
Configuration mode.
Queuing profile context.
Default
No default
Examples
Command Syntax
Set the weight for each COS queue in Kilobyte units. Those weights are assigned in sequence from
queue number 0 to queue number 7.
Command Mode
Configuration mode.
Queuing profile context.
Default
No default
Examples
104
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.5.1.4 Defining Badwith for each Queue
Command Syntax
This command set the committed bandwith for each COS queue bandwith is specified in Kbps
(Kilo Bits per second), and is configures in sequence. Zero value means no bandwith specified.
Those bandwith values are assigned in sequence from queue number 0 to queue number 7.
Command Mode
Configuration mode.
Queuing profile context.
Default
No default
Examples
DSCP value 0-7 8-15 16-23 24-31 32-39 40-47 48-55 56-63
CoS value 0 1 2 3 4 5 6 7
In order to show the actual mapping of DSCP to COS uses the following command “SHOW
QOS” the output of these command is:
AsgOS#show qos
Global configuration:
Switch is in untrust mode
Map DSCP 0 1 2 3 4 5 6 7 to CoS 0
Map DSCP 8 9 10 11 12 13 14 15 to CoS 1
Map DSCP 16 17 18 19 20 21 22 23 to CoS 2
105
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Map DSCP 24 25 26 27 28 29 30 31 to CoS 3
Map DSCP 32 33 34 35 36 37 38 39 to CoS 4
Map DSCP 40 41 42 43 44 45 46 47 to CoS 5
Map DSCP 48 49 50 51 52 53 54 55 to CoS 6
Map DSCP 56 57 58 59 60 61 62 63 to CoS 7
Command Syntax
qos map dscp-to-cos <0-63> <0-63> <0-63> <0-63> <0-63> <0-63> <0-63> <0-63>
to <0-7>
Command Mode
Configuration mode
Command Syntax
qos map dscp-to-dscp <0-63> <0-63> <0-63> <0-63> <0-63> <0-63> <0-63> <0-
63>
to <0-63>
Command Mode
Configuration mode
Default
No defaults
Examples
106
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.5.5 CoS to egress queue map
Command Syntax
qos map to-queue <0-7> cos <0-7> <0-7> <0-7> <0-7> <0-7> <0-7> <0-7> <0-7>
Command Mode
Configuration mode.
Global context.
Default
Examples
The command shows the different queuing profiles available on the system (Available on
AsGos 1.3.2).
AsgOS#show queue-profile
QoS Queue Profile queue1
Scheduler round-robin
Minimum Maximum
Queue Bandwidth Bandwidth
0 10000 100000
1 - -
2 - -
3 - -
4 - -
5 - -
6 - -
7 20000 100000
107
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
QoS Queue Profile queue2
Scheduler weight-round-robin
Weight
Queue Packets
0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 15
This command shows all queuing status for one interface or all interfaces if no interface name
is used. This command only makes sense for physical interfaces.
The command shows information about the mechanisms for memory administration for port.
Each port have eight queues for a better traffic distribution.
Each interface have two mechanism associated with it, at the ingress to control the ingress
traffic with the main objective of prevent congestion on output ports and other at the output witch deal
with possible queue congestion. The input mechanism the control is materialized using control frames
and only under severe congestion situation discarding of frames is applied. At the output, discarding
of frames is the only method for congestion control.
Several counters have been implemented to show the Queuing status. For example:
Interface...................................... xe4
108
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Queue 3 port shared memory utilization......................0.0%
Queue 3 discard reset at...............................................50.0%
Queue 4 maximum available memory utilization........0.0%
Queue 4 static memory utilization.............. …………0.0%
Queue 4 port shared memory utilization......... ………0.0%
Queue 4 discard reset at....................... ……………...50.0%
Queue 5 maximum available memory utilization........0.0%
Queue 5 static memory utilization...............................0.0%
Queue 5 port shared memory utilization......................0.0%
Queue 5 discard reset at..............................................50.0%
Queue 6 maximum available memory utilization……0.0%
Queue 6 static memory utilization...............................0.0%
Queue 6 port shared memory utilization.....................0.0%
Queue 6 discard reset at..............................................50.0%
Queue 7 maximum available memory utilization.......0.0%
Queue 7 static memory utilization...............................0.0%
Queue 7 port shared memory utilization.....................0.0%
Queue 7 discard reset at..............................................50.0%
Pause threshold utilization: this number give an idea about the pause frame threshold status at the input
process on an interface. So when this number reach the 100% the interface star to sending pause frames, and
stop to send it when this number reach the value defines on “Pause reset at”. Keep in mind that this number
represents a “real time” value so at high traffic load it can´t show the “most recent” circumstance.
Discard threshold utilization: This number define the maximum limit before a discarding process start at the
ingress process on a interface. The number result of a real time division between the actual number of packet
on memory and the maximum value accepted before a discarding process start. When this number reach 100%
a discarding process starts.
Pause reset at: This value is a fixed one that defines the value at which the interface stop sending pause
frames and/or stop to discard frames at the ingress process on a interface. By default this value is 50%.
Queue X maximum available memory utilization: this command shows the ratio between the actual total
memory utilization (Static plus dynamic for a particular Queue) and the maximum memory utilization for a
particular queue. This value is used internally by the switch to determinate the future of new packets arriving to
this queue.
When this utilization goes to a lower value than the “discard reset” (fixed by default) parameter the queue free
its discarding state.
Queue X static memory utilization: This command shows the ratio between the actual static memory
utilization and the maximum static memory available for a particular queue.
Queue X port shared memory utilization: This command show the ratio between the actual shared memory
utilization for a particular queue and the maximum shared memory utilization available for that queue.
Queue X discard reset at: this value define a value below a particular queue stop to discard packets, by
defas value is set at 50%.
109
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.6 Multicast
By default, layer 2 devices such as LightBolt switches treat IP multicast traffic in the same
manner as broadcast traffic – namely by forwarding frames received on one interface to all other
interfaces. This may create excessive traffic on the network and degrade the performance of hosts
attached to the switches. Every frame received by each host generates an interrupt that the host must
process, robbing cycles that might instead be used by applications.
Layer 3 devices have less of a problem with rampant broadcast and multicast traffic because of
their ability to segment networks and forward traffic only to actual destination interfaces.
Consider the example of a heterogeneous Layer 2 and Layer 3 network that does not use
IGMP snooping. The figure 3.15 below shows a simple network in which eight hosts connect to four
Layer 2 switches. The switches in turn connect to one router in the middle.
IGMP snooping is the ability for switches to learn witch ports there are hosts interested in
receive multicast traffic for a specific multicast group. Multicast groups are identified by the old Class
D IPs. Important fact: IGMP snooping can be considered as a L2 process that analysis a L3
parameter of traffic.
The learning process is done by listening to the IGMP traffic. By listening to the IGMP Report
and Leave, the switch can learn ports which are hosts that want to join or leave a multicast group. By
listening to the IGMP Query, the switch can also learn ports connect to Mrouters (multicast routers).
The first time that the switch receives an IGMP report for a specific group, it creates an internal
record for this group and add the receive port to it. All others reports received from other ports and all
the Mrouter ports are also added to this group. These processes only occur inside the Vlan domain.
When the switch receives an IGMP leave, it sends a specific IGMP query to that port to verify if
there is another host interested on the group. If not, the switch removes the port from the group and, if
110
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
it is the last port, the group is deleted internally. Every single port of internal information group has an
aging time; if no IGMP report of this group is received until the port aging time, the port is removed
from the group record.
The IGMP queries received are flooded to all Vlan ports. The IGMP reports are forwarded just
to Mrouter ports, and only the IGMP leave generated from the last group host is forwarded to Mrouter
ports.
The switch can act like a fake Mrouter, generating IGMP queries inside the Vlan domain. This
ability is called IGMP queried and it’s very useful to keep the generation of IGMP reports in hosts.
The following figure shows the effect of running IGMP snooping on a network:
Applications that use IP multicast, such as those involving streaming media, automatically
handle IP multicast group membership. Users do not have to manually send IGMP messages.
IGMPv1: IETF Request for Comments 1112 (RFC 1112) defines the original version of IGMP. RFC
1112 defines the join message that hosts use to join an IP multicast group. However, IGMPv1 does
not define a method for hosts to leave a multicast group. With IGMPv1, routers must use a timer to
determine which hosts are still members of the group.
IGMPv2: RFC 2236 defines “group leave” messages that enable IP multicast-aware devices to keep
current information on group membership.
IGMPv3: RFC 3376 represents a major revision of IGMP. Instead of the one-transmitter/many-
receiver model of IGMP versions 1 and 2, hosts using IGMPv3 specify lists of transmitters to listen to.
This version is not supported actually by LightBolt switches.
111
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.6.2 IGMP Snooping show commands.
Show learned groups information, such as VLAN, switch port and aging time. If no parameter
is given, than all entries are displayed. The entries can be filtered by switch interface or group
address. If the detail parameter is given, than the information is displayed in a more complete way.
Command Syntax
A.B.C.D Address of the multicast group. This is a multicast IP address in fou part, dotted-
decimal notation.
detail Provides a detailed description of the sources known through IGMP Version
IGMPv3 source information.
<cr> All
Command Mode
Configure mode
Command Syntax
Command Mode
Configure mode
It shows the IGMP configuration of a SVI. If no parameter is given, than it is displayed the
configuration of all SVIs. If a Vlan interface is specified, than only the configuration of this SVI is
displayed.
Command Syntax
112
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Mode
Configure mode
Start the IGMP snooping process globally in the switch. By default, IGMP snooping is globally
enabled. Use the No format of this command in order to disable igmp snooping functionality.
Command Syntax
ip igmp snooping
no ip igmp snooping
Default
Command Mode
Configure mode
Global context
Example
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# no ip igmp snooping Disable igmp snooping process.
AsGa(config)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Configure the number of group-specific IGMP query sent when a host send a IGMP leave.
Default value is 2. Use the no form of this command to return to the default value.
Command Syntax
Or
no ip igmp last-member-query-count
Command Mode
Configure mode
Interface context or
SVI context
113
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Examples
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface ge2 Enter into interface configuration context
AsGa(config-if)# ip igmp last-member- Configure the query count to 3
query-count 3
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface vlan1.200 Enter into SVI configuration context.
AsGa(config-if)# ip igmp last-member- Configure the query count to 3
query-count 3
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Configure the time between group-specif IGMP query sent when a host send a IGMP leave, in
miliseconds. Default value is 1000ms. Use the No form of this command to set the default value.
Command Syntax
Or
Command Mode
Configure mode
Interface context or
SVI context
Examples
COMMAND DESCRIPTION
114
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface vlan1.200 Enter into SVI configuration context.
AsGa(config-if)# ip igmp last-member-
query-interval 1500 Configure the interval to 1500 ms
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Configure the time to wait for a IGMP query from the network querier router until call for a
querier router reelection, in seconds. Default value is 255s.
Command Syntax
Or
no ip igmp querier-timeout Return the time to wait for a IGMP query from the network
querier route until call for a querier router reelection to default value of 255s.
Default
Command Mode
Configure mode
Interface context or
SVI context
Examples
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface ge2 Enter into interface configuration context
AsGa(config-if)# ip igmp querier-
timeout 200 Configure the igmp querry time outo to 200 seg
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
COMMAND DESCRIPTION
115
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
timeout 200
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Configure the interval between IGMP general queries sent by the switch, in seconds. These
queries are sent when the switch is configured as a querier. The IGMP query interval timer is only
updated after the timeout if the previously configuration. Default value is 125s. Use the No from of this
command to return the default value.
Command Syntax
ip igmp query-interval <interval>
Or
no ip igmp query-interval Return the interval between IGMP general queries sent by the
switch to the default value
Default
Command Mode
Configure mode
Interface context or
SVI context
Examples
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface ge2 Enter into interface configuration context
AsGa(config-if)# ip igmp query-
interval 50 Configure the igmp querry interval to 50 seconds
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
COMMAND DESCRIPTION
116
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
3.25.6.3.6 Query maximum response time
Configure the max-response-time parameter of IGMP query packet sent by the switch, in 1/10
of seconds. Default value is 10s. Use the no forma of this command to set its default value
Command Syntax
Or
Default
Command Mode
Configure mode
Interface context or
SVI context
Examples
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface ge2 Enter into interface configuration context
AsGa(config-if)# ip igmp query-max- Configure the igmp query max response time to 15
response-time 15 seg
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface vlan1.200 Enter into SVI configuration context.
AsGa(config-if)# ip igmp query-max- Configure the igmp query max response time to 15
response-time 15 seg
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Configure the maximum IGMP version that the switch will operate on. Default value is IGMP
version 2. Use the no forma of this command to return to its default value.
117
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Command Syntax
no ip igmp version Return the maximum IGMP version that the switch will operate on to the
default value of IGMP version 2.
Default
Command Mode
Configure mode
Interface context
Examples
COMMAND DESCRIPTION
Start the IGMP snooping process locally in this SVI. By default, IGMP snooping is globally
enabled. Use the no format of this command to return to its default values.
Command Syntax
Or
no ip igmp snooping Stop the IGMP snooping process locally in this SVI.
Command Mode
Configuration mode
Interface SVI Context
Examples
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface vlan1.200 Enter into SVI configuration context.
AsGa(config-if)# ip igmp snooping Enable igmp snooping on a SVI.
118
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Enable fast-leave for this SVI. Fast-leave is a process that automatically remove an interface
from a group when a IGMP leave is received, without send any group-specific IGMP query. By default
the SVI operates in a normal leave way, sending group-specific IGMP queries. Use the no forma of
this command to return to its default value.
Command Syntax
or
no ip igmp snooping fast-leave Disable fast-leave for this SVI. This is the default
configuration.
Command Mode
Configuration mode
Interface SVI context
Examples
COMMAND DESCRIPTION
To enter in configuration mode ingress the enable
AsGa> enable
command and press enter.
AsGa# configure terminal Enter in configuration mode.
AsGa(config)# interface vlan1.200 Enter into SVI configuration context.
AsGa(config-if)# ip igmp snooping
fast-leave Enable igmp snooping fast leave on a SVI.
AsGa(config-if)# end Exit from configuration mode.
AsGa# wr Save the current configuration
Add a static Mrouter switch port to a SVI. This command must be used carefully, because, if
you add a port with no querier element and you don't have another Mrouter port with a querier
element, all group entries will eventually age and will be removed. Use the no form of this command
to remove a static entry.
Command Syntax
Command Mode
Configuration mode
119
AsGa LightB
LightBolt 10G Switch
User Guide Configuration
Interface SVI context
Examples
Start the IGMP snooping querier process. IGMP snooping querier is the ability of the switch to
act like a Mrouter sending general IGMP queries in a L2 domain. This is very useful when you have
all multicast host in the same L2 domain and you want to have a querier element on this domain to
avoid groups entries to age. By default this process is disabled. Use the no forma of this command to
remove the snooping querier.
Command Syntax
Or
Command Mode
Configuration mode
Global contex
Examples
120
AsGa LightB
LightBolt 10G Switch
User Guide Commands
4 COMMANDS IN ALPHABETIC ORDER
A
4.1 Access-list
An ACL is a sequential collection of permit and deny conditions. The switch tests packets
against the conditions in an access list one by one. The first match determines whether the switch
accepts or rejects the packet. Because the switch stops testing conditions after the first match, the
order of the conditions is critical. If no conditions match, the switch denies the packet.
In LightBolt switches all ACL processing is absolutely accomplished in hardware with no impact in
CPU processing time.
Step 1: Create an ACL by specifying an access list number or name and access conditions.
Step 2: Apply the ACL wethever you need it.
The software supports these styles of ACLs or access lists for IP:
The table lists the access-list number and corresponding access list type:
121
AsGa LightB
LightBolt 10G Switch
User Guide Commands
results determine which address bits are to be considered in processing the traffic. A 0 indicates that
the address bits must be considered (exact match); a 1 in the mask is a "don't care".
IP Address 172 16 32 0
Binary format 10101100 00010000 00100000 00000000
Network Mask 11111111 11111111 11100000 00000000
Command Syntax
122
AsGa LightB
LightBolt 10G Switch
User Guide Commands
<0-255> An IP protocol number
ahp Authentication Header Protocol
eigrp Cisco EIGRP routing protocol
esp Encapsulation Security Payload
gre Cisco GRE tunneling
icmp Internet Control Message Protocol
igmp Internet Gateway Message Protocol
igrp Cisco's IGRP routing protocol
ip Any Internet Protocol
ipinip IP in IP tunneling
ospf OSPF routing protocol
pcp Payload Compression Protocol
pim Protocol Independent Multicast
tcp Transmission Control Protocol
udp User Datagram Protocol
A.B.C.D Source address
A.B.C.D Source wildcard bits
any Any source host
host A single source host
A.B.C.D Source address
A.B.C.D Destination address
A.B.C.D Destination wildcard bits
any Any destination host
host A single destination host
A.B.C.D Destination address
123
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Mode
Config mode
Default
Related Commands
Mac access-group
Ip access-group
Class maps
If the specified ACL does not exist, the switch forwards all packets.
Command Syntax
Command Mode
Interface configuration
Related Commands
Mac access-list
124
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Syntax
access-list-number: The number of the IP access control list (ACL), from 1 to 199 or from 1300
to 2699
name: The name of an IP ACL, specified in the ip access-list global configuration command
in: Specify filtering on inbound packets
out:Specify filtering on outbound packets
Command Mode
Interface configuration
Related Commands
Access-list
Mac-access-group
B
4.3 Boot
Use this command to change your booting parameters:
Command Syntax
Command Mode
Exec mode
Default
By default the system boot using a default.txt configuration file and its default system image file.
Examples
AsgOS(config)#boot
AsgOS(config)#boot system LightBolt-28322-E1-L2-System-1.0.0-RC3.bin
AsgOS(config)# show boot
Config File:
Startup: AsGa-conf-2
Running: AsGa-conf-2
Last Modified: Mon Apr 7 12:56:13 2036
AsGOS Image:
125
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Startup: LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
Running: LightBolt-28322-E1-L2-AsGOS-1.0.0-RC4.bin
Last Modified: Thu Apr 3 08:34:12 2036
System Image:
Startup: LightBolt-28322-E1-L2-System-1.0.0-RC3.bin
Running: LightBolt-28322-E1-L2-System-1.0.0-RC2.bin
Last Modified: Tue Apr 1 08:45:23 2036
Sanity Image:
Startup: LightBolt-28322-E1-L2-Sanity-1.0.0-RC1.bin
Last Modified: Tue Apr 1 08:45:23 2036
AsgOS(config)#
Related Commands
show boot
C
4.4 Clear counters
Use this privileged command to clear all system counters.
Command Syntax
Command Mode
Eexec
Default
Examples
Or
Related Commands
No related commands.
126
AsGa LightB
LightBolt 10G Switch
User Guide Commands
4.5 Clear mac-address-table
Command Syntax
Command Mode
Exec mode
Related Commands
Show mac-address
Command Syntax
match-all: (Optional) Perform a logical-AND of all matching statements under this class map. All
criteria in the class map must be matched.
match-any: (Optional) Perform a logical-OR of the matching statements under this class map. One
or more criteria must be matched.
match-all-flows: (Optional) used to define a full matching for all flows no other statements are
defined when this type of matching is used.
class-map-name: Name of the class map.
Command Mode
Default
127
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Usage
Use this command to specify the name of the class for which you want to create or modify class-map
match criteria and to enter class-map configuration mode.
The class-map command and its subcommands are used to define packet classification, as part of a
globally named service policy applied on a per-interface basis.
description: describes the class map. The show class-map privileged EXEC command displays
the description and the name of the class-map.
Use the match class-map configuration command to define the match criteria to classify traffic. Use
the <no> statement of this command to remove the match criteria.
D
4.7 Dir
Use the <dir> command to display a list of files on your system.
Command Syntax
Dir
Command Mode
Exec mode
128
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Default
No default
Examples
AsGOS#dir
-rw-r--r-- 1 1000 users 7.5M Jul 10 2007 asgos-ver1.0.bin
-rw-r----- 1 root root 3.1k Jul 10 2007 AsGOS.conf
-rw-r--r-- 1 root root 2.4k Jun 29 19:05 sanity.log
-rw-r--r-- 1 root root 2.4k Jun 19 11:51 production.log
-rw-r----- 1 root root 2.3k Jun 15 19:18 default.conf
Flash disk space:
Used Available Use%
7.7M 24.3M 24%
Related Commands
4.8 Duplex
Use the duplex interface configuration command to specify the duplex mode of operation for
Gigabit Ethernet ports. Use the <no> statement of this command to return the port to its default value.
Command Syntax
Command Mode
Interface
Default
Examples
Related Commands
129
AsGa LightB
LightBolt 10G Switch
User Guide Commands
E
4.9 Erase
Use this command to erase the configuration file and restore it to its defaults values.
Command Syntax
erase
Command Mode
Configure mode
Default
Examples
LightBolt(config)# erase
LightBolt(config)#
4.10 Exit
Use the exit VLAN configuration command to implement the proposed new virtual LAN (VLAN)
into the local database.
Command Syntax
Command Mode
Vlan database
Default
Examples
AsGOS(config-vlan)# exit
AsGOS#
Related Commands
Vlan database
130
AsGa LightB
LightBolt 10G Switch
User Guide Commands
F
4.11 Flowcontrol
Use the flowcontrol interface configuration command to set the receive or send flow-control
value for an interface. When flow control send is on for a device and it detects any congestion at its
end, it notifies the link partner or the remote device of the congestion by transmitting a pause frame.
When flow control receive is on for the remote device and it receives a pause frame, it stops
transmitting any data packets. This prevents any loss of data packets during the congestion period.
Use the <receive off> and <send off > keywords to disable flow control.
Command Syntax
Command Mode
Interface
Usage
Flowcontrol send on
Flowcontrol receive on
Examples
LightBolt# configure t
LightBolt(configure) interface ge1
LightBolt(interface) flowcontrol send on
LightBolt(interface) flowcontrol receive on
Related Commands
No flowcontrol
I
4.12 Interface
Use the interface global configuration command to enter in the configuration mode for a
physical interface or to create or access switch virtual interface (SVI) and automatically enter interface
configuration mode. Use the no interface vlan form of this command to delete an SVI.
SVIs are created the first time you enter the interface vlan vlan command for a particular vlan.
The vlan corresponds to the VLAN-tag associated with data frames 802.1q encapsulated trunk or the
VLAN ID configured for an access port.
131
AsGa LightB
LightBolt 10G Switch
User Guide Commands
interface {interface-id | vlan vlan-id}
no interface {interface-id | vlan vlan-id}
Command Mode
Configure mode
Default
No default value.
Examples
Related Commands
show interface
shutdown
4.13 Ip address
Use the ip address interface configuration command to set an IP address for the Layer 2 switch
or an IP address for each switch virtual interface (SVI) or routed port on the Layer 3 switch. Use the
<no> statement of this command to remove an IP address or to disable IP processing.
Command Syntax
Command Mode
Interface
Default
Examples
132
AsGa LightB
LightBolt 10G Switch
User Guide Commands
4.14 Ip-access-group
Use the ip access-group interface configuration command to control access to a Layer 2
interface. Use the <no> statement of this command to remove all access groups or the specified
access group from the interface.
Command Syntax
Command Mode
Interface configuration
Default
Examples
Related Commands
access list
M
4.15 Mac-address-table aging-time
Use the mac address-table aging-time global configuration command to set the length of time
that a dynamic entry remains in the MAC address table after the entry is used or updated. Use the
<no> statement of this command to return to the default setting. The aging time applies to all VLANs.
The default value for this time is 300 seconds.
Command Syntax
Command Mode
Config mode
Usage
mac-address-table aging-time 10
133
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Examples
LightBolt# configure t
LightBolt(configure)# mac-address-table aging-time 10
Related Commands
no mac-address-table aging-time
show mac-address-table aging-time
Command Syntax
mac-address-table freeze
mac-address-table MAC forwarding table
freeze Freeze changes in mac-address table
Command Mode
Exec mode
Usage
mac-address-table freeze
Examples
LightBolt# configure t
LightBolt (configure)# mac-address-table freeze
Related Commands
no mac-address-table freeze
Command Syntax
Command Mode
Exec mode
134
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Usage
Examples
LightBolt#configure t
LightBolt(configure)# mac-address-ta
S
4.18 Switchport
Use this command to put a port as switched port. By default all ports in LightBolt switches are
switched ports. You can negate this using <no switchport> command and put the interface in routed
mode operation.
Command Syntax
Switchport
Command Mode
Default
No switchport.
At Startup all port are switched port and all port are access port attached to VLAN 1. All ports are also
attached to Bridge Group 1 running classic Spanning Tree Protocol (802.1D).
Examples
Command Syntax
Access: Set the port to access mode. The port is set to access unconditionally and operates as a
nontrunking, single VLAN interface that transmits and receives non-tagged frames. An access port
can be assigned to only one VLAN.
135
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Trunk: Set the port to trunk unconditionally. The port is a trunking VLAN Layer-2 interface. The port
transmits and receives encapsulated (tagged) frames that identify the VLAN of origination. A trunk is a
point-to-point link between two switches or between a switch and a router. AsGa LightBolt switches
use 802.1Q tag encapsulation method.
Hibrid: This mode set the trunk in an hybrid mode which means that the port acting as a trunk has a
default VLAN for all those packet witch arrive at the port untagged. Under this mode the user must
specify the untagged VLAN for all those arriving non tagged packets. Outgoing packet for the
specified VLAN ID will go out from this trunk in an untagged form.
And then the user must specify the non tagged nature of this VLAN for this port using the following
command:
AsGos (interface ge16) switchport hybrid allowed vlan add <VLAN ID> egress-
tagged disable
VLAN ID =1-4095
Command Mode
Default
No default.
Examples
Related Commands
Switchport
136
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Syntax
vlan ID: Per port VLAN ID configured for this port. Range 2:4093.
Vlan-staking: use this command to enable vlan staking on a particular port (Q in Q method). All
frames will be tagged on top of the existing tag (Customer Tag) with the VLAN ID configured under
this port. Port must be an access port in order to enable vlan staking on it.
Command Mode
Default
No default.
Examples
Related Commands
vlandatabase
VLAN
Switchport mode
Command Syntax
Command Mode
Default
Examples
137
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Related Commands
vlandatabase
VLAN
Switchport mode
Command Syntax
Command Mode
Interface mode
Default
Examples
interface ge12
switchport
bridge-group 1
switchport mode trunk
switchport mode trunk ingress-filter enable
switchport trunk allowed vlan add 300
bridge-group 1 instance 1
bridge-group 1 instance 2
!
4.23 Speed
Use the speed interface configuration command to specify the speed of a port. Use the <no> or
default form of this command to return the port to its default value. 10 GigE interfaces has no option
for this command. Those interfaces works only at 10Gig Ethernet standard.
Command Syntax
no speed
Command Mode
Interface
138
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Default
Examples
Related Commands
Interface
Command Syntax
Command Mode
Default
Examples
139
AsGa LightB
LightBolt 10G Switch
User Guide Commands
ge24 ETH down - yes 1522 SW -
lo LB up - yes 1500 RT 00.00.00.00.00.00
vlan1.1 VLAN - - yes 1522 - 00.f6.04.aa.00.02
vlan1.20 VLAN - - yes 1522 - 00.f6.04.aa.00.02
vlan1.100 VLAN - - yes 1522 - 00.f6.04.aa.00.02
xe1 ETH down 10G FD no 1522 RT 00.f6.04.aa.00.1b
xe2 ETH down 10G FD no 1522 RT 00.f6.04.aa.00.1c
Command Syntax
Command Mode
EXEC
Default
Examples
AsGOS#show interfaces
-----------------------------------------------------
Interface name.................................: ge1
Total Packets Received (Octets)................: 0
Total Packets Received Without Errors..........: 0
Total Packets Received Discarded...............: 0
Total Packets Transmitted (Octets).............: 5312
Total Packets Transmitted Successfully.........: 83
Total Packets Transmitted Errors...............: 0
-----------------------------------------------------
Interface name.................................: ge2
Total Packets Received (Octets)................: 0
Total Packets Received Without Errors..........: 0
Total Packets Received Discarded...............: 0
Total Packets Transmitted (Octets).............: 5312
Total Packets Transmitted Successfully.........: 83
Total Packets Transmitted Errors...............: 0
-----------------------------------------------------
Interface name.................................: ge3
Total Packets Received (Octets)................: 0
Total Packets Received Without Errors..........: 0
Total Packets Received Discarded...............: 0
140
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Total Packets Transmitted (Octets).............: 5312
Total Packets Transmitted Successfully.........: 83
Total Packets Transmitted Errors...............: 0
4.26 Shutdown
Use the shutdown interface configuration command to disable an interface. Use the <no>
statement of this command to restart a disabled port or switch virtual interface (SVI).
The <shutdown> command for a port causes it to stop forwarding. You can enable the port
with the <no shutdown> command. The <shutdown> command disables all functions on the specified
interface.
141
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Syntax
shutdown
no shutdown
Command Mode
Interface
Default
Examples
Related Commands
Interface
Interface vlan1<VLAN ID>
Command Syntax
Command Mode
EXEC
Default
Examples
142
AsGa LightB
LightBolt 10G Switch
User Guide Commands
4.28 Show outbound access-priority-table
Use this command to display data about the access-priority table. To modify the lines
displayed, use the | (output modifier token); to save the output to a file, use the > output redirection
token. For more information, see the AsGOS Command Line Interface Environment chapter.
Command Syntax
Command Mode
Usage
Command Syntax
Command Mode
Usage
In sequence, it is presented a display of this command showing the traffic class table for interface
eth1.
AsGOS# show traffic-class-table interface eth1
User Prio / Num Traffic Classes
1 2 3 4 5 6 7 8
0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0
143
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Examples
Command Syntax
Command Mode
Usage
The following is output display of this command showing set user priority for interface eth4.
Examples
Command Syntax
broadcast: type this key to limit the maximum broadcast traffic to be admitted by a specific port.
dlf: is the maximum throughput of dlf (destination lookup failure) to be forwarded/admitted by a
specific port. A dlf occur each time that a no MAC address match is accomplished.
multicast: use this key to limit the maximum multicast traffic to be admitted by a specific port.
level: specify the maximum level of the specific traffic admitted by a specific port. This level is
intended to be a % of the maximum speed of the port.
Command Mode
Interface mode
Usage
Examples
AsGOS(config-if)#storm-control broadcast 30
144
AsGa LightB
LightBolt 10G Switch
User Guide Commands
AsGOS(config-if)#storm-control dlf 50
AsGOS(config-if)#storm-control multicast 10
Command Syntax
Command Mode
Config mode
Usage
Examples
145
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Syntax
Command Mode
Exec mode
Usage
Examples
Command Syntax
Command Mode
Exec mode
Usage
146
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Examples
Command Syntax
<string> Community string that consists of 1 to 32 alphanumeric characters much like a password,
permitting access to SNMP. Blank spaces are not permitted in the community string.
ro: (Optional) Specifies read-only access. Authorized management stations can retrieve only MIB
objects.
rw: (Optional) Specifies read-write access. Authorized management stations can both retrieve and
modify MIB objects.
remote: Specify the remote SNMP management system. When specify the system check for snmp
messages coming from the server.
view: specify the particular view associated to the community string.
Command Mode
Exec mode
Usage
Examples
Command Syntax
147
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Mode
Config
Usage
Examples
LightBolt# configure t
LightBolt(configure)# snmp-server name name TEST
Command Syntax
Command Mode
Exec mode
Usage
Examples
Command Syntax
Command Mode
Exec mode
Usage
Examples
148
AsGa LightB
LightBolt 10G Switch
User Guide Commands
4.39 Snmp-server view
This command can be used to create different views of different OIDs trees. Using this
command a snmp server can gain access just to those OIDs assigned to it. The rest of OIDs will not
be displayed. Use the no form of this command to negate it.
Command Syntax
Command Mode
Exec mode
Usage
Examples
Related Commands
Command Syntax
Command Mode
Exec mode
Usage
149
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Examples
Related Commands
Command Syntax
snmp-server users create username auth ( md5 | sha ) auth-password ( priv priv-
password | )
Command Mode
Exec
Examples
LightBOLT(config)#
Related Commands
Command Syntax
Command Mode
Exec
150
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Examples
Related Commands
snmp-server view
no snmp-server view viewname
Command Syntax
Show all-files
Command Mode
Exec mode
Usage
Examples
Command Syntax
show log-files
Command Mode
Exec mode
Usage
151
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Examples
Command Syntax
show config-files
Command Mode
Exec mode
Usage
Examples
Command Syntax
Command Mode
Enable mode
Usage
152
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Show max-address-table vlan 40
Show mac-address-table interface ge24
Examples
LightBolt#show mac-address-table
4.47 Storm-control
Use this command to select the appropriate storm control level for broadcast multicast packets or for
a Destination Lookup Failure DLF . Use the <no> statement of this command to negate its actions.
Command Syntax
Command Mode
Interface
Usage
Examples
LightBolt# configure t
LightBolt(Configure)# interface ge1
LightBolt(interface)# storm-control broadcast 5
153
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Related Commands
V
4.48 VLAN Database
Use the vlan database privileged EXEC command to enter virtual LAN (VLAN) configuration
mode. From this mode, you can add, delete, and modify VLAN configurations.
Command Syntax
Command Mode
Configure mode
Default
No Default
Examples
Related Commands
VLAN
4.49 VLAN
Use the VLAN configuration command to configure virtual LAN (VLAN) characteristics for a
specific VLAN. Use the <no> statement of this command without additional parameters to delete a
VLAN. All VLANs created under this command are Ethernet 802.1Q VLAN’s.
Command Syntax
Command Mode
154
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Default
The default VLAN ID is 1. By Default at power on the system start with all ports as access port with
per port VLAN equal to 1 and attached to Bridge Group 1. The Bridge Group 1 run classic STP
(802.1D).
Examples
Related Commands
Use the <no vlan> classifier in an interface context in order to eliminate this classification group from
an interface context.
Use the <no vlan classifier group> <group number> in order to eliminate a complete group.
Use the vlan classifier group <group number> delete rule <rule number> to delete a particular rule
inside a group.
Up to 255 rules can be configured on a single group.
Up to 16 groups can be configured.
Command Syntax
155
AsGa LightB
LightBolt 10G Switch
User Guide Commands
pppsession protocol - PPPoE session
rarp protocol - Reverse Address Resolution
x25 protocol - CCITT X.25
xeroxaddrtrans protocol - Xerox PUP Address Translation
xeroxpup protocol - Xerox PUP
Command Mode
Config mode
Interface mode
Default
No default
Examples
!
bridge 1 protocol mstp
bridge 1 acquire
vlan classifier rule 1 mac 0000.c004.0102 vlan 300
vlan classifier rule 2 ipv4 40.40.40.40/24 vlan 300
vlan classifier rule 3 proto 8192 encap ethv2 vlan 300
vlan classifier group 1 add rule 1
vlan classifier group 1 add rule 2
vlan classifier group 1 add rule 3
!
vlan database
vlan 300 bridge 1 name TEST3
vlan 300 bridge 1 state enable
!
interface ge4
switchport
bridge-group 1
switchport mode access
vlan classifier activate 1
bridge-group 1 instance 1
!
Related Commands
Vlan Database
Interface
W
4.51 Write
Use this command to transfer into or from permanent memory all system files. File types can
be: configuration files log files or image files.
Command Syntax
156
AsGa LightB
LightBolt 10G Switch
User Guide Commands
Command Mode
Configure mode
Default
Examples
157
AsGa LightB
LightBolt
olt 10G Switch
User Guide Warranty
WARRANTY
13/07/2010 – ED.01.7
AsGa LightB
LightBolt
olt 10G Switch
User Guide Warranty
22/06/2009 – ED.01.5.γ