Configuring Service Placement
Command or Action
Step 2
service-resolution web-service username username
password password
Example:
SR(config)# service-resolution web-service
username foo password 1234
Step 3
service-resolution dc id pe-address address
Example:
SR(config)# service-resolution dc att-west
pe-address 5.5.5.5
SR(config)# service-resolution dc DC1
pe-address 2.2.2.2
SR(config)# service-resolution dc DC1
pe-address 3.3.3.3
SR(config)# service-resolution dc DC2
pe-address 4.4.4.4
SR(config)# service-resolution dc DC2
pe-address 1.1.1.1
Step 4
service-resolution exclude dc id
Example:
switch(config)# service-resolution exclude
dc att_west
Step 5
service-resolution service-request timeout
timeout-interval
Example:
switch(config)# service-resolution
service-request timeout 90
Service Resolution Configuration Examples
show service-resolution dc command: example
SR-1# show service-resolution dc
OL-25794-01
Purpose
Configures the username and password for the service resolution API
user authentication. Only one username and password pair can be
configured. If you do not configure a username and password, user
authentication is disabled.
Configures data center (DC)/PE pairs. Data centers entered in this
command are used for the DC candidate list as well as being associated
with a PE connected to the DC.
Adds data centers to a global exclusion list, in other words a list of
data centers to be excluded from the service placement
recommendation operation. A common use for exclusion is when
data centers are down for maintenance.
Specifies the service request timeout interval in seconds. Values can
range from 1 to 3600. The default is 30 seconds.
Cisco Network Positioning System Configuration Guide for the Cisco ASR 1000 Router, Release 1.0
Service Resolution Configuration Examples
• port—Port within the web server address that the external world
uses to reach the API.
• username—Service resolution API username to be added.
• password—Password associated with this username.
• id—Unique data center identifier.
• address—IP address of the PE used to access the DC. This
address is used as an end-point in the various types of rankings
(performance, proximity, etc.).
• id—Identifier of the data center to be excluded.
7
Need help?
Do you have a question about the ASR1002 - ASR 1002 Router and is the answer not in the manual?