SH ARP command parameters in ACE
Hi ,
Could some one explain "sh arp" command in ACE.
Example:
================================================================================
IP ADDRESS MAC-ADDRESS Interface Type Encap NextArp(s) Status
================================================================================
172.16.161.4 e1.5f.b9.a1.b8.ab vlan1301 INTERFACE LOCAL _ up
172.16.161.5 e1.5f.b9.a1.61.1d vlan1301 LEARNED 157 13287 sec up
172.16.161.51 10.50.56.a6.00.04 vlan1301 RSERVER 16 82 sec up
172.16.161.253 10.0b.fc.fe.1b.01 vlan1201 NAT LOCAL _ up
172.16.163.4 e1.5f.b9.a1.b8.ab vlan1303 INTERFACE LOCAL _ up
172.16.133.249 10.00.0c.07.ac.01 vlan1299 GATEWAY 37 14 sec up
whats is
1) Interface local ?
2) Learned ?
3) RSEVER ?
4) NAT Local ?
5) Gateway ?
and when can or how do we use this table for ?
Hi Rajkumar,
1) Interface local ? <<< IP address on that particular VLAN >>>
2) Learned ? <<< IP learned outside of ACE >>>
3) RSEVER ? <<< Real server ARP entry >>
4) NAT Local ? << It should be Natted IP which is from NAT pool of ACE >> ( Need to check )
5) Gateway ? << Of course the default gateway >>>
Hope that helps.
regards,
Ajay Kumar
Similar Messages
-
Question about "no ip gratuitous-arp" command in IOS
Does the "no ip gratuitous-arp" command affect gratuitous arps sent by the router (for example, when hsrp causes a secondary router to assume role of primary) or does it affect gratuitous arps received by the router (for example, gratuitous arps with the spoofed IP address of the router).
I do not have direct experience with this command. But I think that the documentation is clear that the command restricts the router sending gratuitous arp and does not affect the router receiving gratiutous arp.
The documentation is fairly clear that its restriction on gratiutous arp is a restriction on sending gratiutous arp when a remote client has learned an IP address via PPP negotiation and the address is in a local address pool. Assuming that this part of the documentation is accurate it would have no affect on the router sending gratiutous arp in HSRP takeover situations.
HTH
Rick -
Command Parameters Not Prompted
I've been trying for some time to resolve this issue but can't quite seem to narrow down what is causing the problem. The issue is as follows: Say I have a report with both command parameters and dynamic parameters. When running the report in CR 11 I am usually prompted twice, once for the command parameters and a second time for the dynamic parameters, in two separate windows (empty fields for the command parameters usually show up a second time on the dynamic prompt window). When I run the report in the viewer I am never prompted for the command parameters. Only the dynamic parameter prompt window appears with no parameters values, most likely because they depend on the command parameters. The strange thing is when I have only a command parameter I am prompted for it, the issue arises when both command and dynamic parameters are implemented. I am running CR for Eclipse 2.0 (fairly sure since I have the more recent excel export options). Any help with this issue would be very much appreciated.
I think this may have something to do with a conflict between the date command parameters I use in my report and my dynamic parameters. When I run the report in CR 2011 I am prompted for the date parameters twice, once in the initial command parameters window and again in the field parameters window containing the dynamic parameters. Has anyone else seen this double prompt issue and could it be the root of my viewer problem?
-
I have been struggling with this one and would sure appreciate your help
I have a report that runs fine but takes to long when running, to optimise it have setup it up as a subreport , created a main report which I linked to it via a relative field ({?ServiceID}) field, this has reduced the report time but I would like to go even further by user selecting date e.g startdate, enddate or relative field eg ‘yesterday’, ‘Last Week’
I can do the selectable start and end date fine but I’m failing to make use of the ‘Yesterday’,’ last week’ within the command parameters, below is an example of the code I have on the reports select expert but I want a semiliar filtering on the command parameter to avoid the filtering taking place on crystal but straight from the DB.
IF {?Relative Date}= "Yesterday" THEN currentdate-1
ELSE IF {?Relative Date}="Last Week" THEN LastFullWeekGood Day Guys,
Apologies for the late response, I have been looking and trying the different suggestion you pointed out, unfortunately without any success
Stored Proc
Nrupal, I tried setting one up but I’m getting a error I cannot seem to get past, below is my condition, any help would be appreciated
where cd1.Service_ID = @Service_ID
and cd1.CallStartDt in (
Case @RelativeDate
When 'Today' then CONVERT (date, getdate())
When 'Yesterday' Then DATEADD(DAY,-1,CONVERT (date, getdate()))
When ‘Last Week’ then between @LastWeekStart and @LastWeekEnd //sytntax before between, also tried using ‘IN’, same result
When ‘Last Month’ then between @LastMonthStart and @LastMonthEnd
else between @CallStart and @CallEnd
END )
End
Crystal command parameter code
where cd1.Service_ID in ({?Service_ID}) and
convert(datetime,cd1.CallStartdt) in (
Case {?RelativeDate}
When 'Yesterday' Then GetDate()-1
else {?CallStart}
END)
Abhilash,
I have tried both your proposed command parameters but still fail
I’m getting an invalid column name ‘Yesterday’ error , I’m not sure if Crytsal takes this type of command formatting using the command parameters, would appreciate your help as I would like to stay clear of the SP, unless it’s the only altanative
Dell
I will start working in your re
Thanks Again -
Help how to write ARP command on TCP
Hi,
Help or advice needed...
In my application I'm using an Access Point /Router that is connected to the computer with the LV application (exe compiled) running on it. At a precise moment I need to release a specific IP address and it's associated MAC address from the TCP connection...
The "arp -d nnn.nnn.nnn.nnn" (n=IP address) has the right action and releases the wanted IP address when send from the dos screen , but when I want to build this command in my labview application via a TCP Write VI, I have nothing happend. Did someone faced that kind of problem ?
Thanks for help...
HaemoPhilIt's on the Communication palette. Anytime you're trying to find a function, you could search for it. On the functions palette, there's a search button.
-
Oracle OLE DB and command Parameters in VB6
Hi,
here's my problem :
When i a VB6 command object ( ado ) this works fine with Oracle client 8i/9i, but with 10g it seems to truncate all my string parameters
Here is my vb code :
Public Function PRC_APPLICATIONSCENARIO _
ByRef p_vConnection As Variant, _
ByVal p_sZlCle As String, _
ByVal p_dDateDeb As Date, _
ByVal p_iDiffdate As Integer, _
ByRef p_sCodeErr As String, _
ByRef p_sErrMsg As String, _
ByRef p_lScenar As Long, _
ByRef p_lSoc As Long _
) As Long
On Error GoTo Err
Dim cmd As ADODB.Command
Dim param As ADODB.Parameter
Set cmd = New ADODB.Command
cmd.ActiveConnection = p_vConnection
Set param = cmd.CreateParameter("iZlCle", adInteger, adParamInput, , CLng(p_sZlCle))
cmd.Parameters.Append param
Set param = cmd.CreateParameter("dDateDeb", adBSTR, adParamInput, , Format(p_dDateDeb, "dd/mm/yyyy"))
cmd.Parameters.Append param
Set param = cmd.CreateParameter("iDiffDate", adInteger, adParamInput, , CLng(p_iDiffdate))
cmd.Parameters.Append param
Set param = cmd.CreateParameter("nCodeErr", adInteger, adParamOutput)
cmd.Parameters.Append param
Set param = cmd.CreateParameter("vErrMsg", adBSTR, adParamOutput, 200, String(200, " "))
cmd.Parameters.Append param
Set param = cmd.CreateParameter("lIdScenar", adInteger, adParamInput, , CLng(p_lScenar))
cmd.Parameters.Append param
Set param = cmd.CreateParameter("lIdSoc", adInteger, adParamInput, , CLng(p_lSoc))
cmd.Parameters.Append param
cmd.CommandText = "{CALL ApplicationScenario" & _
cmd.Execute
this is what i have with 8i ( checking with SQL Monitor ) :
BEGIN ApplicationScenario(:1,:2,:3,:4,:5,:6,:7); END;
:1 = 1
:2 = '01/11/2010'
:3 = 6
:4 = 0
:5 = <NULL>
:6 = 2602
:7 = 1
and this is what i have in 10g :
BEGIN ApplicationScenario(:1,:2,:3,:4,:5,:6,:7); END;
:1 = 1
:2 = '0'
:3 = 6
:4 = 0
:5 = <NULL>
:6 = 2602
:7 = 1
If someone could help me find where i' m wrong, or maybe it's a known bug ?Hi,
assuming you called the function from a sql select statement (select gf_test from dual;) then the error is as expected, you can't do DML inside a select. Parallel DML is unlikely to be your problem.
I'm a little unclear what you are trying to do with this function though, you could hack it by declaring this an autonomous transaction, but it's unlikely that that is the best way to solve the business problem. If you are trying to find the value of a primary key that is generated from a sequence then the normal way of doing this is to have a before insert trigger that generates the pk for you and then have a pl/sql procedure to do the insert and return the pk to the calling application (which can be powerbuilder or any other language that can call pl/sql.
Niall
Bill Mac wrote:
OK I have managed to get some code to return an error number and this is it:
ORA-14551: cannot perform a DML operation inside a query
Cause: DML operation like insert, update, delete or select-for-update cannot be performed inside a query or under a PDML slave.
Action: Ensure that the offending DML operation is not performed or use an autonomous transaction to perform the DML operation within the query or PDML slave.
The code was:
create or replace function GF_TEST return NUMBER is
retval number;
begin
SET TRANSACTION READ WRITE;
UPDATE parameters
SET last_parent_co = last_parent_co + 1
WHERE (row_no = 1)
RETURNING last_parent_co INTO retval;
COMMIT WORK;
retval := 1001;
return retval;
exception when others then
return sqlcode;
end;
Does that now make any sense to any one? Am I a pdml slave?
Edited by: Bill Mac on 07-Apr-2009 07:38 -
No value for given parameters error when using command parameters in RDC.
I am trying to create a report using RDC with a parameter in the query, but I keep getting "No value for given parameters" error. Here is the code I use:
Dim creport As CRAXDDRT.Report
Dim appn As CRAXDDRT.Application
Dim datcmd1 As New ADODB.Command
Dim adocn As New ADODB.Connection
Dim sqltext As String
Dim x As CRAXDDRT.ParameterFieldDefinition
Set appn = New CRAXDDRT.Application
Set creport = appn.NewReport
Set x = creport.ParameterFields.Add("test", 2)
x.AddCurrentValue 0
sqltext = "SELECT Name FROM TestTable WHERE ID={?test}"
Set adocn = New ADODB.Connection
adocn.Open "Provider=SQLOLEDB;Data Source=myDB;UID=xxx;PWD=xxx;"
Set datcmd1 = New ADODB.Command
Set datcmd1.ActiveConnection = adocn
datcmd1.CommandText = sqltext
creport.Database.AddADOCommand adocn, datcmd1
creport.SaveAs "test", crDefaultFileFormat
Set datcmd1 = Nothing
Set adocn = Nothing
Set creport = Nothing
Set appn = NothingHello, Paul;
If you add your database connection to the command object and put fields on your report without the parameter, do you get the report you expect?
These are version 8/8.5 samples but the code is the same:
[Note 1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[Note 2|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
Once you have added the database connection follow that with the parameter code.
[Note 3|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[Note 4|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
If you add the parameter and put the field on the report, can you pass the value successfully?
Elaine -
Receiving FTP commands/parameters in SAP ABAP
Hi Friends
In My program I need to receive acknowledgement from external systems
they will send some parameters thru FTP Commands to SAP
my sap ABAP program need to receive when ever External system sends parameters
and update them in SAP
can anybody know how to handle the FTP commands and receiving them in
SAP ABAP program, it should done automatically
i will be very happy if any one send me some piece of code
Thanks
AnilI think you will need to watch for the arrival of the file delivered via the FTP, rather than try to act on the FTP commands themselves (as they will be handled by the FTP server software)... for example, if you were to FTP into a subdirectory called "inbox" and then have a cron job or an ABAP program that runs every X minutes to see if the directory contents have changed, you could have an event triggered back job fire up automatically (i.e. using SAPEVT from the operating system, or FM BP_EVENT_RAISE in APAP... see links:
http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e5e543b11d1898e0000e8322d00/frameset.htm
http://help.sap.com/saphelp_40b/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/content.htm
for more on this.
Jonathan -
Command parameters in sap shortcut
Hello
we want to launch a transaction within SAP GUI from the Enterprise Portal. The transaction requires a lot of input parameters (the length of those parameters can reach up to 1000 characters). Unfortunately we found that using generated shortcut files as well as the transaction launcher iview we could not transfer more than 200 characters. All additional chars are simply ignored.
Does anyone know of a possibility of launching the SAP GUI and transfering more than 200 characters (i.e. completely filling a dynpro containing several input fields).
Best regards,
Jan AufdemkampHi Jan,
we've investigated this. It is not only a limitation in SAP GUI, but also the server itself is not able to handle such a long command string. Which server release are you on?
Best regards,
Christian -
Logging user commands in Cisco ACE appliance
Good afternoon gentlemen
I need to configure the same as shown below in Cisco ACE Appliance. The requirement is logging all user access login (whether failed or succeeded) and also logging all commands that users issue.
#IOS commands
no logging console
logging buffered 307200 informational
service timestamps log datetime localtime show-timezone
logging trap debugging
login on-failure log
login on-success log
archive
log config
logging enable
logging size 500
hidekeys
notify syslog contenttype plaintext
If you guys have an idea please answear
Regards
ChristianHello Arun,
we saw before the message you report, it's probably a symptom of:
CSCtx03563
or
CSCue38032
I would suggest opening a TAC case to get this properly investigated.
Kind Regards,
Francesco -
Mixing SQL Command parameters and UI created parameters
Post Author: shecter
CA Forum: Data Connectivity and SQL
I'm using Crystal Reports XI. I've created a report with an SQL Command - no other tables or views. I want to allow my users to be able to choose data from a dynamic parameter and have the SQL read that and spit out the results. I was able to add a parameter to the SQL using the Parameter column in the Command window. This allows my user to type in a parameter. However, when I run the report after creating a parameter using the UI (i.e. Field Explorer/Parameters/right clicking and selecting "new" and then adding the parameter to a field using the selection wizard), i first get a screen that shows me the parameter that I created in the SQL Command window, then I get a screen that shows me the UI created parameters. How can I make it show only one screen with all the parameters? -MarcPost Author: jenxia
CA Forum: General
SQL Command is :
SELECT UNIQUE ContactID, incomingAddress,applicationid,
MediaStatus, MediaDirection, EndDateTime, StartDateTime
FROM MMCAContactMediaViewwhere EndDateTime>= {?1-reportstarttime} and EndDateTime <= {?2-reportendtime}
Order by ContactID
Select formula using dynamic prompts as
{Command.contactid} = {?ContactID} and{Command.applicationid} = {?ApplicationID} and{Command.incomingaddress} = {?IncomingAddress} -
Show commands not showing - ACE module.
Hello
After a few days of working fine the systems stopped answering SNMP and then the CLI began having problems with some commands. The easiest to see being "show running-config". At this point it shows nothing. It just waits and does nothing. I have to hit Ctrl-C to bring back the prompt.
The applications being balanced are working fine but the management is not.
The resources were allocated this way:
resource-class ADMIN
limit-resource all minimum 6.00 maximum equal-to-min
resource-class CLA
limit-resource all minimum 46.00 maximum unlimited
resource-class MAS
limit-resource all minimum 24.00 maximum equal-to-min
resource-class OL
limit-resource all minimum 24.00 maximum equal-to-min
The version running is A2(1.3) and the same thing happened with an earlier release.
It's a HA scenario and the problem appeared so far only in the CLA context which was active on different modules and did the same on both. That was just a test to discard hardware problems.
One of the messages we saw was:
ACE-CER/Admin# show resource usage summary
Error: Called API timed out
We are unable to show resources, running-config, etc. for the active context CLA.
Do you have a suggestion? Is it healthy to allocate âunlimitedâ as the upper limit? Could this be the problem?
Thanks a lot.
GuidoGilles
If you mean a âgetâ for a probe, in this context I only have one and it's not that big. It goes like this:
request method get url http://www.3x.6x.com/diario/hoy/index.html
On the other hand, in a different context I have nine of these:
request method get url http://nap10.16x.int.6x.com/buscar/juguete
3x, 6x and 16x mean that amount of letters.
Are these long enough?
To your knowledge, is this condition going to spread further and disrupt production traffic?
So once you have reached this condition whether caused by "gets" or not, would you recommend opening a TAC case?
Thanks a lot!
Guido -
AAA command authorization in ACE
How do we enable AAA command authorization in the ACE module on 6500 switch.i dont find any aaa authorization commands in it .
Kind regards
UllasHi,
See the ACE Security Guide - Chapter 2. You need to set a CiscoAVPair. How you do this will depend on the RADIUS software that you are using. It sounds like you're being put into Network-Monitor role by default. Quote from the manual:
"The user profile attribute serves an important configuration function for a RADIUS server group. If the user profile attribute is not obtained from the server during authentication, or if the profile is obtained from the server but the context name(s) in the profile do not match the context in which the user is trying to log in, a default role (Network-Monitor) and a default domain (default-domain) are assigned to the user if the authentication is successful."
There are postings in this and other Cisco fora about exactly how to set these values (which depends on your RADIUS server implementation).
HTH
Cathy -
Runtime exec command parameters with SSH
hey,
Im trying to run a unix command using Process proc = Runtime.getRuntime().exec(command);
It works fine until I tried to combine it with multiple commands.
For example, I'm trying to run:
ssh [email protected] 'ls -al'
This returns a exit value of -1, command not found.
ssh [email protected] ls works fine so I suspect its related to the extra parameters.
I checked the Javadoc page for exec:
The command argument is parsed into tokens and then executed as a command in a separate process. The token parsing is done by a StringTokenizer created by the call:
new StringTokenizer(command)
As expected, it tokenized:
ssh
[email protected]
'ls
-al'
Is there any way to bypass this default tokenization by exec to include quotes as one token?
If anyone has any ideas, let me know! Thanks!thanks, solves that part.. but if i use execute command with ssh and bsub(a clustering job queue-submitter), it does ot return the correct value.
For example, if i do ssh [email protected] bsub -I ls using exec and the waitFor() method, the waitFor waits indefinitely.
I can tell it ran the job and ended, because i checked via bjobs and it finished. So why isn't the java app getting the exit code from waitFor() back?
If I run the program on the targeted machine, bsub -I ls, it works correctly.
If i type in the console, ssh [email protected] bsub -I ls, it returns back the results correctly.
info regarding bsub and bjobs here http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/XeonCluster/Doc/Jobs.html -
Hello,
I am trying to enable strict replication consistency on a domain controller.
https://deangrant.wordpress.com/2014/02/17/enable-strict-replication-consistency-on-domain-controllers-within-active-directory-domain/
How do get the value of %ServerGUID%, and %DirectoryPartition%
the name of my domain controller is DC1
I am trying to run the following command
repadmin /removelingeringobjects %ServerName% %ServerGUID% %DirectoryPartition% /advisory_mode
ThanksFor the GUID, here you go: https://support.microsoft.com/en-us/kb/224544
For the Directory Partition, you can see this definition:
"The distinguished name of the domain directory partition that might have lingering objects. For example, DC=RegionalDomainName,DC=ForestRootDomainName,DC=com.
Also run the command against the configuration directory partition (CN=configuration,DC=ForestRootDomainName,DC=com),
the schema directory partition (CN=schema,CN=configuration,DC=ForestRootDomainName),
and any application directory partitions that are hosted on the domain controller you are checking for lingering objects."
Source: https://technet.microsoft.com/en-us/library/cc785298%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile
Maybe you are looking for
-
Document Attached to Oppertunity Through Actions
Hi, I had one issue related to Actions.with Action condition one Document(Word,pdf or any) will be triggered in Attachments tab in oppertunity.condition may be any thing in Action definition. This functionality available in Actions to attach one docu
-
Need help with total hard drive replacement and reinstall
Hello everyone, let me first say thank you for all the help I hope I get. I have a HP Envy 14 1260se Beats Edition Laptop and I recently purchased a new SSD which really made my laptop speedy. The only problem I am having is that I purchased the reco
-
I'm sure there was a discussion about this before(I could not find the exact thread) but let me describe my requirements . I have two messageChoice UI elements that is both populated by view objects. One is independently queried the other is dependen
-
ie. Apple aren't putting in faulty NVIDIA 8600 graphics processors Any ideas?
-
Declaring a cursor....newbie
Here ... I am unable to declare sampleCursor PROCEDURE MY_PROC_GET( dataCursor OUT RpTypes.RefCursor, /*This is fine */ operationType IN varchar AS sampleCursor RPTYPES.RefCursor%TYPE; /*error here same for RpTypes.RefCursor */ BEGIN Error: Error(9,1