66 ip name-server dhcp interface vlan, 67 ip route – PLANET SGS-5220-24T2X User Manual

Page 175

Advertising
background image

Command Guide of SGS-5220-24T2X

Switch (config)# ip name-server 8.8.8.8

4.2.66 ip name-server dhcp interface vlan

Command:

ip name-server dhcp interface vlan <vlan_id>

ip Internet Protocol

name-server Domain Name System

dhcp Dynamic Host Configuration Protocol

vlan VLAN Interface

<vlan_id> VLAN identifier(s): VID

Default:

None

Usage Guide:

To configure DNS IP address via specific VLAN DHCP Server.

Example:

To configure DNS IP address via specific VLAN 5 DHCP Server.

Switch# configure terminal

Switch (config)# ip name-server dhcp interface vlan 5

4.2.67 ip route

Command:

ip route <ipv4_addr> <ipv4_netmask> <ipv4_gateway>

ip Internet Protocol

route Add IP route

<ipv4_addr> Network

<ipv4_netmask> Netmask

<ipv4_gateway> Gateway

Default:

None

Usage Guide:

To configure static route

-175-

Advertising