480 Configuring Port CharacteristicsConfiguring a Link Dependency GroupsThe commands in this example create two link dependency groups. Group 1has port 3 as a member port that is dependent on port 4. The group uses thedefault link action, which is down. This means that if port 4 goes down, port 3goes down. When port 4 returns to the up state, port 3 is brought back up. InGroup 2, port 6 dependent on port-channel (LAG) 1, and the link action isup. If port-channel 1 goes down, port 6 is brought up. This also means thatwhen port-channel 1 is up, port 6 is down.To configure the switch:1 Enter the configuration mode for Group 1.console#configureconsole(config)#link-dependency group 12 Configure the member and dependency information for the group.console(config-linkDep-group-1)#addgigabitethernet 1/0/3console(config-linkDep-group-1)#depends-ongigabitethernet 1/0/4console(config-linkDep-group-1)#exit3 Enter the configuration mode for Group 2console(config)#link-dependency group 2console(config-linkDep-group-2)#addgigabitethernet 1/0/6console(config-linkDep-group-2)#depends-on port-channel 1console(config-linkDep-group-2)#action upconsole(config-linkDep-group-2)#CTRL + Z4 View the configured link dependency groups.console#show link-dependencyGroupId Member Ports Ports Depended On Link Action------- ------------- ----------------- ----------1 Gi1/0/3 Gi/0/4 Link Down2 Gi/0/6 ch1 Link Up