ZyXEL Communications 3.1 User Manual

Page of 386
Chapter 6 Interfaces
ZyWALL (ZLD) CLI Reference Guide
62
6.2.1.1  Basic Interface Properties Command Examples
The following commands make Ethernet interface ge1 a DHCP client.
This example shows how to modify the name of interface ge4 to “VIP”. First you have to check the 
interface system name (ge4 in this example) on the ZyWALL. Then change the name and display 
the result.
This example shows how to change the user defined name from VIP to Partner. Note that you have 
to use the “interface-rename” command if you do not know the system name of the interface. To 
use the “interface-name” command, you have to find out the corresponding system name first (ge4 
in this example). This example also shows how to change the user defined name from Partner to 
Customer using the “interface-name” command.
Router# configure terminal
Router(config)# interface ge1
Router(config-if)# ip address dhcp
Router(config-if)# exit
Router> show interface-name
No.  System Name     User Defined Name
===========================================================================
1    ge1             ge1
2    ge2             ge2
3    ge3             ge3
4    ge4             ge4
5    ge5             ge5
Router> configure terminal
Router(config)# interface-name ge4 VIP
Router(config)# show interface-name
No.  System Name     User Defined Name
===========================================================================
1    ge1             ge1
2    ge2             ge2
3    ge3             ge3
4    ge4             VIP
5    ge5             ge5
Router(config)#
Router(config)# interface-rename VIP Partner
Router(config)# show interface-name
No.  System Name     User Defined Name
===========================================================================
1    ge1             ge1
2    ge2             ge2
3    ge3             ge3
4    ge4             Partner
5    ge5             ge5
Router(config)# 
Router(config)# interface-name ge4 Customer
Router(config)# show interface-name
No.  System Name     User Defined Name
===========================================================================
1    ge1             ge1
2    ge2             ge2
3    ge3             ge3
4    ge4             Customer
5    ge5             ge5