Administrator Guide
ip vrf forwarding blue
ip address 1.0.0.1/24
tagged GigabitEthernet 3/1
no shutdown
!
interface Vlan 192
ip vrf forwarding orange
ip address 2.0.0.1/24
tagged GigabitEthernet 3/1
no shutdown
!
interface Vlan 256
ip vrf forwarding green
ip address 3.0.0.1/24
tagged GigabitEthernet 3/1
no shutdown
!
router ospf 1 vrf blue
router-id 1.0.0.1
network 1.0.0.0/24 area 0
network 10.0.0.0/24 area 0
!
router ospf 2 vrf orange
router-id 2.0.0.1
network 2.0.0.0/24 area 0
network 20.0.0.0/24 area 0
!
ip route vrf green 31.0.0.0/24 3.0.0.2!
Router 2
ip vrf blue 1
!
ip vrf orange 2
!
ip vrf green 3
!
interface GigabitEthernet 3/1
no ip address
switchport
no shutdown
!
interface GigabitEthernet 2/1
ip vrf forwarding blue
ip address 11.0.0.1/24
no shutdown
!
interface GigabitEthernet 2/2
ip vrf forwarding orange
ip address 21.0.0.1/24
no shutdown
!
interface GigabitEthernet 2/3
ip vrf forwarding green
ip address 31.0.0.1/24
no shutdown
!
interface Vlan 128
ip vrf forwarding blue
ip address 1.0.0.2/24
tagged GigabitEthernet 3/1
no shutdown
interface Vlan 192
ip vrf forwarding orange
ip address 2.0.0.2/24
tagged GigabitEthernet 3/1
no shutdown
!
interface Vlan 256
ip vrf forwarding green
ip address 3.0.0.2/24
tagged GigabitEthernet 3/1
no shutdown
Virtual Routing and Forwarding (VRF)
917