当前位置:文档之家› EA工具简明使用说明手册

EA工具简明使用说明手册

EA工具简明使用说明手册
EA工具简明使用说明手册

EA工具的使用说明手册

EA Enterprise Architect的简称,该工具是优秀建模与设计工具之一。基于uml2.3标准实现。

以优秀团队为基础的建模环境中,包含完整的的开发周期,为业务建模、系统工程、企业架构、需求设计管理、软件设计、代码生成、测试提供高性能的可视化工具,该工具具有从思维导图,到业务需求,软件设计、直至部署完成的跟踪能力。

因ea是基于uml2.3标准,Uml语言是一种说明性语言,定义了一下领域的标注和语义:用户交互或用例模型表述系统和用户之间的界定和交互。在某些方面对应与一个需求模型。状态或动态模型状态图表描述随着时间变化,类所呈现的状态和条件。活动图则描述系统即将执行的工作流程

交互或通信模型描述系统中的对象彼此之间如何进行交互已完成工作

逻辑或类模型描述构成系统的类和对象

物理组件模型描述构成系统的软件(有时也包含硬件)

物理部署模型描述物理架构和物理架构中组件的部署

了解每一种模型图代表的含义,刻意更好的帮助你理解ea工具中各个部分的模型图的含义,可以通过其他方式获得更多具体uml相关的知识。

EA工具可以作为一个团队的沟通的工具,EA提供了软件开发周期所有部分,从需求、业务、数据、编码、测试等所有部分。使用ea工具,可以为每个不同类型的用户创建不同权限的账户,进行相应部分的操作,方便不在同一个地方的开发团队之间项目内容的交流,该功能需要管理员权限(需要管理员密码)。

项目创建:

点击界面中的“create new project”按钮或是文件菜单下的“new project”输入项目名称,

在弹出的菜单中右边选区,选择所需要创建的部分,例如usercase 或testing,也可以同时选择所有内容。点击确定后如图:

按照模板创建了一个模板,在相应模块添加相应对象,例如:usercase 中

项目中primary use cases 是图表中的一种,图表选择器可以通过右击model ,选择add-- newdiagram 选项调出图表创建的选择项,如图所示:

选择不同的图表可以使用不同的组件进行描述。Usecase

图用以描述测试用例的概况Usrcase 试图下

可用元素

图,类图捕获系统的逻辑结构,类和对象模型,描述存在什么属性和行为它。复合结构图反

应了内部写作类、接口、组件(及其属性)描述了一个功能。组件图描述组成系统的各个组

件的组织和依赖图。部署图描述如何以及何处安装和部署系统。对象图描述类和他们实例之

间的关系同。包图表述有模型元素形成的包之间的关系。活动图描述系统模型整体流程相关

的活动,等等,这些相关的信息可以在帮助文档中找到,且可以帮助理解在各个部分用什么

流程图来表示。

点击use case model下的use case model图,可以看到该部分下的所有部分,例如:Actors、primary use cases模块下的两个文件夹的内容,双击其中一个文件夹显示该文件夹下的视图。

文件夹下的

视图

视图中的各

个元素

用户可以在已有图的基础添加元素也可以在此基础上添加自己所需要的视图,并在视图

中添加需要的元素。

在testing model中,testplan选项中,工具直接提供的测试模板,测试人员可以在模块

中修改测试计划,已达到将测试模块快速共享的效果(当有查询权限的人都可以对该模块进

行查阅)。

通过这种流程,一个团队中的各个人员可以在相互不影响的情况下进行有次序的完成各

自的工作,省去繁多而无效果的沟通,已达到快速沟通的目的。

同时,每次项目中的内容可以保存下来,遇到类似的项目时可以拿出之前的作品做快速

修改,缩短开发周期。

思科命令解释大全

CISCO 命令 1:进入特权模式 enable switch> enable switch# 2:进入全局配置模式 configure terminal switch> enable switch#c onfigure terminal switch(conf)# 3:交换机命名 hostname aptech2950 以aptech2950为例 switch> enable switch#c onfigure terminal switch(conf)#hostname aptch-2950 aptech2950(conf)# 4:配置使能口令 enable password cisco 以cisco为例 switch> enable switch#c onfigure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable password cisco 5:配置使能密码 enable secret ciscolab 以cicsolab为例 switch> enable switch#c onfigure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable secret ciscolab 6:设置虚拟局域网vlan 1 interface vlan 1 switch> enable switch#c onfigure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# interface vlan 1 aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0 配置交换机端口ip和子网掩码aptech2950(conf-if)#no shut 是配置处于运行中 aptech2950(conf-if)#exit aptech2950(conf)#ip default-gateway 192.168.254 设置网关地址 7:进入交换机某一端口 interface fastehernet 0/17 以17端口为例 switch> enable switch#c onfigure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# interface fastehernet 0/17 aptech2950(conf-if)#

思科交换机命令大全

思科交换机常用命令大全 1.1 用户模式与特权模式 用户模式:可以使用一些基本的查询命令 特权模式:可以对交换机进行相关的配置 进入特权模式命令:Switch>enable 退出特权模式命令:Switch#exit 启用命令查询:? 时间设置:Switch#clock set 时间(自选参数,参数必须符合交换机要求) 显示信息命令:Switch#show 可选参数 注意:可以用TAB键补齐命令,自选参数为用户自定义参数,可选参数为交换机设定参数 查看交换机配置: Switch#show running-config 保存交换机配置:Switch#copy running-config startup-config Switch#wr 查看端口信息:Switch#show interface 查看MAC地址表:Switch#show mac-address-table 查看交换机CPU的状态信息:Switch#show processes 1.2 全局配置模式 进入全局配置模式:Switch#configure terminal

主机名修改:Switch(config)#hostname 主机名(自选参数) 特权模式进入密码: Switch(config)#enable secret 密码(自选参数) 取消特权模式密码:Switch(config)#no enable secret 取消主机名设置: Switch(config)#no hostname 退出配置模式: Switch(config)#exit 需要特别注意的是在配置模式中无法使用show命令,如果要使用 的话show前必须加do和空格,例如:do show * 指定根交换机命令:Switch(config)#spanning-tree vlan 自选参数(VLAN号)root primary 例如: Switch(config)#spanning-tree vlan 1 root primary 需要注意的是:设置根交换机是基于VLAN的 关闭生成树协议命令:Switch(config)#no spanning-tree vlan 自选参数(VLAN 号) 例如: Switch(config)#no spanning-tree vlan 1 1.3 接口配置模式 进入接口配置模式:Switch(config)#interface 端口名称(可选参数) 启用端口:Switch(config-if)#no shutdown 停用端口:Switch(config-if)#shutdown 进入同种类型多端口配置:Switch(config)# interface range fastethernet 0/1-5 进入不同类型多端口配置:Switch(config)#interface range fastethernet 0/1-5,gigabitethernet 0/1-2

思科交换机配置维护手册

思科交换机配置维护手册

目录

一、端口配置 1.1 配置一组端口 当使用interface range命令时有如下的规则: ?有效的组范围: o vlan从1 到4094 o fastethernet槽位/{first port} - {last port}, 槽位为0 o gigabitethernet槽位/{first port} - {last port},槽位为0 o port-channel port-channel-number - port-channel-number, port-channel号从1到64 ?端口号之间需要加入空格,如:interface range fastethernet 0/1 – 5是有效的,而interface range fastethernet 0/1-5是无效的. ?interface range命令只能配置已经存在的interface vlan ?所有在同一组的端口必须是相同类别的。

见以下例子: Switch# configure terminal Switch(config)# interface range fastethernet0/1 - 5 Switch(config-if-range)# no shutdown 以下的例子显示使用句号来配置不同类型端口的组: Switch# configure terminal Switch(config)# interface range fastethernet0/1 - 3, gigabitethernet0/1 - 2 Switch(config-if-range)# no shutdown 1.2 配置二层端口 1.2.1 配置端口速率及双工模式

思科命令全集汇总

CISCO命令全集-思科命令汇总 各个视图模式介绍: 普通视图router> 特权视图router# /在普通模式下输入enable 全局视图router(config)# /在特权模式下输入config t 接口视图router(config-if)# /在全局模式下输入int 接口名称例如int s0或int e0 路由协议视图router(config-route)# /在全局模式下输入router 动态路由协议名称 1、基本配置: router>enable /进入特权模式 router#conf t /进入全局配置模式 router(config)# hostname xxx /设置设备名称就好像给我们的计算机起个名字 router(config)#enable password /设置特权口令 router(config)#no ip domain lookup /不允许路由器缺省使用DNS解析命令 router(config)# Service password-encrypt /对所有在路由器上输入的口令进行暗文加密 router(config)#line vty 0 4 /进入设置telnet服务模式 router(config-line)#password xxx /设置telnet的密码 router(config-line)#login /使能可以登陆 router(config)#line con 0 /进入控制口的服务模式 router(config-line)#password xxx /要设置console的密码 router(config-line)#login /使能可以登陆 2、接口配置: router(config)#int s0 /进入接口配置模式serial 0 端口配置(如果是模块化的路由器前面加上槽位编号,例如serial0/0 代表这个路由器的0槽位上的第一个接口)

思科命令整理

路由器 1.hostname 修改主机名 2.no ip domain-lookup 关闭域名解析 3.line console 0 进入console端口配置(password密码可配置console密码) 4.exec-timeout 分钟秒数设置超时退出时间 5.int 端口进入端口 6.no shutdown 开启端口(思科路由器端口默认关闭状态) 7.ip address IP地址配置端口IP 8.password 密码配置密码生效 9.login密码生效 10.line vty 0 4 进入vty虚拟链路 11.enable secret 密码配置特权模式密码 https://www.doczj.com/doc/d411990423.html,ername 名字privilege 几个用户password密码 创建名为()密码为()且权限为()的用户,最高权限为15 13.login local 使用用户认证 14.ip domain-name 域名配置主机域 15.crypto key generate rsa 生成rsa密钥对 16.How many bits in the modulus [512]:1024 秘钥长度,建议1024以上 17.ip ssh version 2(2是版本)选择SSH版本 18.ip ssh time-out 时间SSH登录超时时间 19.transport input ssh 设置允许SSH的流量(默认是不允许) 20.show ip interface brief 查看端口简要信息 21.show running-config 查看运行配置文件 22.show port-security address ? 查看绑定的mac地址 23.write 保存配置 24.reload 重启路由器 交换机 1.interface vlan进入vlan配置 2.ip address IP地址配置端口IP和子网掩码 3.interface 端口进入端口 4.switchport mode access 修改端口模式为access 5.switchport port-security 开启端口安全 6.switchport port-security maximum 1 允许绑定的Mac数量最多为1 7.switchport port-security mac-address sticky 与当前连接的mac地址进行绑定 8.switchport port-security violation shutdown 检测到其他mac地址,端口会关闭(管理手动开启以后才能用)

思科路由器命令大全(完整版)

思科交换机路由器命令大全 交换机命令: switch> 用户模式 1:进入特权模式 enable switch> enable switch# 2:进入全局配置模式 configure terminal switch> enable switch#configure terminal switch(conf)# 3:交换机命名 hostname aptech2950 以aptech2950为例 switch> enable switch#configure terminal switch(conf)#hostname aptch-2950 aptech2950(conf)# 4:配置使能口令 enable password cisco 以cisco为例 switch> enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable password cisco 5:配置使能密码 enable secret ciscolab 以cicsolab为例--设置禁用IP地址解析特性,设置启用消息同步特性 switch> enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable secret ciscolab aptech2950(conf)#no ip domain-lookup -----设置禁用IP 地址解析特性 aptech2950(conf)#logging synchronous -----设置启用消息同步特性 aptech2950(conf)#interface range fastethernet0/1-20

思科路由器命令大全完整版

思科交换机路由器命令大全交换机命令: switch> 用户模式 1:进入特权模式 enable switch> enable switch# 2:进入全局配置模式 configure terminal switch> enable switch#configure terminal switch(conf)# 3:交换机命名 hostname aptech2950 以aptech2950为例 switch> enable switch#configure terminal switch(conf)#hostname aptch-2950 aptech2950(conf)# 4:配置使能口令 enable password cisco 以cisco为例 switch> enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable password cisco 5:配置使能密码 enable secret ciscolab 以cicsolab为例--设置禁用IP地址解析特性,设置启用消息同步特性 switch> enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable secret ciscolab aptech2950(conf)#no ip domain-lookup -----设置禁用IP地址解析特性 aptech2950(conf)#logging synchronous -----设置启用消息同步特性 aptech2950(conf)#interface range fastethernet0/1-20 aptech2950(conf-if-range)#spanning-tree portfast -----设置快速 端口 aptech2950(conf)#interface range fastethernet 0/23-24 aptech2950(conf-if-range)#swichport mode trunk -----设置主干道端口

思科常用配置命令及参数

思科常用配置命令及参数 启动接口,分配IP地址: router> router> enable router# router# configure terminal router(config)# router(config)# interface Type Port router(config-if)# no shutdown router(config-if)# ip address IP-Address Subnet-Mask router(config-if)# ^z 配置RIP路由协议:30秒更新一次 router(config)# router rip router(config-if)# network Network-Number <--通告标准A,B,C类网--> router(config-if)# ^z 配置IGRP路由协议:90秒更新一次 router(config)# router igrp AS-Number <-- AS-Number范围1~65535--> router(config-if)# network Network-Number <--通告标准A,B,C类网--> router(config-if)# ^z 配置Novell IPX路由协议:Novell RIP 60秒更新一次 router(config)# ipx routing [node address] router(config)# ipx maximum-paths Paths <--设置负载平衡,范围1~512--> router(config)# interface Type Port router(config-if)# ipx network Network-Number [encapsulation encapsulation-type] [secondary] <--通告标准A,B,C类网--> router(config-if)# ^z 配置DDR: router(config)# dialer-list Group-Number protocol Protocol-Type permit [list ACL-Number] router(config)# interface bri 0 router(config-if)# dialer-group Group-Number router(config-if)# dialer map Protocol-Type Next-Hop-Address name Hostname Telphone-Number router(config-if)# ^z 配置ISDN: router(config)# isdn swith-type Swith-Type <--配置ISDN交换机类型,中国使用basic-net3--> router(config-if)# ^z

思科参考命令速查手册

IOS命令速查手册 针对学生对IOS命令,不太理解不知道在什么地方使用什么样的命令。基于上述原因,特做此手册,方便学习者尽快掌握基本配置命令。 IOS状态介绍 Router> 用户模式,没有什么权限,不能更改和察看路由器当前配置文件Router>enable 通过enable命令进入特权模式 Router# 特权模式,可以察看路由器所有状态 Router#configure terminal 通过configure terminal 进入全局配置模式 Enter configuration commands, one per line. End with CNTL/Z. Router(config)# 在全局配置模式下可以修改路由器所有运行参数 IOS操作 在用户模式进入/退出特权模式:可以拥有查看和配置路由器权利 Router> Router>enable 进入特权模式 Router# Router#disable 推出特权模式 Router> 在特权模式查看当前配置文件:可以察看路由器各个参数配置情况 Router# Router#show running-config Building configuration... 在特权模式查看Fa0/0接口:可以察看路由器Fa0/0接口情况 Router#show interfaces fastEthernet 0/0 FastEthernet0/0 is up, line protocol is down (disabled) Internet address is 192.168.1.1/24 Encapsulation ARPA, loopback not set 重点上述几个参数两个都up表示接口已经启动,否则接口没有启动。 在特权模式查看所有接口综合信息:可以察看到路由器上所有接口的信息概述Router#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up down FastEthernet0/1 unassigned YES manual administratively down down 在特权模式查看路由表:可以看到路由可以到达的网段情况 Router#show ip route

CISCO路由器配置手册(强烈推荐)

CISCO路由器产品配置手册 第一章 路由器配置基础 (3) 一、基本设置方式 (3) 二、命令状态 (4) 三、设置对话过程 (5) 四、常用命令 (8) 五、配置IP寻址 (10) 六、配置静态路由 (14) 第二章 广域网协议设置 (17) 一、HDLC (17) 二、PPP (21) 三、X.25 (22) 四、Frame Relay (28) 五、ISDN (33) 六、PSTN (44) 第三章 路由协议设置 (60) 一、RIP协议 (60) 二、IGRP协议 (61) 三、OSPF协议 (62) 四、重新分配路由 (69) 五、IPX协议设置 (73) 第四章 服务质量及访问控制 (77)

一、协议优先级设置 (77) 二、队列定制 (78) 三、访问控制 (79) 第五章 虚拟局域网(VLAN )路由 (80) 一、虚拟局域网(VLAN) (80) 二、交换机间链路(ISL )协议 (80) 三、虚拟局域网(VLAN )路由实例 (81) 参考: (87) 一、Cisco路由器口令恢复 (87) 二、IP地址分配 (88)

第一章 路由器配置基础 一、基本设置方式 一般来说,可以用5种方式来设置路由器: 1.Console口接终端或运行终端仿真软件的微机; 2.AUX口接MODEM,通过电话线与远方的终端或运行终端仿真软件的微机相连; 3.通过Ethernet上的TFTP服务器; 4.通过Ethernet上的TELNET程序; 5.通过Ethernet上的SNMP网管工作站。 但路由器的第一次设置必须通过第一种方式进行,此时终端的硬件设置如下: 波特率 :9600 数据位 :8 停止位 :1 奇偶校验: 无

CISCO-思科命令

1.switch配置命令 (1)模式转换命令 用户模式----特权模式,使用命令"enable" 特权模式----全局配置模式,使用命令"config t" 全局配置模式----接口模式,使用命令"interface+接口类型+接口号" 全局配置模式----线控模式,使用命令"line+接口类型+接口号" 注: 用户模式:查看初始化的信息. 特权模式:查看所有信息、调试、保存配置信息 全局模式:配置所有信息、针对整个路由器或交换机的所有接口接口模式:针对某一个接口的配置 线控模式:对路由器进行控制的接口配置 (2)配置命令 show running config 显示所有的配置 show versin 显示版本号和寄存器值 shut down 关闭接口 no shutdown 打开接口 ip add +ip地址配置IP地址 secondary+IP地址为接口配置第二个IP地址 show interface+接口类型+接口号查看接口管理性 show controllers interface 查看接口是否有DCE电缆 show history 查看历史记录

show terminal 查看终端记录大小 hostname+主机名配置路由器或交换机的标识 config memory 修改保存在NVRAM中的启动配置 exec timeout 0 0 设置控制台会话超时为0 service 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 保存信息到NVRAM write 保存信息到NVRAM erase startup-config 清除NVRAM中的配置信息 show ip interface brief 查看接口的谪要信息 banner motd # +信息+ # 配置路由器或交换机的描素信息description+信息配置接口听描素信息

Cisco的dhcp命令手册

DHCP Commands Use the commands in this chapter to configure and monitor Dynamic Host Configuration Protocol (DHCP). For DHCP configuration information and examples, refer to the “Configuring DHCP” chapter of the Cisco IOS IP and IP Routing Configuration Guide. Cisco IOS IP and IP Routing Command Reference P1R-105

DHCP Commands bootfile P1R-106 Cisco IOS IP and IP Routing Command Reference bootfile To specify the name of the default boot image for a Dynamic Host Configuration Protocol (DHCP) client, use the bootfile DHCP pool configuration command. To delete the boot image name, use the no form of this command. bootfile filename no bootfile Syntax Description Defaults No default behavior or values. Command Modes DHCP pool configuration Command History Examples The following example specifies xllboot as the name of the boot file: bootfile xllboot Related Commands filename Specifies the name of the file that is used as a boot image. Release Modification 12.0(1)T This command was introduced. Command Description ip dhcp pool Configures a DHCP address pool on a Cisco IOS DHCP Server and places the routing device in DHCP pool configuration mode.next-server Configures the next server in a DHCP client’s boot process.

思科命令大全

思科命令大全 Access-enable 允许路由器在动态访问列表中创建临时访问列表入口Access-group 把访问控制列表(ACL)应用到接口上 Access-list 定义一个标准的IP ACL Access-template 在连接的路由器上手动替换临时访问列表入口 Appn 向APPN子系统发送命令 Atmsig 执行ATM信令命令 B 手动引导操作系统 Bandwidth 设置接口的带宽 Banner motd 指定日期信息标语 Bfe 设置突发事件手册模式 Boot system 指定路由器启动时加载的系统映像 Calendar 设置硬件日历 Cd 更改路径 Cdp enable 允许接口运行CDP协议 Clear 复位功能 Clear counters 清除接口计数器 Clear interface 重新启动接口上的件逻辑 Clockrate 设置串口硬件连接的时钟速率,如网络接口模块和接口处理器能接受的速率 Cmt 开启/关闭FDDI连接管理功能 Config-register 修改配置寄存器设置 Configure 允许进入存在的配置模式,在中心站点上维护并保存配置信息 Configure memory 从NVRAM加载配置信息 Configure terminal 从终端进行手动配置 Connect 打开一个终端连接 Copy 复制配置或映像数据 Copy flash tftp 备份系统映像文件到TFTP服务器 Copy running-config startup-config 将RAM中的当前配置存储到NVRAM Copy running-config tftp 将RAM中的当前配置存储到网络TFTP服务器上Copy tftp flash 从TFTP服务器上下载新映像到Flash Copy tftp running-config 从TFTP服务器上下载配置文件 Debug 使用调试功能 Debug dialer 显示接口在拨什么号及诸如此类的信息 Debug ip rip 显示RIP路由选择更新数据

CISCO交换机的常用操作项-思科常用命令手册速查手册

交换机的常用操作项 1、更改主机名 switch(config)#hostname sw1 2、设置进入特权模式的密码 switch(config)#enable password 1234 switch(config)#enable secret cisco 3、设置console口密码 switch(config)#line console 0 switch(config-line)#password 123 switch(config-line)#login 4、查看mac地址列表 switch#show mac-address-table 5、查看mac地址列表刷新时间 switch#show mac-address-table aging-time 6、更改mac地址列表刷新时间 switch(config)#mac-address-table aging-time 200 7、查看当前配置(RAM) switch#show running-config 8、查看交换机的配置(NVRAM) switch#show startup-config 9、保存配置 switch#copy running-config startup-config

switch#write 10、恢复出厂默认设置 switch#erase startup-config switch#reload 11、查看cdp的全局信息 switch#show cdp 12、查看接口的cdp配置信息 switch#show cdp interface f0/2 13、查看有关cdp包的统计信息 switch#show cdp traffic 14、查看邻居信息 switch#show cdp neighbors 15、查看所有入口项的详细信息 switch#show cdp neighbors detail switch#show cdp entry * 16、添加接口的描述信息 switch(config-if)# description connection to routerA 17、设置交换机的网关 switch(config)#ip default-gateway 192.168.1.1 18、关掉DNS解析 switch(config)# no ip domain-lookup 19、实现交换机的远程管理

思科交换机命令大全共16页文档

思科交换机命令大全 1.设置主机名/系统名 IOS:switch(config)# hostname "hostname" CLI:switch(enable) set system name name-string 2.设置登录口令 IOS:switch(config)# enable password level 1 password CLI:switch(enable) set password switch(enable) set enalbepass 3.设置远程访问 IOS:switch(config)# interface vlan 1 switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gateway ip-address CLI:switch(enable) set interface sc0 ip-address netmask broadcast-address switch(enable) set interface sc0 vlan switch(enable) set ip route default gateway 4.启用和浏览CDP信息 IOS:switch(config-if)# cdp enable switch(config-if)# no cdp enable CLI:switch(enable) set cdp {enable|disable} module/port 5.查看Cisco邻接设备的CDP通告 IOS:switch# show cdp interface [type modle/port] switch# show cdp neighbors [type module/port] [detail] CLI:switch(enable) show cdp neighbors[module/port]

cisco常用命令大全详解完整版

路由器的几个基本命令: Router>enable 进入特权模式 Router#disable 从特权模式返回到用户模式 Router#configure terminal 进入到全局配置模式 Router(config)#interface ethernet 1 进入到路由器编号为1的以太网口 exit 返回上层模式 end 直接返回到特权模式 ========================================================= 注意: 1、CISCO CATALYST(交换机),如果在初始化时没有发现“用户配置”文件,就会自动载入Default Settings(默认配置)文件,进行交换机初始化,以确保交换机正常工作。 2、CISCO Router(路由器)在初始化时,如果没有发现“用户配置”文件,系统会自动进入到“初始化配置模式”(系统配置对话模式,SETUP模式, STEP BY STEP CONFIG模式),不能正常工作! ========================================================= 1、CONSOLE PORT(管理控制台接口):距离上限制,独占的方式。刚开始配置的时候一般使用这个。 2、AUX port(辅助管理接口):可以挂接MODEM实现远程管理,独占的方式。 3、Telnet:多人远程管理(决定于性能,VTY线路数量)不安全。后期维护,远程管理登陆。 ========================================================= 注意: 交换机、路由器配置命令都是回车后立即执行,立即生效的。在运行中的机器上修改命令的时候要特删注意。

思科基本命令

1.1创建vlan,删除vlan,命名vlan Switch(config)#vlan vlan-id Switch(config)#no vlan vlan-id Switch(config-vlan)name vlan-name 1.2将某个端口加入某个vlan Switch(config)# interface f0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan vlan-id 1.3一组端口的设置与trunk口设置相关 Switch(config)#interface range f0/1-12 Switch(config-if-range)#switchport trunk encapsulation dot1q(封装vlan协议,只在三层交换配置此命令) Switch(config-if-range)#switchport mode trunk Switch(config-if)#switchport trunk allowed vlan vlan-list (全部允许就是:all,多个vlan 号直接用逗号分隔) Switch(config-if)#switchport trunk allowed vlan remove vlan-id(在现有允许通过的vlan中指定不允许通过的vlan) Switch(config-if)#switchport trunk allowed vlan add vlan-id(增加允许的vlan通过) 1.4VTP配置相关 Switch(config)#vtp domain domain-name(配置vtp管理域名) Switch(config)#vtp version 1|2(指定vtp版本号) Switch(config)#vtp password password-name(指定vtp密码) Switch(config)#vtp mode server|client|transparent(指定vtp模式) Switch(config)#vtp pruning(修剪vtp域内不必要的vlan流量)

思科命令大全

1.设置主机名/系统名 IOS:switch(config)# hostname "hostname" CLI:switch(enable) set system name name-string 2.设置登录口令 IOS:switch(config)# enable password level 1 password CLI:switch(enable) set password switch(enable) set enalbepass 3.设置远程访问 IOS:switch(config)# interface vlan 1 switch(config-if)#ip address ip-address netmask switch(config-if)#ip default-gateway ip-address

CLI:switch(enable) set interface sc0 ip-address netmask broadcast-address switch(enable) set interface sc0 vlan switch(enable) set ip route default gateway 4.启用和浏览CDP信息 IOS:switch(config-if)#cdp enable switch(config-if)# no cdp enable CLI:switch(enable) set cdp {enable|disable} module/port 5.查看Cisco邻接设备的CDP通告 IOS:switch# showcdp interface [type modle/port] switch# showcdp neighbors [type module/port] [detail] CLI:switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]

思科交换机基本命令(全)

思科模拟器命令: 设置交换机名字为yzh Switch> 进入超级终端控制台 Switch>enable 进入交换机特权模式 Switch# Switch#configure terminal 进入交换机全局配置模式 Switch(configure)#hostname yzh 改变名字为XXX yzh(configure)# 显示改名成功 yzh(configure)#exit 退回上级操作模式,即返回特权模式 yzh# yzh#exit 返回到用户模式 yzh> 参看交换机有关信息 yzh# yzh#configure terminal 进入交换机全局配置模式 yzh#show version 查看交换机的版本信息 yzh#show vlan 查看交换机的VLAN信息,默认情况下所有借口均属于VLAN yzh#show running-config 查看交换机当前生效的配置信息 配置交换机接口f0/2 yzh> yzh>enable yzh# yzh#configure terminal 进入交换机配置模式 yzh(config)#interface fastEthernet 0/2 进入交换机接口fa0/2 yzh(config-if)# 进入接口配置模式 yzh(config-if)#speed 100 设置接口F0/2速率为100M yzh(config-if)#duplex half 配置接口的双工模式是半双工 yzh(config-if)#no shutdown 开启接口,使得处于工作状态,等待转发数据。 yzh(config-if)#exit 输入exit返回全局模式 yzh(config)#exit 返回特权模式 yzh# 位于特权模式 yzh#show interfaces fastEthernet 0/2 查看刚才对接口f0/2配置情况 设置交换机Enable特权密码为admin yzh> 进入超级终端控制台 yzh>enable 进入交换机特权模式 yzh#configure terminal 进入交换机配置模式 yzh(config)#enable secret admin 设置Enable密码为admin 注:验证密码自己思考。 查看设备配置信息

相关主题
文本预览
相关文档 最新文档