- Preface
-
- Configuring the Fabric Interconnects
- Configuring Ports and Port Channels
- Configuring Communication Services
- Configuring Authentication
- Configuring Organizations
- Configuring Role-Based Access Control
- Managing Firmware
- Configuring DNS Servers
- Configuring System-Related Policies
- Managing Licenses
- Managing Virtual Interfaces
- Index
Configuring MAC Pools
This chapter includes the following sections:
MAC Pools
A MAC pool is a collection of network identities, or MAC addresses, that are unique in their layer 2 environment and are available to be assigned to vNICs on a server. If you use MAC pools in service profiles, you do not have to manually configure the MAC addresses to be used by the server associated with the service profile.
In a system that implements multi-tenancy, you can use the organizational hierarchy to ensure that MAC pools can only be used by specific applications or business services. Cisco UCS Manager uses the name resolution policy to assign MAC addresses from the pool.
To assign a MAC address to a server, you must include the MAC pool in a vNIC policy. The vNIC policy is then included in the service profile assigned to that server.
You can specify your own MAC addresses or use a group of MAC addresses provided by Cisco.
Creating a MAC Pool
The following example creates a MAC pool named pool37, provides a description for the pool, defines a MAC address block by specifying the first and last MAC addresses in the block, and commits the transaction:
UCS-A# scope org / UCS-A /org # create mac-pool pool37 UCS-A /org/mac-pool* # set descr "This is my MAC pool" UCS-A /org/mac-pool* # create block 00:A0:D7:42:00:01 00:A0:D7:42:01:00 UCS-A /org/mac-pool/block* # commit-buffer UCS-A /org/mac-pool/block #
Include the MAC pool in a vNIC template.
Deleting a MAC Pool
If you delete a pool, Cisco UCS Manager does not reallocate any addresses from that pool that have been assigned to vNICs or vHBAs. All assigned addresses from a deleted pool remain with the vNIC or vHBA to which they are assigned until one of the following occurs:
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | UCS-A# scope org org-name | Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name. |
| Step 2 | UCS-A /org # delete mac-pool pool-name | Deletes the specified MAC pool. |
| Step 3 | UCS-A /org # commit-buffer | Commits the transaction to the system configuration. |
The following example deletes the MAC pool named pool4 and commits the transaction:
UCS-A# scope org / UCS-A /org # delete mac-pool pool4 UCS-A /org* # commit-buffer UCS-A /org #
Feedback