Cisco 禁用DNS查询,屏显,开启DHCP服务

>enable

//回话不超时
conf ter
line con 0
exec-timeout 0 0

//启用同步显示
line con 0
logging synchronous
end

//禁用DNS 查询
conf ter
no ip domain-lookup

//配置vty口令
conf ter
line vty 0 4
passwd xiao
login
exit

//配置登录口令
enbale passwd king
end

//配置f0/0 IP地址
#conf ter
interface f0/0
ip address 192.168.10.1 255.255.255.0
no shutdown
end
conf ter

//配置DHCP服务器
ip dhcp pool office
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.10.1
exit
ip dhcp excluded-address 192.168.10.1 192.168.10.10


全局模式下

显示 arp 列表
show arp
清理 arp 列表
clear arp-cache
绑定arp
arp ip xxx.xxx.xxx.xxx MAC FF:FF:FF:FF:FF:FF  arpa

你可能感兴趣的:(命令,Cisco)