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

ページ / 386
Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
72
6.3.2  Port Grouping Commands
This section covers commands that are specific to port grouping.
Note: In CLI, representative interfaces are also called representative ports.
type {internal | 
external | general}
Sets which type of network you will connect this interface. The ZyWALL automatically adds 
default route and SNAT settings for traffic it routes from internal interfaces to external 
interfaces; for example LAN to WAN traffic.
internal
: Set this to connect to a local network. Other corresponding configuration 
options: DHCP server and DHCP relay. The ZyWALL automatically adds default SNAT 
settings for traffic flowing from this interface to an external interface.
external
: Set this to connect to an external network (like the Internet).  The ZyWALL 
automatically adds this interface to the default WAN trunk. 
general
: Set this if you want to manually configure a policy route to add routing and SNAT 
settings for the interface. 
no use-defined-mac
Has the interface use its default MAC address.
use-defined-mac
Has the interface use a MAC address that you specify.
Table 23   
interface Commands: MAC Setting (continued)
COMMAND
DESCRIPTION
Table 24   
Basic Interface Setting Commands
COMMAND
DESCRIPTION
show port-grouping
Displays which physical ports are assigned to each representative interface.
port-grouping 
representative_interface port 
<1..x>
Adds the specified physical port to the specified representative interface.
representative_interface
: gex in a ZyWALL USG 300 or above.
A dmz, ext-wlan, or lan1 interface in a ZyWALL USG 100 or 200.
<1..x>
 where x equals the highest numbered port for your ZyWALL model.
no port <1..x>
Removes the specified physical port from its current representative interface and 
adds it to its default representative interface (for example, port x --> gex).
port status Port<1..x>
Enters a sub-command mode to configure the specified port’s settings. 
[no] duplex <full | half>
Sets the port’s duplex mode. The no command returns the default setting.
exit
Leaves the sub-command mode.
[no] negotiation auto
Sets the port to use auto-negotiation to determine the port speed and duplex. The 
no command turns off auto-negotiation.
[no] speed <100,10>
Sets the Ethernet port’s connection speed in Mbps. The no command returns the 
default setting.
show port setting
Displays the Ethernet port negotiation, duplex, and speed settings.
show port status
Displays statistics for the Ethernet ports.