当前位置: 首页 > news >正文

设计国外网站产品推广的目的和意义

设计国外网站,产品推广的目的和意义,wordpress商城微信,seo技巧优化cisco命令大全 1. switch配置命令(1)模式转换命令用户模式----特权模式,使用命令enable特权模式----全局配置模式,使用命令config t全局配置模式----接口模式,使用命令interface接口类型接口号全局配置模式----线控模式,使用命令lin… cisco命令大全 1. switch配置命令(1)模式转换命令用户模式----特权模式,使用命令enable特权模式----全局配置模式,使用命令config t全局配置模式----接口模式,使用命令interface接口类型接口号全局配置模式----线控模式,使用命令line接口类型接口号注:用户模式:查看初始化的信息.特权模式:查看所有信息、调试、保存配置信息全局模式配置所有信息、针对整个路由器或交换机的所有接口接口模式针对某一个接口的配置线控模式对路由器进行控制的接口配置2配置命令show running config 显示所有的配置show versin 显示版本号和寄存器值shut down 关闭接口no shutdown 打开接口ip add ip地址 配置IP地址secondaryIP地址 为接口配置第二个IP地址show interface接口类型接口号 查看接口管理性show controllers interface 查看接口是否有DCE电缆show history 查看历史记录show terminal 查看终端记录大小hostname主机名 配置路由器或交换机的标识config memory 修改保存在NVRAM中的启动配置exec timeout 0 0 设置控制台会话超时为0service password-encryptin 手工加密所有密码enable password 密码 配置明文密码ena sec 密码 配置密文密码line vty 0 4/15 进入telnet接口password 密码 配置telnet密码line aux 0 进入AUX接口password 密码 配置密码line con 0 进入CON接口password 密码 配置密码bandwidth数字 配置带宽no ip address 删除已配置的IP地址show startup config 查看NVRAM中的配置信息copy run-config atartup config 保存信息到NVRAMwrite 保存信息到NVRAMerase startup-config 清除NVRAM中的配置信息show ip interface brief 查看接口的谪要信息banner motd # 信息 # 配置路由器或交换机的描素信息description信息 配置接口听描素信息vlan database 进入VLAN数据库模式vlan vlan号 名称 创建VLANswitchport access vlan vlan号 为VLAN为配接口interface vlan vlan号 进入VLAN接口模式ip add ip地址 为VLAN配置管理IP地址vtpservice/tracsparent/client 配置SW的VTP工作模式vtp domain域名 配置SW的VTP域名vtp password 密码 配置SW的密码switchport mode trunk 启用中继no vlan vlan号 删除VLANshow spamming-tree vlan vlan号 查看VLA怕生成树议 2. 路由器配置命令ip route非直连网段子网掩码下一跳地址 配置静态/默认路由show ip route 查看路由表show protocols 显示出所有的被动路由协议和接口上哪些协议被设置show ip protocols 显示了被配置在路由器上的路由选择协议,同时给出了在路由选择协议中使用的定时器等信息router rip 激活RIP协议network 直连网段 发布直连网段interface lookback 0 激活逻辑接口passive-interface 接口类型接口号 配置接口为被动模式debug ip 协议 动态查看路由更新信息undebug all 关闭所有DEBUG信息router eigrp as号 激活EIGRP路由协议network 网段子网掩码 发布直连网段show ip eigrp neighbors 查看邻居表show ip eigrp topology 查看拓扑表show ip eigrp traffic 查看发送包数量router ospf process-ID 激活OSPF协议network直连网段area区域号 发布直连网段show ip ospf 显示OSPF的进程号和ROUTER-IDencapsulation封装格式 更改封装格式no ip admain-lookup 关闭路由器的域名查找ip routing 在三层交换机上启用路由功能show user 查看SW的在线用户clear line 线路号 清除线路 3. 三层交换机配置命令配置一组二层端口configure terminal 进入配置状态nterface range {port-range} 进入组配置状态配置三层端口configure terminal 进入配置状态interface {{fastethernet | gigabitethernet} interface-id} | {vlan vlan-id} | {port-channel port-channel-number} 进入端口配置状态no switchport 把物理端口变成三层口ip address ip_address subnet_mask 配置IP地址和掩码no shutdown 激活端口    例    Switch(config)# interface gigabitethernet0/2    Switch(config-if)# no switchport    Switch(config-if)# ip address 192.20.135.21 255.255.255.0    Switch(config-if)# no shutdown配置VLANconfigure terminal 进入配置状态vlan vlan-id 输入一个VLAN号, 然后进入vlan配态可以输入一个新的VLAN号或旧的来进行修改。name vlan-name 可选)输入一个VLAN名如果没有配置VLAN名缺省的名字是VLAN号前面用0填满的4位数如VLAN0004是VLAN4的缺省名字mtu mtu-size (可选) 改变MTU大小    例    Switch# configure terminal    Switch(config)# vlan 20    Switch(config-vlan)# name test20    Switch(config-vlan)# end    或    Switch# vlan database    Switch(vlan)# vlan 20 name test20    Switch(vlan)# exit将端口分配给一个VLANconfigure terminal 进入配置状态interface interface-id 进入要分配的端口switchport mode access 定义二层口switchport access vlan vlan-id 把端口分配给某一VLAN    例    Switch# configure terminal    Enter configuration commands, one per line. End with CNTL/Z.    Switch(config)# interface fastethernet0/1    Switch(config-if)# switchport mode access    Switch(config-if)# switchport access vlan 2    Switch(config-if)# end    Switch# 配置VLAN trunkconfigure terminal 进入配置状态interface interface-Id 进入端口配置状态switchport trunk encapsulation {isl | dot1q | negotiate}配置trunk封装ISL 或 802.1Q 或自动协商switchport mode {dynamic {auto | desirable} | trunk} 配置二层trunk模式。dynamic auto—自动协商是否成为trunkdynamic desirable—把端口设置为trunk如果对方端口是trunk, desirable, 配置Native VLAN802.1q或自动模式trunk—设置端口为强制的trunk方式而不理会对方端口是否为trunkswitchport access vlan vlan-id 可选) 指定一个缺省VLAN, 如果此端口不再是trunkswitchport trunk native vlan vlan-id 指定802.1Q native VLAN号    例    Switch# configure terminal    Enter configuration commands, one per line. End with CNTL/Z.    Switch(config)# interface fastethernet0/4    Switch(config-if)# switchport mode trunk    Switch(config-if)# switchport trunk encapsulation dot1q    Switch(config-if)# end定义TRUNK允许的VLANconfigure terminal子 进入配置状态interface interface-id 进入端口配置switchport mode trunk 配置二层口为trunkswitchport trunk allowed vlan {add | all | except | remove} vlan-list可选) 配置trunk允许的VLAN.使用add, all, except, remove关健字no switchport trunk allowed vlan 允许所有VLAN通过    例    Switch(config)# interface fastethernet0/1    Switch(config-if)# switchport trunk allowed vlan remove 2    Switch(config-if)# end配置Native VLAN802.1qconfigure terminal 进入配置状态interface interface-id 进入配置成802.1qtrunk的端口switchport trunk native vlan vlan-Id 配置native VLAN号no switchport trunk native vlan 端口配置命令回到缺省的状态配置基于端口权值的负载均衡configure terminal 进入Switch 1配置状态vtp domain domain-name 配置VTP域vtp mode server 将Switch 1配置成VTP server.show vtp status 验证VTP的配置show vlan 验证VLANconfigure terminal 进入配置状态interface fastethernet 0/1 进入F0/1端口switchport trunk encapsulation {isl | dot1q | negotiate}配置trunk封装switchport mode trunk 配置成trunkshow interfaces fastethernet0/1 switchport 验证VLAN配置按以上步骤对想要负载均衡的接口进行配置 在另一个交换机上进行此配置show vlan 当trunk已经起来在switch2上验证已经学到相的vlan配置configure terminal 在Switch 1上进入配置状态interface fastethernet0/1 进入要配置的端口spanning-tree vlan 8 port-priority 10 将端口权值10赋与VLAN 8.spanning-tree vlan 9 port-priority 10 将端口权值10赋与VLAN 9.spanning-tree vlan 10 port-priority 10 将端口权值10赋与VLAN 10.interface fastethernet0/2 进入F0/2spanning-tree vlan 3 port-priority 10 将端口权值10赋与VLAN 3.spanning-tree vlan 4 port-priority 10 将端口权值10赋与VLAN 4spanning-tree vlan 5 port-priority 10 将端口权值10赋与VLAN 5spanning-tree vlan 6 port-priority 10 将端口权值10赋与VLAN 10end 退出show running-config 验证配置copy running-config startup-config 保存配置 配置STP路径值的负载均衡Trunk1走VLAN810Trunk2走VLAN24 configure terminal 进入 Switch 1配置状态interface fastethernet 0/1 进入F0/1switchport trunk encapsulation {isl | dot1q | negotiate}配置封装switchport mode trunk 配置Trunk,缺省是ISL封装exit 退回在F0/2口上重复24步骤exit 退回show running-config 验证配置show vlan验证switch1 已经学到Vlanconfigure terminal 进入配置状态interface fastethernet 0/1 进入F0/1spanning-tree vlan 2 cost 30 设置Vlan2生成树路径值为30spanning-tree vlan 3 cost 30 设置Vlan3生成树路径值为30spanning-tree vlan 4 cost 30 设置Vlan4生成树路径值为30end 退出在switch1的F0/2上重复911步骤设置VLAN8,910生成树路径值为30end 退出show running-config 验证配置copy running-config startup-config 保存配置 补充:CISCO命令集——路由选择协议及排障    *ip route命令 Router(config)# ip route 目录网络或子网号 [子网掩码] 下一路由器IP地址 | 从本地出口的地址 [管理距离0~255默认为1]    注静态地址配置     *ip default-network命令 Router(config)# ip default-network 目标网络号    (注配合路由协使用用其中的一个动态路由号作默认路由配置)Router(config)# ip route 0.0.0.0 0.0.0.0 下一路由器IP地址 | 从本地出口的地址    (注只有一个公网地址时在出口路由器上的配置)     *内部路由选择协议     *使用router和network命令 Router(config)# router 路由协议rip | igrp | eigrp | ospf | is-is等 [自主系统号]Router(config-router)# network 直接相连的要用此路由协议的网络号Router(config-router)# network 直接相连的要用此路由协议的网络号     *路由信息协议RIP Router(config)# router ripRouter(config-router)# network 直接相连的要用rip协议的有类别网络号Router# show ip protocolsRouter# show ip routeRouter# debug ip rip     *内部网关路由协议IGRP Router(config)# router igrp 自主系统号Router(config-router)# network 直接相连的要用igrp协议的有类别网络号Router# show ip interfaceRouter# show ip protocolsRouter# show ip routeRouter# debug ip rip     *排除网络故障     排除网络故障的一个总体模型 Router# ping 有故障的主机 | 有故障的IP地址Router# show ip routeRouter# show interface 有故障的接口Router# show run     *IP的故故障排除     检查可用的路由 Router# show ip route 有故障的IP地址27.4.4 跟踪路由(Tracing the Route)SUN-A traceroute 有故障的主机 | 有故障的IP地址C:\windows\ winipcfgC:\windows\ ipconfigC:\windows\ ipconfig / allC:\windows\ tracert 有故障的主机 | 有故障的IP地址     使用扩展的ping来跟踪连接性 Router# ping     *其它可能的故障     一个地址解析ARP的故障 Router# show arpRouter# show interface 有故障的接口C:\windows\ arp -aSUN-A arp –a     验证终端系统的路由表C:\windows\ netstat –rnC:\windows\ route –f add 0.0.0.0 mask 0.0.0.0 需要添加入的网关地址C:\windows\ route [–f ] [[print | add | delete | change] [destination] [mask netmask] [gateway]]C:\windows\ route add mask 网络掩码 网关ip地址C:\windows\ route delete mask 网络掩码 网关ip地址C:\windows\ nbtstat 相应的参数SUN-A netstat -rn路由器 from site :  http://www.kixi.com.cn/centerwz/535/200708099853.html 转载于:https://blog.51cto.com/kim1984/158608
http://wiki.neutronadmin.com/news/15542/

相关文章:

  • 网站收录平台免费logo生成器官网
  • 户外保险网站长沙网站设计开发
  • 马鞍山建设网站中国做的手机系统下载网站
  • 做网站优化最快的方式移动应用开发好就业吗
  • 深圳网站设计+建设首选深圳市微信开发在哪能看
  • 建设人才信息网是什么网站直通车怎么开效果最佳
  • 亚洲杯篮球直播在什么网站漂亮的学校网站模板下载
  • 怎么做app下载网站优化好的网站
  • 销售网站建设深圳东门买衣服攻略
  • 地方汽车网站模板购买深圳公司注销
  • 义乌外贸网站制作中国机加工订单网
  • 网站开发需求分析参考文献淘客推广效果
  • 网站套餐表格模板昌平区事业单位公共知识培训网站
  • 软件工网站开发课程设计报告扁平化配色方案网站
  • 常熟网站设计wordpress页面添加图片不显示
  • 万网提供的网站建设服务的具体项目建筑工程东莞网站建设
  • 网站宣传推广方案wordpress安全博客
  • 自己做网站排版wordpress图片本地化工具
  • 服装外贸网站建设国际数据公司idc
  • 动力无限网站效果好不好在哪个网站上做推广作用好
  • 做京东网站的摘要lol怎么做直播网站
  • 千博企业网站管理系统2013上海洛可可设计公司
  • 渝中网站公司网站 建设 基本 数据库
  • 网站开发 方案 报价自助做网站哪家好
  • 上海网站开发技术最好公司上海公司免费起名
  • 淮安营销型网站建设网站建设案例行情
  • 做排名的网站怎么开发网页
  • 网站做飘浮怎么做网站建设与管理管理课程
  • 公司网站建设费用的会计分录wordpress views
  • 网站后台模板免费下载青岛网站建设公司大全