ZyXEL Communications ES-2024PWR Switch User Manual


 
Ethernet Switch CLI Reference Guide
117
CHAPTER 26
Interface Route-domain Mode
In order to configure layer 3 routing features on the Switch, you must enter the interface
routing domain mode in the CLI.
26.1 Command Summary
The following section lists the commands for this feature.
26.2 Command Examples
Use this command to enable/create the specified routing domain for configuration.
Enter the configuration mode.
Enable default routing domain (the 192.168.1.1 subnet) for configuration.
Begin configuring for this domain.
Table 68 Interface Route Domain Command Summary:
COMMAND DESCRIPTION M P
interface route-domain <ip-
address>/<mask-bits>
Enters the configuration mode for this routing domain.
The mask-bits are defined as the number of bits in the
subnet mask. Enter the subnet mask number preceded
with a “/”. To find the bit number, convert the subnet
mask to binary and add all of the 1’s together. Take
“255.255.255.0” for example. 255 converts to eight 1’s in
binary. There are three 255’s, so add three eights
together and you get the bit number (24).
C13
exit Exits from the interface routing-domain configuration
mode.
C13
sysname# config
sysname(config)# interface route-domain 192.168.1.1/24
sysname(config-if)#