From d1c2a26b2b5b3c966e3f27d6b667275f53cf6636 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Fri, 2 Nov 2012 09:25:07 +0000 Subject: [PATCH] update manpage for getmacs -i ethN|enN git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/getmacs.1.pod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xCAT-client/pods/man1/getmacs.1.pod b/xCAT-client/pods/man1/getmacs.1.pod index 18ae4c0da..f4f41895e 100644 --- a/xCAT-client/pods/man1/getmacs.1.pod +++ b/xCAT-client/pods/man1/getmacs.1.pod @@ -18,7 +18,7 @@ B I [B<-V>| B<--verbose>] [B<-f>] [B<-d>] [B<--arp>] | [B<-D =head2 blade specific: -B I [B<-V>| B<--verbose>] [B<-d>] [B<--arp>] +B I [B<-V>| B<--verbose>] [B<-d>] [B<--arp>] [B<-i> I|I] =head1 DESCRIPTION @@ -32,7 +32,7 @@ Note: If network adapters are physically assigned to LPARs, getmacs cannot read For IBM Flex Compute Node (Compute Node for short) specific: -Note: If "B<-d>" is specified, all the MAC of the blades will be displayed. Otherwise, the number of MAC address that the 'installnic' attribute of the blade specified will be write to mac table. +Note: If "B<-d>" is specified, all the MAC of the blades will be displayed. If no option specified, the first MAC address of the blade will be written to mac table. =head1 OPTIONS @@ -88,6 +88,10 @@ B<-V> Verbose output. +B<-i> + +Specify the interface whose mac address will be collected and written into mac table. If 4 mac addresses are returned by option '-d', they all are the mac addresses of the blade. The N can start from 0(map to the eth0 of the blade) to 3. If 5 mac addresses are returned, the 1st mac address must be the mac address of the blade's FSP, so the N will start from 1(map to the eth0 of the blade) to 4. + =head1 RETURN VALUE