




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
分册第1章 命 1 1 - 1description(Instance 2disy v4 2disy v4 4disy v4 5disy v4 5disy 9disy disyfib - disy - disy - disyospfsham- - exportroute-............................................................................................1- importroute-............................................................................................1-ip - - refresh - reset - reset -instance reset -target i第1章L3命apply -
apply undoapply
表示前面的参数最多可以输入6次。
applyaccess- -instance命令用来在策略节点中设置指定实例进行转发。undoapplyaccess--instance命令用来在策略节点中删除一个或多个指定的实例。可用的实例路由表进行转发。如果在使用undoapplyaccess--instance命令时没有指定实例名,将从转发信息表中删除所有的实例。在使用applyaccess-
[Sysname]-based-route1permitnode[Sysname-pbr-1-10]applyaccess--instance1description(Instance
descriptionundo
<Sysname>system-view[Sysname]ip-instance1disybgpv4
disybgpv4-instance-instance-namegroup[group-name
<Sysname>disybgpv4-instance1groupBGPpeer-groupisremoteASnumbernotspecifiedType:externalumallowedprefixnumber:Threshold:Configuredholdtimervalue:180Keepalivetimervalue:60Minimumtimebetweenadvertisementrunsis30secondsPeerPreferredValue:99Noroutingis ASMsgRcvdMsgSentOutQPrefRcvUp/Down 表1-1disybgpv4group命令输出信息描述BGPpeer-remoteASumallowedprefixKeepalivetimerMinimumtimebetweenadvertisementPeerPreferredNoroutingis对等体的IPV对等体使用的BGPdisybgpv4
disybgpv4-instance-instance-name
<Sysname>disybgpv4-instance1networkBGPLocalRouterIDis1.1.1.1.LocalASNumberis 表1-2disybgpv4network命令输出信息描述BGPLocalRouter运行BGP协议的本地LocalASdisybgpv4
<Sysname>disybgpv4-instance1010010i110?120?disybgpv4
disybgpv4-instance-instance-namepeer[group-log-info|ip-address{log-info|verbose}|verbose<Sysname>disybgpv4-instance1peerBGPlocalrouterID:2.2.2.2LocalASnumber:Totalnumberofpeers: Peersinestablishedstate: ASMsgRcvdMsgSentOutQPrefRcvUp/Down 表1-3disybgpv4-instancepeer命令显示信息描述BGPLocalrouterBGP本地localASTotalnumberofPeersinestablished对等体的IPV对等体使用的BGP<Sysname>disybgpv4-instance1peerPeer:10.1.1.1Local:Type:EBGPBGPversion4,remoterouterIDBGPcurrentstate:Established,Upfor00h19m26sBGPcurrentevent:KATimerExpiredBGPlaststate:Port:Local- Remote-Configured:ActiveHoldTime:180sec KeepaliveTime:60secReceived:ActiveHoldTime:180secNegotiated:ActiveHoldTime:180secPeeroptionalcapabilities:Peersupportbgpmulti-protocolextendedPeersupportbgprouterefreshcapabilityAddressfamilyIPv4Unicast:advertisedandReceived:Total25messages,Updatemessages1Sent:Total30messages,Updatemessages4umallowedprefixnumber:150000Threshold:75%Minimumtimebetweenadvertisementrunsis30secondsOptionalcapabilities:RouterefreshcapabilityhasbeenPeerPreferredValue:RoutingNoroutingis表1-4disybgpv4peerverbose命令显示信息描述对等体的IP本地的IP地BGP对等体使用的BGPremoterouter远端BGPcurrentUpBGPcurrentBGPlastTime)和存活时间间隔(KeepaliveTime)PeeroptionalPeersupportbgpmulti-protocolPeersupportbgprouterefreshAddressfamilyIPv4advertisementrunsOptionalRouterefreshcapabilityhasbeenenabledPeerPreferredRoutingdisybgpv4routing-table
disybgpv4-instance-instance-namerouting-table
disybgpv4routing-tablelabel命令用来显示BGP路由表中的路由信
<Sysname>disybgpv4-instance1routing-tableTotalroutesof-instance1:BGPLocalrouterIDisStatuscodes:*-valid,>-best,d-h-history,i-internal,s-suppressed,S-StaleOrigin:i-IGP,e-EGP,?- In/Out 表1-5 y BGPLocalrouterBGP本地StatusRoute显示BGP下一跳IPIn/OutTotalroutesof-instancedisybgpv4-instancerouting-
disybgpv4-instance-instance-namerouting-table[network-address[{mask|mask-length}[longer-prefixes]]|as-path-aclas-path-acl-number|cidr|community[aa:nn]&<1-13>[no-export-subconfed|no-advertise|no-export]*[whole-match]|community-list munity-list-number}&<1-16>|dampened|dampeningparameter| network-address[mask[longer-match]|mask-length[longer-match]] received-
列表号,取值范围为1~256。aa:nn&<1-13>:指定团体号,aa0~65535,nn0~65535。&<1-13>表示前面的参数最多可以输入13次也不能发布到中的其他子AS。&<1-16>:表示前面的参数最多可以输入16次。 longer-matchnetwork-addressmask|mask-length}具有更长掩码位数peerip-address:向指定的BGP v4对等体发送或者从BGP 到的路由信息,ip-address,对等体的IP地址。regular-expressionas-regular-expressionAS正则表达式相匹配的路 disy y - 1routing-TotalNumberofRoutes:BGPLocalrouterIDisStatuscodes:*-valid,>-best,d-h-history,i-internal,s-suppressed,S-StaleOrigin:i-IGP,e-EGP,?- 00i00?000?00?表1-6disybgpv4-instancerouting-table命令显示信息描述TotalNumberofBGPLocalrouterBGP本地Status从BGP下一跳IPdisyfibstatistics-
disyfibstatistics-无
<Sysname>disyfibstatistics-instanceRouteEntryCount :10表1-7disyfibstatistics-instance命令显示信息描述RouteEntrydisyfib-
disyfib-instance-instance-name[includestring-instance-name:实例的名称,为1~31个字符的字符串。 匹配显示信息的字符串,为1~256个字符的字符串,区分大小写。
<Sysname>disyfib-instance1FIBTableFor1:TotalnumberofRoutes: 表1-8disyfib-instance命令显示信息描述FIBTableFor名为1的实例的FIB信Totalnumberofdisyip-
disyip-instance[instance-name-instance-name31个字符的字符串。
<Sysname>disyip-instanceTotal-Instancesconfigured:2Create12表1-9disyip-instance命令显示信息描述-InstanceCreate<Sysname>disyip-instanceinstance-name1-InstanceNameandID:1,1Createtime:2006/04/08Uptime:0days,00hours,11minutesand42secondsRouteDistinguisher:22:1ExportTargets:3:3ImportTargets:4:45:5ImportRoute:poly-1Description:Thisis1umnumberofRoutes:500Interfaces:GigabitEthernet1/0表1-10disyip-instanceinstance-name命令显示信息描述-InstanceNameandUpRouteExportImportImportRouteumnumberofdisyospfsham-
disyospf[process-id]sham-link[areaarea-idarea-id:OSPF区域号,可以是整数形式,也可以是IPv4地址形式。当是整数形式时,取值范围为0~ disyospfsham-link命令用来显示OSPF的伪连接信息。相关配置可参考命令sham-link。
<Sysname>disyospfsham-OSPFProcess100withRouterIDShamDestination-IPState P-2-P表1-11disyospfsham-link命令显示信息描述伪连接所属的OSPF伪连接的源IP伪连接的目的IP<Sysname>disyospfsham-linkareaOSPFProcess100withRouterID100.1.1.2Sham-Link:3.3.3.3-->5.5.5.5NeighbourState:FullArea:0.0.0.1Cost:10State:P-2-P,Type:Timers:o10,Dead40,Retransmit5,TransmitDelay表1-12disyospfsham-linkarea命令显示信息描述伪连接,从源IP地址到目的IP伪连接的目的IP-
-id-id[secondaryundo-id[-id形式,取值范围为0~
OSPFType-3LSA(区域内路由)发布,这就需要为同一个OSPF域使用相同的域标识符。[Sysname]ospf100export
exportroute-undoexport
route-命令用来取消对当前实例应用出方向路由策略。
<Sysname>system-view[Sysname]ip-instance1
munity-type{-id|router-id|route-type-idtype-code1:配置OSPF扩展团体属性ID的类型编码取值可以为0107和8001。router-typetype-code3:配置OSPFRouteTypemunity-type命令用来配置OSPF扩展团体属性的类型编码。undomunity-type命令用来恢复缺省情况。类型编码是0x0107,RouteType的类型编码是0x0306。
RouterID的类型编码为0x8001,RouteType的类型编码为0x8000。[Sysname]ospf100 munity-type-id munity-typerouter-id8001 munity-typeroute-type8000import
importroute-undoimport
route-命令用来取消对当前实例应用入方向路由策略。<Sysname>system-view[Sysname]ip-instance1ipbinding-
undoipbinding-instance-instance-
binding-instance命令用来取消接口与实例的关联。接口IP地址。ip-
undoip-instance-instance-定的实例。<Sysname>system-view[Sysname]ip-instance1
进入BGP-实例视图,-instance-name,为1~31个字符的字符串。
<Sysname>system-view[Sysname]ip-instance1[Sysname]bgp100[Sysname-bgp]ipv4-family-instance1peeras-path-acl(BGP-v4subaddressFamily
peer{group-name|ip-address}as-path-aclaspath-filter-number{importexportexportpeeras-path-aclAS路径列表的路由过滤。undopeeras-path-acl命令用来取消配置。[Sysname]bgp100[Sysname-bgp-af-v4]peertestas-path-acl3refreshbgp-
group-name}{export|import
ip-address:对等体的IP地址。all:所有的BGP-实例连接。external:EBGP会话。
<Sysname>refreshbgp-instance1allresetbgp-
resetbgp-instance-instance-name{as-number|ip-address|allexternal|groupgroup-name
<Sysname>resetbgp-instance1resetbgp-instance
resetbgp-instance-instance-namedampening[network-[mask|mask-length]
network-addressmask:网络掩码,形式为X.X.X.X。resetbgp-instancedampening命令用来清除指定实例的路由振荡衰减<Sysname>resetbgp-instance1resetbgp-instanceflap-
resetbgp-instance-instance-nameflap-info[ip-address[maskmask-length]|as-path-aclas-path-acl-number|regexpas-path-regexp
resetbgp-instanceflap-info命令用来清除指定实例的BGP对等体路由<Sysname>resetbgp-instance12.2.2.2flap-route-distinguisher(Instance
特定的IPv4前缀之前,使之成为全局唯一的IPv4前缀。才会生效。一旦配置了RD,就不能将其和实例解除关联。<Sysname>system-view[Sysname]ip-instance1
比如本端BGPAS号为100,则其缺省的tag十进制值为 不在BGP的扩展团体属性中传递,只是本地概念,只在收到BGP路由并且产生时忽略该LSA。[Sysname]ospf100routing-table
routing-tablelimitnumber{warn-threshold|simply-alertundorouting-table
路由数的百分比,取值范围为1~100。会产生一条SYSLOG错误信息。备引入太多路由。undorouting-tablelimit命令用来恢复缺省情况。<Sysname>system-view[Sysname]ip-instance1
||simple[cipher|in]password1|{md5|hmac-md5}key-id[cipher|inpassword2]undosham-linksource-ip-addressdestination-ip-address[cost|dead|oretransmi
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 六年级状物作文荷花700字(7篇)
- 阅读策略培养:如何进行有效阅读高一语文阅读课教案
- 合作经营协议细节及
- 文档管理流程标准化操作指南行政岗位
- 商业区景观设计及施工协议
- 个人营运工作总结
- 2025医疗行业劳动合同变更及医疗服务协议
- 2025年文艺演出肖像使用权合同
- 2025年光伏建筑一体化项目在建筑节能技术创新中的应用报告
- 水运工程施工工三级安全教育(班组级)考核试卷及答案
- 2025年第一届安康杯安全生产知识竞赛试题题库及答案(完整版)
- 电力工程冬季施工安全技术措施
- 贵州省贵阳市2026届高三上学期摸底考试数学试卷含答案
- 公司年度员工安全教育培训计划
- 供电所安全教育培训课件
- 2025年杭州市上城区望江街道办事处 编外人员招聘8人考试参考试题及答案解析
- 百果园水果知识培训资料课件
- 2025年灌注桩考试题及答案
- 公司安全生产责任书范本
- 养老护理员培训班课件
- 隔爆水棚替换自动隔爆装置方案及安全技术措施
评论
0/150
提交评论