Nortel Networks 2300 Series manual Set interface status, Dns-domain, Primary-dns and secondary-dns

Models: 2300 Series

1 622
Download 622 pages 48.74 Kb
Page 122
Image 122

122IP Services Commands

Access Enabled.

History

Version 4.0

Command introduced

Version 5.0

New options added:

 

dns-domain

 

primary-dns and secondary-dns

 

default-router

Usage By default, all addresses except the host address of the VLAN, the network broadcast address, and the subnet broadcast address are included in the range. If you specify the range, the start address must be lower than the stop address, and all addresses must be in the same subnet. The IP interface of the VLAN must be within the same subnet but is not required to be within the range.

Specification of the DNS domain name, DNS servers, and default router are optional. If you omit one or more of these options, the WSS Software DHCP server uses oath values configured elsewhere on the switch:

DNS domain name—If this option is not set with the set interface dhcp-servercommand’s dns-domainoption, the WSS Software DHCP server uses the value set by the set ip dns domain command.

DNS servers—If these options are not set with the set interface dhcp-servercommand’s primary-dnsand secondary-dnsoptions, the WSS Software DHCP server uses the values set by the set ip dns server command.

Default router—If this option is not set with the set interface dhcp-servercommand’s default-routeroption, the WSS Software DHCP server can use the value set by the set ip route command. A default route configured by set ip route can be used if the route is in the DHCP client’s subnet. Otherwise, the WSS Software DHCP server does not specify a router address.

Examples The following command enables the DHCP server on VLAN red-vlanto serve addresses from the 192.168.1.5 to 192.168.1.25 range:

WSS# set interface red-vlan ip dhcp-server enable start 192.168.1.5 stop 192.168.1.25 success: change accepted.

See Also

set ip dns domain on page 114

set ip dns server on page 115

show dhcp-server on page 147

set interface status

Administratively disables or reenables an IP interface.

Syntax set interface vlan-idstatus {up down}

vlan-id

VLAN name or number.

up

Enables the interface.

down

Disables the interface.

NN47250-100 (Version 02.51)

Page 122
Image 122
Nortel Networks 2300 Series manual Set interface status, Dns-domain, Primary-dns and secondary-dns, Default-router