ZyXEL P-871H User Guide - Page 66

sys sw port enable, sys sw port speed, sys sw port status

Page 66 highlights

P-871H Series User's Guide 11.7.1 sys sw port enable Syntax: sys sw port enable This command activates a port. The following example activates port one. Figure 37 sys sw port enable Command Example ras> sys sw port enable 1 11.7.2 sys sw port speed Syntax: sys sw port speed This command sets the speed (10 or 100 Mbps) and duplex mode (Full or Half duplex) of a port. You can also set the port speed and duplex to auto. This allows the port to negotiate with a peer port automatically to obtain the connection speed and duplex mode that both ends support. The following example sets port four to transmit at 100 Mpbs in full-duplex mode. Figure 38 sys sw port speed Command Example ras> sys sw port speed 4 100H 11.7.3 sys sw port status Synax: sys sw port status This command displays the status of all ports on the device. The following figure shows an example. Figure 39 sys sw port status Command Example ras> sys sw port status PORT EN LINK SPEED/DUPLEX 1 1 DOWN 100M /FULL 2 1 DOWN 100M /FULL 3 1 DOWN 100M /FULL 4 1 UP 100M /FULL ras> FLWCTRL Chapter 11 Command Examples 65

  • 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

P-871H Series User’s Guide
Chapter 11 Command Examples
65
11.7.1
sys sw port enable
Syntax:
sys sw port enable <port>
This command activates a port. The following example activates port one.
Figure 37
sys sw port enable Command Example
11.7.2
sys sw port speed
Syntax:
sys sw port speed <port> <auto| 10H|10F| 100H| 100F>
This command sets the speed (
10
or
100
Mbps) and duplex mode (
F
ull or
H
alf duplex) of a
port.
You can also set the port speed and duplex to
auto
. This allows the port to negotiate with a
peer port automatically to obtain the connection speed and duplex mode that both ends
support.
The following example sets port four to transmit at 100 Mpbs in full-duplex mode.
Figure 38
sys sw port speed Command Example
11.7.3
sys sw port status
Synax:
sys sw port status
This command displays the status of all ports on the device. The following figure shows an
example.
Figure 39
sys sw port status Command Example
ras> sys sw port enable 1
ras> sys sw port speed 4 100H
ras> sys sw port status
PORT
EN
LINK
SPEED/DUPLEX
FLWCTRL
1
1
DOWN
100M /FULL
-------
2
1
DOWN
100M /FULL
-------
3
1
DOWN
100M /FULL
-------
4
1
UP
100M /FULL
-------
ras>