经典配置Vlan篇

豆豆网   技术应用频道   2006年12月26日  【字号: 收藏本文

本文详细介绍经典配置Vlan篇

   no ip mroute-cache

   shutdown

   !

   router ospf 10

   redistribute connected subnets

   network 130.10.1.0 0.0.0.255 area 0

   network 130.10.4.0 0.0.0.255 area 1

   network 130.10.7.0 0.0.0.255 area 2

   !

   no ip classless

   !

   !

   line con 0

   line aux 0

   line vty 0 4

   password cisco

   login

   !

   end

   R2

   Current configuration:

   !

   version 11.2

   no service password-encryption

   no service udp-small-servers

   no service tcp-small-servers

   !

   hostname R2

   !

   enable password cisco

   !

   !

   !

   interface Serial0

   ip address 130.10.4.2 255.255.255.0

   no fair-queue

   !

   interface Serial1

   no ip address

   shutdown

   !

   interface TokenRing0

   ip address 130.10.5.2 255.255.255.0

   ring-speed 16

   !

   router ospf 20

   network 130.10.5.0 0.0.0.255 area 1

   network 130.10.4.0 0.0.0.255 area 1

   !

   no ip classless

   !

   !

   line con 0

   line aux 0

   line vty 0 4

   password cisco

   login

   !

   end

   R3

   Current configuration:

   !

   version 11.2

   no service password-encryption

   no service udp-small-servers

   no service tcp-small-servers

   !

责编:豆豆技术应用

正在加载评论...