ES2 DATA SHEET

Click here for the ES2 data sheet

ES2 SWITCH CONFIGURATIONS & UTILITIES

Unless otherwise documented,

Default Configuration as shipped:

  1. ES2 Port-1 is the only port which will be enabled. This allows GbE access for additional customer configuration or initialization after delivery. The RS-232 serial port is also available for console command configuration or initialization.

  2. Switch IP Address: 12.0.0.1 / Subnet Mask: 255.0.0.0

The ES2 system supports different methods of accessing the switch, namely:

  • CLI (Command Line Interface using the serial port on the ES2)
  • Telnet, SSH (similar to CLI, but physical connection is an in-band Ethernet port)
  • HTTP (HyperText Transfer Protocol)
  • SNMP (Simple Network Management Protocol, which is an industry standard method of managing Ethernet networks)

Throughout this chapter, the management tool used is referenced as a standard Microsoft Windows-based “PC” running application software (e.g. terminal emulation or internet browser software).

Configuring the Management PC’s Ethernet Port

To allow each of the above-mentioned Ethernet configuration utilities to access the ES2, the PC’s Ethernet port must be configured properly. For example, if the ES2 default IP address was set to 12.0.0.1 with a subnet mask of 255.0.0.0, the management PC must be configured to operate within the same IP subnet.

Continuing with this example, the PC must now be configured to operate within this same IP subnet.

Set the IP address of the Network Interface Card on the PC to be within the same subnet. For example, set the PC’s IP address to be 12.0.0.20.

The various configuration utilities supported by ES2 allow the user to configure, manage, and monitor the ES2 switch. Overviews of the CLI, Telnet, SSH, HTTP, and SNMP methods of connecting to the Management Port are provided in this section of the manual.

Command Line Interface (CLI) Overview

Telnet/SSH Overview

Once the PC is configured to operate on the Management network, it is now possible to connect through the Ethernet port of the ES2 switch. To open a Telnet or SSH session, you can use applications such as Tera Term or simply a DOS Command window. Once the connection is established through this window, the Telnet or SSH session provides access to the CLI interface.

Note

The default ES2 login is root with password admin123.

SNMP Overview

The Simple Network Management Protocol (SNMP) has proven to be a useful protocol for network management. Network administrators are well served by learning about SNMP and using this protocol to monitor and manage their networks. Although the SNMP standard is somewhat complex, entailing specific knowledge of MIB objects as well as requiring a large amount of configuration related to both SNMP agents and management software, the use of SNMP has been proven to be a cost-effective method of achieving a managed system.

There are many different software packages that can browse and manage MIB objects through the SNMP interface, and it is outside the scope of this manual to review them all.

Saving Configurations on Flash

Once the ES2 has been configured, it is possible to save the final configuration, and upon each subsequent reboot or power cycle the ES2 will initialize to this configuration.

These configuration settings may be saved though the Management Port interface and may be saved as many times as you choose.

Saving Configurations with CLI

Using the CLI interface, whether it is via the serial port or Telnet, the user must be logged on as administrator. As shown in “Telnet/SSH Overview”, log in as username root and password admin123.

Assuming that the ES2 is completely configured and you would now like to save this configuration, from the command line type the following:

ES2# write startup-config

or

ES2# copy running-config startup-config

This utility saves the configuration onto the on-board Flash. Now every time the ES2 system is restarted, this base configuration will be re-invoked on the ES2.

To reset to factory defaults:

ES2# erase startup-config

Then power cycle the ES2 or reset the ES2 by typing the following:

ES2# reload

Command Line Interface

The CLI (Command Line Interface) is used to configure the ISS from a console attached to the serial port of the switch or from a remote terminal using TELNET or SSH.

The following table lists the generic CLI command modes.

Command Line Interface

Command ModeAccess MethodPromptExit method
User EXECThis is the initial mode to start a session.es2>The logout method is used.
Privileged EXECThe User EXEC mode command enable is used to enter the Privileged EXEC mode.es2#To return from the Privileged EXEC mode to User EXEC mode, the disable command is used.
Global ConfigurationThe Privileged EXEC mode command configure terminal is used to enter the Global Configuration modees2(config)#To exit to the Privileged EXEC mode, the end command is used.
Interface ConfigurationThe Global Configuration mode command interface is used to enter the Interface configuration mode.es2(config-if)#To exit to the Global Configuration mode, the exit command is used and to exit to the Privileged EXEC mode, the end command is used.
Config-VLANThe Global Configuration mode command vlan vlanid is used to enter the Config-VLAN modees2(configvlan)#To exit to the Global Configuration mode, the exit command is used and to exit to the Privileged EXEC mode, the end command is used.

Starting ISS

At the ISS login prompt that is displayed, use the user name root and password admin123 to access the CLI shell.

ISS login: root

Password: ********

es2#

Configuring the Switch

The basic configuration of the switch involves configuring IP address, VLAN, and so on. All commands and parameters can be abbreviated to their shortest unambiguous length. On the command line, the TAB key may be used to display available command options and autocomplete commands. The ‘help’ command displays a list of commands.

The ES2 comes up with a VLAN configured, by default. This VLAN is called the default VLAN (VLAN ID = 1). All ports in the switch are members of the default VLAN. Port 1 (g 0/3) is enabled by default.

The ports are configured and referenced as [space]/

is either “gigabitethernet” or “extreme-ethernet” and can be abbreviated as “g” or “e”.

is 0.

is 3 to 18 for 1 Gb ports and 1 to 4 for 10Gb ports.

External port #Internal nomenclature
1(g)igabitethernet 0/3
2g 0/4
3g 0/5
4g 0/6
5g 0/7
6g 0/8
7g 0/9
8g 0/10
9g 0/11
10g 0/12
11g 0/13
12g 0/14
13g 0/15
14g 0/16
15g 0/17
16g 0/18
10 Gb fiber optic
1(e)xtreme-ethernet 0/1
2e 0/2
3e 0/3
4e 0/4

Examples

The interfaces in the switch except for port 1 are disabled by default. Hence, enable all the interfaces that are to be used. This is done using the no shutdown command.

To enable all 16 gigabit ethernet ports

es2# c t
es2(config)# interface range g 0/3-18
es2(config-if-range)# no shutdown
es2(config-if-range)# exit
es2(config)# exit
es2#

To disable port 2

es2# c t
es2(config)# interf g 0/4
es2(config-if)# shutdown
es2(config-if)# end
es2#

To enable port 2

es2# c t
es2(config)# interf g 0/4
es2(config-if)# no shut
es2(config-if)# end
es2#

To enable all 4 10 Gb fiber ports

es2# c t
es2(config)# interf range e 0/1-4
es2(config-if-range)# no shut
es2(config-if-range)# end
es2#

To disable 10 Gb port 3:

es2# c t
es2(config)# interf e 0/3
es2(config-if-range)# shut
es2(config-if-range)# end
es2#

To enable 10 Gb port 3:

es2# c t
es2(config)# interf e 0/3
es2(config-if-range)# no shut
es2(config-if-range)# end
es2#

The show interfaces command displays the complete information of all available interfaces.

es2# show interfaces

A new VLAN can be configured using the following command. This command configures a new VLAN with VLAN ID 2.

es2# c t
es2(config)# vlan 2

Configure Port1, Port2, and Port3 as member ports. Port 1 is specified as an untagged port and Port 2 and Port 3 are set as tagged ports for VLAN 2.

es2(config-vlan)# ports gig 0/3-5 untagged gig 0/3
es2(config-vlan)# exit

However, any untagged packets (packets sent from a PC/host) on any of the ports will be classified only to VLAN1. To ensure that untagged packets get classified onto a specific VLAN, it is required to change the port VLAN ID.

This is done using the following commands:

es2(config)# interface gig 0/3
es2(config-if)# switchport pvid 2
es2(config-if)# exit
es2(config)# exit

Now untagged packets received on Port 1 will get classified to VLAN2. The ip address command can be used to configure the IP address of a VLAN interface.

es2# configure terminal
es2(config)# interface vlan 2
es2(config-if)# ip address 30.0.0.1 255.0.0.0

The interface status must be up for the IP interface to be reachable from an external host/PC.

es2(config-if)# no shutdown
es2(config-if)# exit
es2#

The show ip interface vlan configuration can be used to check whether the configuration is successful or not.

es2# show ip interface vlan 2

Saving and Restoring Configuration

The configuration made by the user can be saved in the Flash and can be restored when the switch is started.

es2# write startup-config

The configurations saved using write startup config command will not update the configurations in issnvram.txt (that is, it will not change the factory default settings). If the factory default settings need to be changed, administrator should explicitly modify it through default ip address command.

Configuring the Default IP Address

Configuring the Default IP Address is a three-step procedure that will result in the IP address to be written to the NVRAM and configuration and this will be used as the IP address of the default interface when the switch is restarted.

  1. Execute the default ip address command.
  2. Configure the ip address for vlan 1.
  3. Save the configuration.

Detailed Steps:

  1. Execute the following commands to configure the Default IP Address. Enter the Global Configuration mode.
es2# configure terminal

Configure the default IP address and subnet mask as 12.0.0.100 and 255.255.0.0, respectively.

es2(config)# default ip address 12.0.0.100 subnet-mask 255.255.0.0

Exit from the Global Configuration mode.

es2(config)# end
  1. View the default IP address and subnet mask by executing the following command
es2# show nvram
Default IP Address : 12.0.0.1
Default Subnet Mask : 255.0.0.0
Default IP Address Config Mode : Manual
Default IP Address Allocation Protocol : DHCP
Switch Base MAC Address : 00:16:c6:ff:00:01
Default Interface Name : Gi0/3
Default RM Interface Name : NONE
Config Restore Option : Restore
Config Save Option : Startup save
Auto Save : Disable
Incremental Save : Disable
Roll Back : Enable
Config Save IP Address : 0.0.0.0
Config Save Filename : iss.conf
Config Restore Filename : iss.conf
PIM Mode : Sparse Mode
IGS Forwarding Mode : MAC based
Cli Serial Console : Yes
SNMP EngineID : 80.00.08.1c.04.46.53

Proceed to section “Configuring IP address for an Interface” and set the same IP address and subnet mask for VLAN 1 (default VLAN). The switch will have this IP address and subnet mask after the switch restart only if the allocation method is manual.

Setting the Default IP Allocation Mode for the Switch

Setting the default IP allocation mode for the Switch configures the mode by which the default interface acquires its IP address. The default IP allocation mode for a switch can be manual or dynamic. The default value is manual.

  1. Execute the following commands to change the default IP allocation mode of the default VLAN.

Enter the Global Configuration mode.

es2# configure terminal

Configure the default mode to dynamic.

es2(config)# default mode dynamic

Exit from the Global Configuration mode.

es2(config)# end
  1. View the default mode by executing the following command.
es2# show nvram
Default IP Address : 12.0.0.1
Default Subnet Mask : 255.0.0.0
Default IP Address Config Mode : Dynamic
Default IP Address Allocation Protocol : DHCP
Switch Base MAC Address : 00:01:02:03:04:01
Default Interface Name : Gi0/1
Config Restore Option : No restore
Config Save Option : No save
Auto Save : Enable
Incremental Save : Disable
Roll Back : Enable
Config Save IP Address : 0.0.0.0
Config Save Filename : iss.conf
Config Restore Filename : iss.conf
PIM Mode : Sparse Mode
IGS Forwarding Mode : MAC based
Cli Serial Console : Yes
SNMP EngineID : 80.00.08.1c.04.46.53

ISS uses the dynamic address allocation protocols - BOOTP or DHCP or RARP - to acquire the IP for management VLAN during switch restart.

Configuring Default IP Address Allocation Protocol

Configuring the default IP address allocation protocol configures the protocol by which the default interface dynamically acquires its IP address.

  1. Execute the following commands to configure the default dynamic address allocation protocol.

Enter the Global Configuration mode.

es2# configure terminal

Configure the default allocation protocol.

es2(config)# default ip address allocation protocol dhcp

Exit from the Global Configuration mode.

es2(config)# end
  1. View the default IP Address Allocation Protocol by executing the following command
es2# show nvram
Default IP Address : 12.0.0.100
Default Subnet Mask : 255.255.0.0
Default IP Address Config Mode : Dynamic
Default IP Address Allocation Protocol : DHCP
Switch Base MAC Address : 00:01:02:03:04:01
Default Interface Name : Gi0/1
Config Restore Option : No restore
Config Save Option : No save
Auto Save : Enable
Incremental Save : Disable
Roll Back : Enable
Config Save IP Address : 0.0.0.0
Config Save Filename : iss.conf
Config Restore Filename : iss.conf
PIM Mode : Sparse Mode
IGS Forwarding Mode : MAC based
Cli Serial Console : Yes
SNMP EngineID : 80.00.08.1c.04.46.53

Configuring IP Address for an Interface

Configuring IP address for an Interface configures the IP address which will be used for sending and receiving the packets.

  1. Execute the following commands to configure an IP address for a VLAN interface. Enter the Global Configuration mode.
es2# configure terminal

Enter the Interface Configuration mode.

es2(config)# interface vlan 1

Shut down the VLAN interface.

es2(config-if)# shutdown

Configure the IP address and subnet mask.

es2(config-if)# ip address 12.0.0.100 255.0.0.0

Bring up the VLAN interface.

es2(config-if)# no shutdown

Exit from the Interface Configuration mode.

es2(config)# end

Configuring the IP address for an Interface requires the interface to be shutdown prior to the configuration.

  1. View the configured interface IP address by executing the following show command.
es2# show ip interface
Vlan1 is up, line protocol is up
Internet Address is 12.0.0.100/8
Broadcast Address 10.255.255.255
  1. Save the configuration
es2# wr st

Configuring an Interface to Acquire Dynamic IP

An interface can be configured to acquire the dynamic IP address either from DHCP or from RARP. The default value is DHCP.

  1. Execute the following commands to acquire dynamic IP for VLAN 1 through DHCP.

Enter the Global Configuration mode.

es2# configure terminal

Enter the Interface Configuration mode.

es2(config)# interface vlan 1

Configure the VLAN interface to dynamically acquire an IP address through the Dynamic Host Configuration Protocol

es2(config-if)# ip address dhcp

Exit from configuration mode.

es2(config)# end
  1. View the configured IP address by executing the following show command.
es2# show ip interface
Vlan1 is up, line protocol is up
Internet Address is 12.0.0.1/8
Broadcast Address 10.255.255.255
IP address allocation method is dynamic
IP address allocation protocol is dhcp

A DHCP server must exist in the network to allocate dynamic IP through DHCP mechanism.

Industry Standard CLI (Command Line Interface)

CLI commands are focused on performing specific operations. In order to provide a consistent, composable user experience, the CLI commands of the ES2 protocols and IP implementation solutions adhere to the Industry Standard CLI syntax.

The following table provide a listing and identification of which CLI commands are supported.

NAI Reference ONLYPackage Details (NAI Reference ONLY)NAI
CLI Volume No:Chapter No:Chapter TitleWork GroupEnterpriseMetroMetro_EES2 Support
11IntroductionNANANANA
2Command Line InterfaceNANANANA
3System CommandsYYYYYES
4System FeaturesYYYYYES
5VCMNYYNYES
6RADIUSYYYYYES
7TACACSYYYYYES
8SSHYYYYYES
9SSLYYYYYES
10SNTPYYYYYES
11SNMPv3YYYYYES
12SyslogYYYYYES
13TCPYYYYYES
14UDPYYYNYES
15PoEYYYNNO
16L2 DHCP SnoopingYYYYNO
17IPDBYYYYYES
218STPYYYYYES
19LAYYYYYES
20LLDPYYYYYES
21PNACYYYYYES
22MRPYYYYNO
23ELMINNYYNO
24ELPSNNYYNO
25ERPSNNYYNO
26PBBNNYYNO
27PBB-TENNYYNO
328VLANYYYYYES
29ECFMNNYYNO
30IPSecv6YYYYNO
31VRRPNYNYNO
432IPYYYYYES
33IPV6YYYYYES
34OSPFNYNYYES
35OSPFv3NYNYYES
36RRDNYNYYES
37RRD6NYNYYES
38MPLS - General CommandsNYYYNO
MPLS - LDP SignalingNYYYNO
MPLS - RSVP SignalingNYYYNO
MPLS - OAMNNYYNO
MPLS - LSPpingNNYYNO
MPLS - L3VPNNNYYNO
39BFDNNYYNO
40Route MapNYNYYES
41NATNYNYYES
542DHCPYYYYYES
43DHCPv6YYYYYES
44RIPNYNYYES
45RIPv6NYNYYES
46BGPNYNYNO
47ISISNYNYNO
648IGMP SnoopingYYYYYES
49MLD SnoopingYYYYYES
50IGMPNYYNYES
51IGMP ProxyYYYYYES
52PIMNYNYYES
53PIMV6NYNYYES
54DVMRPNYNYNO
55IPv4 MulticastingNYNYYES
56TACYNNYYES
57RMONYYYYYES
58RMON2YYYYNO
59DSMONYYYYNO
60EOAMYYYYYES
61FMYYYYYES
62RMNYYYNO
63PTPYYYYNO
64Layer 4 SwitchingYYYYYES
765DCBYYNYNO
66MLDv2NYNYYES
67MSDPNYNYNO
68MSDP6NYNYNO
69FIREWALLNYNYYES
70VPNNYYYYES
71DNSYYYYYES
72SecurityNYNYYES
73Security - FIPSYYYNYES
74TLMNYYYNO
75OSPF-TENYYYNO
76TRILLNYNYNO
77SyncEYYYYNO
78MEFNNYYNO
79OFCLNNNYNO
80Clock IWFYYYYYES
81PPP_DraftNYNYNO
82VXLANNNNYNO
83HEART BEATNNNYNO
84ICCHYYYYYES
885BCMYYYYYES
86Marvell XCATYYYYNO
87Fulcrum_DraftNANANANA(Reference ONLY)
88Marvell 6095_DraftNANANANA(Reference ONLY)
89Wintegra_DraftNANANANA(Reference ONLY)
90Dx-167NANANANA(Reference ONLY)
91Other Targets_DraftNANANANA(Reference ONLY)
92QoSX_DraftNANANANA(Reference ONLY)
93VitesseNANANANA(Reference ONLY)

REVISION HISTORY

Module Manual - ES2 Revision History
RevisionRevision DateDescription
C2021-11-03C08845, Initial Release
C12022-09-30ECO C09691, Pg.12, added 'es2# c t'. Pg.12, changed 'gigbabitethernet 0/1' to 'es2(config-vlan)# ports gig 0/3-5 untagged gig 0/3'. Pg.12, changed 'interface gigabitethernet 0/1' to 'gig 0/3'.

NAI Cares

North Atlantic Industries (NAI) is a leading independent supplier of Embedded I/O Boards, Single Board Computers, Rugged Power Supplies, Embedded Systems and Motion Simulation and Measurement Instruments for the Military, Aerospace and Industrial Industries. We accelerate our clients’ time-to-mission with a unique approach based on a Configurable Open Systems Architecture™ (COSA®) that delivers the best of both worlds: custom solutions from standard COTS components.

We have built a reputation by listening to our customers, understanding their needs, and designing, testing and delivering board and system-level products for their most demanding air, land and sea requirements. If you have any applications or questions regarding the use of our products, please contact us for an expedient solution.

Please visit us at: www.naii.com or select one of the following for immediate assistance:

Documentation

https://www.docs.naii.com

FAQ

http://www.naii.com/faqs

Application Notes

http://www.naii.com/applicationnotes

Calibration and Repairs

http://www.naii.com/calibrationrepairs

Call Us

(631) 567-1100

Link to original