关于OSPF RIP单臂路由配置.doc_第1页
关于OSPF RIP单臂路由配置.doc_第2页
关于OSPF RIP单臂路由配置.doc_第3页
关于OSPF RIP单臂路由配置.doc_第4页
关于OSPF RIP单臂路由配置.doc_第5页
已阅读5页,还剩4页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

交换机SASWA#show vlan brief VLAN Name Status Ports- - - -1 default active Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/2310 VLAN0010 active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/820 VLAN0020 active Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/161002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active SWA#SWA#show interfaces trunk Port Mode Encapsulation Status Native vlanFa0/24 on 802.1q trunking 1Port Vlans allowed on trunkFa0/24 1-1005Port Vlans allowed and active in management domainFa0/24 1,10,20Port Vlans in spanning tree forwarding state and not prunedFa0/24 1,10,20SWA#交换机SBSWB#show vlan brief VLAN Name Status Ports- - - -1 default active Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23100 VLAN0100 active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8200 VLAN0200 active Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/161002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active SWB#SWB#show inter trunk Port Mode Encapsulation Status Native vlanFa0/24 on 802.1q trunking 1Port Vlans allowed on trunkFa0/24 1-1005Port Vlans allowed and active in management domainFa0/24 1,100,200Port Vlans in spanning tree forwarding state and not prunedFa0/24 1,100,200SWB#Rip路由器RA:interface FastEthernet0/0 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto!interface FastEthernet0/1.1 encapsulation dot1Q 10 ip address 192.168.10.1 255.255.255.0!interface FastEthernet0/1.2 encapsulation dot1Q 20 ip address 192.168.20.1 255.255.255.0!router rip version 2 network 192.168.2.0 network 192.168.10.0 network 192.168.20.0 no auto-summary!ip classless!line con 0line vty 0 4 login!End路由器RBinterface FastEthernet0/0 ip address 192.168.2.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto!interface FastEthernet0/1.1 encapsulation dot1Q 100 ip address 192.168.100.1 255.255.255.0!interface FastEthernet0/1.2 encapsulation dot1Q 200 ip address 192.168.200.1 255.255.255.0!router rip version 2 network 192.168.2.0 network 192.168.100.0 network 192.168.200.0 no auto-summary!ip classless!line con 0line vty 0 4 login!Endrip路由表RA#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.2.0/24 is directly connected, FastEthernet0/0C 192.168.10.0/24 is directly connected, FastEthernet0/1.1C 192.168.20.0/24 is directly connected, FastEthernet0/1.2R 192.168.100.0/24 120/1 via 192.168.2.2, 00:00:12, FastEthernet0/0R 192.168.200.0/24 120/1 via 192.168.2.2, 00:00:12, FastEthernet0/0RA#OspfRAinterface FastEthernet0/0 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto!interface FastEthernet0/1.1 encapsulation dot1Q 10 ip address 192.168.10.1 255.255.255.0!interface FastEthernet0/1.2 encapsulation dot1Q 20 ip address 192.168.20.1 255.255.255.0!router ospf 1 log-adjacency-changes network 192.168.2.0 0.0.0.255 area 0 network 192.168.10.0 0.0.0.255 area 0 network 192.168.20.0 0.0.0.255 area 0!ip classless!line con 0line vty 0 4 login!EndRBinterface FastEthernet0/0 ip address 192.168.2.2 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto!interface FastEthernet0/1.1 encapsulation dot1Q 100 ip address 192.168.100.1 255.255.255.0!interface FastEthernet0/1.2 encapsulation dot1Q 200 ip address 192.168.200.1 255.255.255.0!router ospf 1 log-adjacency-changes network 192.168.2.0 0.0.0.255 area 0 network 192.168.100.0 0.0.0.255 area 0 network 192.168.200.0 0.0.0.255 area 0!ip classless!line con 0line vty 0 4 login!endOspf 路由表RA#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.2.0/24 is directly connected, FastEthernet0/0C 192.1

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论