Chapter 33 Command Examples

An example is shown next.

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

Set the IEEE 802.1p quality of service priority as four (4).

Figure 155 qos priority Command Example

sysname(config)# interface port-channel 1,3-5 sysname(config-interface)# qos priority 4

33.8.12 name

Syntax:

name <port-name-string>

where

<port-name-Sets a name for your port interface(s). string>

An example is shown next.

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

Set a name for the interfaces.

Figure 156 name Command Example

sysname(config)# interface port-channel 1,3-5 sysname(config-interface)# name Test

33.8.13 speed-duplex

Syntax:

speed-duplex <auto10-half10-full100-half100-full1000-full>

where

<auto10- half10- full100- half100- full1000- full>

Sets the duplex mode (half, full) and speed (10/100/1000 Mbps) of the connection on the interface. Selecting auto (auto-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 10 Mbps in half duplex mode.

254

 

GS-3012/GS-3012F User’s Guide