< Home

Renaming an AS

Context

If an AS has no pre-configured name before being connected to the parent, by default, the AS uses the "system default name-device MAC address" as its name after being connected to the parent.

To facilitate identification and management of ASs, you are advised to configure a memorable name for an AS.

Procedure

  1. Pre-configure a name for an AS before the AS is connected to the parent.
    1. Run system-view

      The system view is displayed.

    2. Run uni-mng

      The uni-mng view is displayed.

    3. Run as name as-name model as-model mac-address mac-address

      An AS name is configured.

  2. Pre-configure a name for an AS after the AS is connected to the parent.
    1. Run system-view

      The system view is displayed.

    2. Run uni-mng

      The uni-mng view is displayed.

    3. Run display this

      The AS group to which the AS is added and the port group to which AS ports are added are displayed.

    4. Run as-group name group-name

      The view of the AS group to which the AS is added is displayed.

    5. Run undo as name as-name or undo as name-include string

      The AS is removed from the AS group.

    6. Run quit

      Exit from the AS group view.

    7. Run port-group name group-name

      The view of the port group to which AS ports are added is displayed.

    8. Run undo as name as-name interface { { interface-type interface-number1 [ to interface-number2 ] } &<1-10> | all } or undo as name-include string interface all

      AS ports are removed from the port group.

    9. Run quit

      Exit from the port group view.

    10. Run as name as-name model as-model mac-address mac-address

      An AS name is configured.

    11. After a name is configured for an AS, add the AS to the specified AS group again and add AS ports to the specified port group again.

    For example, the name of an AS is s5720li, and the AS has been connected to the parent and gone online. To facilitate identification of the AS, change the AS name to s5720li-floor1.

    <HUAWEI> system-view
    [HUAWEI] uni-mng
    [HUAWEI-um] display this
    #                                                                                                                                   
    uni-mng                                                                                                                             
     as name s5720li model S5720-28TP-LI-AC mac-address 0004-c05f-0a00                                                                  
     interface fabric-port 0                                                                                                            
      port member-group interface Eth-Trunk 0                                                                                           
     as-admin-profile name profile_1                                                                                                    
      traffic-limit outbound arp cir 64                                                                                                 
     network-basic-profile name profile_1                                                                                               
     as-group name group_1                                                                                                              
      as-admin-profile profile_1                                                                                                        
      as name s5720li                                                                                                                   
     port-group name group_1                                                                                                            
      network-basic-profile profile_1                                                                                                   
      as name s5720li interface GigabitEthernet 0/0/3                                                                                   
    #                                                                                                                                   
    return                                       
    [HUAWEI-um] as-group name group_1
    [HUAWEI-um-as-group-group_1] undo as name s5720li  //Remove the AS from the AS group group_1.
    [HUAWEI-um-as-group-group_1] quit
    [HUAWEI-um] port-group name group_1
    [HUAWEI-um-portgroup-group_1] undo as name s5720li interface all  //Remove the AS ports from the port group group_1.
    [HUAWEI-um-portgroup-group_1] quit
    [HUAWEI-um] as name s5720li-floor1 model S5720-28TP-LI-AC mac-address 0004-c05f-0a00  //Change the AS name.
    [HUAWEI-um-as-s5720li-floor1] quit
    [HUAWEI-um] as-group name group_1
    [HUAWEI-um-as-group-group_1] as name s5720li-floor1  //Add the AS to the AS group group_1 again.
    [HUAWEI-um-as-group-group_1] quit
    [HUAWEI-um] port-group name group_1
    [HUAWEI-um-portgroup-group_1] as name s5720li-floor1 interface GigabitEthernet 0/0/3   //Add the AS ports to the port group group_1 again.
    [HUAWEI-um-portgroup-group_1] quit

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >