SNMP on VMware ESXi / vSphere 6.X

esxcli system snmp set -r esxcli system snmp set -c COMMUNITY esxcli system snmp set -p 161 esxcli system snmp set -L EARTH esxcli system snmp set -C [email protected] esxcli system snmp set -e yes

Varnish HTTP to HTTPS redirect

sub vcl_recv { if ( (req.http.host ~ “^(?i)www.x.dev42.dk” || req.http.host ~ “^(?i)x.dev42.dk”) && req.http.X-Forwarded-Proto !~ “(?i)https”) { return (synth(750, “”)); } } sub vcl_synth { if (resp.status == 750) { set resp.status = 301; set resp.http.Location = “https://x.dev42.dk” + req.url; return(deliver); } }

SSH login on EdgeOS

scp ~/.ssh/id_rsa.pub [email protected]:~/id_rsa.pub ssh [email protected] configure loadkey user ~/id_rsa.pub set service ssh disable-password-authentication commit save exit

HP 5900 IRF Configuration

The following is based on configuring IRF between 2 x HP 5900AF-48XG-4QSFP+ Switch Connect to the “Master” switch: <HP>sys [HP]sysname Master [Master] irf member 1 priority 10 [Master]interface range Ten-GigabitEthernet 1/0/45 to Ten-GigabitEthernet 1/0/48 [Master-if-range] shut [Master-if-range] quit [Master] irf-port 1/2 [Master-irf-port1/2] port group interface ten1/0/45 [Master-irf-port1/2] port group interface ten1/0/46 [Master-irf-port1/2] port group interface ten1/0/47 […]