Configuring System-Related Policies

This chapter includes the following sections:

Configuring the Rack Server Discovery Policy

Rack Server Discovery Policy

The rack server discovery policy determines how the system reacts when you add a new rack-mount server. Cisco UCS Manager uses the settings in the rack server discovery policy to determine whether any data on the hard disks are scrubbed and whether server discovery occurs immediately or needs to wait for explicit user acknowledgement.

Cisco UCS Manager cannot discover any rack-mount server that has not been correctly cabled and connected to the fabric interconnects. For information about how to integrate a supported Cisco UCS rack-mount server with Cisco UCS Manager, see the appropriate rack-mount server integration guide.

Configuring the Rack Server Discovery Policy

Procedure
     Command or ActionPurpose
    Step 1UCS-A# scope org /  

    Enters the root organization mode.

    Note   

    The rack server discovery policy can be accessed only from the root organization.

     
    Step 2UCS-A /org # scope rackserver-disc-policy  

    Enters organization rack server discovery policy mode.

     
    Step 3UCS-A /org/rackserver-disc-policy # set action {immediate | user-acknowledged}  

    Specifies the way the system reacts when you add a new rack server.

     
    Step 4UCS-A /org/rackserver-disc-policy # set descr description   (Optional)

    Provides a description for the rack server discovery policy.

    Note   

    If your description includes spaces, special characters, or punctuation, you must begin and end your description with quotation marks. The quotation marks will not appear in the description field of any show command output.

     
    Step 5UCS-A /org/rackserver-disc-policy # set scrub-policy scrub-pol-name  

    Specifies the scrub policy that should run on a newly discovered rack server.

     
    Step 6UCS-A /org/rackserver-disc-policy # commit-buffer  

    Commits the transaction to the system configuration.

     

    The following example scopes to the default rack server discovery policy, sets it to immediately discover new rack servers, provides a description for the policy, specifies a scrub policy called scrubpol1, and commits the transaction:

    UCS-A# scope org /
    UCS-A /org # scope rackserver-disc-policy
    UCS-A /org/rackserver-disc-policy* # set action immediate
    UCS-A /org/rackserver-disc-policy* # set descr "This is an example rackserver discovery policy."
    UCS-A /org/rackserver-disc-policy* # set scrub-policy scrubpol1
    UCS-A /org/rackserver-disc-policy* # commit-buffer
    UCS-A /org/rackserver-disc-policy # 
    

    Configuring the Aging Time for the MAC Address Table

    Aging Time for the MAC Address Table

    To efficiently switch packets between ports, the fabric interconnect maintains a MAC address table. It dynamically builds the MAC address table by using the MAC source address from the packets received and the associated port on which the packets were learned. The fabric interconnect uses an aging mechanism, defined by a configurable aging timer, to determine how long an entry remains in the MAC address table. If an address remains inactive for a specified number of seconds, it is removed from the MAC address table.

    You can configure the amount of time (age) that a MAC address entry (MAC address and associated port) remains in the MAC address table.

    Configuring the Aging Time for the MAC Address Table

    Procedure
       Command or ActionPurpose
      Step 1UCS-A# scope eth-uplink  

      Enters Ethernet uplink mode.

       
      Step 2UCS-A /eth-uplink # set mac-aging {dd hh mm ss | mode-default | never} 

      Specifies the aging time for the MAC address table. Use the mode-default keyword to set the aging time to a default value dependent on the configured Ethernet switching mode. Use the never keyword to never remove MAC addresses from the table regardless of how long they have been idle.

       
      Step 3UCS-A /eth-uplink # commit-buffer  

      Commits the transaction to the system configuration.

       

      The following example sets the aging time for the MAC address table to one day and 12 hours and commits the transaction:

      UCS-A# scope eth-uplink
      UCS-A /eth-uplink # set mac-aging 01 12 00 00
      UCS-A /eth-uplink* # commit-buffer
      UCS-A /eth-uplink #