Chapter 7 Service Configuration
Confidential and Proprietary Information of ZTE CORPORATION 153
Use the command clear ipport to clear one or all the
parameters of the port. Before clearing parameters, set the
port to disable state first.
Configure an IP port on the switch. Set the IP address of the
port to 192. 1. 1. 1 and the mask to 24 digits. Bind the
port to VLAN 100. The port uses the default address of the
switch. The detailed configuration is as follows:
zte(cfg)#config router
zte(cfg-router)#set ipport 1 ipaddress 192. 1. 1
1/24
zte(cfg-router)#set ipport 1 vlan 100
zte(cfg-router)#set ipport 1 enable
zte(cfg-router)#exit
zte(cfg)#
After the configuration is completed, use command show ippor
to view the IP port configuration.
Static Route Configuration
After an IP port is configured, if the remote user to be
connected is not in the network segment of the interface, use
command iproute {<A. B. C. D/M>|<A. B. C. D> < A.
B. C. D>} < A. B. C. D> [<1-15>]to set a static route to
the remote network.
FIGURE 29 STATIC ROUTE
192.1.1.1/24
192.1.1.2/24
192.1.2.0/24
Switch
Router
Remote host is located in the network segment 192. 1. 2.
0/24, which is not the same as the switch. This is shown in
Figure 29.
Example