• No results found

VLAN Translation Configuration Examples

The following configuration examples show VLAN translation used in three scenarios:

Basic VLAN Translation on page 46

VLAN Translation with ESRP Redundancy on page 47

VLAN Translation with STP Redundancy on page 49 Basic VLAN Translation

The example in the following figure configures a basic VLAN translation network. This network provides VLAN translation between four member VLANs and a single translation VLAN.

Figure 15: VLAN Translation Configuration Example The following configuration commands create the member VLANs:

create vlan v101 configure v101 tag 101

configure v101 add ports 1:1 tagged create vlan v102

configure v102 tag 102

configure v102 add ports 1:1 tagged create vlan v103

configure v103 tag 103

configure v103 add ports 1:2 tagged create vlan v104

configure v104 tag 104

configure v104 add ports 1:2 tagged

The following configuration commands create the translation VLAN and enable VLAN translation:

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 following configuration commands create the translation VLAN and enable VLAN translation on BlackDiamond X8, BlackDiamond 8000 series modules, and Summit X440, X460, X480, X670, and X770 series switches:

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 loopback-port 1:23 configure v1000 vlan-translation add member-vlan v103

configure v1000 vlan-translation add member-vlan v104 loopback-port 1:24

VLAN Translation with ESRP Redundancy

The example in the following figure 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.

Figure 16: ESRP Redundancy Configuration Example

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

VLAN Translation with STP Redundancy

The example in the following figure configures a VLAN translation network with redundant paths protected by STP.

Parallel paths exist from the member VLAN portion of the network to the translation switch. STP ensures that the main path for this traffic is active and the secondary path is blocked. If a failure occurs in the main path, the secondary paths are enabled.

Figure 17: STP Redundancy Configuration Example

The following configuration commands create the member VLANs and enable STP 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:2 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:3 tagged configure v103 add ports 1:4 tagged create vlan v104

configure v104 tag 104

configure v104 add ports 1:3 tagged configure v104 add ports 1:4 tagged create stpd stp1

configure stp1 tag 101 configure stp1 add vlan v101 configure stp1 add vlan v102 configure stp1 add vlan v103 configure stp1 add vlan v104 enable stpd stp1

These configuration commands create the member VLANs and enable STP on SW2:

create vlan v103 configure v103 tag 103

configure v103 add ports 1:1 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 create vlan v101

configure v101 tag 101

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:3 tagged configure v102 add ports 1:4 tagged create stpd stp1

configure stp1 tag 101 configure stp1 add vlan v101 configure stp1 add vlan v102 configure stp1 add vlan v103 configure stp1 add vlan v104 enable stpd stp1

This set of configuration commands creates the member VLANs and enables STP on SW3:

create vlan v101 configure v101 tag 101

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:3 tagged configure v102 add ports 1:4 tagged create vlan v103

configure v103 tag 103

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:3 tagged configure v104 add ports 1:4 tagged create stpd stp1

configure stp1 tag 101 configure stp1 add vlan v101 configure stp1 add vlan v102 configure stp1 add vlan v103 configure stp1 add vlan v104 enable stpd stp1

The final set of configuration commands creates the translation VLAN and enables VLAN translation on SW3:

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 following configuration commands create the translation VLAN and enable VLAN translation on VLANs 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