(config)#configure terminal | Enter the Configure mode. | |
(config)#bridge 1 protocol rstp vlan-bridge | Create a RSTP VLAN aware bridge. | |
(config)#vlan 1001-1002 bridge 1 | Create VLAN 1001,1002 and map it to bridge 1. | |
(config)#interface xe29 | Enter interface mode. | |
(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 1001,1002 | Allow vlan 1001 ,1002 on the interface. | |
(config-if)#interface vlan1.1001 | Enter the vlan interface | |
(config-if)#ip address 10.1.1.2/24 | Configure ipv4 address | |
(config-if)#ipv6 address 1000:1::2/32 | Configure ipv6 address | |
(config-if)#ipv6 router ospf area 0.0.0.0 | Tag ospfv3 instance on interface with area 0 | |
(config-if)#exit | Exit the interface mode | |
(config)#ip sla 1 | Configure IP SLA | |
(config-ip-sla)#icmp-echo ipv4 4.4.4.4 source-interface xe41 | Configure ICMP-echo with a destination ipv4/ipv6 address | |
(config)#time-range tr1 | Configure Time-Range | |
(config-tr)#start-time now | Configure the Start-Time | |
(config-tr)#commit | commit | |
(config-tr)#end-time after 100 | Configure end-time | |
(config)#track 1 ip sla 1 reachability | Track the reachability of the IP SLA | |
(config)#router vrrp 1 vlan1.1001 | Create a new ipv4 VRRP instance for interface vlan1.1001 | |
(config-router)#virtual-ip 10.1.1.1 | Set the virtual IP address for the VRRP session | |
(config-router)#priority 150 | Configure the priority to 150 | |
(config-router)# track 1 decrement 60 | Configure the priority-delta value to be 60. In case of failover, this priority-delta value is subtracted from the current VR Master. | |
(config-router)#v2-compatible | Enable the v2-compatible | |
(config-router)#enable | Enable the VRRP session on the router. | |
(config-router)#commit | Commit the configuration on the node | |
(config-router)#exit | Exit the router mode. | |
(config)#router ipv6 vrrp 1 vlan1.1001 | Create a new ipv6 VRRP instance for interface vlan1.1001. | |
(config-router)#virtual-ipv6 fe80::1 | Set the virtual IPv6 address for the VRRP session. | |
(config-router)#priority 150 | Configure the priority to 150 | |
(config-router)# track 1 decrement 60 | Configure the priority-delta value to be 70. In case of failover, this priority-delta value is subtracted from the current VR Master. | |
(config-router)#enable | Enable the VRRP session on the router. | |
(config-router)#commit | Commit the configuration on the node | |
(config-router)#exit | Exit the router mode | |
(config-if)#interface xe41 | Enter interface mode | |
(config-if)#ip address 60.1.1.1/24 | Configure ipv4 address | |
(config-if)#ipv6 address 6000::1/64 | Configure ipv6 address | |
(config-if)#ipv6 router ospf area 0.0.0.0 | Tag ospfv3 instance on interface with area 0 | |
(config-if)#commit | Commit the configuration on the node | |
(config-if)#exit | Exit interface and configure mode |
(config)#bridge 1 protocol rstp vlan-bridge | Create a RSTP VLAN aware bridge with bridge-id. |
(config)#vlan 1001-1002 bridge 1 | Create VLAN 1001,1002 and map it to bridge 1 |
(config)#interface xe31 | Enter interface mode |
(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 1001,1002 | Allow vlan 1001 ,1002 on the interface |
(config-if)#interface vlan1.1001 | Enter the vlan interface |
(config-if)#ip address 10.1.1.3/24 | Configure ipv4 address |
(config-if)#ipv6 address 1000:1::3/32 | Configure ipv6 address |
(config-if)#ipv6 router ospf area 0.0.0.0 | Tag ospfv3 instance on interface with area 0 |
(config-if)#commit | Commit the configuration on the node |
(config-if)#exit | Exit interface mode |
(config)#router vrrp 1 vlan1.1001 | Create a router ipv4 VRRP instance for interface vlan1.1001. |
(config-router)#virtual-ip 10.1.1.1 | Set the virtual IP address for the VRRP session. |
(config-router)#priority 50 | Configure the priority to 50 (less than 150), because R2 is the VR Backup router. |
(config-router)#v2-compatible | Enable the v2-compatible |
(config-router)#authentication text abcd | Configure the authentication text to specify that as simple text for vrrpv2 packets, accept only 8 characters. |
(config-router)#enable | Enable the VRRP session |
(config-router)#commit | Commit the configuration on the node |
(config-router)#exit | Exit the router mode |
(config)#router ipv6 vrrp 1 vlan1.1001 | Create a router ipv6 VRRP ipv6 instance for interface vlan1.1001. |
(config-router)#virtual-ipv6 fe80::1 | Set the virtual IPv6 address for the VRRP session. |
(config-router)#priority 50 | Configure the priority to 50 (less than 150), because R2 is the VR Backup router. |
(config-router)#commit | Commit the configuration on the node |
(config-router)#exit | Exit the router mode |
(config)#interface xe41 | Enter interface mode |
(config-if)#ip address 80.1.1.1/24 | Configure ipv4 address |
(config-if)#ipv6 address 8000::1/64 | Configure ipv6 address |
(config-if)#ipv6 router ospf area 0.0.0.0 | Tag ospfv3 instance on interface with area 0 |