beautypg.com

Routing domain command examples, 1 interface route-domain, Chapter 48 routing domain command examples – ZyXEL Communications GS-4012F/4024 User Manual

Page 330

background image

GS-4012F/4024 User’s Guide

Chapter 48 Routing Domain Command Examples

329

C

H A P T E R

48

Routing Domain Command

Examples

48.0.1 interface route-domain

Syntax:

interface route-domain /

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.

= 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.

= 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)#