Thursday 30 June 2011

How to configure FCIP tunnel between two Brocade 7800 using CLI


How to configure FCIP tunnel between two Brocade 7800 using CLI

 

In the example below, we assume that the TCP/IP network link between site A and site B is already configured and ready to go. The Brocade 7800 comes with multiple (2 or 6) GigE ports, depending on the configuration you purchase. Also, you could use optical connector or RJ45 copper connector (maximum 2) for connecting the Brocade 7800 to the TCP/IP network. Check the hardware reference manual for more details on physical ports and connectivity details.

 

The end result of this exercise will be a single fabric (merged fabric) across site A and site B consisting of 2 Brocade 7800 fibre switches. If you do not want the fabrics to merge, ie maintain two distinct fabrics, but give selective access to devices in the second fabric, then what you need is FC-FC routing. FC-FC routing will be published in the future.

 

In this example, we will be using port 16 (ge0) as the VE port and the physical port on each side. You will need to get the IP address and the net mask details from your network team, for each site. In this example we use

Site A IP address: 192.168.10.14/255.255.255.0

Site B IP address:192.168.10.67/255.255.255.0

 

1.  Login to the Brocade 7800 switch in site A (SiteA_7800)

 

2.  The first step is to disable the VE ports on the Brocade 7800s. This is to control the merging of the fabric, will enable them when the configuration is completed.

 

SiteA_7800> portdisable 16

 

3.  Assign IP address and subnet mask to port ge0

 

SiteA_7800> portcfg ipif ge0 create 192.168.10.14 255.255.255.0 1500

 

4.  Configure the tunnel to site B from site A with a committed rate of 100Mbit/sec. Note the order of the Ips below (site B first)

 

SiteA_7800>portcfg fciptunnel 16 create 192.168.10.67 192.168.10.14 100000

 

5.  Login to the Brocade 7800 switch at site B (SiteB_7800)

 

6.  Disable the VE port 16 on the Brocade 7800

 

SiteB_7800>portdisable 16

 

7.  Configure the IP address for the ge0 at site B

 

portcfg ipif ge0 create 192.168.10.67 255.255.255.0 1500

 

8.  At this stage, you will be able to ping the IP address at Site A, assuming the network link is configured and network cables are plugged in at both sites.

 

SiteB_7800>portcmd –ping ge0 –s 192.168.10.67 –d 192.168.10.14

 

If you see reply from SiteA, your network link is configured and working well, if not, back to the networks team.

 

9.  At SiteB, configure the tunnel for VE port 16 to connect to the Brocade 7800 switch at siteA

 

portcfg fciptunnel 16 create 192.168.10.14 192.168.10.67 100000

 

10.  Now we are ready to enable the VE ports, the fabrics will merge after executing the below commands. At this point, the rules to connect a new switch to an existing fabric applies. For example, if both switches have defined zone configurations that are different, zone conflict error will occur

 

SiteB>portenable 16

SiteA>portenable 16

 

11.  Confirm that the VE port 16 is online and connected to the switch at siteB

 

SiteA>switchshow|grep VE

 

12.  Verify fabric availability

 

SiteA>fabricshow

 

13.  Check the FCIP configuration parameters

 

SiteA>portshow fcipcircuit all

 

At this point, the FCIP configuration is complete. You may choose to configure additional GigE ports or additional circuits as per the design requirements

 

2 comments:

  1. to show the tunnel is up and active run portshow tcptunnel -all

    ReplyDelete
  2. This is a great article, takes everyone step by step. Good job! One thing to note, is if your sites are not on the same subnet, and you need to introduce routing, you can do so with:

    portcfg iproute ge0 create {destination} {netmask} {default router} {cost}

    ie:

    portcfg iproute ge0 create 192.168.100.150 255.255.240.0 10.0.1.250 0

    You would do this as 3b and 7b.

    ReplyDelete