Configuring the Catena Solution
Configuration Example for Catena—Hash-based Load Balancing
20 access-list acl1 ingress-port-group pg3 egress-port-group pg4 mode forward
no shutdown
Configuration Example for Catena—Hash-based Load Balancing
This example shows how to configure hash-based load balancing:
switch# configure terminal
switch(config)# feature catena
switch(config)# catena port-group pg1
switch(config-port-group)# interface Ethernet 1/2
switch(config-pg-node)# interface Ethernet 1/3
switch(config-pg-node)# load-balance port-channel
switch(config-port-group)# exit
switch(config)# catena port-group pg2
switch(config-port-group)# interface Ethernet 1/6
switch(config-pg-node)# interface Ethernet 1/7
switch(config-pg-node)# load-balance port-channel
switch(config-port-group)# catena vlan-group vg1
switch(config-vlan-group)# vlan 10
switch(config-vlan-group)# catena vlan-group vg2
switch(config-vlan-group)# vlan 20
switch(config-vlan-group)#)# ip access-list acl1
switch(config-acl)# 10 permit ip 192.0.2.1/24 any
switch(config-acl)# ip access-list acl2
switch(config-acl)# 10 permit ip 198.51.100.1/24
switch(config-acl)# ip access-list acl3
switch(config-acl)# 10 permit ip 203.0.113.1/24
switch(config-acl)# catena ins_redirect
switch(config-catena-instance)# chain 10
switch(config-catena)# chain 10
switch(config-catena)#10 access-list acl1 vlan-group vg1 egress-port-group pg1 mode forward
switch(config-catena)# 10 access-list acl1 vlan-group vg2 egress-port-group pg2 mode forward
switch(config-catena-)# no shutdown
switch(config-catena-instance)# chain 10
switch(config-catena)#10 access-list acl3 vlan-group vg1 egress port-group pg1 mode forward
switch(config-catena)#20 access-list acl3 vlan-group vg1 egress port-group pg1 mode drop
switch(config-catena)# no shutdown
switch(config-catena-instance)# catena ins_bypass
switch(config-catena-instance)# chain 10
switch(config-catena)#10 access-list acl2 vlan-group vg1 egress port-group pg1 mode bypass
switch(config-catena)#no shutdown
switch(config-catena-instance)# catena ins_drop
switch(config-catena-instance)# chain 10
switch(config-catena)#10 access-list acl3 vlan-group vg1 egress port-group pg1 mode drop
switch(config-catena)#no shutdown
switch# show running-config catena
feature catena
catena vlan-group vg1
vlan 10
catena vlan-group vg2
vlan 20
catena port-group pg1
interface Eth1/1
interface Eth1/2
load-balance port-channel
catena port-group pg2
interface Eth1/6
intergace Eth1/7
load-balance port-channel
catena ins_redirect
chain 10
Cisco Nexus 7000 Series Switches Configuration Guide: The Catena Solution
16