show
135
Media Flow Manager Administrator’s Guide
CHAPTER 5 CLI Commands
Example:
service-director xml-response
UK-response
http://www.example.com/svc/geo/uk-
xml-map.xml
service-director query-url-host
geosvc.example.com
match isp
Comcast
response
video1.comcast.com video2.comcast.com
match zip
95054
response
example1.video.com example2.video.com
match city
“Los Angeles”
response
cdn1.video.com cdn2.video.com
match state
CA
response
12.1.10.183 12.1.10.184 12.2.18.23
match country
USA
response
cdn2.video.com
match country
GBR
response
UK-response
match continent
Asia
response
cdn.singapore.com
match default response
cdn3.video.com
Response XML format example:
<?xml version="1.0" encoding="UTF-8" ?>
<geoiplookup name="GeoIP Service" service="Host Lookup">
<version>1.0.1</version>
<host_1>media10.break.com</host_1>
<host_2>media10.break.com</host_2>
<host_3>media10.break.com</host_3>
<country_code>USA</country_code>
<region_code>California</region_code>
<city_code>Los Angeles</city_code>
<client_ip>204.102.252.1</client_ip>
<query_ip>98.22.15.52</query_ip>
<curr_time>1234567890</curr_time>
<error_code>0</error_code>
</geoiplookup>
show service-director <service_name>
Display status of the specified service.
show
View information; see
“Displaying Information Using Show Commands” on page 145
for
details. Most are
EXEC
commands. There are many
show
commands described at the end of
the appropriate sections. Additionally, there are special
show
arguments:
•
bootvar
—Installed system images and boot parameters.
•
hosts
—Hostname, DNS configuration, and static host mappings.
•
interfaces configured
—Interface configurations.
•
memory
—System memory usage.
•
running-config
—Commands to recreate current running configuration.
•
stats cpu
—CPU statistics.
•
users
—Information about user logins.
•
version
—Version information for current system image.
•
whoami
—The identity and capabilities of the current user.
Содержание MEDIA FLOW MANAGER 2.0.2 - ADMINISTRATOR S GUIDE AND CLI
Страница 6: ...Media Flow Manager Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Страница 12: ...TABLE OF CONTENTS Media Flow Manager Administrator s Guide XII Copyright 2010 Juniper Networks Inc...
Страница 16: ...LIST OF FIGURES XVI Copyright 2010 Juniper Networks Inc...
Страница 152: ...CHAPTER 5 CLI Commands Media Flow Manager Administrator s Guide 152 write Copyright 2010 Juniper Networks Inc...