Routing domain command examples, 1 interface route-domain, Chapter 44 routing domain command examples – ZyXEL Communications GS-2724 User Manual

Page 299: Routing domain command examples (299)

Advertising
background image

GS-2724 User’s Guide

299

C

H A P T E R

44

Routing Domain Command

Examples

44.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)#

Advertising