#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#ipv6 address fe80::3037:3aff:fe3a:3a32/64 | Configure the IPv6 address for interface eth0 to be in network 0. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#ipv6 address fe80::3037:a0ff:fea4:3539/64 | Configure the IPv6 address for interface eth1 to be in network 1. |
(config-if)#exit | Exit the Interface mode. |
(config)#router ipv6 vrrp 1 eth0 | Create a VRRPv6 instance for interface eth0. |
(config-router)#virtual-ipv6 fe80::3037:3aff:fe3a:3a32 owner | Configure R1 as the owner. |
(config-router)#advertisement-interval 100 | Configure the default value for the advertisement interval. The configurable range is <5-4095> (value must be a multiple of 5). |
(config-router)#preempt-mode true | Set true as the default value for the field. |
(config-router)#enable | Enable the VRRPv6 session on the router. |
(config-router)#exit | Exit Router mode. |
#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#ipv6 address fe80::3037:3aff:fe3a:3b45/64 | Configure the IPv6 address for interface eth0 to be in network 0. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#ipv6 address fe80::3037:a0ff:fea4:3a40/64 | Configure the IPv6 address for interface eth1 to be in network 1. |
(config-if)#exit | Exit the Interface mode. |
(config)#router ipv6 vrrp 1 eth0 | Create a VRRPv6 instance for interface eth0. |
(config-router)#virtual-ipv6 fe80::3037:3aff:fe3a:3a32 | Configure Router 2 (R2) as the backup. |
(config-router)#advertisement-interval 100 | Configure the default value for the advertisement interval. The configurable range is <5-4095> (value must be a multiple of 5). |
(config-router)#priority 100 | Set the default value for the backup router. |
(config-router)#preempt-mode true | Set true as the default value for the field. |
(config-router)#enable | Enable the VRRPv6 session on the router. |
(config-router)#exit | Exit Router mode. |
#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#ipv6 address fe80::3037:3aff:fe3a:3a11/64 | Configure the IPv6 address for interface eth0 to be in network 0. |
(config-if)#exit | Exit the Interface mode. |
(config)#ipv6 route 5ffe:14:14:14::/64 fe80::3037:3aff:fe3a:3a32 | Configure a static route to reach interface eth2 of R1 through the virtual IPv6 address. |
#configure terminal | Enter the Configure mode. |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#ipv6 address fe80::3037:a0ff:fea4:1111/64 | Configure the IPv6 address for interface eth1 to be in network 1. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth2 | Enter the Interface mode for eth2. |
(config-if)#ipv6 address fe80::3437:30ff:fe35:a6ac/64 | Configure the IPv6 address of interface eth2. |
#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-router)#shutdown | Shut down the interface |
#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#ipv6 address 2001::1/64 | Configure global IPv6 address for interface eth0 to be in network 0. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#ipv6 address 3000::1/64 | Configure global IPv6 address for interface eth1 to be in network 1. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#router ipv6 vrrp 1 eth0 | Create a VRRPv6 instance for interface eth0. |
(config-router)#virtual-ipv6 fe80::1 | Configure link local address as primary virtual-ip. |
(config-router)#virtual-ipv6 2001::3 | Configure global ipv6 address as additional virtual-ip. |
(config-router)#priority 250 | Set priority for master node as 250. |
(config-router)#enable | Enable the VRRPv6 session on the router. |
(config-router)#commit | Commit the configurations. |
(config-router)#exit | Exit Router mode. |
(config)#ipv6 route 4000::/64 3000::2 | Configure static route to reach eth2 of router1. |
(config-router)#commit | Commit the configurations. |
(config-router)#exit | Exit Router mode. |
#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#ipv6 address 2001::2/64 | Configure global IPv6 address for interface eth0 to be in network 0. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#ipv6 address 3001::1/64 | Configure global IPv6 address for interface eth1 to be in network 1. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#router ipv6 vrrp 1 eth0 | Create a VRRPv6 instance for interface eth0. |
(config-router)#virtual-ipv6 fe80::1 | Configure link local address as primary virtual-ip. |
(config-router)#virtual-ipv6 2001::3 | Configure global ipv6 address as additional virtual-ip. |
(config-router)#priority 100 | Set the default value for the backup router. |
(config-router)#enable | Enable the VRRPv6 session on the router. |
(config-router)#commit | Commit the configurations. |
(config-router)#exit | Exit Router mode. |
(config)#ipv6 route 4000::/64 3001::2 | Configure static route to reach eth2 of router1. |
(config-router)#exit | Exit Router mode. |
#configure terminal | Enter the Configure mode. |
(config)#bridge 1 protocol rstp vlan-bridge | Create a RSTP VLAN aware bridge with bridge-id. |
(config)#vlan 100 bridge 1 | Create VLAN 100 and map it to bridge 1 |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#switchport | Configure switch port. |
(config-if)#bridge-group 1 spanning-tree disable | Configure bridge group to l2 interface with spanning-tree Disable |
(config-if)#switchport mode trunk | Configure switch port mode as trunk |
(config-if)#switchport trunk allowed vlan add 100 | Allow vlan 100 on the interface |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#switchport | Configure switch port. |
(config-if)#bridge-group 1 spanning-tree disable | Configure bridge group to l2 interface with spanning-tree Disable |
(config-if)#switchport mode trunk | Configure switch port mode as trunk |
(config-if)#switchport trunk allowed vlan add 100 | Allow vlan 100 on the interface |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
#configure terminal | Enter the Configure mode. |
(config)#interface eth0 | Enter the Interface mode for eth0. |
(config-if)#ipv6 address 3000::2/64 | Configure global IPv6 address for interface eth1 to be in network 1. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth1 | Enter the Interface mode for eth1. |
(config-if)#ipv6 address 3001::2/64 | Configure global IPv6 address for interface eth1 to be in network 1. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#interface eth2 | Enter the Interface mode for eth2. |
(config-if)#ipv6 address 4000::1/64 | Configure global ipv6 address for interface eth2. |
(config-if)#commit | Commit the configurations. |
(config-if)#exit | Exit the Interface mode. |
(config)#ipv6 route 2001::/64 3001::1 | Configure static route to reach eth2 of master. |
(config)#ipv6 route 2001::/64 3001::1 | Configure static route to reach eth2 of backup. |
(config-if)#commit | Commit the configurations. |
(config-if)# exit | Exit the Interface mode. |