ZyXEL Communications 3.1 ユーザーズマニュアル

ページ / 386
 Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
71
6.2.6.1  Connectivity Check Command Example
The following commands show you how to set the WAN1 interface to use a TCP handshake on port 
8080 to check the connection to IP address 1.1.1.2 
6.3  Ethernet Interface Specific Commands
This section covers commands that are specific to Ethernet interfaces.
The following table identifies the values required for many of these commands. Other input values 
are discussed with the corresponding commands.
6.3.1  MAC Address Setting Commands
This table lists the commands you can use to set the MAC address of an interface. On the ZyWALL 
USG 200 and below models, these commands only apply to a WAN or OPT interface.
Router# configure terminal
Router(config)# interface wan1
Router(config-if-wan1)# ping-check 1.1.1.2 method tcp port 8080
Router(config-if-wan1)# exit
Router(config)# show ping-check
Interface: wan1
Check Method: tcp
IP Address: 1.1.1.2
Period: 30
Timeout: 5
Fail Tolerance: 5
Activate: yes
Port: 8080
Router(config)#
Table 22   
Input Values for Ethernet Interface Commands
LABEL
DESCRIPTION
interface_name
The name of the Ethernet interface. This depends on the ZyWALL model. 
For the ZyWALL USG 300 and above, use gexx = 1~N, where N equals the highest 
numbered Ethernet interface for your ZyWALL model.
The ZyWALL USG 200 and below models use a name such as wan1, wan2, opt, lan1, 
ext-wlan, or dmz.
Table 23   
interface Commands: MAC Setting
COMMAND
DESCRIPTION
interface interface_name
Enters sub-command mode.
no mac
Has the interface use its default MAC address.
mac mac
Specifies the MAC address the interface is to use.