Chapter 48 Interface Commands

where

 

 

<auto10-half10- =

Sets the duplex mode (half or full) and speed (10, 100 or 1000

full100-half100-

Mbps) of the connection on the port. Selecting auto (auto-

full1000-full>

negotiation) makes one port able to negotiate with a peer

 

automatically to obtain the connection speed and duplex mode

 

that both ends support.

An example is shown next.

Enable ports one, three, four and five for configuration.

Set the speed to 100 Mbps in half duplex mode.

sysname(config)# interface port-channel 1,3-5 sysname(config-interface)# speed-duplex 100-half

48.2.14 test

You can perform an interface loopback test on specified ports. The test returns Passed! or

Failed!

An example is shown next.

Select ports 3-6 for internal loopback test.

Execute the test command.

View the results.

sysname(config)# interface port-channel 3-6 sysname(config-interface)# test 3-6 Testing internal loopback on port 3 :Passed!

Ethernet Port 3 Test ok.

Testing internal loopback on port 4 :Passed! Ethernet Port 4 Test ok.

Testing internal loopback on port 5 :Passed! Ethernet Port 5 Test ok.

Testing internal loopback on port 6 :Passed! Ethernet Port 6 Test ok.

48.3 Interface no Command Examples

Similar to the no commands in the Enable and Config modes, the no commands for the Interface sub mode also disable certain features. In this mode, however, this takes place on a port by port basis.

48.3.1 no bandwidth-limit

You can disable bandwidth limit on port 1 simply by placing the no command in front of the bandwidth-limit command.

 

401

GS-4012F/4024 User’s Guide