주니퍼 스위치 PoE 관련 명령어.

주니퍼 스위치 PoE 관련 명령어.

스위치 모델 : Juniper EX2300-48P

1. PoE 인터페이스 보기

admin@Switch> show poe interface    
Interface    Admin       Oper    Pair/Mode  Max        Priority       Power          Class
             status      status  status     power                     consumption    
 ge-0/0/0    Enabled      ON     2P/AT      30.0W      Low            4.2W            4
 ge-0/0/1    Enabled      ON     2P/AT      30.0W      Low            4.2W            4
 ge-0/0/2    Enabled      ON     2P/AT      30.0W      Low            4.2W            4

...


ge-0/0/46    Enabled     OFF     2P/AT      15.4W      Low            0.0W           not-applicable
ge-0/0/47    Enabled     OFF     2P/AT      15.4W      Low            0.0W           not-applicable

{master:0}
admin@Switch>

2. 특정 인터페이스의 PoE 상태 확인

admin@Switch> show poe interface ge-0/0/33 
PoE interface status:
PoE interface                : ge-0/0/33
Administrative status        : Enabled
Operational status           :   ON
Operational status detail    : IEEE PD Detected
FourPair status              : Disabled
Power limit on the interface : 30.0W
Priority                     : Low
Power consumed               : 4.2W
Class of power device        :        4
PoE Mode                     :   802.3at

{master:0}
admin@Switch> show poe interface ge-0/0/34    
PoE interface status:
PoE interface                : ge-0/0/34
Administrative status        : Enabled
Operational status           :  OFF
Operational status detail    : Detection In Progress
FourPair status              : Disabled
Power limit on the interface : 15.4W
Priority                     : Low
Power consumed               : 0.0W
Class of power device        : not-applicable
PoE Mode                     :   802.3at

{master:0}
admin@Switch>

3. PoE 컨트롤러 상태 확인
PoE 컨트롤러를 확인해 보면 최대 공급 가능 전력과 소비전력 등의 정보를 확인 할 수 있다.

admin@Switch> show poe controller    
Controller  Maximum   Power         Guard    Management   Status        Lldp
index       power     consumption   band                                Priority 
   0**      750W      111.80W         0W     Class        AT_MODE       Disabled
  **New PoE software upgrade available. 
 Use 'request system firmware upgrade poe fpc-slot ' 
 This procedure will take around 10 minutes (recommended to be performed during maintenance)

{master:0}

4. 특정 포트 전력 on/off

* PoE 전원 OFF

설정모드로 변경한다.

admin@Switch> configure 
Entering configuration mode
Users currently editing the configuration:
  wadmin terminal u0 (pid 13845) on since 2022-04-03 14:07:09 KST, idle 113w1d 21:03
      {master:0}[edit]

인터페이스 ge-0/0/24의 전원을 끈다.

{master:0}[edit]
admin@Switch# set poe interface ge-0/0/24 disable

PoE설정 확인

{master:0}[edit]
admin@Switch# show poe 
interface all;
interface ge-0/0/24 {
    disable;
}

설정 적용

{master:0}[edit]
admin@Switch# commit 
configuration check succeeds
commit complete

전력을 끈 후 인터페이스의 PoE 상태 확인

{master:0}[edit]
admin@Switch# run show poe interface ge-0/0/24 
PoE interface status:
PoE interface                : ge-0/0/24
Administrative status        : Disabled
Operational status           : Disabled
Operational status detail    : Admin off
FourPair status              : Disabled
Power limit on the interface : 0.0W
Priority                     : Low
Power consumed               : 5.0W*
Class of power device        : not-applicable
PoE Mode                     :   802.3at
  * Powered device is drawing more power than maximum power allowed on the port.


{master:0}[edit]
admin@Switch# run show poe interface              
Interface    Admin       Oper    Pair/Mode  Max        Priority       Power          Class
             status      status  status     power                     consumption    
 ge-0/0/0    Enabled      ON     2P/AT      30.0W      Low            4.2W            4
...
ge-0/0/22    Enabled      ON     2P/AT      30.0W      Low            4.2W            4
ge-0/0/23    Enabled      ON     2P/AT      30.0W      Low            4.6W            4
ge-0/0/24    Disabled    Disabled 2P/AT     0.0W       Low            0.0W           not-applicable
ge-0/0/25    Enabled      ON     2P/AT      30.0W      Low            4.2W            4
...
ge-0/0/47    Enabled      ON     2P/AT      30.0W      Low            4.2W            4

* PoE 전원 ON

인터페이스 ge-0/0/24의 설정을 삭제한다.

{master:0}[edit]
admin@Switch# delete poe interface ge-0/0/24 disable

삭제후 PoE 설정 확인.

{master:0}[edit]
admin@Switch# show poe 
interface all;
interface ge-0/0/24;

설정 저장

{master:0}[edit]
admin@Switch# commit 
configuration check succeeds
commit complete

인터페이스의 PoE 상태를 확인한다.

{master:0}[edit]
admin@Switch# show poe interface ge-0/0/24 

{master:0}[edit]
admin@Switch# run show poe interface 
Interface    Admin       Oper    Pair/Mode  Max        Priority       Power          Class
             status      status  status     power                     consumption    
 ...
ge-0/0/23    Enabled      ON     2P/AT      30.0W      Low            4.8W            4
ge-0/0/24    Enabled      ON     2P/AT      30.0W      Low            2.4W            4
ge-0/0/25    Enabled      ON     2P/AT      30.0W      Low            4.2W            4
...

답글 남기기

Your email address will not be published.