Question #21
Which action is taken by switch port enabled for PoE power classification override?
A
If a monitored port exceeds the maximum administrative value for power, the port is shutdown and err-disabled.
B
When a powered device begins drawing power from a PoE switch port, a syslog message is generated.
C
As power usage on a PoE switch port is checked, data flow to the connected device is temporarily paused.
D
If a switch determines that a device is using less than the minimum configured power, it assumes the device has failed and disconnects it.
English
This question delves into a specific feature of Power over Ethernet (PoE) on Cisco switches: **PoE power classification override**. Understanding this feature, its purpose, and its implications is crucial for managing network power effectively and safely.
Let's break down the question and each option in detail.
---
### **Understanding the Core Concepts**
Before we analyze the options, let's clarify some key terms:
1. **Power over Ethernet (PoE):** This technology allows network cables (like Ethernet cables) to carry electrical power along with data. This means devices like IP phones, wireless access points, or security cameras can receive both their network connection and their power from a single Ethernet cable, eliminating the need for separate power outlets.
* **Power Sourcing Equipment (PSE):** This is typically the network switch that provides the power.
* **Powered Device (PD):** This is the device that receives power from the switch (e.g., IP phone, AP).
2. **PoE Power Classification:** When a PD connects to a PoE switch port, it usually performs a "classification" process. During this process, the PD signals to the switch how much power it expects to consume (its "class"). The switch then allocates that power. This ensures that the switch doesn't try to deliver more power than it has available or less than the device needs.
3. **PoE Power Classification Override:** This is a command or feature on a Cisco switch that allows a network administrator to **manually set the maximum amount of power** that a specific PoE port can deliver, *regardless* of what the connected Powered Device (PD) requests during the classification process.
* **Why use it?**
* **Safety:** To prevent faulty or misbehaving devices from drawing excessive power, which could damage the switch or other equipment.
* **Resource Management:** To ensure that a specific port doesn't consume more power than budgeted, leaving enough power for other ports on the switch.
* **Troubleshooting:** To isolate power issues.
4. **Err-disabled State:** This is a security and fault-prevention state for a switch port. If a port experiences certain errors (like excessive power draw, duplicate MAC addresses, or security violations), the switch automatically shuts down the port and puts it into an "err-disabled" state. This protects the switch and the network. A port in err-disabled state will not pass traffic or provide power until an administrator manually re-enables it.
5. **Syslog:** A standard for sending and receiving notification messages (logs) from network devices. These messages can be about various events, including warnings, errors, or informational notices.
---
### **Detailed Analysis of the Question and Options**
The question asks what action is taken when a switch port is enabled for PoE power classification override. This implies what happens *if the override's limit is exceeded or if the feature is active*.
#### **Correct Answer Analysis:**
**"If a monitored port exceeds the maximum administrative value for power, the port is shutdown and err-disabled."**
* **Explanation:** This option accurately describes the protective action taken when the PoE power classification override feature is in effect.
* **"Maximum administrative value for power":** This refers to the specific power limit that you, the network administrator, have set using the "power classification override" command on that port.
* **"Exceeds":** If a connected Powered Device (PD) tries to draw *more* power than this administratively defined limit.
* **"Shutdown and err-disabled":** This is the crucial part. The switch interprets this excessive power draw as a potential fault, a short circuit, or a security risk. To protect itself and the power supply, it immediately shuts down the port and puts it into the **err-disabled** state. The port will cease to provide power and will stop passing data. An administrator must then investigate the issue and manually re-enable the port.
* **Why it's correct:** The core purpose of the "power classification override" is to enforce a maximum power limit. The most critical action a switch takes when this limit is violated is to protect itself, and err-disabling the port is the standard protective mechanism for such power faults.
#### **Incorrect Options Analysis:**
1. **"When a powered device begins drawing power from a PoE switch port, a syslog message is generated."**
* **Explanation:** While syslog messages *can* be generated for various PoE events (e.g., a device connecting, power allocation changes, or even power faults), generating a syslog message is primarily an **informational** or **alerting** action. It is not the *primary protective action* taken when a specific power limit (set by classification override) is *exceeded*. The question asks for *the* action related to the override's enforcement, which is more severe than just logging a message. The err-disable state is the direct consequence of exceeding the override.
* **Why it's incorrect:** This describes an informational event that might happen, but it's not the critical enforcement action directly tied to exceeding an administratively set power limit via an override.
2. **"As power usage on a PoE switch port is checked, data flow to the connected device is temporarily paused."**
* **Explanation:** This is incorrect. PoE is designed to be transparent and non-disruptive to data flow. The power negotiation and delivery processes happen in parallel with data communication or during the initial link establishment without interrupting ongoing data traffic. Pausing data flow for power checks would severely impact network services and is not how PoE operates.
* **Why it's incorrect:** This statement describes an undesirable and non-standard behavior for PoE.
3. **"If a switch determines that a device is using less than the minimum configured power, it assumes the device has failed and disconnects it."**
* **Explanation:** This is also incorrect. There isn't typically a "minimum configured power" threshold that would cause a switch to disconnect a device for *under-usage*. Devices draw power based on their needs, and sometimes they might draw very little power when idle. A device using less power than expected might indicate it's in a low-power state, not necessarily a failure that requires disconnection. The primary concern in PoE is preventing *over-consumption* of power, not under-consumption.
* **Why it's incorrect:** The concept of disconnecting based on "less than minimum configured power" is not a standard PoE feature and could lead to unnecessary service interruptions.
---
### **Conclusion**
The "PoE power classification override" feature is a powerful tool for network administrators to manage and secure power delivery on their network. Its primary protective mechanism, when the configured limit is violated, is to put the offending port into an **err-disabled state**, safeguarding the switch and ensuring power integrity across the network.
The correct answer directly describes this critical safety feature.
日本語
CCNA試験対策として、PoE(Power over Ethernet)の機能である「**Power Classification Override(電力分類の上書き)**」に関する詳細な解析を提供します。
---
# CCNA 試験問題解析:PoE Power Classification Override
## 1. 問題の要約
**問題:** Switchポートで PoE の 「Power Classification Override」が有効になっている場合、スイッチはどのようなアクションを実行するか?
**解答の核心:**
スイッチは、受電デバイス(PD: Powered Device)がハードウェアレイヤ(物理層)で通知してくる「電力クラス(Class)」を無視し、**CDP/LLDP を通じて通知された電力値、または手動で設定された電力値に基づいて電力を供給および管理します。**
---
## 2. 技術的背景(エンジニアによる解説)
PoEの電力ネゴシエーションには、大きく分けて2つのフェーズがあります。
### ① ハードウェア分類(L1 Classification)
PD(IP電話やカメラなど)がスイッチに接続された際、抵抗値を用いて自分の電力クラス(Class 0〜4など)を伝えます。
* 例:Class 3 のデバイスは、最大 **15.4W** を要求します。
* 通常、スイッチはこの「クラスの最大値」を電力バジェット(予算)から差し引いて確保します。
### ② ソフトウェア分類(L2 Negotiation: CDP/LLDP)
リンクが確立された後、CDP(Cisco Discovery Protocol)や LLDP を使用して、より詳細な電力要求値をやり取りします。
* 例:Class 3(15.4W)のデバイスだが、実際には **7.0W** しか使わない場合、CDPで「7.0W必要」と伝えます。
### Power Classification Override が必要な理由
通常、スイッチは「ハードウェア分類」の結果を優先して電力バジェットを確保します。しかし、これでは実際の消費電力よりも多くの電力を「予約」してしまい、スイッチ全体の電力リソース(Power Budget)を無駄に消費してしまいます。
**Power Classification Override を有効にすると:**
スイッチは PD から報告される実際の消費電力(CDP/LLDPベース)を信頼し、物理的なクラス制限を超えた、あるいはそれ以下の正確な電力割り当てを許可します。
---
## 3. 主な動作とメリット
この機能が有効なポートでの具体的なアクションは以下の通りです。
1. **電力バジェットの最適化:**
デバイスの IEEE クラスが指定する最大値ではなく、実際の消費電力に基づいて計算を行うため、より多くのデバイスを同じスイッチに接続できるようになります(オーバーサブスクリプションの効率化)。
2. **クラス制限の無視:**
PDがハードウェアクラスで定義された以上の電力を必要とする場合(特殊なデバイスなど)、CDP/LLDPでの合意があれば、クラスの閾値を超えて電力を供給することを許可します。
3. **エラー防止:**
デバイスが誤ったクラスを通知していても、実際の動作に必要な電力を動的に割り当てることができます。
---
## 4. 設定例(Cisco IOS)
エンジニアが実務でこの挙動を制御する際のコマンド例です。
```bash
Device(config-if)# power inline consumption default
# または
Device(config-if)# power inline port priority high
```
※ `power inline consumption` コマンドなどが、この「上書き(Override)」動作に関連します。これにより、ハードウェアクラスに関係なく、特定の電力量をポートに割り当てることが可能になります。
---
## 5. まとめ:試験対策ポイント
試験で「Power Classification Override」について問われたら、以下のキーワードを探してください。
* **Ignore the IEEE classification(IEEEクラスを無視する)**
* **Allow power based on CDP/LLDP(CDP/LLDPに基づいて電力を許可する)**
* **Override the hardware classification(ハードウェア分類を上書きする)**
* **Optimize power budget(電力バジェットを最適化する)**
この機能は、限られたスイッチの電源ユニット(PSU)リソースを最大限に活用するための、高度な電力管理機能であると理解しておけば間違いありません。
---
**作成者:Ciscoネットワークエキスパート(CCNA保有)**
繁體中文
這是一個關於 Cisco PoE (Power over Ethernet) 技術細節的經典考題。身為網路工程師,理解 PoE 的協商機制對於規劃無線存取點 (AP)、IP 電話及監控系統至關重要。
以下是針對 **PoE Power Classification Override** 動作的詳細解析:
---
### 1. 考題核心答案 (The Action Taken)
當交換器連接埠啟動了 **PoE Power Classification Override** 功能時,其採取的動作為:
> **交換器會忽略受電設備 (PD, Powered Device) 透過實體層(硬體電阻)宣告的電力類別 (Class),轉而允許設備根據 CDP (Cisco Discovery Protocol) 或 LLDP 協商出的實際功率需求來獲取電力,甚至允許其消耗超過其硬體類別定義的上限(但在硬體物理極限內)。**
簡單來說:**「軟體協商的功率需求」優先於「硬體類別的預設限制」**。
---
### 2. 技術背景:PoE 的功率分類機制
要理解為什麼需要「Override」,必須先知道標準的 PoE 運作流程:
1. **硬體分類 (Hardware Classification):** 當 PD 設備插入時,交換器 (PSE) 會偵測 PD 的電阻值,將其歸類為 **Class 0 到 Class 4**。
* *Class 3*:預設分配 15.4W。
* *Class 4*:預設分配 30W (PoE+)。
2. **電力預留 (Power Budgeting):** 預設情況下,交換器會根據這個 Class **直接預留** 固定功率。例如,一個 Class 3 的設備即使實際只用 5W,交換器也會在電力預算中扣除 15.4W。
---
### 3. 為什麼需要 Power Classification Override?
在實際部署中,常會遇到以下兩種狀況,這時 Override 功能就顯得非常重要:
* **情況 A:設備誤報 Class**
有些 PD 設備可能因為硬體設計,宣告自己是 Class 4 (30W),但實際上它最高負載僅需 12W。若不開啟 Override,交換器會浪費電力預算,導致後續插入的設備因「電力剩餘不足」而無法供電。
* **情況 B:設備需求略微超過 Class 限制**
某些設備宣告為 Class 2 (7W),但在啟動瞬間或特定負載下需要 9W。若沒有 Override,交換器會因為檢測到電流超出 Class 限制而切斷電源。
---
### 4. 詳細動作流程 (Step-by-Step)
當 `power inline port dot3af-override` (或類似指令) 被啟用後:
1. **初始供電**:交換器仍先偵測硬體 Class 並給予基礎電力。
2. **協議協商**:交換器與 PD 建立連結後,透過 **CDP** 或 **LLDP** 進行通訊。
3. **覆蓋限制**:
* 如果 CDP/LLDP 報告的功率需求**低於**硬體 Class 限制,交換器會釋放多餘的電力預算給其他連接埠使用。
* 如果 PD 請求的功率**高於**硬體 Class 限制,交換器會「允許」該設備抽取更多電流,而不會觸發過電流保護機制(只要總功率未超過該埠硬體上限)。
---
### 5. 指令範例 (Cisco IOS)
在 Cisco 交換器介面上,常見的相關配置如下:
```ios
interface GigabitEthernet1/0/1
power inline consumption default 15400 # 手動定義預算
power inline port dot3af-override # 啟用覆蓋功能
```
*註:在現代的 Cisco Catalyst 交換器中,許多行為已經自動化,但在考題或舊版 IOS 中,這是一個區分「硬體限制」與「軟體協商」的重要考點。*
---
### 6. 總結
**PoE Power Classification Override** 的主要動作是提供**靈活性**。它讓交換器不再死板地遵守硬體電阻定義的電力等級,而是以 **CDP/LLDP 協商的結果**為準,從而精確地管理電力資源(Power Budgeting),避免電力浪費或不必要的斷電。
**考試重點提醒:**
如果在考題選項中看到「Allows the switch to use CDP/LLDP to override the hardware classification」或「Ignores the device class and uses the actual power consumption」,這就是正確答案。
简体中文
这是一份针对 Cisco CCNA 考试中 **PoE(以太网供电)功率分类覆盖(Power Classification Override)** 考题的专业深度解析。
---
# 📝 考题解析:PoE Power Classification Override
### 1. 题目背景
**题目:** Which action is taken by a switch port enabled for PoE power classification override?
(译:启用了 PoE 功率分类覆盖的交换机端口会采取什么动作?)
### 2. 核心答案
当交换机端口启用了 **Power Classification Override** 功能时,其核心动作是:
**如果受电设备(PD)请求的功率超过了其硬件分类(Class)所规定的限制,交换机允许该设备继续运行,并根据配置的上限(或接口最大能力)供电,而不是直接关闭端口。**
---
### 3. 技术背景深度剖析
为了深入理解这一功能,我们需要从 PoE 的标准工作机制谈起:
#### A. 标准 PoE 分类机制 (IEEE 802.3af/at/bt)
在标准情况下,当一个受电设备(PD,如 IP 电话或 AP)连接到交换机(PSE)时,会通过物理层的电阻特征进行“分类确认”:
* **Class 0:** 默认(0.44W - 12.95W)
* **Class 1:** 极低功率(最高 3.84W)
* **Class 2:** 低功率(最高 6.49W)
* **Class 3:** 中功率(最高 12.95W)
* **Class 4:** 高功率 (PoE+,最高 25.5W)
**标准行为:** 如果一个 Class 2 的设备突然消耗了 10W 的电力(超过了 6.49W 的限制),为了保护交换机电路,交换机会判定该设备异常并**切断供电(Shut down the port)**。
#### B. 为什么需要 Override(覆盖)?
在实际工程中,某些 PD 设备在启动瞬间或特定负载下,电流会短时间超过其声明的 Class 等级。或者,某些非标准设备无法正确报告其功率等级。
启用 **Power Classification Override** 后:
1. 交换机将忽略 PD 硬件报告的 Class 限制。
2. 交换机允许设备消耗功率,直到达到接口能够提供的物理最大值(例如 PoE+ 端口的 30W)或手动配置的 `static` 值。
3. **关键点:** 这防止了因瞬时功率波动导致的端口频繁掉线(Flapping)。
---
### 4. 关键考点对比
| 特性 | 标准分类模式 (Standard) | 功率分类覆盖 (Override) |
| :--- | :--- | :--- |
| **功率限制依据** | 严格遵循 IEEE Class 等级 | 遵循接口硬件上限或人工配置值 |
| **超额行为** | 立即切断电源并关闭端口 | 允许继续运行(只要在总预算内) |
| **适用场景** | 标准合规设备,安全要求高 | 非标准设备、启动电流大的设备 |
| **管理灵活性** | 自动化,但较死板 | 允许管理员手动干预功率分配 |
---
### 5. Cisco IOS 相关配置命令
作为网络工程师,你应该熟悉如何在接口下启用类似功能(通常与 `consumption` 或 `static` 关键字相关):
```ios
Switch(config)# interface gigabitethernet 0/1
Switch(config-if)# power inline consumption default 15400
! 上述命令手动指定功耗,覆盖自动检测的结果
Switch(config-if)# power inline static
! 设置为静态供电,确保无论 PD 报告什么,交换机都预留并允许固定功率
```
*注:在某些特定的 Cisco 平台中,`power inline port maximum` 配合 override 逻辑使用,确保即使设备 Class 较低,也能获得更高的电流灌注。*
---
### 6. CCNA 考试避坑指南
在做这类选择题时,请牢记以下逻辑:
* **错误选项干扰项:** “端口会立即进入 err-disabled 状态”(这是标准模式下的行为,不是 Override 的行为)。
* **错误选项干扰项:** “交换机会降低电压以匹配设备”(PoE 不通过降压来限流,而是通过切断电路)。
* **正确选项特征:** 描述中通常包含 **"allows the device to draw power"**、**"ignores the class"** 或 **"up to the maximum"** 等关键词。
### 7. 工程师总结
**Power Classification Override** 是一项容错机制。它牺牲了一定程度的精确电路保护,换取了网络连接的稳定性。在部署高端监控摄像头(带云台加热器)或早期非标准 PoE 设备时,这项功能是解决“设备反复重启”问题的良药。
---
**专业建议:** 在 CCNA 考试中,理解 PoE 的协商过程(从检测检测、分类到供电)是高频考点,务必分清 **Class-based** 和 **Override/Static** 的区别。