#configure terminal | Enter configure mode. |
(config)#virtual-router VR1 | Create virtual router VR1. |
(config-vr)#load rip | Load the RIP module in VR1. |
(config)#exit | Exit VR mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#virtual-router forwarding VR1 | Associate eth1 to VR1. |
(config-if)#exit | Exit interface mode. |
(config)#exit | Exit configure mode. |
#login virtual-router VR1 | Log in to virtual-router VR1. |
>en | Enter privileged exec mode. |
#con t | Enter configuration mode. |
(config)#ip vrf vrf1 | Create vrf1 |
((config-vrf)#exit | Exit VRF mode |
(config)#router rip | Enter router mode. |
(config-router)#version 2 | Specify RIP version 2. |
(config-router)#address-family ipv4 vrf vrf1 | Enter address family mode for vrf1 |
(config-router-af)#network 2.2.2.0/24 | Advertise the connected network under rip. |
(config-router-af)#exit | Exit address-family mode. |
(config-router)#ex | Exit router mode |
(config)#interface eth1 | Enter interface mode |
(config-if)#ip vrf forwarding vrf1 | Associate the interface to vrf1 |
(config-if)#ip address 2.2.2.1/24 | Configure the IP address 2.2.2.1 to eth1 |
#configure terminal | Enter configure mode. |
(config)#virtual-router VR1 | Create virtual router VR1. |
(config-vr)#load rip | Load the rip module in VR1. |
(config)#exit | Exit VR mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#virtual-router forwarding VR1 | Associate eth1 to VR1. |
(config-if)#exit | Exit interface mode. |
(config)#exit | Exit configure mode. |
#login virtual-router VR1 | Log in to virtual router VR1. |
>en | Enter privileged exec mode. |
#con t | Enter configuration mode. |
(config)#ip vrf vrf1 | Create vrf1 |
((config-vrf)#exit | Exit VRF mode |
(config)#router rip | Enter router mode. |
(config-router)#version 2 | Specify RIP version 2. |
(config-router)#address-family ipv4 vrf vrf1 | Enter address family mode for vrf1 |
(config-router-af)#network 2.2.2.0/24 | Advertise the connected network under RIP. |
(config-router-af)#exit | Exit address family mode. |
(config-router)#ex | Exit router mode |
(config)#interface eth1 | Enter interface mode |
(config-if)#ip vrf forwarding vrf1 | Associate the interface to vrf1 |
(config-if)#ip address 2.2.2.2/24 | Configure the IP address 2.2.2.1 to eth1 |