Cisco Cisco Application Extension Platform for SRE
Cisco Application eXtension Platform 1.0 Quick Start Guide
Configuring Network Services
18
Cisco Application eXtension Platform 1.0 Quick Start Guide
OL-15669-01
se-Module(config)> app-service tcptrace <enter>
Step 4
To bind your application to an IP interface allowing IP traffic to your application, enter the following
command:
command:
se-Module(config-tcptrace)> bind eth0 <enter>
WARNING!!! Reset the hosting environment
WARNING!!! for binding to take effect
Note
The above warning reminds you to re-enter Cisco AXP EXEC mode after executing the bind command.
Step 5
se-Module(config-tcptrace)> end <enter>
Step 6
se-Module> app-service tcptrace <enter>
Step 7
se-Module(exec-tcptrace)> reset <enter>
The system resets. However, you do not see anything displayed on the screen indicating this.
Step 8
Verify that your virtual instance and application are online by entering the following command:
se-Module(exec-tcptrace)> show state <enter>
Testing IP Connectivity
Use the ping command to test the connectivity between your application’s virtual instance to the rest of
your network. Each virtual instance has its own Linux shell context and is isolated from other instances
and the effects of other applications.
your network. Each virtual instance has its own Linux shell context and is isolated from other instances
and the effects of other applications.
The following example shows how to test IP connectivity to your application using the ping command.
Step 1
To enter into the Linux shell context for your application, make sure you are in the virtual instance of
the installed application by entering Cisco AXP application service EXEC mode.
the installed application by entering Cisco AXP application service EXEC mode.
se-Module> app-service tcptrace <enter>
se-Module(exec-tcptrace)>
Step 2
Enter the Linux shell for your application (virtual instance shell).
se-Module(exec-tcptrace)> connect console <enter>
bash-2.05b#
Step 3
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
the bind command. See step 4 of
and
Ping the eth0 interface:
bash-2.05b# ping 192.168.2.2 <enter>
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.063 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=64 time=0.037 ms
64 bytes from 192.168.2.2: icmp_seq=3 ttl=64 time=0.061 ms
[1]+ Stopped ping 192.168.2.2
bash-2.05b#
Note
Press Ctrl-C to stop the ping.