Uplink switch 2 config revisited

This commit is contained in:
root 2019-11-01 22:47:18 +02:00
parent ebaf0e12b0
commit f9633bcdae
1 changed files with 99 additions and 40 deletions

View File

@ -11,55 +11,114 @@ object Host "uplink-gkc.openfest.org" {
# vars.specification = "vocsw" # vars.specification = "vocsw"
# debug # debug
vars.snmp_ifaces [ "gigabitEthernet 1/0/1" ] = { vars.snmp_ifaces [ "FastEthernet0/1" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.1" OID = "1.3.6.1.2.1.2.2.1.8.10001"
value = "2" # UP - 1 , 2 - down value = "1|2" # UP - 1 , 2 - down
} }
# down # down
vars.snmp_ifaces [ "gigabitEthernet 1/0/2" ] = { vars.snmp_ifaces [ "FastEthernet0/2" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.2" OID = "1.3.6.1.2.1.2.2.1.8.10002"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/3" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10003"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/4" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10004"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/5" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10005"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/6" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10006"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/7" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10007"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/8" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10008"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/9" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10009"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/10" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10010"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/11" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10011"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/12" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10012"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/13" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10013"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/14" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10014"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/15" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10015"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/16" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10016"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/17" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10017"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/18" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10018"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/19" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10019"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/20" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10020"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/21" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10021"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/22" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10022"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/23" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10023"
value = "2"
}
vars.snmp_ifaces [ "FastEthernet0/24" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10024"
value = "2" value = "2"
} }
vars.snmp_ifaces [ "gigabitEthernet 1/0/3" ] = { # to gkc - switchboard
OID = "1.3.6.1.2.1.2.2.1.8.3" vars.snmp_ifaces [ "GigabitEthernet0/1" ] = {
value = "2" OID = "1.3.6.1.2.1.2.2.1.8.10101"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/4" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.4"
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/5" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.5"
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/6" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.6"
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/7" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.7"
value = "2"
}
vars.snmp_ifaces [ "gigabitEthernet 1/0/8" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.8"
value = "2"
}
# uplink - ipacct
vars.snmp_ifaces [ "gigabitEthernet 1/0/9" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.9"
value = "1" value = "1"
} }
# to gkc # hall
vars.snmp_ifaces [ "gigabitEthernet 1/0/10" ] = { vars.snmp_ifaces [ "GigabitEthernet0/2" ] = {
OID = "1.3.6.1.2.1.2.2.1.8.10" OID = "1.3.6.1.2.1.2.2.1.8.10102"
value = "1" value = "1"
} }