cisco设备配置基本知识



《cisco设备配置基本知识》由会员分享,可在线阅读,更多相关《cisco设备配置基本知识(4页珍藏版)》请在装配图网上搜索。
1、 cisco设备配置基本知识 cisco设备配置的步骤大家掌握了吗?相信只要按照下面的操作,一定可以达到我们想要的实验结果,更重要的就是希望大家已经掌握了cisco的配置知识。 cisco设备配置——前提配置: en conf t no ip domain-lookup line con 0 logg syn exec-time 0 0 exit host r1 cisco设备配置——VTP配置: vtp domain domain_name vtp mode server/client/transparent vtp password pas
2、sword vtp pruning vtp version 2 查看VTP配置:show vtp status cisco设备配置——VLAN配置: vlan database (特权模式) vlan 2 name caiwubu exit vlan 2 (全局模式) 查看VLAN配置:show vlan brief cisco设备配置——VLAN Trunk配置: swit trunk encapsulation isl/dot1q/negotiate (接口里面,封装类型) swit mode trunk 查看配置:show int f0/1 sw
3、it 以太网通道: int rang f0/1 -f0/10 swit mode trunk chan lacp;pagp channel-group 1 mode on exit cisco设备配置——三层交换配置: ip routing no swt (改为路由接口) ip helper-add 192.168.1.1 (DHCP服务器地址) cisco设备配置——PVST+配置: 1.span vlan 2,4-6 pri 4096(倍数0-32768) 2. root pri/sec span vlan 2 cost 150 (0-255) span
4、 vlan 2 por * 查看配置:show span show span vlan * d cisco设备配置——HSRP配置: int vlan 2 ip add 192.168.1.1 255.255.255.0 stan 2 ip 192.168.1.254 (虚拟的IP地址) stan 2 pri 150 (0-255) stan 2 pree stan 2 track int f1/0 100 查看HSRP:show stan b cisco设备配置——ACL配置: 标准:acc 1(1-99) per(pre den) source(数据源地
5、址) int f0/0 ip nat inside int f1/0 ip nat outside int f0/0 ip acc 1 in 扩展:acc 101(100-199) per(pre/den) protocol(协议) 源地址 目标地址 -- 命名:ip acc stan/ext test per/den host 192.168.1.1 定时:time-range mytie per wee 8:30 to 17:30 acc ....... time-range mytie 查看:show acc cisco设备配置——N
6、AT配置: 静态:ip nat ins sou sta 192.168.100.2 61.159.62.136 端口映射:ip nat ins sou sta tcp 192.168.100.2 80 61.159.62.131 8080 extendable 动态:acc 1 per 192.168.1.0 0.0.0.255 ip nat pool test0 61.159.62.131 62.159.62.190 netmask 255.255.255.192 ip nat ins sou list 1 pool test0 overload PAT: acc 1
7、 per 10.1.1.0 0.0.0.255 1.ip nat pool test1 61.159.62.131 61.159.62.131 netmask 255.255.255.148 ip nat ins sou list 1 pool test1 overload 2.ip nat ins sou list 1 int f0/0 overload cisco设备配置——RIP配置: router rip ver 2 no au- network 192.168.1.0 ----- cisco设备配置——OSPF配置: router ospf 1 router-
8、id 1.1.1.1 network 10.0.0.0 0.0.0.3 area 0 末梢区域:area 1 stub 完全末梢区域:area 1 stub no-su ness:area 1 nssa 完全ness:area 1 nssa no-su 路由重分发: router rip red ospf 1 metric 10 router ospf 1 red rip subnets def-in orig (默认) red sta subnets (静态) red conn subnets (直连) 第 4 页 共 4 页 免责声明:图文来源于网络搜集,版权归原作者所以 若侵犯了您的合法权益,请作者与本上传人联系,我们将及时更正删除。
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。