Updating QoS Profile Data in the Directory
You can update the directory and SDX Admin with a list of QoS profiles that are currently configured on a JUNOSe router. You can do so by using either SDX Admin or a program called qosProfilePublish.
Note that this feature is not supported on the C-series platform.
Using SDX Admin to Update QoS Profile Data
To update the directory with SDX Admin:
- In the navigation pane, expand the object o=Network.
- Select the router for which you want to update QoS profiles, and right-click.
![]()
- Select Update QoS Profiles.
The SDX Admin dialog box appears.
- Enter the IP address for the router; enter the SNMP community if the default value is incorrect; and click OK.
SDX Admin updates the QoS profiles for the router in the directory and displays the information in the QoS Profiles field of the Main tab in the EdgeDevice pane.
Using qosProfilePublish to Update QoS Profile Data
Because QoS profiles are part of the global configuration of JUNOSe routers, when a QoS profile is configured on the router, all virtual routers (VRs) can use that profile. Therefore, you update QoS profiles per router, not per VR as you do with IP pools. However, when you run qosProfilePublish, you still must define a VR using the -v option.
The syntax for qosProfilePublish is:
qosProfilePublish { { -v <vrName>@<routerName> -i <ipAddress>}*
-h <host> -b <baseDn> -D <bindDN> -w <password>
-c <readCommunity> ] | -H }To update QoS profile data using the qosProfilePublish command:
- On the SAE host, access the folder /opt/UMC/sae/etc.
cd /opt/UMC/sae/etc- Run the command.
./qosProfile -v vr1@erx1 -i 192.0.2.1 -v vr2@erx2 -i 192.0.2.3 -h 192.0.2.5 -w admin123 -D cn=umcAdmin,o=umc -b o=Network,o=umc -c public<vrName>
- Name of the VR.
- Value—Text string (value is case sensitive and must match the name in the JUNOSe configuration)
- Example—vr-boston
<routerName>
- Name of the JUNOSe router from which you want to update QoS profiles.
- Value—Text string (value is case sensitive and must match the name in the JUNOSe configuration)
- Example—erx1
<ipAddress>
<host>
- IP address or name of the host that supports the directory.
- Value—IP address or text string
- Example—192.0.2.2 or ottawa
<baseDn>
<bindDn>
<password>
<readCommunity>
- Name of the SNMP read community for a VR. If the SNMP read community for a VR is defined in the directory, you do not need to specify this value.
- Value—Text string
- Example—Public
-H
To update QoS profiles with qosProfilePublish:
- Access the folder in which qosProfilePublish is installed.
cd /opt/UMC/sae/etc
- Run qosProfilePublish.
The program accesses QoS profiles for the router that you specify and updates the information in the specified directory.
# ./qosProfilePublish -v default@erx1 -i 10.10.7.28 -h 10.10.227.7 -w admin123 -D cn=umcAdmin,o=umc -b o=Network,o=umc -c publicerx1 profiles are: ['atm-default', 'serial-default', 'ethernet-default', 'server-default']