


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;feed=atom&amp;action=history</id>
		<title>Application Extension Platform 1.x -- Configuring Network Services - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;action=history"/>
		<updated>2013-06-20T05:51:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;diff=36029&amp;oldid=prev</id>
		<title>Jwithing: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;diff=36029&amp;oldid=prev"/>
				<updated>2010-12-02T20:30:56Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:30, 2 December 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jwithing</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;diff=36028&amp;oldid=prev</id>
		<title>Jwithing: /* Testing IP Connectivity */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Application_Extension_Platform_1.x_--_Configuring_Network_Services&amp;diff=36028&amp;oldid=prev"/>
				<updated>2010-11-17T06:35:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Testing IP Connectivity&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The following sections explain how to configure basic network services for the application's virtual instance.&lt;br /&gt;
* [[Application Extension Platform 1.x -- Configuring Network Services#Binding an Application|Binding an Application]]&lt;br /&gt;
* [[Application Extension Platform 1.x -- Configuring Network Services#Testing IP Connectivity|Testing IP Connectivity]]&lt;br /&gt;
&lt;br /&gt;
== Binding an Application ==&lt;br /&gt;
&lt;br /&gt;
By default, a newly created application virtual instance is bound to interface eth0. Binding ensures that the application has IP connectivity to the Cisco 280x ISR and the rest of the network.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	If your application is already bound to the eth0 interface, you may skip this section and go to [[Application Extension Platform 1.x -- Configuring Network Services#Testing IP Connectivity|Testing IP Connectivity]]&lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
In this example application &amp;quot;tcptrace&amp;quot; binds to interface eth0 in Cisco AXP configuration mode.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# se-Module(exec-tcptrace)&amp;gt; end  &lt;br /&gt;
# se-Module&amp;gt; configure terminal  &lt;br /&gt;
# To enter the virtual instance where your application resides, type the following command: &lt;br /&gt;
&lt;br /&gt;
se-Module(config)&amp;gt; app-service tcptrace &lt;br /&gt;
# To bind your application to an IP interface allowing IP traffic to your application, enter the following command: &lt;br /&gt;
&lt;br /&gt;
se-Module(config-tcptrace)&amp;gt; bind eth0 &lt;br /&gt;
&lt;br /&gt;
WARNING!!! Reset the hosting environment&lt;br /&gt;
&lt;br /&gt;
WARNING!!! for binding to take effect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note: '''	The above warning reminds you to re-enter Cisco AXP EXEC mode after executing the '''bind''' command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# se-Module(config-tcptrace)&amp;gt; end  &lt;br /&gt;
# se-Module&amp;gt; app-service tcptrace &lt;br /&gt;
# se-Module(exec-tcptrace)&amp;gt; reset  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The system resets. No message is displayed on the screen to show that the system is resetting. &lt;br /&gt;
&lt;br /&gt;
Verify that your virtual instance and application are online by entering the command: &amp;lt;code&amp;gt;se-Module(exec-tcptrace)&amp;gt; show state&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing IP Connectivity ==&lt;br /&gt;
&lt;br /&gt;
Use the &amp;lt;code&amp;gt;ping&amp;lt;/code&amp;gt; command to test the connectivity between your application's virtual instance to the rest of the network. Each virtual instance has its own Linux shell context and is isolated from other instances and the effects of other applications.&lt;br /&gt;
&lt;br /&gt;
The following example shows how to test IP connectivity to your application.&lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
&lt;br /&gt;
In this example, you first enter Cisco AXP application service EXEC mode, then go&lt;br /&gt;
into the Linux shell context for your application, and then execute the &amp;lt;code&amp;gt;ping&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
se-Module&amp;gt; app-service tcptrace &lt;br /&gt;
&lt;br /&gt;
se-Module(exec-tcptrace)&amp;gt; &lt;br /&gt;
&lt;br /&gt;
# Enter the Linux shell for your application (virtual instance shell). &lt;br /&gt;
&lt;br /&gt;
se-Module(exec-tcptrace)&amp;gt; connect console &lt;br /&gt;
&lt;br /&gt;
bash-2.05b#&lt;br /&gt;
&lt;br /&gt;
# The interface to be pinged in this step is the eth0 interface to which you bound your application using the bind command. See step 4 of [[Application Extension Platform 1.x -- Configuring Network Services#Binding an Application|Binding an Application]] and [[Application Extension Platform 1.x -- Configuring the Cisco AXP Service Module#Figure: Cisco 280x ISR and Cisco AXP Service Module Configuration|Figure: Cisco 280x ISR and Cisco AXP Service Module Configuration]]. &lt;br /&gt;
&lt;br /&gt;
# Ping the eth0 interface&lt;br /&gt;
&lt;br /&gt;
bash-2.05b# ping 192.168.2.2 &lt;br /&gt;
&lt;br /&gt;
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.063 ms&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.2.2: icmp_seq=2 ttl=64 time=0.037 ms&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.2.2: icmp_seq=3 ttl=64 time=0.061 ms&lt;br /&gt;
&lt;br /&gt;
[1]+  Stopped  ping 192.168.2.2&lt;br /&gt;
&lt;br /&gt;
bash-2.05b# &lt;br /&gt;
&lt;br /&gt;
'''Note: '''	Press Ctrl-C to stop the '''ping'''.&lt;br /&gt;
# Ping the Cisco 280x ISR side of the ISE1/0 interface (router side):  &lt;br /&gt;
&lt;br /&gt;
bash-2.05b# ping 192.168.2.1 &lt;br /&gt;
&lt;br /&gt;
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.2.1: icmp_seq=1 ttl=255 time=2.31 ms&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.2.1: icmp_seq=2 ttl=255 time=0.822 ms&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.2.1: icmp_seq=3 ttl=255 time=0.799 ms&lt;br /&gt;
&lt;br /&gt;
[2]+  Stopped  ping 192.168.2.1&lt;br /&gt;
&lt;br /&gt;
bash-2.05b# &lt;br /&gt;
# Ping your FTP server, where your Cisco AXP package files are located: &lt;br /&gt;
&lt;br /&gt;
bash-2.05b# ping 192.168.1.1 &lt;br /&gt;
&lt;br /&gt;
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=3.59 ms&lt;br /&gt;
&lt;br /&gt;
64 bytes from 192.168.1.1: icmp_seq=2 ttl=254 time=1.68 ms&lt;br /&gt;
&lt;br /&gt;
[1]+  Stopped   ping 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
# The results of the above ping proves that the application environment has IP network connectivity through the Cisco 280x ISR to your FTP server's interface.&lt;br /&gt;
&lt;br /&gt;
bash-2.05b# &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your prompt is a standard Linux shell prompt, so it appears that you are logged into a Linux machine with your own root (/) directory. &lt;br /&gt;
&lt;br /&gt;
At this stage, you can start developing your application in your linux environment, view your working virtual instance environment, and check your network connectivity.&lt;br /&gt;
&lt;br /&gt;
To exit the virtual instance, enter the following commands.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bash-2.05b# exit &lt;br /&gt;
# exits the Linux shell environment in your virtual instance&lt;br /&gt;
&lt;br /&gt;
se-Module(exec-tcptrace)&amp;gt; exit &lt;br /&gt;
&lt;br /&gt;
se-Module&amp;gt; exit &lt;br /&gt;
&lt;br /&gt;
2800_w_axp# &lt;br /&gt;
&lt;br /&gt;
#You are now back to a Cisco 280x ISR prompt.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Return to start of Getting Started Guide: '''[[Cisco AXP Getting Started Guide]]&lt;br /&gt;
[[Category:AXP Getting Started]]&lt;/div&gt;</summary>
		<author><name>Jwithing</name></author>	</entry>

	</feed>