Troubleshooting
To troubleshoot SDX problems on the JUNOS routing platform, check the log files for the SAE and the log files generated by the SDX software process on the JUNOS routing platform.
- 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 on the JUNOS routing platform, 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:
- Check 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 the JUNOS Routing Platform).
- If the process is already enabled, check the configurations of the router and the SAE in the directory, and fix any problems.
- Restart the SDX software process on the JUNOS routing platform.
root@ui1>restart service-deploymentroot@ui1#commitThe SAE synchronizes with the SDX software process and deletes unnecessary data on the JUNOS routing platform.
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 check the configuration of the policies associated with the interfaces (see SDX Components Guide, Vol. 1, Chapter 3, Starting and Managing the SAE).
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 on the JUNOS routing platform:
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#commit
- Restart the SDX software process on the JUNOS routing platform.
root@ui1>restart service-deploymentroot@ui1#commitThe SAE reconfigures the interface 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 interface sessions and services on the JUNOS routing platform (see Deleting All Interface Sessions and Services).
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 check the configuration of the service or firewall rule in the directory (see SDX Components Guide, Vol. 1, Chapter 3, Starting and Managing the SAE).
If you find any errors, fix the configuration in the directory and proceed to Step 4. Otherwise, proceed to Step 2.
- Check 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 the SAE Web Admin (see SDX Components Guide, Vol. 1, Chapter 3, Starting and Managing the SAE).
- 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 NAT rule.
- Check 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#commit
- Restart the SDX software process on the JUNOS routing platform.
root@ui1>restart service-deploymentroot@ui1#commitThe SAE reconfigures the service 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 interface sessions and services on the JUNOS routing platform (see Deleting All Interface Sessions and Services).
Deleting All Interface Sessions and Services
If deleting parts of the SDX data on the 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, services, and interface sessions.
delete groups sdxdelete groups sdx-sessionsroot@ui1#commit- Restart the SDX software process on the JUNOS routing platform.
root@ui1>restart service-deploymentroot@ui1#commitThe SAE reconfigures all the interfaces and services that you deleted on the JUNOS routing platform.