136# Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 as trunk ports, andassign them to VLAN 100.[DeviceB] interface ten-gigabitethernet 1/0/1[DeviceB-Ten-GigabitEthernet1/0/1] port link-type trunk[DeviceB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100[DeviceB-Ten-GigabitEthernet1/0/1] quit[DeviceB] interface ten-gigabitethernet 1/0/2[DeviceB-Ten-GigabitEthernet1/0/2] port link-type trunk[DeviceB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 100[DeviceB-Ten-GigabitEthernet1/0/2] quit3. Configure Device C:# Create VLAN 100. system-view[DeviceC] vlan 100[DeviceC–vlan100] quit# Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 as trunk ports, andassign them to VLAN 100.[DeviceC] interface ten-gigabitethernet 1/0/1[DeviceC-Ten-GigabitEthernet1/0/1] port link-type trunk[DeviceC-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100[DeviceC-Ten-GigabitEthernet1/0/1] quit[DeviceC] interface ten-gigabitethernet 1/0/2[DeviceC-Ten-GigabitEthernet1/0/2] port link-type trunk[DeviceC-Ten-GigabitEthernet1/0/2] port trunk permit vlan 100[DeviceC-Ten-GigabitEthernet1/0/2] quitVerifying the configurationAfter the configurations are complete, Device A detects loops on ports Ten-GigabitEthernet 1/0/1 andTen-GigabitEthernet 1/0/2 within a loop detection interval. Consequently, Device A automatically shutsdown the ports and generates the following log messages:[DeviceA]%Feb 24 15:04:29:663 2011 DeviceA LPDT/4/LOOPED:Slot=1;Loopback exists on Ten-GigabitEthernet1/0/1.%Feb 24 15:04:29:667 2011 DeviceA LPDT/4/LOOPED:Slot=1;Loopback exists on Ten-GigabitEthernet1/0/2.%Feb 24 15:04:44:243 2011 DeviceA LPDT/4/RECOVERED:Slot=1;Loopback on Ten-GigabitEthernet1/0/1 recovered.%Feb 24 15:04:44:248 2011 DeviceA LPDT/4/RECOVERED:Slot=1;Loopback on Ten-GigabitEthernet1/0/2 recovered.Use the display loopback-detection command to display the loop detection configuration and status onDevice A.# Display the loop detection configuration and status on Device A.[DeviceA] display loopback-detectionLoop detection is enabled.Loop detection interval is 35 second(s).No loopback is detected.