HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem ISCLI Referenc - Page 97

Temporarily disabling a port, Port link configuration, shutdown, show interface port

Page 97 highlights

Table 96 Port Configuration commands Command shutdown show interface port {} Description Disables the port. To temporarily disable a port without changing its configuration attributes, see the "Temporarily disabling a port" section later in this chapter. Command mode: Interface port Displays current port parameters. Command mode: All Temporarily disabling a port To temporarily disable a port without changing its stored configuration attributes, enter the following command at any prompt: Switch# interface port shutdown Because this configuration sets a temporary state for the port, you do not need to perform a save operation. The port state reverts to its original configuration when the switch is reloaded. Port link configuration Use these commands to set port parameters for the port link. Link commands are described in the following table. Using these commands, you can set port parameters such as speed, duplex, flow control, and negotiation mode for the port link. The following table describes the Gigabit Link Configuration commands. Table 97 Gigabit Link Configuration commands Command Description speed {10|100|1000|auto} Sets the link speed. Not all options are valid on all ports. The choices include: • 10 Mb/s • 100 Mb/s • 1000 Mb/s • "auto," for automatic detection (default) Note: Ports 1-18 are set to 1000 Mb/s, and cannot be changed. Command mode: Interface port duplex {full|half|any} Sets the operating mode. Not all options are valid on all ports. The choices include: • Full-duplex • Half-duplex • "Any," for automatic detection (default) Note: Ports 1-18 are set to full duplex, and cannot be changed. Command mode: Interface port flowcontrol {receive|send|both} Sets the flow control. The choices include: • Receive (rx) flow control • Transmit (tx) flow control • Both receive and transmit flow control (default) Command mode: Interface port no flowcontrol Sets the flow control to none. Command mode: Interface port [no] auto Enables or disables auto-negotiation for the port. Command mode: Interface port show interface port {} Command mode: All Configuration Commands 97

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153

Configuration Commands 97
Table 96
Port Configuration commands
Command
Description
shutdown
Disables the port. To temporarily disable a port without changing its
configuration attributes, see the “Temporarily disabling a port” section later in
this chapter.
Command mode
: Interface port
show interface port {
<port
number>
}
Displays current port parameters.
Command mode
: All
Temporarily disabling a port
To temporarily disable a port without changing its stored configuration attributes, enter the following command at any
prompt:
Switch#
interface port
<port number>
shutdown
Because this configuration sets a temporary state for the port, you do not need to perform a save operation
.
The port
state reverts to its original configuration when the switch is reloaded.
Port link configuration
Use these commands to set port parameters for the port link.
Link commands are described in the following table. Using these commands, you can set port parameters such as
speed, duplex, flow control, and negotiation mode for the port link.
The following table describes the Gigabit Link Configuration commands.
Table 97
Gigabit Link Configuration commands
Command
Description
speed {10|100|1000|auto}
Sets the link speed. Not all options are valid on all ports. The choices include:
10 Mb/s
100 Mb/s
1000 Mb/s
“auto,” for automatic detection (default)
Note
: Ports 1-18 are set to 1000 Mb/s, and cannot be changed.
Command mode
: Interface port
duplex {full|half|any}
Sets the operating mode. Not all options are valid on all ports. The choices
include:
Full-duplex
Half-duplex
“Any,” for automatic detection (default)
Note
: Ports 1-18 are set to full duplex, and cannot be changed.
Command mode
: Interface port
flowcontrol
{receive|send|both}
Sets the flow control. The choices include:
Receive (rx) flow control
Transmit (tx) flow control
Both receive and transmit flow control (default)
Command mode
: Interface port
no flowcontrol
Sets the flow control to none.
Command mode
: Interface port
[no] auto
Enables or disables auto-negotiation for the port.
Command mode
: Interface port
show interface port {
<port
number>
}
Displays current port parameters.
Command mode
: All