Router restart required to change datapath transport interface?

Document created by cdnadmin on Jan 25, 2014
Version 1Show Document
  • View in full screen mode
This document was generated from CDN thread

Created by: Viktor S. Wold Eide on 05-12-2013 08:23:08 AM
Hi,

During development and test, changing the datapath transport interface is sometimes necessary. However, it seems like restarting the router is necessary. The router complains about (see below):
Configuration can't be changed while a ONE-P session is active

I can not see any sessions via the "show onep session all" commands.  After rebooting the router and before starting any onep applications, the configuration can be changed. We experience the same behavior for c2951 and vIOS routers.

Are we missing something?

Best regards
Viktor

 1[size=1]OnePK-2#show running-config | begin onep
 2onep
 3 datapath transport gre sender-id 2 interface GigabitEthernet0/1
 4 transport type tcp
 5!
 6end
 7
 8OnePK-2#show onep session all         
 9OnePK-2#configure terminal
10Enter configuration commands, one per line.  End with CNTL/Z.
11OnePK-2(config)#onep
12OnePK-2(config-onep)#no datapath transport gre sender-id 2 interface GigabitEthernet0/1
13 Configuration can't be changed while a ONE-P session is active
14OnePK-2(config-onep)#[/size]


Subject: RE: Router restart required to change datapath transport interface?
Replied by: Joseph Clarke on 05-12-2013 07:46:28 PM
I don't have my 1.0 VM fired up at the moment, but I can say this is working in the upcoming 1.1 release (and 15.4 code).  Can you try turning off onePK by disabling the TCP transport, then see if you can remove the DPSS config?

Subject: RE: Router restart required to change datapath transport interface?
Replied by: Viktor S. Wold Eide on 06-12-2013 02:47:19 AM
It's good to hear that this is working in the upcoming 1.1 relase. Disabling TCP transport does not seem to make any difference (see below), but 1.1 should be coming soon from what we understand.

Best regards
Viktor
 1OnePK-2#show running-config | begin onep
 2onep
 3 datapath transport gre sender-id 2 interface GigabitEthernet0/1
 4!
 5end
 6OnePK-2#show onep session all         
 7OnePK-2#configure terminal            
 8Enter configuration commands, one per line.  End with CNTL/Z.
 9OnePK-2(config)#onep
10OnePK-2(config-onep)#no datapath transport gre sender-id 2 interface GigabitEthernet0/1
11 Configuration can't be changed while a ONE-P session is active
12OnePK-2(config-onep)#


Subject: RE: Router restart required to change datapath transport interface?
Replied by: Joseph Clarke on 06-12-2013 11:28:43 AM
I can confirm that 1.0 doesn't seem to tear down the GRE tunnel, even if I kill the dpss_mp on the Linux box.  The 1.1 version definitely tears down the tunnel, so the session goes away.

Attachments

    Outcomes