int range f0/2 - f0/24,g0/1.g0/2
shutdown
关闭交换机多个端口
MAC地址的绑定:
switch mode access 静态模式
switchport port-security启用端口安全功能
show Mac address-table 查看mac地址表
switchport port-security maxium 1 绑定地址的数量
switchport port-security mac-address (sticty)绑定地址
show port-security
show port-security intface f0/1 看看特定端口安全性
show port-security address 查看端口安全
switchport port-security iolation protevted/restrict(发送日志)
show control-plane host open-ports
no cdp runing
no cdp eable
no http server(
no ip http secure-server(https)
NTP网络时间协议:
ntp server 61.129.42.44
show clock 查看是否对
clock timezone UTC + 8
show ntp status 是否同步
ntp master 设置ntp服务器
ntp server 12.1.1.2 接口的ip地址
time-range(时间范围) webtime(名字)
periodic ? weekend 14:44 to(到) 14:45