- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
交换机最重要的一些配置(Some of the most important configuration of switches)
交换机最重要的一些配置(Some of the most important configuration of switches)
DHCP服务器
Router(config)# IP地址池hkhk /配置DHCP地址池名为hkhk
路由器(DHCP配置)#网络 配置有效地址池的子网地址和掩码
路由器(DHCP配置)#默认路由器配置默认网关
VLAN配置
开关(config)#接口VLAN 1进入VLAN1的配置
开关(config-if)# IP地址 设置虚拟局域网的地址网关地址+掩码
switch19config如果)#没有关机
配置默认路由
Switch1(config-router)# ip route 配置默认路由是到外网的下一跳网关地址
配置静态路由
Switch1(config)# IP路由(目的网络)(目的掩码)(到目标网路偶的下一跳网关地址)
将接口设置为躯干接口
2(config)#接口FastEthernet 0 / 0 0 / 0接口进入快速以太网
2(config-if)# switchport mode trunk将该接口设置为躯干(中继)接口
2(config-if)#没有关机
将接口设置为访问接口
2(config)#接口FastEthernet 0 / 1
2(config-if)switchprot模式访问讲当前交换机端口设置为接入链路模式
2(config-if)# switchprot访问VLAN3将当前接口划分给VLAN3
2(config-if)#没有关机
防火墙的配置
PIX(config)# IP地址外 48设置外网接口IP
PIX(config)# IP地址 设置内外接口内部IP
PIX(config)# IP地址DMZ 设置DMZ接口IP
PIX(config)#全球(外)1 -为名为外的外网接口指定公网范围-地址池标识为1
PIX(config)# NAT(内部)1 表示内网内所有主机都可以访问(NAT是地址转换的意思)
该句的固定语法是:NAT(if_name)nat_id local_ip掩码表示内网某台主机可以访问 表示所有主机
PIX(config)#路线以外的0 0 设置默认路由,防火墙配置模式下命令路线用于设置内网
和外围的静态路由。语法格式是路线(if_name)0 0 gateway_ip度量(是到gateway_ip)的跳数
若主机所在网关IP地址是54,则用于添加网关为默认路由54默认网关地址
R2(config)#路由器RIP RIP协议配置子模式进入
R2(config-router)#网络语法:R(config-router)#网络网段地址用来定义参与RIP路由的网络地址
root@localhost ifconfig eth0配置 #用于在Linux上查看某个接口的信息
根@根转质量提出用于检查当前系统是否安装了Apache httpd
service.httpd.start启动Web服务器service.httpd.stop停止Web服务器service.httpd.restart重启Web服务器
让我们的。
2 allow requests from
Deny from all reject other
There is one line in the Apaches main configuration file: Listen 26:80, which indicates the use of the IP address 26 to provide the web service, and the port number is 80.
Ipconfig/dispalydns windows is used to display the current DNS cache
Among them, RecordType is 4, storage record is MX, RecordType is 2, storage record is PTR
Router (config) #access-list 1 deny host 54 prohibits user 54 from accessing the company
Web server and extranet.
Router (config) #access-list 1 permit any allows other address access
Router (config) #ip access-group 1 in prohibits intranet users from accessing external networks, and says in t
您可能关注的文档
- 尽力而为与竭尽全力(Do your best and do your best).doc
- 局域网中同步练习说明(Synchronous exercise instructions in LAN).doc
- 局域网内有线路由器下接无线路由器方法(Method for wired wireless router to receive wireless router in local area network).doc
- 局域网组建与应用(LAN construction and Application).doc
- 局解问答题1(Question and answer 1).doc
- 局解名解(Local solution).doc
- 局域网时间同步(LAN time synchronization).doc
- 局解问题胸部(Problem chest).doc
- 局部解剖讨论题(Topical anatomical questions).doc
- 层次分析法(Analytic hierarchy process).doc
- 交易结构变革时代管理(Transaction structure change, era management).doc
- 互换性与技术测量圆柱结合复习题(Review of interchangeability and measurement of cylinders).doc
- 交流接触器测试方法-B2B99_Com(Testing method of AC contactor -B2B99_Com).doc
- 交流电的基本概念(Basic concepts of alternating current).doc
- 交货采购(Delivery purchasing).doc
- 交通事故连带责任的法律规定(Legal provisions on joint and several liability for traffic accidents).doc
- 交通局书记科学发展观个人自查剖析材料(Traffic Bureau Secretary Scientific Outlook on Development personal self-examination analysis material).doc
- 交通法规制定程序规定(Provisions on the procedures for the formulation of traffic regulations).doc
- 交通违法行为代码表(Code of traffic violations).doc
- 交际原则与字幕翻译(Communicative principles and subtitling translation).doc
文档评论(0)