OcNOS-RON : System Management Guide : System Management Configuration Guide : Trigger Failover Configuration : Port-Channel Configuration
Port-Channel Configuration
Topology
Figure 28-42: TFO with port-channel
Switch 1
 
#configure terminal
Enter configure mode.
(config)#tfo enable
Enable TFO globally.
(config)#fog 1 enable
Create a Fail over group (FOG) and enable it.
(config)#interface po1
Enter interface mode
(config-if)#switchport
Make the interface Layer2.
(config-if)#exit
Exit interface mode
(config)#interface xe32
Enter interface mode
(config-if)#switchport
Make the interface Layer2.
(config-if)#link-type uplink
Specify the link-type as Uplink.
(config-if)#channel-group 1 mode active
Specify the channel group in interface
(config-if)#exit
Exit interface mode
(config)#interface xe33
Enter interface mode
(config-if)#switchport
Make the interface as Layer2.
(config-if)#link-type uplink
Specify the link-type as Uplink.
(config-if)#channel-group 1 mode active
Specify the channel group in interface
(config-if)#exit
Exit interface mode
(config)#interface xe34
Enter interface mode
(config-if)#switchport
Make the interface as Layer2.
(config-if)#link-type uplink
Specify the link-type as Uplink.
(config-if)#channel-group 1 mode active
Specify the channel group in interface
(config-if)#exit
Exit interface mode
(config)#interface xe20
Enter interface mode
(config-if)#link-type downlink
Specify the link-type as Downlink.
(config-if)#fog 1 type cpg
Specify the CPG member for FOG 1
(config-if)#exit
Exit interface mode
(config)#interface po1
Enter port-channel mode
(config-if)#link-type uplink
Specify the link-type as Uplink.
(config-if)#fog 1 type mpg
Specify the MPG member for FOG 1.
(config-if)#end
Exit interface and configure mode
Switch 2
 
#configure terminal
Enter configure mode.
(config)#interface po1
Enter interface mode
(config-if)#switchport
Make the interface as Layer2.
(config-if)#exit
Exit interface mode
(config)#interface xe32
Enter interface mode
(config-if)#switchport
Make the interface as Layer2.
(config-if)#channel-group 1 mode active
Specify the channel group in interface
(config-if)#exit
Exit interface mode
(config)#interface xe33
Enter interface mode
(config-if)#switchport
Make the interface as Layer2.
(config-if)#channel-group 1 mode active
Specify the channel group in interface
(config-if)#exit
Exit interface mode
(config)#interface xe34
Enter interface mode
(config-if)#switchport
Make the interface as Layer2
(config-if)#channel-group 1 mode active
Specify the channel group in interface
(config-if)#exit
Exit interface mode
Validation
#show interface brief | include up
xe20 ETH -- routed up none 1g -- Br Yes
xe32 ETH -- routed up none 10g -- Br Yes
xe33 ETH -- routed up none 10g -- No No
xe34 ETH -- routed up none 10g -- No No
eth0 METH up -- 1g
lo up --
lo.management up --
 
#show tfo
 
TFO : Enable
 
Failover Group 1 : Enable
Failover Status : MPG Link Failure
No. of links to trigger failover : 0
MPG Port(s) :
po1 Status : DOWN
CPG Port :
xe20 Status : DOWN
No. of times MPG link failure : 0
No. of times MPG link recovered : 0
No. of times CPG got auto disabled : 0
No. of times CPG got auto enable : 0
 
Last modified date: 08/28/2023