Configuration Guide User guide

626 FastIron Configuration Guide
53-1002494-02
Metro Ring Protocol
Adding an MRP ring to a VLAN
To add an MRP ring to a VLAN, enter commands such as the following.
NOTE
If you plan to use a topology group to add VLANs to the ring, make sure you configure MRP on the
topology group master VLAN.
Brocade(config)#vlan 2
Brocade(config-vlan-2)#metro-ring 1
Brocade(config-vlan-2-mrp-1)#name CustomerA
Brocade(config-vlan-2-mrp-1)#master
Brocade(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2
Brocade(config-vlan-2-mrp-1)#enable
These commands configure an MRP ring on VLAN 2. The ring ID is 1, the ring name is CustomerA,
and this node (this Brocade device) is the master for the ring. The ring interfaces are 1/1 and 1/2.
Interface 1/1 is the primary interface and 1/2 is the secondary interface. The primary interface
will initiate RHPs by default. The ring takes effect in VLAN 2.
Brocade(config)#vlan 2
Brocade(config-vlan-2)#metro-ring 1
Brocade(config-vlan-2-mrp-1)#name CustomerA
Brocade(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2
Brocade(config-vlan-2-mrp-1)#enable
Brocade(config-vlan-2-mrp-1)#metro-ring 2
Brocade(config-vlan-2-mrp-2)#name CustomerB
Brocade(config-vlan-2-mrp-2)#ring-interface ethernet 1/1 ethernet 1/2
Brocade(config-vlan-2-mrp-2)#enable
Syntax: [no] metro-ring <ring id>
The <ring-id> parameter specifies the ring ID. In the FWS, the ring ID can be a value from 1 – 255.
Otherwise, the <ring-id> can be from 1 – 1023; ID 256 is reserved for VSRP.
On FWS, FCX, and ICX devices, enter the metro-rings in addition to the metro-ring command as
shown below.
Brocade(config)#vlan 2
Brocade(config-vlan-2)#metro-rings 1 2
Brocade(config-vlan-2)#metro-ring 1
Brocade(config-vlan-2-mrp-1)#name CustomerA
Brocade(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2
Brocade(config-vlan-2-mrp-1)#enable
Brocade(config-vlan-2-mrp-1)#metro-ring 2
Brocade(config-vlan-2-mrp-2)#name CustomerB
Brocade(config-vlan-2-mrp-2)#ring-interface ethernet 1/1 ethernet 1/2
Brocade(config-vlan-2-mrp-2)#enable
Syntax: [no] metro-rings <ring id> <ring id>. . .
The <ring id> variables identify the metro rings you want to configure on the VLAN.
Syntax: [no] name <string>
The <string> parameter specifies a name for the ring. The name is optional, but it can be up to 20
characters long and can include blank spaces. If you use a name that has blank spaces, enclose
the name in double quotation marks (for example: “Customer A”).
Syntax: [no] master