mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Removed -c from usage and updated examples
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -8,17 +8,16 @@ I<getmacs [-h| --help]>
 | 
			
		||||
 | 
			
		||||
I<getmacs [-v| --version]>
 | 
			
		||||
 | 
			
		||||
I<getmacs [-V| --verbose] noderange> [-c][-d][-S server -G gateway -C client] 
 | 
			
		||||
I<getmacs [-V| --verbose] noderange> [-d][-S server -G gateway -C client] 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
=head1 DESCRIPTION
 | 
			
		||||
 | 
			
		||||
The getmacs command collects MAC address from a single or range of nodes.
 | 
			
		||||
Note than on AIX systems, the returned MAC address is not colon-seperated (for example 8ee2245cf004), while on Linux systems the MAC address is colon-seperated (for example 8e:e2:24:5c:f0:04).
 | 
			
		||||
 | 
			
		||||
=head1 OPTIONS
 | 
			
		||||
 | 
			
		||||
B<-c>          Colon seperated output.
 | 
			
		||||
 | 
			
		||||
B<-C>          IP address of the partition.
 | 
			
		||||
 | 
			
		||||
B<-d>          Display MAC only. The default is to write the first adapter MAC to the xCAT database. 
 | 
			
		||||
@@ -53,31 +52,31 @@ lpar4:
 | 
			
		||||
 | 
			
		||||
#Type  Location Code   MAC Address      Full Path Name  Ping Result
 | 
			
		||||
 | 
			
		||||
ent U9133.55A.10B7D1G-V12-C4-T1 8ee2245cf004 /vdevice/l-lan@30000004  virtual
 | 
			
		||||
ent U9133.55A.10B7D1G-V12-C4-T1 8e:e2:24:5c:f0:04 /vdevice/l-lan@30000004  virtual
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
2. To retrieve the MAC address for the HMC-managed partition lpar4 and display the result only in colon-seperated format, enter: 
 | 
			
		||||
2. To retrieve the MAC address for the HMC-managed partition lpar4 and display the result only, enter: 
 | 
			
		||||
 | 
			
		||||
I<getmacs lpar4 -c -d> 
 | 
			
		||||
I<getmacs lpar4 -d> 
 | 
			
		||||
 | 
			
		||||
Output is similar to:
 | 
			
		||||
 | 
			
		||||
lpar4: 
 | 
			
		||||
 | 
			
		||||
#Type:Location_Code:MAC_Address:Full_Path_Name:Ping_Result:Device_Type:Size_MB:OS:OS_Version:
 | 
			
		||||
#Type  Location Code   MAC Address      Full Path Name  Ping Result
 | 
			
		||||
 | 
			
		||||
ent:U9133.55A.10B7D1G-V12-C4-T1:8ee2245cf004:/vdevice/l-lan@30000004::virtual::::
 | 
			
		||||
ent U9133.55A.10B7D1G-V12-C4-T1 8ee2245cf004 /vdevice/l-lan@30000004 virtual
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
3. To retrieve the MAC address while performing a ping test for the HMC-managed partition lpar4 and display the result only in colon-seperated format, enter: 
 | 
			
		||||
3. To retrieve the MAC address while performing a ping test for the HMC-managed partition lpar4 and display the result only, enter: 
 | 
			
		||||
 | 
			
		||||
I<getmacs lpar4 -c -d -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234>
 | 
			
		||||
I<getmacs lpar4 -d -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234>
 | 
			
		||||
 | 
			
		||||
#Type:Location_Code:MAC_Address:Full_Path_Name:Ping_Result:Device_Type:Size_MB:OS:OS_Version:
 | 
			
		||||
#Type  Location Code   MAC Address      Full Path Name  Ping Result
 | 
			
		||||
 | 
			
		||||
ent:U9133.55A.10B7D1G-V12-C4-T1:8ee2245cf004:/vdevice/l-lan@30000004:successful:virtual::::
 | 
			
		||||
ent U9133.55A.10B7D1G-V12-C4-T1 8e:e2:24:5c:f0:04 /vdevice/l-lan@30000004 successful virtual
 | 
			
		||||
 | 
			
		||||
=head1 FILES
 | 
			
		||||
 
 | 
			
		||||
@@ -94,3 +93,4 @@ This command is part of the xCAT software product.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user