OcNOS-RON : System Management Guide : System Management Configuration Guide : LAG with RTAG7 Hashing : Static LAG with RTAG7
Static LAG with RTAG7
SW1
 
#configure terminal
Enter configure mode.
(config)#bridge 1 protocol mstp
Configure bridge 1 as MSTP bridge.
(config)#vlan 2-10 bridge 1
Configure VLANS
(config)#load-balance rtag7
Enable load-balance for rtag7 globally.
(config)#load-balance rtag7 l2 src-mac dest-mac ether-type vlan
Enabling load-balance rtag7 for l2 with all options.
(config)#load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id
Enabling load-balance rtag7 for ipv4 with all options .
(config)#interface sa1
Enter into port channel interface sa1.
(config-if)#switchport
Configuresa1 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the sa1 interface.
(config-if)#port-channel load-balance rtag7
Enable rtag7 load-balancing method.
(config)#interface xe1
Enter interface mode.
(config-if)#switchport
Configure xe1 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the xe1 interface.
(config-if)#static-channel-group 1
Make port as part of Static port channel.
(config-if)#exit
Exit the xe1 interface mode.
(config)#interface xe2
Enter interface mode.
(config-if)#switchport
Configure xe2 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the xe2 interface.
(config-if)#static-channel-group 1
Make port as part of Static port channel.
(config-if)#exit
Exit the xe2 interface mode.
(config)#interface xe3
Enter interface mode.
(config-if)#switchport
Configure xe3 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the xe3 interface.
(config-if)#static-channel-group 1
Make port as part of Static port channel.
(config-if)#exit
Exit the xe3 interface mode.
SW2
 
#configure terminal
Enter configure mode.
(config)#bridge 1 protocol mstp
Configure bridge 1 as MSTP bridge.
(config)#vlan 2-10 bridge 1
Configure VLANS.
(config)#interface sa1
Enter interface mode
(config-if)#switchport
Configure sa1 as a layer 2 port
(config-if)#bridge-group 1
Associate bridge to an interface
(config-if)#switchport mode trunk
Configure port as a trunk
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the sa1 interface.
(config-if)#exit
Exit interface mode
(config)#interface xe1
Enter interface mode.
(config-if)#switchport
Configure xe1 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the xe1 interface.
(config-if)#static-channel-group 1
Make port as part of Static port channel.
(config-if)#exit
Exit the xe1 interface mode.
(config)#interface xe2
Enter interface mode.
(config-if)#switchport
Configure xe2 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the xe2 interface.
(config-if)#static-channel-group 1
Make port as part of Static port channel.
(config-if)#exit
Exit the xe2 interface mode.
(config)#interface xe3
Enter interface mode.
(config-if)#switchport
Configure xe3 as a layer 2 port.
(config-if)#bridge-group 1
Associate bridge to an interface.
(config-if)#switchport mode trunk
Configure port as a trunk.
(config-if)#switchport trunk allowed vlan all
Allow all the VLANs on the xe3 interface.
(config-if)#static-channel-group 1
Make port as part of Static port channel.
(config-if)#exit
Exit the xe3 interface mode.
Validation
SW1#show static-channel-group
Static Aggregator: sa1
Member Status
xe1 up
xe2 up
xe3 up
SW1#
 
#show running-config interface sa1
!
interface sa1
load-interval 30
ip address 14.4.1.2/24
mtu 1600
port-channel load-balance rtag7
port-channel min-links 4
ip ospf network point-to-point
ip ospf cost 1000
 
Last modified date: 08/28/2023