Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5470751
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: 系统运维

2010-08-26 11:19:03

思科Cisco                                                       华为3COM                                           功能
enable                                                            system-view                                  
进入特权模式
configure terminal                                             \                                                  
进入配置状态
show                                                              display                                          
显示
show running-config                                        display current                          
显示当前的运行配置
show version                                                   disp version                                   
显示版本
show start                                                     disp saved                                    
显示已保存的配置
show tech-support                                          disp base-information                       
显示全面的信息
no                                                                 undo                                               
取消(删除)
hostname                                                      sysname                                         
更改机器名
\                                                                   lang chinese                                    
进入中文状态
user                                                              local-user                                        
新建修改用户
end                                                              return                                               
退回到系统视图
exit                                                               quit                                                 
返回上级视图
exit                                                              logout                                              telnet
退出
router rip                                                      rip                                                   rip
动态路由
router ospf                                                   ospf                                                 ospf
路由
router bgp                                                    bgp                                                  bgp
路由
write                                                            save                                                
保存配置
erase                                                           delete                                              
删除配置
0                                                                 simple                                             
明文
7                                                                 cipher                                              
密文
access-list                                                   acl                                                  
控制访问列表
host                                                           ip host                                             host
ip名字对应
logging                                                       info-center                                        
日志信息
encap                                                        link-protocol                                      
封闭链路层协议
no debug all                                                ctrl+d                                           
取消所有debug命令
vlan database                                             vlan                                              进入vlan的配置
vtp trunk                                                   trunk                                               
设置成为骨干端口
mode                                                          \                                                  
模式
trunk                                                         
相同                                             主干线
switchport                                                  port                                               
接口控制
access                                                      
相同                                             访问
ip dhcp                                                      dhcp                                            
设置dhcp服务器功能

例子:
sysname Huawei-R2831       \\
设置主机名

interface Ethernet 0/0    进入接口模式
description T0 Switch-A    \\接口描述
ip address 192.168.10.222 255.255.255.0   \\配置接口IP地址
undo shutdown \\启用接口

local-user huawei   \\建立用户名huawei
password simple huawei   \\
设置密码为huawei
service-type telnet \\
服务类型为telnet 
user-interface vty 0 4 \\
进入telnet通道,设置5个用户可以同时登陆
authentication-mode scheme   \\设置telnet的模式为本地用户名与密码登陆

user-interface console 0 设置console密码
authentication-mode password 密码认证
set authentication password simple huawei

super password simple huawei \\设置super密码,

display version \\查看VRP软件版本

display current-configuration \\查看当前运行的配置

display saved-configuration \\查看已保存过的配置

display interface Ethernet 0/0 \\查看接品参数
display brief interface \\查看接口基本状态

delete flash:/config.cfg \\删除用SAVE保存过的配置

delete flash:/main.bin \\删除VRP的映像文件(谨慎操作)

save   \\保存配置

display ping 命令在任何视图下都可执行,不必切换到全局配置视图

阅读(1409) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~