Chapter 7 Trunks
UAG CLI Reference Guide
77
7.5 Trunk Command Examples
The following example creates a weighted round robin trunk for Ethernet interfaces wan1 and
wan2. The UAG sends twice as much traffic through ge1.
The following example creates a least load first trunk for Ethernet interface lan1 and VLAN 5, which
will only apply to outgoing traffic through the trunk. The UAG sends new session traffic through the
least utilized of these interfaces.
The following example creates a spill-over trunk for Ethernet interfaces wan1 and wan2, which will
apply to both incoming and outgoing traffic through the trunk. The UAG sends traffic through wan1
until it hits the limit of 1000 kbps. The UAG sends anything over 1000 kbps through wan2.
show system default-snat Displays whether the UAG enable SNAT or not. The UAG performs SNAT
by default for traffic going to or from the WAN interfaces.
show system default-interface-group Displays the WAN trunk the UAG first attempts to use.
Table 31 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 wan1 weight 2
Router(if-group)# interface 2 wan2 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 lan1
Router(if-group)# interface 2 vlan5
Router(if-group)# loadbalancing-index outbound
Router(if-group)# exit
Router(config)#
Router# configure terminal
Router(config)# interface-group spill-example
Router(if-group)# mode trunk
Router(if-group)# algorithm spill-over
Router(if-group)# interface 1 wan1 limit 1000
Router(if-group)# interface 2 wan2 limit 1000
Router(if-group)# loadbalancing-index total
Router(if-group)# exit
Router(config)#