12
HP GbE2c Configuration Template
Posted by jbjorkman on February 12, 2010 underDeprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
Network
/* ******** HP GbE2c Template Config ********
/* Replace the following strings with your own values:
/* $HOSTNAME$ - Switch Hostname
/* $SNMPRO$ - SNMP Read community
/* $SNMPRW$ - SNMP Write community
/* $UPLINKPORT$ - Your uplink port (eg 20)
/* $IPADDR$ - Switch IP Address
/* $IPMASK$ - Netmask
/* $IPBCAST$ - Broadcast
/* $IPGW$ - Gateway
/* $IPDNS1$ - DNS Server 1
/* $IPDNS2$ - DNS Server 2
/* $IPDOMAIN$ - DNS Domain name
/* $IPNTP1$ - NTP Server 1
/* $IPNTP2$ - NTP Server 2
/* ******************************************/* ------- Time Configuration -------
/c/sys/timezone 233 /* Set Timezone to Europe/Sweden
/c/sys/dlight e /* Enable Daylight saving
/* ------- SSH Configuration -------
/c/sys/sshd/on /* Enable SSH (Keys will be generated when config applied)
/* ------- BOOTP/DHCP Configuration -------
/c/sys
bootp dis
dhcp dis
/* ------- SNMP Configuration -------
/c/sys/ssnmp
name "$HOSTNAME$"
rcomm "$SNMPRO$"
wcomm "$SNMPRW$"
/* ------- UFD (Uplink failure detection) Configuration -------
/c/ufd/on
/c/ufd/fdp/ena
/c/ufd/fdp/ltm
addport $UPLINKPORT$
/c/ufd/fdp/ltd
addport 1
addport 2
addport 3
addport 4
addport 5
addport 6
addport 7
addport 8
addport 9
addport 10
addport 11
addport 12
addport 13
addport 14
addport 15
addport 16
/* ------- IP Configuration -------
/c/l3/if 256
ena
addr $IPADDR$
mask $IPMASK$
broad $IPBCAST$
/c/l3/gw 4
ena
addr $IPGW$
/c/l3/dns
prima $IPDNS1$
secon $IPDNS2$
dname $IPDOMAIN$
/* ------- NTP Configuration -------
/c/sys/ntp
on
prisrv $IPNTP1$
secsrv $IPNTP2$
/
script end /**** DO NOT EDIT THIS LINE!
/* ************** Additional Configuration Examples ******************
/* ------- Example User Configuration -------
/* /c/sys/access/user/uid 9
/* name "Username"
/* pswd "Password Hash"
/* ena
/* cos admin
/* ------- Example Port Configuration -------
/* /c/port 20
/* tag ena /* Enable tagging
/* pvid 255 /* trunk access vlan
/* /c/port 10
/* pvid 248 /* Access port on vlan 248
/* ------- Example VLAN Configuration -------
/* /c/l2/vlan 248
/* ena
/* name "Custom VLAN"
/* def 1 2 8 9 10 11 20
/* ------- Example Spanning Tree Configuration -------
/* Create unique stp groups for every vlan on the switch
/* /c/l2/stp 48/clear /* Create STP Group 48
/* /c/l2/stp 48/add 248 /* Add VLAN 248 to STP Group 48
Add A Comment
You must be logged in to post a comment.