Black Box LB308A user manual Ip default-gateway IP-ADDRESS no ip default-gateway

Models: 8-port 10/100base-tx hardened ethernet extender switch LB308A

1 212
Download 212 pages 40.21 Kb
Page 118
Image 118

Chapter 6: Command Line Console Management

2.Usage: Use IP default-gateway command to set the IP address of the default gateway.

Use the no ip default-gateway command to remove the IP address of the default gateway.

3. Command Syntax:

ip default-gateway IP-ADDRESS no ip default-gateway

IP-ADDRESS A.B.C.D specifies the IP address of the default gateway.

4. Example:

The following example sets the default gateway 192.168.1.254 to Hardened Ethernet Extender Switch:

switch_a(config)#ip default-gateway 192.168.1.254 switch_a(config)#

DNS Server:

1. Command Mode: Configure mode

Logon to Configure Mode (Configure Terminal Mode). The switch_a(config)# prompt will show on the screen. switch_a(config)#

2. Usage:

Use ip dns command to set the IP address of the DNS server.

Use the no ip dns command to remove the IP address of the DNS server.

3.Command Syntax: ip dns IP-ADDRESS no ip dns

IP-ADDRESS A.B.C.D specifies the IP address of the DNS server.

4.Example:

The following example sets the DNS server 192.168.1.100 to Hardened Ethernet Extender Switch:

switch_a(config)#ip dns 192.168.1.100

Page 118

724-746-5500 blackbox.com

LB308A

 

 

Page 118
Image 118
Black Box LB308A user manual Ip default-gateway IP-ADDRESS no ip default-gateway