The example in ESRP Redundancy Configuration Example configures a VLAN translation network with ESRP redundancy.
The SW2 and SW3 VLAN translation switches are protected by an ESRP control VLAN. The master ESRP switch performs the translation and provides the connectivity to the backbone. If a failure occurs, the slave ESRP switch takes over and begins performing the translation.
The following configuration commands create the member VLANs on SW1:
create vlan v101 configure v101 tag 101 configure v101 add ports 1:1 tagged configure v101 add ports 1:3 tagged configure v101 add ports 1:4 tagged create vlan v102 configure v102 tag 102 configure v102 add ports 1:1 tagged configure v102 add ports 1:3 tagged configure v102 add ports 1:4 tagged create vlan v103 configure v103 tag 103 configure v103 add ports 1:2 tagged configure v103 add ports 1:3 tagged configure v103 add ports 1:4 tagged create vlan v104 configure v104 tag 104 configure v104 add ports 1:2 tagged configure v104 add ports 1:3 tagged configure v104 add ports 1:4 tagged
The configuration for SW2 and SW3 is identical for this example.
The following configuration commands create the member VLANs on SW2:
create vlan v101 configure v101 tag 101 configure v101 add ports 1:3 tagged create vlan v102 configure v102 tag 102 configure v102 add ports 1:3 tagged create vlan v103 configure v103 tag 103 configure v103 add ports 1:3 tagged create vlan v104 configure v104 tag 104 configure v104 add ports 1:3 tagged
This set of configuration commands creates the translation VLANs and enables VLAN translation on SW2:
create vlan v1000 configure v1000 tag 1000 configure v1000 add ports 2:1 tagged configure v1000 vlan-translation add member-vlan v101 configure v1000 vlan-translation add member-vlan v102 configure v1000 vlan-translation add member-vlan v103 configure v1000 vlan-translation add member-vlan v104
The final set of configuration commands creates the ESRP control VLAN and enables ESRP protection on the translation VLAN for SW2:
create vlan evlan configure evlan add ports 2:2 enable esrp evlan configure evlan add domain-member v1000
The following configuration commands create the translation VLAN and enable VLAN translation onVLANs that have overlapping ports:
configure v1000 vlan-translation add member-vlan v102 loopback-port 1:22 configure v1000 vlan-translation add member-vlan v103 loopback-port 1:23 configure v1000 vlan-translation add member-vlan v104 loopback-port 1:24