ZyXEL Communications GS-4012 Switch User Manual


 
GS-4012F/4024 User’s Guide
413
CHAPTER 51
Routing Domain Command
Examples
51.0.1 interface route-domain
Syntax:
interface route-domain <ip-address>/<mask-bits>
where
Use this command to enable/create the specified routing domain for configuration.
An example is shown next.
Enter the configuration mode.
Enable default routing domain (the 192.168.1.1 subnet) for configuration.
Begin configuring for this domain.
<ip-address>
= This is the IP address of the Switch in the routing domain. Specify
the IP address is dotted decimal notation. For example, 192.168.1.1.
<mask-bits>
= 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).
sysname# config
sysname(config)# interface route-domain 192.168.1.1/24
cmd interface route domain
192.168.1.1 255.255.255.0
sysname(config-if)#