Cisco Cisco Prime Network Services Controller 3.0

Page de 169
 
 
© 2013, 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
Page 86 of 169 
Deleting a DNS Server Host Name 
You can delete a Domain Name Server (DNS) hostname. 
BEFORE YOU BEGIN 
See 
 for basic information about the Prime Network 
Services Controller  CLI. 
CLI 
Policy Manager  
SUMMARY STEPS 
1.  connect policy-mgr 
2.  scope org 
3.  scope deviceprofile <profile-name> 
4.  delete dns <ip-address> 
5.  commit-buffer 
DETAILED STEPS  
 
Command 
Purpose  
Step 1   connect policy-mgr 
                                                         
Example:                                                 
nsc# connect policy-mgr 
Places you in the policy manager 
CLI. 
Step 2  scope org 
                                                         
Example:                                                 
nsc (policy-mgr)# scope org 
Places you in organization mode. 
Step 3  scope deviceprofile 
 
Example: 
nsc (policy-mgr) /org # scope deviceprofile 
default
 
Places you in device profile mode.
 
Step 4  delete dns 
 
Example: 
nsc (policy-mgr) /org/deviceprofile # delete 
dns 209.165.200.225
 
Deletes a DNS host name. 
Step 5  commit-buffer 
                                                         
Example:                                                 
nsc /system/backup* # commit-buffer 
Commits (saves) the 
configuration. 
EXAMPLES 
This example shows how to delete a DNS server host name: 
nsc # connect policy-mgr 
Cisco Prime Network Services Controller 
TAC support: http://www.cisco.com/tac 
Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved. 
The copyrights to certain works contained in this software are 
owned by other third parties and used and distributed under 
license. Certain components of this software are licensed under 
the GNU General Public License (GPL) version 2.0 or the GNU