Saturday, July 25, 2020

Aruba Switch 2930 Series NTP (Network Time Protocol) Configuration


Aruba Switch NTP (Network Time Protocol) Configuration


NTP (Network Time Protocol) is time management protocol.
 


NTP (Network Time Protocol) for network time managing we use this in our organization because 100- 1000 devices are running in a network then it’s very difficult to manage time on all devices that’s why we use this mechanism. It uses port no 123 for transport and use UDP services for polling time from server to the devices.

NTP uses operate different modes. Supports four different modes.
1-Client
2-Server
3-Peer
4-Broadcast/multicast.

NTP (Network Time Protocol) operating modes define the NTP communication between NTP devices. NTP communication between two different devices includes NTP Time requests and NTP control queries. NTP Time request communication is the request from an NTP client for time synchronization from an NTP server. NTP Control queries are the communication messages for configuration information.

Following are the important NTP operating modes:
1-Client: An NTP client is a network device which is configured to let its clock synchronized from an external NTP Time Server. NTP Client mode devices will not provide synchronization services to other network infrastructure devices.

2-Server: An NTP server is a network device which is running NTP service and configured to provide Time information to NTP clients using NTP. NTP servers provide only Time information to NTP Clients and will never accept time synchronization information from other devices.

3-Peer: NTP peers does not have authority over the other. NTP peer mode, each device can provide time synchronization to the other.

4-Broadcast/multicast: In Broadcast/multicast mode, the NTP server broadcasts/multicasts the time synchronization information to all NTP clients.

In this mode you can run only troubleshooting command but cannot run modification command if you want to change in switch. Need to go first in configure mode then can execute modification command.
Aruba-tech#  
Aruba-tech# configure

This command is use for NTP tries to adjust the clock in small steps and will continue until the client gets the accurate time.
Aruba-tech(config)#timesync ntp

This command use for sending synchronization packet to only NTP configured device with the server address.
Aruba-tech(config)#ntp unicast

We define NTP server by giving IP address of NTP server.
Aruba-tech(config)#ntp server 10.12.1.25 iburst

also need to adjust time according to location.
Aruba-tech(config)#time timezone 330

After confirgured complete NTP configuration then need to enable NTP for this device. We will have to give this command.
Aruba-tech(config)#ntp enable

timesync ntp
ntp unicast
ntp server 10.12.1.25 iburst
ntp enable
time timezone 330


Aruba-tech# show  ntp associations detail
Aruba-tech# show  ntp associations
Aruba-tech# show  ntp authentication
Aruba-tech# show  ntp servers
Aruba-tech# show  ntp
Aruba-tech# show  ntp status

This is configuration for NTP of Aruba switch. This switch has lots of excellence feature. I will update all feature which require in our network.

Friday, July 10, 2020

Aruba Switch 2930F 48G Poe Basic Configuration


Aruba Switch 2930F 48G Poe Basic Configuration




First You need a console cable to configure a switch. Console is an interface. Via this interface we can execute any command.
 
 
After connect this cable with switch to laptop. Need to open console (Putty).

 
You can download from this link https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

When will get console of fresh switch. you will get with this little default configuration

; JL256A Configuration Editor; Created on release #WC.16.07.0005
; Ver #14:21.4f.f8.1d.9b.3f.bf.bb.ef.7c.59.fc.6b.fb.9f.fc.ff.ff.37.ef:22
hostname "Aruba 2930f"
module 1 type jl256a
vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-48
   untagged 49-50,Trk1
   no ip address
   ipv6 address dhcp full
   exit


Now you need to configure fresh switch according to your requirement.

In this mode you can run only troubleshooting command but cannot run modification command if you want to change in switch. Need to go first in configure mode then can execute modification command.
Aruba-tech#  
Aruba-tech# configure

If you want to change switch name you can run this command.
Aruba-tech(config)#hostname "Aruba-tech"    
              
If you want that if you are doing anything on switch. If you stop doing anything on switch it will automatic disconnect console.
Aruba-tech(config)#console idle-timeout 120
Aruba-tech(config)#console idle-timeout serial-usb 120

If you want to run multiple VLAN on this switch you need to configure trunk port so that different VLAN user data go through via this link.
Aruba-tech(config)#trunk 1/51

For Security  purpose you need to configure password.
Aruba-tech(config)#include-credentials
Aruba-tech(config)#password manager user-name "administrator” Password 123@ccie

If you need provide internet connectivity. You have to configure default-gateway it’s must be correct.
Aruba-tech(config)#ip default-gateway 10.20.100.1

For config SSH you need to run this command
Aruba-tech(config)#ip ssh timeout 60

If you need to give description on interface you run this command.
Aruba-tech(config-int)#interface 1/51
Aruba-tech(config-int)#name "CONNECTIVITY_TO_DIST_SW_PRI_PORT_1/1/16"
Aruba-tech(config-int)#exit

For VALN configure you have to run this command and this is very essential.
Aruba-tech(config)#vlan 1100
Aruba-tech(config-vlan)#name "Network_Management"
Aruba-tech(config-vlan)#tagged Trk1
Aruba-tech(config-vlan)#ip address 10.20.100.63 255.255.255.0
Aruba-tech(config-vlan)#exit

If you run manual STP you can run these command.
Aruba-tech(config)#spanning-tree Trk1 priority 4
Aruba-tech(config)#spanning-tree config-name "Aruba-tech"
Aruba-tech(config)#spanning-tree config-revision 1
Aruba-tech(config)#spanning-tree instance 1 vlan 1100-1116

This is basic configuration of Aruba switch.This switch has lots of excellence feature. I will update all feature which require in our network.