Chapter 16 Interfaces
ZyWALL Series CLI Reference Guide
141
16.3.2.1 Port Grouping Command Examples
The following commands add physical port 7 to representative interface lan2.
[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 type physical
Displays the cable type that is used on the port.
show port status
Displays statistics for the Ethernet ports.
show port statistic portx
interval <5..3600>
Displays the specified port’s statistics and updates them according to the
interval you set.
Table 63 Basic Interface Setting Commands (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# show port-grouping
No. Representative Name Port1 Port2 Port3 Port4 Port5 Port6 Port7
===============================================================================
1 wan1 yes no no no no no no
2 wan2 no yes no no no no no
3 opt no no yes no no no no
4 lan1 no no no yes yes yes no
5 lan2 no no no no no no no
6 reserved no no no no no no no
7 dmz no no no no no no yes
Router(config)#
Router(config)# port-grouping lan2
Router(config-port-grouping)# port 7
Router(config-port-grouping)# exit
Router(config)# show port-grouping
No. Representative Name Port1 Port2 Port3 Port4 Port5 Port6 Port7
===============================================================================
1 wan1 yes no no no no no no
2 wan2 no yes no no no no no
3 opt no no yes no no no no
4 lan1 no no no yes yes yes no
5 lan2 no no no no no no yes
6 reserved no no no no no no no
7 dmz no no no no no no no
Router(config)#