zoukankan      html  css  js  c++  java
  • 7.DHCP的相关命令

    1.Get-DhcpServerv4Scope :查看所有作用域状态  

    PS C:Usersxinghen> Get-DhcpServerv4Scope
    
    ScopeId         SubnetMask      Name           State    StartRange      EndRange        LeaseDuration
    -------         ----------      ----           -----    ----------      --------        -------------
    10.10.7.0       255.255.255.0   Vlan7-voice    Active   10.10.7.11      10.10.7.250     3.00:00:00
    10.10.8.0       255.255.255.0   Vlan8-AP       Active   10.10.8.11      10.10.8.250     3.00:00:00
    10.10.29.0      255.255.255.0   Vlan29-pre     Active   10.10.29.11     10.10.29.250    3.00:00:00
    10.10.30.0      255.255.255.0   Vlan30-guest   Active   10.10.30.11     10.10.30.250    3.00:00:00
    10.10.31.0      255.255.255.0   Vlan31-TV      Active   10.10.31.11     10.10.31.250    3.00:00:00
    10.10.32.0      255.255.240.0   Vlan32-office1 Active   10.10.32.11     10.10.47.200    3.00:00:00
    10.10.48.0      255.255.240.0   Vlan48-office2 Active   10.10.48.11     10.10.63.200    3.00:00:00
    10.10.64.0      255.255.248.0   Vlan64-net     Active   10.10.64.11     10.10.71.200    3.00:00:00 

    2.Get-DhcpServerv4ScopeStatistics 查看IP使用状态  

    PS C:Usersxinghen> Get-DhcpServerv4ScopeStatistics
    
    ScopeId          Free            InUse           PercentageInUse  Reserved        Pending         SuperscopeName
    -------          ----            -----           ---------------  --------        -------         --------------
    10.10.7.0        212             28              11.66667         0               0
    10.10.8.0        185             55              22.91667         0               0
    10.10.29.0       240             0               0                0               0
    10.10.30.0       218             22              9.166667         0               0
    10.10.31.0       217             23              9.583333         0               0
    10.10.32.0       3464            566             14.04467         3               0
    10.10.48.0       3489            541             13.42432         1               0
    10.10.64.0       1868            114             5.751766         26              0

    3.Get-DhcpServerv4Failover查看故障转移信息  

      主备模式:

    PS C:Usersxuyutao.ad> Get-DhcpServerv4Failover
    
    
    Name                : ohwpopsdhcp01.uxin.youxinpai.com-ohwpopsdhcp02
    PartnerServer       : ohwpopsdhcp01.uxin.youxinpai.com
    Mode                : HotStandby
    LoadBalancePercent  :
    ServerRole          : Active
    ReservePercent      : 5
    MaxClientLeadTime   : 01:00:00
    StateSwitchInterval :
    State               : Normal
    ScopeId             : {10.10.64.0, 10.10.48.0, 10.10.32.0, 10.10.31.0...}
    AutoStateTransition : False
    EnableAuth          : True

      主主模式:

    PS C:Usersxuyutao.ad> Get-DhcpServerv4Failover
    
    
    Name                : lowvdhcptest01.uxin.youxinpai.com-10.10.77.12
    PartnerServer       : 10.10.77.12
    Mode                : HotStandby
    LoadBalancePercent  :
    ServerRole          : Active
    ReservePercent      : 5
    MaxClientLeadTime   : 01:00:00
    StateSwitchInterval :
    State               : Normal
    ScopeId             :
    AutoStateTransition : False
    EnableAuth          : False
    
    Name                : lowvdhcptest01.uxin.youxinpai.com-10.10.77.12-1
    PartnerServer       : 10.10.77.12
    Mode                : LoadBalance
    LoadBalancePercent  : 50
    ServerRole          :
    ReservePercent      :
    MaxClientLeadTime   : 01:00:00
    StateSwitchInterval :
    State               : Normal
    ScopeId             :
    AutoStateTransition : False
    EnableAuth          : True
    
    Name                : lowvdhcptest01.uxin.youxinpai.com-10.10.77.12-2
    PartnerServer       : 10.10.77.12
    Mode                : LoadBalance
    LoadBalancePercent  : 50
    ServerRole          :
    ReservePercent      :
    MaxClientLeadTime   : 01:00:00
    StateSwitchInterval :
    State               : Normal
    ScopeId             : 10.10.77.0
    AutoStateTransition : False
    EnableAuth          : True
  • 相关阅读:
    docer run 、docker attach 与 docker exec的区别
    filebeat-kafka:WARN producer/broker/0 maximum request accumulated, waiting for space
    json 格式要求
    词法分析
    CSS3 鲜为人知的属性-webkit-tap-highlight-color的理解
    DOMContentLoaded与load的区别
    用vue的自定义组件写了一个拖拽 组件,局部的 只能在自定义元素内的
    浮动元素遇到标准流元素 会发生转角遇到爱
    柯里化函数
    转载一篇关于toString和valueOf
  • 原文地址:https://www.cnblogs.com/xinghen1216/p/13750413.html
Copyright © 2011-2022 走看看