ZyXEL Communications n/a User Manual

Page of 222
Chapter 11 Ethernet Commands
DSL & IAD CLI Reference Guide
64
11.2  Command Examples
This example changes the LAN speed of a ZyXEL Device with one Ethernet LAN port to 10 
Mbps and full duplex.  
This example set the speed of LAN port 3 in the ZyXEL Device with a four-port switch to 10 
Mbps and full duplex. This also displays the link status, speed and duplex mode of each 
Ethernet port. 
ether edit mtu <value>
Sets the Ethernet Maximum Transmission Unit (MTU) 
size for the specified interface.
ether edit accessblock 
<0:disable|1:enable>
Allows or disallows packets through the specified 
interface. 
ether edit save
Saves the Ethernet configuration.
ether portStatus
Displays whether the port is connected and the speed of 
the connection.
ether switch cnt 
<all|clear|0|1|2|3|4|5>
Displays or removes the Ethernet port’s packet statistics.
ether switch igmpsnp disable
Deactivates IGMP snooping on the ZyXEL Device.
ether switch igmpsnp enable
Activates IGMP snooping on the ZyXEL Device.
ether switch igmpsnp status
Displays whether or not IGMP snooping is enabled on 
the ZyXEL Device.
ether switch speedDuplex <port-
id> [a|m =auto|manual] [10|100] 
[h|f =half|full-duplex]
Sets an Ethernet port’s connection speed and duplex 
mode. This command is for a ZyXEL Device with a four-
port switch only.
port-id
: all|1|2|3|4
ether switch status
Displays the link status, speed and duplex mode of each 
Ethernet port.
ether version
Displays the Ethernet driver version.
Table 25   Ethernet Commands (continued)
COMMAND
DESCRIPTION
ras> ether driver config 1 0 1 enet0
ras> ether switch speedDuplex 3 m 10 f
Done
ras> ether switch status
Port#    Link    Speed    Duplex
  1       -        -        -
  2       -        -        -
  3       Y        10      Full
  4       Y        100     Full
ras>