Chapter 14 Trunks
ZyWALL / USG (ZLD) CLI Reference Guide
117
14.5 Trunk Command Examples
The following example creates a weighted round robin trunk for Ethernet interfaces ge1 and ge2.
The ZyWALL / USG sends twice as much traffic through ge1.
The following example creates a least load first trunk for Ethernet interface ge3 and VLAN 5, which
will only apply to outgoing traffic through the trunk. The ZyWALL / USG sends new session traffic
through the least utilized of these interfaces.
loadbalancing-index
<
inbound|outbound|total
>
Use this command only if you use least load first or spill-over as the
trunk’s load balancing algorithm.
Set either
inbound,
outbound
, or
total
(outbound and inbound)
traffic to which the ZyWALL / USG will apply the specified algorithm.
Outbound traffic means the traffic travelling from an internal interface
(ex. LAN) to an external interface (ex. WAN). Inbound traffic means the
opposite.
mode {normal|trunk}
Sets the mode for a trunk. Do this first in the trunk’s sub-command
mode.
move <1..8> to <1..8>
Changes the interface order in a trunk.
[no] interface {
num|interface-name
}
Removes an interface from the trunk.
system default-interface-group
group-name
Sets the ZyWALL / USG to first attempt to use the the specified WAN
trunk.
[no] system default-snat
Enables or disables Source NAT (SNAT). When SNAT is enabled, the
ZyWALL / USG uses the IP address of the outgoing interface as the
source IP address of the packets it sends out through the WAN
interfaces.
show system default-snat
Displays whether the ZyWALL / USG enable SNAT or not. The ZyWALL /
USG performs SNAT by default for traffic going to or from the WAN
interfaces.
show system default-interface-group
Displays the WAN trunk the ZyWALL / USG first attempts to use.
Table 58
interface-group Commands Summary (continued)
COMMAND
DESCRIPTION
Router# configure terminal
Router(config)# interface-group wrr-example
Router(if-group)# mode trunk
Router(if-group)# algorithm wrr
Router(if-group)# interface 1 ge1 weight 2
Router(if-group)# interface 2 ge2 weight 1
Router(if-group)# exit
Router(config)#
Router# configure terminal
Router(config)# interface-group llf-example
Router(if-group)# mode trunk
Router(if-group)# algorithm llf
Router(if-group)# interface 1 ge3
Router(if-group)# interface 2 vlan5
Router(if-group)# loadbalancing-index outbound
Router(if-group)# exit
Router(config)#
Summary of Contents for ZyWALL USG Series
Page 19: ...19 PART I Introduction ...
Page 20: ...20 ...
Page 38: ...Chapter 2 User and Privilege Modes ZyWALL USG ZLD CLI Reference Guide 38 ...
Page 39: ...39 PART II Reference ...
Page 40: ...40 ...
Page 48: ...Chapter 4 Status ZyWALL USG ZLD CLI Reference Guide 48 ...
Page 52: ...Chapter 5 Registration ZyWALL USG ZLD CLI Reference Guide 52 ...
Page 128: ...Chapter 15 Route ZyWALL USG ZLD CLI Reference Guide 128 ...
Page 136: ...Chapter 17 Zones ZyWALL USG ZLD CLI Reference Guide 136 ...
Page 140: ...Chapter 18 DDNS ZyWALL USG ZLD CLI Reference Guide 140 ...
Page 148: ...Chapter 20 HTTP Redirect ZyWALL USG ZLD CLI Reference Guide 148 ...
Page 152: ...Chapter 21 ALG ZyWALL USG ZLD CLI Reference Guide 152 ...
Page 156: ...Chapter 22 UPnP ZyWALL USG ZLD CLI Reference Guide 156 ...
Page 159: ...Chapter 23 IP MAC Binding ZyWALL USG ZLD CLI Reference Guide 159 ...
Page 178: ...Chapter 25 Secure Policy ZyWALL USG ZLD CLI Reference Guide 178 ...
Page 218: ...Chapter 32 Application Patrol ZyWALL USG ZLD CLI Reference Guide 218 ...
Page 236: ...Chapter 34 IDP Commands ZyWALL USG ZLD CLI Reference Guide 236 ...
Page 246: ...Chapter 35 Content Filtering ZyWALL USG ZLD CLI Reference Guide 246 ...
Page 256: ...Chapter 36 Anti Spam ZyWALL USG ZLD CLI Reference Guide 256 ...
Page 262: ...Chapter 37 SSL Inspection ZyWALL USG ZLD CLI Reference Guide 262 ...
Page 268: ...Chapter 38 Device HA ZyWALL USG ZLD CLI Reference Guide 268 ...
Page 284: ...Chapter 41 Addresses ZyWALL USG ZLD CLI Reference Guide 284 ...
Page 288: ...Chapter 42 Services ZyWALL USG ZLD CLI Reference Guide 288 ...
Page 302: ...Chapter 46 Authentication Server ZyWALL USG ZLD CLI Reference Guide 302 ...
Page 338: ...Chapter 52 System Remote Management ZyWALL USG ZLD CLI Reference Guide 338 ...
Page 358: ...Chapter 53 File Manager ZyWALL USG ZLD CLI Reference Guide 358 ...
Page 372: ...Chapter 56 Session Timeout ZyWALL USG ZLD CLI Reference Guide 372 ...
Page 374: ...Chapter 57 Diagnostics ZyWALL USG ZLD CLI Reference Guide 374 ...
Page 384: ...Chapter 59 Maintenance Tools ZyWALL USG ZLD CLI Reference Guide 384 ...
Page 426: ...List of Commands Alphabetical ZyWALL USG ZLD CLI Reference Guide 426 ...