Cisco 禁用DNS查询,屏显,开启DHCP服务
2012-12-01 20:25
267 查看
>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
//回话不超时
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
相关文章推荐
- 使用dnsmasq提供DNS和DHCP服务
- 使用dnsmasq提供DNS和DHCP服务
- Linux 下DNS主从服务配置及DHCP容灾配置
- 通过抓包获取跳转url并通过dnspython模块查询监控服务是否正常
- cisco路由器上配置DHCP服务
- 使用Cisco Packet Tracer之DHCP服务于不同的VLAN
- PXE服务和Cisco路由器上的DHCP配置
- 好用的开源轻量级DHCP和DNS服务软件“Dual DHCP DNS Server”
- PostgreSQL服务过程中的那些事二:Pg服务进程处理简单查询一:开启事务
- 【基础服务】简单理解DNS的递归、迭代查询 - DNS(一)
- DHCP服务开启了,为什么老是网络冲突
- 39.搭建Linux基础服务dhcp、samba、ftp、dns
- linux企业常用服务---dns+ftp+dhcp
- 傻瓜化解释一大堆网络术语——网关 DNS DHCP服务 路由 路由表 DDOS攻击 ARP表 ARP欺骗
- 使用dnsmasq提供DNS和DHCP服务(还有tftp服务)
- 使用Cisco Packet Tracer之DHCP服务于不同的VLAN
- linux系统入门命令集+四大服务(DHCP、SAMBA、FTP、DNS)
- neutron中创建子网时禁用dhcp服务的问题
- Red Hat 6.2中配置DHCP和DNS服务
- 部署用于全网的跨网段DHCP和DNS服务