Skip to content

Instantly share code, notes, and snippets.

@nekoyokoshima

nekoyokoshima/SNTP Config

Last active Aug 29, 2015
Embed
What would you like to do?
SNTP Setup on 3800-24G-2SFP+ Switchs
Keiths-MacBook-Pro-2:~ keith$ telnet 172.16.52.2
Trying 172.16.52.2...
Connected to 172.16.52.2.
Escape character is '^]'.
HP J9575A 3800-24G-2SFP+ Switch
Software revision KA.15.09.0009
SW2-BM4308# show time
Tue Sep 24 23:10:24 2002
SW2-BM4308#
SW2-BM4308#
SW2-BM4308# conf
SW2-BM4308(config)# sntp unicast
SW2-BM4308(config)# sntp 300
SW2-BM4308(config)# sntp server
SW2-BM4308(config)# sntp server priority 1 62.48.53.90
SW2-BM4308(config)# sntp server priority 2 144.76.118.85
SW2-BM4308(config)# sntp server priority 3 178.255.145.210
SW2-BM4308(config)#
SW2-BM4308(config)#
SW2-BM4308(config)#
SW2-BM4308(config)# timesync sntp
SW2-BM4308(config)# time daylight-time-rule western-europe
SW2-BM4308(config)# end
SW2-BM4308# sh time
Fri Nov 21 07:55:04 2014
SW2-BM4308#
SW2-BM4308#
SW2-BM4308# sh time
Fri Nov 21 07:57:23 2014
SW2-BM4308#
SW2-BM4308# wr mem
Keiths-MacBook-Pro-2:~ keith$ telnet 172.16.52.1
Trying 172.16.52.1...
Connected to 172.16.52.1.
Escape character is '^]'.
HP J9575A 3800-24G-2SFP+ Switch
Software revision KA.15.09.0009
SW1-BM4307# sh time
Mon Oct 7 23:56:29 2002
SW1-BM4307#
SW1-BM4307#
SW1-BM4307#
SW1-BM4307# configure
SW1-BM4307(config)# sntp unicast
SW1-BM4307(config)# sntp 300
SW1-BM4307(config)# sntp server priority 1 62.48.53.90
SW1-BM4307(config)# sntp server priority 2 144.76.118.85
SW1-BM4307(config)# sntp server priority 3 178.255.145.210
SW1-BM4307(config)#
SW1-BM4307(config)# timesync sntp
SW1-BM4307(config)#
SW1-BM4307(config)#
SW1-BM4307(config)# time daylight-time-rule western-europe
SW1-BM4307(config)# time timezone 60
SW1-BM4307(config)# end
SW1-BM4307#
SW1-BM4307#
SW1-BM4307# sh time
Fri Nov 21 07:58:39 2014
SW1-BM4307# wr mem
SWITCH1
timesync sntp
sntp unicast
sntp 300
sntp server priority 1 62.48.53.90
sntp server priority 2 144.76.118.85
sntp server priority 3 178.255.145.210
time daylight-time-rule western-europe
time timezone 60
SWITCH2
timesync sntp
sntp unicast
sntp 300
sntp server priority 1 62.48.53.90
sntp server priority 2 144.76.118.85
sntp server priority 3 178.255.145.210
time daylight-time-rule western-europe
time timezone 60
SW1-BM4307# sh running-config
Running configuration:
; J9575A Configuration Editor; Created on release #KA.15.09.0009
; Ver #03:01.1f.ef:f2
hostname "SW1-BM4307"
module 1 type j9575x
trunk 21-24 trk1 trunk
timesync sntp
sntp unicast
sntp 300
sntp server priority 1 62.48.53.90
sntp server priority 2 144.76.118.85
sntp server priority 3 178.255.145.210
time daylight-time-rule western-europe
time timezone 60
ip default-gateway 10.250.1.254
ip route 0.0.0.0 0.0.0.0 172.16.70.254
ip routing
interface 1
name "Trunk link to Firewall"
exit
interface 2
name "Management port of Firewall"
exit
interface 3
name "Trunk link Between Switches"
exit
interface 15
name "blade 10"
exit
interface 16
name "blade 2"
exit
interface 17
name "blade 1"
exit
interface 18
name "blade 9"
exit
interface 19
name "blade 3"
exit
interface 20
name "Managed backup"
exit
snmp-server community "public"
oobm
ip address dhcp-bootp
exit
router vrrp
enable
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 1-20,25-26
untagged Trk1
no ip address
exit
vlan 10
name "management"
untagged 2,5-8,10-14,25-26
tagged 1,3,15-19,Trk1
no ip address
exit
vlan 20
name "VLAN20"
tagged 1,3,15-19
no ip address
exit
vlan 30
name "live"
tagged 1,3,15-19
no ip address
exit
vlan 50
name "STORAGE"
tagged 3,26,Trk1
ip address 172.16.50.1 255.255.255.0
vrrp vrid 50
owner
virtual-ip-address 172.16.50.1 255.255.255.0
priority 255
preempt-delay-time 120
enable
exit
exit
vlan 51
name "VMOTION"
tagged 3,26,Trk1
ip address 172.16.51.1 255.255.255.0
vrrp vrid 51
owner
virtual-ip-address 172.16.51.1 255.255.255.0
priority 255
preempt-delay-time 120
enable
exit
exit
vlan 52
name "MAN"
untagged 3,20
tagged 26,Trk1
ip address 172.16.52.1 255.255.255.0
vrrp vrid 52
owner
virtual-ip-address 172.16.52.1 255.255.255.0
priority 255
preempt-delay-time 120
enable
exit
exit
vlan 53
name "PRODUCTION_01"
tagged 3,26,Trk1
ip address 172.16.53.1 255.255.255.0
vrrp vrid 53
owner
virtual-ip-address 172.16.53.1 255.255.255.0
priority 255
preempt-delay-time 120
enable
exit
exit
vlan 54
name "PRODUCTION_02"
tagged 3,Trk1
ip address 172.16.54.1 255.255.255.0
vrrp vrid 54
owner
virtual-ip-address 172.16.54.1 255.255.255.0
priority 255
preempt-delay-time 120
enable
exit
exit
vlan 70
name "TRANSIT_VLAN"
untagged 9
tagged 3,7,Trk1
ip address 172.16.70.1 255.255.255.0
vrrp vrid 70
owner
virtual-ip-address 172.16.70.1 255.255.255.0
priority 255
preempt-delay-time 120
enable
exit
exit
vlan 99
name "FIREWALL_HB"
untagged 4
tagged 3,Trk1
no ip address
exit
spanning-tree
spanning-tree Trk1 priority 4
no autorun
no dhcp config-file-update
no dhcp image-file-update
password manager
SW2-BM4308# sh running-config
Running configuration:
; J9575A Configuration Editor; Created on release #KA.15.09.0009
; Ver #03:01.1f.ef:f2
hostname "SW2-BM4308"
module 1 type j9575x
trunk 21-24 trk1 trunk
timesync sntp
sntp unicast
sntp 300
sntp server priority 1 62.48.53.90
sntp server priority 2 144.76.118.85
sntp server priority 3 178.255.145.210
time daylight-time-rule western-europe
time timezone 60
ip default-gateway 10.250.1.254
ip route 0.0.0.0 0.0.0.0 172.16.70.254
ip routing
interface 1
name "Trunk link to Firewall"
exit
interface 2
name "Management port of Firewall"
exit
interface 3
name "Trunk link Between Switches"
exit
interface 15
name "blade 10"
exit
interface 16
name "blade 2"
exit
interface 17
name "blade 1"
exit
interface 18
name "blade 9"
exit
interface 19
name "blade 3"
exit
interface 20
name "Managed backup"
exit
snmp-server community "public"
oobm
ip address dhcp-bootp
exit
router vrrp
enable
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 1-20,25-26
untagged Trk1
no ip address
exit
vlan 10
name "management"
untagged 2,5-7,9-20,25-26
tagged 1,3,Trk1
no ip address
exit
vlan 20
name "VLAN20"
tagged 1,3,20
no ip address
exit
vlan 30
name "live"
tagged 1,3
no ip address
exit
vlan 50
name "STORAGE"
tagged 3,26,Trk1
ip address 172.16.50.2 255.255.255.0
vrrp vrid 50
backup
virtual-ip-address 172.16.50.1 255.255.255.0
preempt-delay-time 120
enable
exit
exit
vlan 51
name "VMOTION"
tagged 3,26,Trk1
ip address 172.16.51.2 255.255.255.0
vrrp vrid 51
backup
virtual-ip-address 172.16.51.1 255.255.255.0
preempt-delay-time 120
enable
exit
exit
vlan 52
name "MANAGE"
tagged 3,26,Trk1
ip address 172.16.52.2 255.255.255.0
vrrp vrid 52
backup
virtual-ip-address 172.16.52.1 255.255.255.0
preempt-delay-time 120
enable
exit
exit
vlan 53
name "PRODUCTION_01"
untagged 8
tagged 3,26,Trk1
ip address 172.16.53.2 255.255.255.0
vrrp vrid 53
backup
virtual-ip-address 172.16.53.1 255.255.255.0
preempt-delay-time 120
enable
exit
exit
vlan 54
name "PRODUCTION_02"
tagged 3,Trk1
ip address 172.16.54.2 255.255.255.0
vrrp vrid 54
backup
virtual-ip-address 172.16.54.1 255.255.255.0
preempt-delay-time 120
enable
exit
exit
vlan 70
name "TRANSIT_VLAN"
tagged 3,7,Trk1
ip address 172.16.70.2 255.255.255.0
vrrp vrid 70
backup
virtual-ip-address 172.16.70.1 255.255.255.0
preempt-delay-time 120
enable
exit
exit
vlan 99
name "FIREWALL_HB"
untagged 4
tagged 3,Trk1
no ip address
exit
spanning-tree
spanning-tree Trk1 priority 4
no autorun
no dhcp config-file-update
no dhcp image-file-update
password manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.