#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 |
#configure terminal | Enter the Configure mode. |
(config)#virtual-router VR1 | Create a virtual router VR1. |
(config-vr)#load ipv6 rip | Load the RIPng module to be used in VR1. |
(config)#exit | Exit the VR mode. |
(config)#interface eth1 | Switch to interface eth1. |
(config-if)#virtual-router forwarding VR1 | Associate eth1 to VR1. |
(config-if)#exit | Exit interface mode. |
(config)#exit | Exit the router config mode. |
#login virtual-router VR1 | Login in to virtual-router VR1. |
>en | Enable the config mode. |
#con t | Enter the router configuration mode. |
(config)#ip vrf vrf1 | Create the vrf1 |
(config-vrf)#exit | Exit the vrf |
(config)#router ipv6 rip | Enable ipv6 rip |
(config-router)#address-family ipv6 vrf vrf1 | Switch to ipv6 rip address family |
(config-router-af)#aggregate-address 2222::/48 | Configure the ipv6 aggregate-address |
(config-router-af)#exit | Exit the router rip mode. |
(config-router)#ex | exit. |
(config)#interface eth1 | Switch to interface eth1 |
(config-if)#ip vrf forwarding vrf1 | Associate eth1 to the vrf1 |
(config-if)#ip address 2.2.2.1/24 | Configure the ip address 2.2.2.2 to interface eth1 |
(config-if)#ipv6 address 2222::1/48 | Configure the ipv6 address. |
(config-if)#ipv6 address fe80::1/48 | Configure the link local address |
(config-if)#ipv6 router rip | Associate interface eth1 to ipv6 rip |
#configure terminal | Enter the Configure mode. |
(config)#virtual-router VR1 | Create a virtual router VR1. |
(config-vr)#load ipv6 rip | Load the Ripng module to be used in VR1 |
(config)#exit | Exit the VR mode. |
(config)#interface eth1 | Switch to interface eth1. |
(config-if)#virtual-router forwarding VR1 | Associate eth1 to VR1. |
(config-if)#exit | Exit interface mode. |
(config)#exit | Exit the router config mode. |
#login virtual-router VR1 | Login in to virtual-router VR1. |
>en | Enable the config mode. |
#con t | Enter the router configuration mode. |
(config)#ip vrf vrf1 | Create the vrf1 |
(config-vrf)#exit | Exit the vrf |
(config)#router ipv6 rip | Switch to the rip ipv6 address family |
(config-router)#address-family ipv6 vrf vrf1 | Switch to the rip ipv6 address family |
(config-router-af)#aggregate-address 2222::/48 | Configure the ipv6 aggregate address |
(config-router-af)#exit | Exit the address ipv6 rip address family |
(config-router)#ex | Exit the router IPV6 rip mode. |
(config)#interface eth1 | Exit to the router config mode |
(config-if)#ip vrf forwarding vrf | Associate eth1 to the vrf1 |
(config-if)#ip address 2.2.2.2/24 | Configure the ip address 2.2.2.1 to eth eth1 |
(config-if)#ipv6 address 2222::2/48 | Configure the ipv6 address. |
(config-if)#ipv6 address fe80::2/48 | Configure the link local address |
(config-if)#ipv6 router rip | Associate interface eth1 to ipv6 rip |