经典配置Vlan篇

http://tech.ddvip.com   2006年12月26日    社区交流 收藏本文

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

   hostname R3

   !

   enable password cisco

   !

   !

   !

   interface Serial0

   no ip address

   shutdown

   no fair-queue

   !

   interface Serial1

   no ip address

   shutdown

   !

   interface TokenRing0

   ip address 130.10.5.3 255.255.255.0

   ring-speed 16

   !

   interface TokenRing1

   ip address 130.10.6.3 255.255.255.0

   ring-speed 16

   !

   router ospf 30

   redistribute connected subnets

   network 130.10.5.0 0.0.0.255 area 1

   !

   no ip classless

   !

   !

   line con 0

   line aux 0

   line vty 0 4

   password cisco

   login

   !

   end

   R5

   Current configuration:

   !

   version 11.2

   no service password-encryption

   no service udp-small-servers

   no service tcp-small-servers

   !

   hostname R5

   !

   enable password cisco

   !

   !

   !

   interface Ethernet0

   ip address 130.10.3.5 255.255.255.0

   no ip directed-broadcast

   no ip route-cache

   no ip mroute-cache

   no mop enabled

   !

   interface Serial0

   ip address 130.10.1.5 255.255.255.0

   encapsulation frame-relay

   ip ospf network point-to-multipoint

   frame-relay map ip 130.10.1.1 100 broadcast

   frame-relay map ip 130.10.1.6 100 broadcast

责编:豆豆技术应用

正在加载评论...