CCIE之VRF

不得不学习VRF了,跟着教程整了一下。

锐捷实战系列(五十三) VRF中的静态路由

他这个使用的他们自己的产品,但是我没有,所以,用的GNS3的模拟器。

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
!
!
ip vrf JXCloud
!
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
!         
interface Ethernet0/0
 ip vrf forwarding JXCloud
 ip address 192.168.1.1 255.255.255.0
 half-duplex
!
interface Ethernet1/0
 ip vrf forwarding JXCloud
 ip address 192.168.2.1 255.255.255.0
 half-duplex
!
interface Ethernet1/1
 no ip address
 shutdown
 half-duplex
!
interface Ethernet1/2
 no ip address
 shutdown
 half-duplex
!
interface Ethernet1/3
 no ip address
 shutdown
 half-duplex
!
ip forward-protocol nd
ip route vrf JXCloud 192.168.3.0 255.255.255.0 192.168.1.2
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!         
line con 0
line aux 0
line vty 0 4
!
!
end

Leave a Reply