Troubleshooting SDX Problems on JUNOS Routing Platforms
To troubleshoot SDX problems on the JUNOS routing platform, review the log files for the SAE and the log files generated by the SDX software process on the router.
- If the log files indicate that the SDX software process is not responding, see Troubleshooting Problems with the SDX Software Process.
- If the log files indicate a problem with a specific interface, see Troubleshooting Problems with Interfaces.
- If the log files indicate a problem with a specific service or its associated firewall rules, see Troubleshooting Problems with Services.
Troubleshooting Problems with the SDX Software Process
If the log files indicate that the SDX software process is not responding:
- Look at the status of the process on the JUNOS routing platform.
root@ui1>show system services service-deploymentConnected to 172.17.20.151 port 3333 since 2004-02-06 14:50:31 PSTKeepalive settings: Interval 15 secondsKeepalives sent: 100, Last sent: 6 seconds agoNotifications sent: 0Last update from peer: 00:00:06 ago- If you see the message "error: the service-deployment subsystem is not running," reenable the SDX software process (see Disabling Interactions Between the SAE and JUNOS Routing Platforms).
- If the process is already enabled, review the configurations of the router and the SAE in the directory, and fix any problems.
- Restart the SDX software process on the router.
root@ui1>restart service-deploymentThe SAE synchronizes with the SDX software process and deletes unnecessary data from the router.
Troubleshooting Problems with Interfaces
If the log files indicate a problem with a specific interface or its associated firewall rules:
- Use SAE Web Admin to look at the configuration of the policies associated with the interfaces (see SDX Monitoring and Troubleshooting Guide, Chapter 6, Monitoring and Managing SAE Data).
If you find any errors, fix the configuration in the directory, and proceed to Step 4. Otherwise, proceed to Step 2.
- Access the State page in SAE Web Admin, and click the Interfaces option.
- In this page, list all the interfaces or search for a particular interface.
- When the page displays the interfaces that match your search, click the link to the interface.
![]()
- Display the corresponding interfaces on the JUNOS routing platform.
root@olive1#show groups sdx interfaces<fe-0/0/0> {unit <0> {family inet {filter {input SDX_PRIVATE_ID0000000000001092282;output SDX_PRIVATE_ID0000000000001223352;}}}}If you find any errors, fix the configuration in the directory, and proceed to Step 4. Otherwise, proceed to Step 3.
- Disable the SDX software process.
root@ui1#set system processes service-deployment disableroot@ui1#commit- Delete the interfaces from the router.
delete groups sdx interfaces <interfaceName> <interfaceIdentifier>root@ui1#commitFor example, to delete the interface with identifier fe-0/0/0 unit 0, enter:
root@ui1#delete groups sdx interfaces <fe-0/0/0> unit <0>root@ui1#commit
- Reenable the SDX software process.
root@ui1#delete system processes service-deployment disableroot@ui1#commitThe SAE reconfigures the interface that you deleted.
If the action you took did not fix the problem, return to the last step you performed, and proceed with this troubleshooting procedure. If you have performed all the tasks in the troubleshooting procedure and the problem persists, delete all SDX data on the JUNOS routing platform (see Deleting All SDX Data on JUNOS Routing Platforms).
Troubleshooting Problems with Services
If the log files indicate a problem with a specific service or its associated firewall rules:
- Use SAE Web Admin to review the configuration of the service or firewall rule in the directory (see SDX Monitoring and Troubleshooting Guide, Chapter 6, Monitoring and Managing SAE Data).
If you find any errors, fix the configuration in the directory, and proceed to Step 4. Otherwise, proceed to Step 2.
- Review the configuration of the policies and substitutions associated with the service or firewall rule in the directory,
If you find any errors, fix the configuration in the directory and proceed to Step 5. Otherwise, proceed to Step 3.
- Access the State page in SAE Web Admin.
- List all subscribers for the JUNOS routing platform, or search for a specific subscriber that uses this service.
The page displays a list of the subscribers that you matched your search.
The page displays sessions and profiles for this subscriber.
- Scroll to an active service session for this service, and observe the ProvisioningSet field of that session.
![]()
- Locate an identifier that is associated with the service that is causing the problem.
For example, in the above display, the identifier
SDX_PRIVATE_ID0000000000002075317is associated with a Network Address Translation (NAT) rule.
- Review the corresponding configuration on the JUNOS routing platform.
root@olive1#show groups sdx services nat rule SDX_PRIVATE_ID0000000 000002075317match-direction input;term SDX_PRIVATE_TERM {from {source-address {0.0.0.0/0;}destination-address {0.0.0.0/0;}}then {translated {source-pool SDX_PRIVATE_ID0000000000002009780;translation-type source dynamic;}}}If you find any errors, fix the configuration in the directory and proceed to Step 5. Otherwise, proceed to Step 4.
- Disable the SDX software process.
root@ui1#set system processes service-deployment disableroot@ui1#commit- Delete the service on the JUNOS routing platform.
delete groups sdx services <serviceName> <filterID>root@ui1#commitFor example, to delete a firewall filter of the service called firewall with filterID SDX_PRIVATE_ID0000000000001223352, enter:
delete groups sdx services firewall filter SDX_PRIVATE_ID0000000000001223352
- Reenable the SDX software process.
root@ui1#delete system processes service-deployment disableroot@ui1#commitThe SAE reconfigures the service that you deleted on the JUNOS routing platform.
If the action you took did not fix the problem, return to the last step you performed, and proceed with this troubleshooting procedure. If you have performed all the tasks in the troubleshooting procedure and the problem persists, delete all SDX data on the JUNOS routing platform (see Deleting All SDX Data on JUNOS Routing Platforms).
Deleting All SDX Data on JUNOS Routing Platforms
If deleting parts of the SDX data on a JUNOS routing platform fails to solve problems, delete all the SDX data and restart the SDX software process. To do so:
- Delete all SDX interfaces and services.
delete groups sdxroot@ui1#commit- If you are running SDX software releases 5.0 through 6.1, you should also delete interface sessions. (After release 6.2, session data is no longer stored on the router, it is stored on the SAE host using the session store feature.)
delete groups sdx-sessionsroot@ui1#commit- Restart the SDX software process on the router.
root@ui1>restart service-deploymentThe SAE reconfigures all the interfaces and services that you deleted from the router.