Hi,
The entries on the switches table does not seem write. The following is
a note I sent before to a user for vlan configuration. It has the same
concept except for vlan the snmp has to configured as "rw" while here it
just need to be "r". Hope this will help you.
#tabdump switches
#switch,snmpversion,username,password,privacy,auth,linkports,comments,disable
The username and password used in this table is NOT the ssh user name and
password. It's the SNMP user name and other info. One has to set it up on
the switch before calling xCAT vlan functions. You have to make sure
snmpwalk command works.
For SNMP v2, you just need to input the community name on the "passwword"
column. For SNMP v3, there are many things need to be setup. The
following is the help from snmpwalk command, from it you can tell what
needs to be configured on the switch for SNMP v3.
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase
-u USER-NAME set security name (e.g. bert)
-x PROTOCOL set privacy protocol (DES|AES)
-X PASSPHRASE set privacy protocol pass phrase
....
So to map the flags to the switches table:
For SNMP v2:
snmpversion --- 2c
password --- < -c COMMUNITY >
For SNMPv3
snmpversion --- 3
username --- <-u USER-NAME>
password --- <-A PASSPHRASE> <--- password will be used for both
-A and -X if -x is set.
privacy --- <-x PROTOCOL>
auth --- <-a PROTOCOL>
Here is an example:
xcatmn2:~ # tabdump switches
#switch,snmpversion,username,password,privacy,auth,linkports,commen,disable
"c160f1ql01","2c",,"c160snmp",,,,,
"switch1","3","admin","passw0rd","des","sha",,,,
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: antony samy <[email protected]>
To: "[email protected]"
<[email protected]>
Date: 12/22/2011 08:32 AM
Subject: [xcat-user] xCAT: Error communicating with ciscosw:
Unknown user name
I have cisco catalyst 6500E switch and it doesn't have user id. So i am
getting this error "xCAT: Error communicating with ciscosw: Unknown user
name"
Dec 22 18:41:33 headnode1 dhcpd: DHCPREQUEST for 172.29.201.84
(172.29.200.1) from e4:1f:13:ef:5e:c2 via eth0
Dec 22 18:41:33 headnode1 dhcpd: DHCPACK on 172.29.201.84 to
e4:1f:13:ef:5e:c2 via eth0
Dec 22 18:41:33 headnode1 atftpd[27960]: Serving /yaboot to
172.29.201.84:1943
Dec 22 18:41:33 headnode1 atftpd[27960]: Serving /yaboot to
172.29.201.84:1944
Dec 22 18:41:54 headnode1 xCAT: Error communicating with ciscosw: Unknown
user name
here are the switch and switches tables entries:
Also i want to know the port entries in the switch table is correct format
or not?
[root@headnode1 ~]# tabdump switch
#node,switch,port,vlan,interface,comments,disable
"idplx1","ciscosw","Gi1/1",,,,
"idplx2","ciscosw","Gi2/1",,,,
"idplx3","ciscosw","Gi3/1",,,,
"idplx4","ciscosw","Gi4/1",,,,
"idplx5","ciscosw","Gi5/1",,,,
"idplx6","ciscosw","Gi6/1",,,,
"idplx7","ciscosw","Gi7/1",,,,
"idplx8","ciscosw","Gi1/2",,,,
"idplx9","ciscosw","Gi2/2",,,,
"idplx10","ciscosw","Gi3/2",,,,
[root@headnode1 ~]# tabdump switches
#switch,snmpversion,username,password,privacy,auth,linkports,comments,disable
"ciscosw",,,"cisco",,,,,
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user