思科交换机常用命令

Show ip dhcp pool 查看地址池信息
Show ip dhcp binding 查看租约信息
Show ip dhcp conflict 查看地址冲突信息
Show ip dhcp server statistics 查看dhcp收发数据包统计表
Clear ip dhcp server statist 清除收发数据统计信息
Clear ip dhcp binding * 清除所有租约信息
Clear ip dhcp conflict * 清楚所有冲突信息
Lease <0-365>days 设置租约时间
show running-config查看交换机所有配置
Show cdp neighbors 查看交换机邻居
Show cdp neighbors Gig 0/2 查看该口详情
Show vlan brief 查看vlan概况
Show ip int brief 查看端口状态情况
show running-config interface gigabitEthernet 0/2 查看该端口具体详情
show mac address-table | include 2c4b 查看mac通行的交换机端口
Show ip arp | include x.x.x.x 查看ip地址的信息
ip dhcp excluded-address 10.10.27.240 10.10.27.254 禁止下发地址区间

posted @ 2026-02-13 15:37  MYQF晓星尘  阅读(9)  评论(0)    收藏  举报