Thursday, April 21, 2016

VRF_LAB1




Configure

R1
ip vrf AGD
ip vrf AYA
ip vrf CB
ip vrf KBZ
ip vrf UAB
ip vrf YOMA
!
interface Loopback1
ip vrf forwarding KBZ
ip address 2.2.2.2 255.255.255.255
!
interface Loopback2
ip vrf forwarding CB
ip address 2.2.2.2 255.255.255.255
!
interface Loopback3
ip vrf forwarding YOMA
ip address 2.2.2.2 255.255.255.255
!
interface Loopback4
ip vrf forwarding AGD
ip address 2.2.2.2 255.255.255.255
!
interface Loopback5
ip vrf forwarding UAB
ip address 2.2.2.2 255.255.255.255
!
interface Loopback6
ip vrf forwarding AYA
ip address 2.2.2.2 255.255.255.255
!
interface Ethernet0/0
ip vrf forwarding KBZ
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet0/1
ip vrf forwarding CB
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet0/2
ip vrf forwarding YOMA
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet0/3
ip vrf forwarding AGD
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet1/0
ip vrf forwarding UAB
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet1/1
ip vrf forwarding AYA
ip address 192.168.1.1 255.255.255.0
half-duplex
!
ip route vrf AGD 1.1.1.1 255.255.255.255 192.168.1.2
ip route vrf AYA 1.1.1.1 255.255.255.255 192.168.1.2
ip route vrf CB 1.1.1.1 255.255.255.255 192.168.1.2
ip route vrf KBZ 1.1.1.1 255.255.255.255 192.168.1.2
ip route vrf UAB 1.1.1.1 255.255.255.255 192.168.1.2
ip route vrf YOMA 1.1.1.1 255.255.255.255 192.168.1.2

Verify
#sh ip vrf XXX
Test
#pint vrf XXX

No comments:

Post a Comment