EasyManuals Logo

H3C S3100 Series Command Manual

H3C S3100 Series
1244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #475 background imageLoading...
Page #475 background image
1-71
z You can set only one source IP address by using this command. When you re-execute this
command again, the newly set source IP address will overwrite the old one.
Related commands: display hwtacacs.
Examples
# Set source IP address 10.1.1.1 for outgoing HWTACACS messages in HWTACACS scheme hwt1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] nas-ip 10.1.1.1
primary accounting
Syntax
primary accounting ip-address [ port ]
undo primary accounting
View
HWTACACS scheme view
Parameters
ip-address: IP address of the primary accounting server to be used, a valid unicast address in dotted
decimal notation.
port: Port number of the primary accounting server, ranging from 1 to 65535.
Description
Use the primary accounting command to set the IP address and port number of the primary
HWTACACS accounting server to be used by the current scheme.
Use the undo primary accounting command to restore the default IP address and port number of the
primary HWTACACS accounting server, which are 0.0.0.0 and 49 respectively.
Note that:
z You are not allowed to set the same IP address for both primary and secondary accounting servers.
If you do this, your setting will fail.
z If you re-execute the command, the new setting will overwrite the old one.
z You can remove an accounting server setting only when there is no active TCP connection that is
sending accounting messages to the server.
Examples
# Set the IP address and UDP port number of the primary accounting server for HWTACACS scheme
test1 to 10.163.155.12 and 49 respectively.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme test1
[Sysname-hwtacacs-test1] primary accounting 10.163.155.12 49

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals