rename

Renames and existing TLO

Supported in the following platforms:

Syntax

rename tlo <TLO-NAME> <NEW-TLO-NAME>

Parameters

rename tlo <TLO-NAME> <NEW-TLO-NAME>
rename tlo <TLO-NAME> <NEW-TLO-NAME> Renames an existing TLO object
  • <TLO-NAME> – Specify the TLO‘s name. This is the TLO that is to be renamed.
    • <NEW-TLO-NAME> – Specify the new name for this TLO.

Examples

The following example shows the top level objects available for renaming:
Note

Note

Enter rename and press Tab to list top level objects available for renaming.
nx9500-6C8809(config)#rename [TAB]
aaa_policy                          aaa_tacacs_policy
address_range_alias                 aif_policy
app_policy                          application
assoc_acl                           auto_provisioning_policy
bgp_as_path_list                    bgp_community_list
bgp_extcommunity_list               bgp_ip_access_list
bgp_ip_prefix_list                  bonjour_gw_discovery_policy
bonjour_gw_forwarding_policy        bonjour_gw_query_forwarding_policy
bridging_policy                     captive_portal
centro_policy                       client_identity
client_identity_group               content_cache_policy
content_filter_policy               crypto_cmp_policy
database_client_policy              database_policy
device_categorization               dhcp_server_policy
dhcpv6_server_policy                dns_whitelist
dr_route_map                        encrypted_string_alias
event_system_policy                 ex3500_ext_ip_acl
ex3500_management_policy            ex3500_qos_class_map_policy
ex3500_qos_policy_map               ex3500_std_ip_acl
ex3500_time_range                   firewall_policy
global_assoc_list                   guest_management
hashed_string_alias                 host_alias
ip_acl                              ip_snmp_acl
--More--
nx9500-6C8809(config)#

The following examples first clones the existing IP access list BROADCAST-MULTICAST-CONTROL, and then renames the cloned IP access list:

nx9500-6C8809(config)#show context include-factory | include ip access-list
ip access-list BROADCAST-MULTICAST-CONTROL
nx9500-6C8809(config)#
nx9500-6C8809(config)#clone ip_acl BROADCAST-MULTICAST-CONTROL Test_IP_CLONED
nx9500-6C8809(config)#commit
nx9500-6C8809(config)#show context include-factory | include ip access-list
ip access-list BROADCAST-MULTICAST-CONTROL
ip access-list Test_IP_CLONED
nx9500-6C8809(config)#
nx9500-6C8809(config)#rename Test_IP_CLONED NEW_IP_CLONED
nx9500-6C8809nx9500-6C8809(config)#commit
nx9500-6C8809(config)#show context include-factory | include ip access-list
ip access-list BROADCAST-MULTICAST-CONTROL
ip access-list NEW_IP_CLONED
nx9500-6C8809(config)#

Related Commands

clone Creates a replica of an existing TLO or device