思科华为命令对照大全

合集下载

思科华为命令对照表

思科华为命令对照表

Cisco_H3C命令对照思科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服务器功能思科华为命令对照表思科华为show displayshow version disp versionno undoshow run disp current-configuration username local-userend returnshow start disp saved-configuration exit quitexit logoutctrl+z quitrouter rip riprouter ospf ospfrouter bgp bgphostname sysnameaccess-list aclwrite saveerase delete0 simple7 cipherlogging info-center encapsulation link-protocol说明,华为S3026为的是思科的命令。

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

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

思科路由器命令大全(完整版)思科路由器命令大全(完整版)本文档旨在提供思科路由器命令的详细说明和使用指南,包括路由器配置、网络管理、安全性设置等内容。

每个章节都详细介绍了不同的命令和参数,以帮助用户更好地理解和使用思科路由器。

1:路由器基本配置1.1 主机名设置1.2 用户名和密码设置1.3 IP 地址和子网掩码配置1.4 默认网关配置2:接口配置2.1 以太网接口配置2.2 串行接口配置2.3 子接口配置2.4 虚拟局域网 (VLAN) 配置3:路由协议配置3.1 静态路由配置3.2 动态路由配置3.2.1 RIP 配置3.2.2 OSPF 配置3.2.3 BGP 配置4:网络管理4.1 SNMP 配置4.2 NetFlow 配置4.3 Syslog 配置4.4 路由器时间设置5:安全性配置5.1 访问控制列表 (ACL) 配置5.2 VPN 配置5.3 防火墙配置5.4 AAA 配置附件:本文档附带的附件包括示例配置文件、命令输出示例等,以帮助读者更好地理解和应用文档中的内容。

法律名词及注释:本文档所涉及的法律名词及其注释如下:1:主机名:指路由器的主机标识名称,用于在网络中识别路由器。

2:用户名和密码:用于登录和管理路由器的凭证信息。

3: IP 地址:网络协议中用于唯一标识设备的数字地址。

4:子网掩码:用于标识 IP 地址中网络部分和主机部分的分界线。

5:默认网关:用于转发网络流量的下一跳路由器。

6:以太网接口:用于连接局域网设备的物理接口。

7:串行接口:用于连接广域网设备的物理接口。

8:子接口:在一个物理接口上创建多个逻辑接口,用于实现VLAN 分隔等功能。

9:虚拟局域网 (VLAN):用于将局域网划分成多个逻辑网络的技术。

10:静态路由:手动配置的路由表项,用于指定数据包传输的路径。

11:动态路由:根据路由协议动态学习和更新的路由表项,用于自动路由选择。

12: RIP:路由信息协议,一种距离向量路由协议。

华为思科华三基本命令对比

华为思科华三基本命令对比
enabl esecret
super password
super password
设置特权口令
duplex (half|full|auto)
duplex (half|full|auto)
duplex (half|full|auto)
配置接口状态
speed (10/100/1000)
speed (10/100/1000)
ip route-static 0.0.0.0 0.0.0.0
ip route-static 0.0.0.0 0.0.0.0
配置默认路由
ip route 目标网段+掩码 下一跳
ip route-static 目标网段+掩码 下一跳
ip route-static 目标网段+掩码 下一跳
配置静态路由
show ip route
华为/思科/华三基本命令对比
很多朋友反映,对华为/思科/华三交换机配置命令有些分不清楚,那么今天和大家来看下他们的区别在哪里,这里对命令做了个汇总,平时对命令不熟的朋友这次可以看下。
CISCO
H3C
HUAWEI
描述
no
undo
undo
取消、关闭当前设置
show
display
display
显示查看
exit
line
user-interface
user-interface
进入线路配置(用户接口)模式
start-config
saved-configuration
saved-configuration
启动配置
running-config
current-configuration

思科与华为常用命令对照表

思科与华为常用命令对照表
命令的作用
思科路由器命令
华为路由器命令
显示当前配置
show run
disp current
显示已保存的配置
show start
disp saved
显示版本
show version
disp version
显示路由器板卡信息
show diag
display device
显示全面的信息
show tech
disp base
username
local-user
设置特权密码
enable secret
super password
启动RIP路由协议
router rip
rip
启动OSPF路由协议
router ospf
ospf
启动BGP路由协议
router bgp
bgp
引入路由信息
redistribute
import-route
show logging
display logbuffer
显示时间
show clock
display clock
进入特权模式
le
super
退出特权模式
disable
quit
进入设置模式
config terminal
system
进入端口设置模式
interface端口
interface端口
设置端口封装模式
encapslution
link-protocl
设置E1端口非成帧模式
unframe
using E1
退出设置模式
end
return
返回上级模式
exit

华为,中兴_思科命令对比

华为,中兴_思科命令对比

华为,思科,中兴基本交换机命令[Quidway]super password 修改特权用户密码switch(config)#enable password *** 思科交换机设置特权模式密码[Quidway]sysname *** 交换机命名switch(config)#hoatname *** 思科交换机命名[Quidway]interface ethernet 0/1 进入接口视图Switch(config)#interface f0/1[Quidway]interface vlan x 进入接口视图Switch(config)#interface vlan 1[Quidway-Vlan-interfacex]ip address 10.65.1.1 255.255.0.0 [Quidway]ip route-static 0.0.0.0 0.0.0.0 10.65.1.2 静态路由=网关Router(config)#ip route 0.0.0.0 0.0.0.0 10.65.1.2 默认路由[Quidway]user-interface vty 0 4[S3026-ui-vty0-4]authentication-mode password[S3026-ui-vty0-4]set authentication-mode password simple 222[S3026-ui-vty0-4]user privilege level 3Switch(config)#line vty 0 4Switch(config-line)#password[Quidway-Ethernet0/1]duplex {half|full|auto} 配置端口双工工作状态Switch(config-if)#duplex ?auto Enable AUTO duplex configurationfull Force full duplex operationhalf Force half-duplex operation[Quidway-Ethernet0/1]speed {10|100|auto} 配置端口工作速率Switch(config-if)#speed ?10 Force 10 Mbps operation100 Force 100 Mbps operationauto Enable AUTO speed configuration[Quidway-Ethernet0/1]flow-control 配置端口流控[Quidway-Ethernet0/1]mdi {across|auto|normal} 配置端口MDI/MDIX 状态平接或扭接[Quidway-Ethernet0/1]port link-type {trunk|access|hybrid} 设置接口工作模式[Quidway-Ethernet0/1]shutdown 关闭/重起接口[Quidway-Ethernet0/2]quit 退出系统视图[Quidway]vlan 3 创建/删除一个VLAN/进入VLAN模式Switch#vlan databaseSwitch(vlan)#vlan 2或Switch#configure terminalSwitch(config)#vlan 2[Quidway-vlan3]port ethernet 0/1 to ethernet 0/4 在当前VLAN增加/删除以太网接口[Quidway-Ethernet0/2]port access vlan 3 将当前接口加入到指定VLANSwitch(config)#in f0/1Switch(config-if)#switchport access vlan 2 需要删除的话就直接no掉[Quidway-Ethernet0/2]port trunk permit vlan {ID|All} 设trunk允许的VLANSwitch(config-if)#switchport trunk allowed vlan add 5Switch(config-if)#switchport trunk allowed vlan allSwitch(config-if)#switchport trunk allowed vlan except 2 从trunk 中移除vlan2[Quidway-Ethernet0/2]port trunk pvid vlan 3 设置trunk端口的PVID[Quidway]monitor-port <interface_type interface_num> 指定和清除镜像端口[Quidway]port mirror <interface_type interface_num> 指定和清除被镜像端口[Quidway]port mirror int_list observing-port int_type int_num 指定镜像和被镜像[Quidway]description string 指定VLAN描述字符[Quidway]description 删除VLAN描述字符[Quidway]display vlan [vlan_id] 查看VLAN设置Switch#show vlan[Quidway]stp {enable|disable} 开启/关闭生成树,默认关闭[Quidway]stp priority 4096 设置交换机的优先级[Quidway]stp root {primary|secondary} 设置交换机为根或根的备份思科的的生成树协议主要是针对vlan,配置的主要作用就是增加网络的可靠性。

华为思科命令

华为思科命令
被验证方
[Quidway]local-user username password {simple|cipher} password 配置主验证方用户列表
[Quidway-Serial0]ppp chap user username 配置本地名称
MP配置命令
[Quidway-Serial0]ppp mp 封装MP协议
[Quidway]display rip 显示RIP配置信息
[Quidway]rip 启动并进入RIP配置模式
[Quidway-rip]network {network_number|all} 在指定网络上使能RIP
[Quidway-rip]peer ip_address 配置报文的定点传送
[Quidway]sysname switch_name 命名交换机(或路
[Quidway]interface ethernet 0/1 进入接口视图
[Quidway]quit 退出系统视图
[Quidway-Ethernet0/1]duplex {half|full|auto} 配置接口双工工
[Quidway]info-center console dubugging 将调试信息输出到PC
[Quidway]info-center monitor dubugging 将调试信息输出到Telnet终端或哑终端
换机配置命令举例(大括号{}中的选项为单选项,斜体字部分为参数值
[Quidway]super password password 修改特权模式口令
VLAN基本配置命令(以Quidway S3026为例) [Quidway]vlan 3 创建并进入VLAN配置模式,缺省时系统将

思科华为全系列交换机路由器常用命令

思科华为全系列交换机路由器常用命令

思科华为全系列交换机路由器常用命令交换机/路由器配置综合复习交换机/路由器常用命令汇总本课内容交换机常用命令2交换机常用命令交换机常用命令31.交换机常用命令·>Enable进入特权模式·#E某it返回上一级操作模式·#End返回到特权模式·#writememory或copyrunning-configtartup-config保存配置文件·#delflah:config.te某t删除配置文件(交换机及1700系列路由器)·#delflah:vlan.dat删除Vlan配置信息(交换机)·(config)#hotnamewitchA配置设备名称4为witchA1.交换机常用命令·(config)#enableecretlevel10tar配置远程登陆密码为tar·(config)#enableecretlevel150tar配置特权密码为tar·Level1为普通用户级别,可选为1~15,15为最高权限级别;0表示密码不加密·(config)#enableerviceweb-erver开启交换机WEB管理功能·Service可选以下:web-erver(WEB管理)、telnet-erver(远程登陆)等51.交换机常用命令查看信息·#howrunning-config查看当前生效的配置信息·#howinterfacefatethernet0/3查看F0/3端口信息·#howinterfaceerial1/2查看S1/2端口信息·#howinterface查看所有端口信息·#howipinterfacebrief以简洁方式汇总查看所有端口信息·#howipinterface查看所有端口信息·#howverion查看版本信息61.交换机常用命令查看信息·#howmac-addre-table查看交换机当前MAC地址表信息·#howrunning-config查看当前生效的配置信息·#howvlan查看所有VLAN信息·#howvlanid10查看某一VLAN(如VLAN10)的信息·#howinterfacefatethernet0/1witchport查看某一端口模式(如F0/1)·#howaggregateport1ummary查看聚合端7口AG1的信息1.交换机常用命令查看信息·#howpanning-tree查看生成树配置信息·#howpanning-treeinterfacefatethernet0/1查看该端口的生成树状态·#howport-ecurity查看交换机的端口安全配置信息·#howport-ecurityaddre查看地址安全绑定配置信息·#howipacce-litlitname查看名为litname的列表的配置信息8·#howacce-lit1.交换机常用命令端口的基本配置·(config)#Interfacefatethernet0/3进入F0/3的端口配置模式·(config)#interfacerangefa0/1-2,0/5,0/7-9进入F0/1、F0/2、F0/5、F0/7、F0/8、F0/9的端口配置模式·(config-if)#peed10配置端口速率为10M,可选10,100,auto91.交换机常用命令端口的基本配置·(config-if)#duple某full配置端口为全双工模式,可选full(全双工),half(半双式),auto(自适应)·(config-if)#nohutdown开启该端口·(config-if)#witchportaccevlan10将该端口划入VLAN10中,用于VLAN·(config-if)#witchportmodetrunk将该端口设为trunk模式,可选模式为acce,trunk·(config-if)#port-group1将该端口划入聚合端口AG1中,用于聚合端口101.交换机常用命令聚合端口的创建·(config)#interfaceaggregateport1创建聚合接口AG1·(config-if)#witchportmodetrunk配置并保证AG1为trunk模式·(config)#intf0/23-24·(config-if-range)#port-group1将端口(端口组)划入聚合端口AG1中111.交换机常用命令生成树·(config)#panning-tree开启生成树协议·(config)#panning-treemodetp指定生成树类型为tp可选模式tp,rtp,mtp·(config)#panning-treepriority4096设置交换机的优先级为4096,优先级值小为高。

思科与华为3com命令比较

思科与华为3com命令比较

思科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服务器功能思科华为命令对照表思科华为show displayshow version disp versionno undoshow run disp current-configuration username local-userend returnshow start disp saved-configurationexit quitexit logoutctrl+z quitrouter rip riprouter ospf ospfrouter bgp bgphostname sysnameaccess-list aclwrite saveerase delete0 simple7 cipherlogging info-centerencapsulation link-protocol例子: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 \\建立用户名huaweipassword simple huawei \\设置密码为huaweiservice-type telnet \\服务类型为telnetuser-interface vty 0 4 \\进入telnet通道,设置5个用户可以同时登陆authentication-mode scheme \\设置telnet的模式为本地用户名与密码登陆user-interface console 0 设置console密码authentication-mode password 密码认证set authentication password simple huaweisuper password simple huawei \\设置super密码,display version \\查看VRP软件版本display current-configuration \\查看当前运行的配置display saved-configuration \\查看已保存过的配置display interface Ethernet 0/0 \\查看接品参数display brief interface \\查看接口基本状态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 \\建立用户名huaweipassword simple huawei \\设置密码为huaweiservice-type telnet \\服务类型为telnetuser-interface vty 0 4 \\进入telnet通道,设置5个用户可以同时登陆authentication-mode scheme \\设置telnet的模式为本地用户名与密码登陆user-interface console 0 设置console密码authentication-mode password 密码认证set authentication password simple huaweisuper password simple huawei \\设置super密码,display version \\查看VRP软件版本display current-configuration \\查看当前运行的配置display saved-configuration \\查看已保存过的配置display interface Ethernet 0/0 \\查看接品参数display brief interface \\查看接口基本状态。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

目录第一章VTP协议第二章 STP协议第三章三层交换机的配置第六章PPP协议第八章OSPF 基本概念及单区域配置第九章 OSPF的多区域配置第十章OSPF高级配置第十一章热备份路由协议HSRP第十二章访问控制列表ACL第十三章网络地址转换NAT第十四章IPSec VPN的配置第十五章WLAN和VoIP第十六章IPv6配置一、交换机部分二、路由器部分★华为命令集ATEN命令汇总一第一章VTP协议Switch(config)#vtp domain (name)设置VTP域名Switch(config)#vtp mode server/transparent/client设置VTP模式,服务/透明/客户/ Switch(config)#vtp password 123 设置VTP密码Switch(cofnig)#vtp pruning 设置VTP修剪Switch#show vtp status 查看VTP状态信息Switch#show vlan brief 查看VLAN信息===============================================================================================第二章 STP协议Switch(cofnig)#spanning-tree vlan 1 启用生成树Switch(config)#spanning-tree vlan 2 root primary / secondary 配置交换机为根网桥、主要的/次要的Switch(config)#spanning-tree vlan 2 priority 8192 修改交换机的优先级Switch(config-if)#spanning-tree vlan 2 cost 100/19/4/2 修改端口路径成本Switch(config-if)#spanning-tree vlan 2 port-priority 50 修改端口路径优先级(端口十进制取值0~255,默认值事128)Switch(config)#spanning-tree uplinkfast 配置上行速链路Switch(config)#interface range f0/1 - 20 (为除TRUNK链路外的接口配速端口)Switch(config-if)#spanning-tree portfast 配置速端口Switch#show spanning-tree 查看生成树信息(在小凡模拟器上show spanning-tree br) 以太网通道配置Switch(config)#interface range fasteternet 0/1 - 2 (为1、2端口配置以太网端口Switch(config-if-range)#channel-group 1 mode on (把绑在一起成为组1Switch#show etherchannel 1 summary 查看以太网通道的配置是否正确===============================================================================================第三章三层交换机的配置1、在3层交换机上启动路由,否则3层交换不具有路由功能switch(config)#ip routing2、配置VLAN的IP地址switch(config)#interface vlan 1 因为3层交换机支持各VLAN间的路由,因此每个VLAN都可以配置IP地址switch(config-if)#ip address 192.168.1.1 255.255.255.0switch(config-if)#no shutdown3、查看FIB表switch #show ip cef4、查看邻接关系表switch#show adjacency detail5、在3层交换机上配置路由接口switch(config-if)#no switchport (配置接口为3层模式,意思就是取消switch的接口)6、在3层交换机上配置静态路由或动态路由与在ROUTE上配置路由方法都是相同的7、配置DHCP中继转发switch(cofig)#interface vlan 2switch(config-if)#ip helper-address 192.168.2.100---------------------------------------------------解决实例;下面的配置命令,可以配置路由器为DHCP服务器,用以给DHCP客户端动态分配ip地址。

Router1#configure terminalRouter1(config)#service dhcp //开启DHCP 服务Router1(config)#ip dhcp pool 172.25.1.0/24 //定义DHCP地址池Router1(dhcp-config)#network 172.25.1.0 255.255.255.0 // 用network 命令来定义网络地址的范围Router1(dhcp-config)#default-router 172.25.1.1 //定义要分配的网关地址Router1(dhcp-config)#dns-server 192.168.1.1 配置DNS服务器Router1(dhcp-config)#exitRouter1(config)#ip dhcp excluded-address 172.25.1.1 172.25.1.50 //该范围内的ip地址不能分配给客户端Router1(config)#ip dhcp excluded-address 172.25.1.200 172.25.1.255 //该范围内的ip地址不能分配给客户端Router1(config)#endRouter1#================================================== =============================================BACK HOME第六章PPP协议DTE:数据终端设备(自己买的设备是DTE)DCE:数据电路终接设备(运营商送的是DCE)配置PAP认证PPP认证为PAP和CHAP两种1、主认证端DCE 的PAP配置;在主认证端添加被认证用户的用户名和密码R1(config)#username R1 password 0 123 (password 参数后面的0表示密码是为文明保存的R1(config)#interface s0/0R1(config-if)#ip address 192.168.1.1 255.255.255.0 (配置S0/0的接口IP)R1(config-if)#encapsulation ppp (把S0/0封装PPP协议)R1(config-if)#ppp authentication pap (启动认证PAP协议)R1(config-if)#clock rate 64000 (配置DCE接口的时钟)R1(config-if)#no shutdown2,被认证端DTE 的PAP配置R2(config)#interface s0/0R2(config-if)#ip address 192.168.1.2 255.255.255.0 (配置IP地址)R2(config-if)#encapsulation ppp (SO/0封装PPP协议)R2(config-if)#ppp pap sent-username R1 password 0 123 (发起用户密码认证;在被认证端配置的用户名和密码必须和与在主认证端配置的用户名和密码相同)R2(config-if)#no shutdown-------------------------------------------配置CHAP认证服务器配置R1R1(config)#username R2 password 0 123 配置用户名和密码(用户名为对方的用户名,也可以随便一个不同的名,必须是唯一的,密码必须和被认证方的是一样的密码)R1(config)#interface s0/0R1(config-if)#ip address 192.168.1.1 255.255.255.0 (配置接口IP地址)R1(config-if)#encapsulation ppp (封装PPP协议在S0/0接口)R1(config-if)#clock rate 64000 (DCE接口方配置时钟,只能在DCE方配置,其他方不可以)R1(config-if)#ppp authentication chap (启动CHAP协议,直接翻译为PPP认证CHAP 协议)R1(config-if)#no shutdown客服端R2R2(config)#username R1 password 0 123 (配置用户名和密码,用户名为对方的或随便一个不同的名必须是唯一,密码必须和服务器端一样的)R2(config)#interface s0/0R2(config-if)#ip addres 192.168.1.2 255.255.255.0 (配置S0/0接口的IP地址)R2(config-if)#encapsulation ppp (封装PPP协议在S0/0接口)R2(config-if)#ppp authentication chap(启动CHAP协议,双方必须都启动CHAP协议)R2(config-if)#no shutdownR2#ping 192.168.1.1---------------查看PPP的配置router#show interface serial 0/1internet address will be negotiated using IPCP:接口的IP地址是通过IPCP协议协商的LCP Open:LCP协议的状态为Open,协议工作正常Open:IPCP,CDPCP状态为Open,协议工作正常调试命令router#debug PPP packet================================================== =============================================第八章OSPF 基本概念及单区域配置(1)配置loopback接口地址,为ospf的路由器配置一个loopback接口,用来作为路由器的Router ID,配置命令如下:Router(config)#interface loopback 0Router (config-if)ip address IP地址掩码(2)启动ospf路由进程,与配置RIP不同的是,在配置ospf的时候需要配置进程号,进程号是本地路由的进程号,用于标识一台路由器上的多个ospf进程,其值可以在1~65535只见选取,当然进程号1是最小值Router(config)#router ospf进程号(3)指定ospf协议运行的接口和所在的区域:Router(config-router)#network网络号反向掩码area区域号网络号――可以是网段地址,子网地址或者一个路由的接口地址,用于指出路由器所要通告的链路反向掩码—用一个255.255.255.255减去接口ip的子网掩码就等于反向掩码了区域号—指明同网络号相关区域,可以是0、1、2、3这样的数字,也可以是192.168.1. 0这样的标识方法(4)修改接口的cost值,cost值使用16位的无符号整数表示,大小范围在1~65535之间{cost值越小优先级越高不常用}Router(config-if)ip ospf cost cost值例如:Router(config)# interface s0/0Router(config-if)#ip ospf cost 1000(5) 配置ospf计时器,这些值是一些典型值,一般不用改动,只有当需要同另外的路由器的性能进行匹配时可能需要改动这些计数器的值Router(config-if)#ip ospf hello-interval 时间(s)Router(config-if)#ip ospf dead-interfaceval 时间(s)例如: Router(config-if)#ip ospf hello-interval 5Router(config-if)#ip ospf dead-interfaceval 20(6) 用于诊断的查看命令●查看邻居列表Show ip ospf neighbor●查看链路状态数据库Show ip ospf database●查看路由表Show ip route●查看ospf的配置Show ip ospf●查看ospf接口的数据结构Show ip ospf interface 接口================================================== =============================================第九章OSPF的多区域配置区域边界路由器ABR : 路由器上的所有端口不在同一个区域 ,那么这台路由器就是ABR自治系统边界路由ASBR :在一台路由器上同时运行多种(两种如:ospf/rip)协议的路由器则是ASBR配置Stub Area(1)配置命令: 末梢区域Router(config-router)#area area-id stubarea-id:标识stub区域ID,可以是数字或IP地址形式.此命令需要在Stub区域内的所有路由器上配置.(2)配置命令:完全末梢区域Router(config-router)#area area-id stub no-summaryarea-id:标识stub区域ID,可以是数字或IP地址形式.no-summary:使用此参数来生成Totally Stubby区域。

相关文档
最新文档