Cisco router DHCP configuration code

Source: Internet
Author: User

Cisco routers are one of the most common types of routers. For many management systems, we should be familiar with such vro settings. Today, we will mainly explain the simple code for Cisco router dhcp configuration.

Cisco router DHCP configuration process

Cisco3825 (config) # ip dhcp pool root

Cisco3825 (dhcp-config) # network 192.168.100.1 255.255.255.0

Cisco3825 (config) # ip dhcp excluded-address 192.168.100.80 192.168.100.100

Cisco3825 (config) # ip dhcp excluded-address 192.168.100.1

Cisco3825 (dhcp-config) # domain-name domain.com

Cisco3825 (dhcp-config) # default-router 192.168.100.1

Cisco3825 (dhcp-config) # dns-server 192.168.100.200

Cisco3825 (dhcp-config) # netbios-node-type h-node

Cisco3825 (dhcp-config) # lease 30

Sho run ..

!

No ip dhcp use vrf connected

Ip dhcp excluded-address 192.168.100.80 192.168.100.100

Ip dhcp excluded-address 192.168.100.1

Ip dhcp excluded-address 192.168.100.200

!

Ip dhcp pool root

Network 192.168.100.0 255.255.255.0

Domain-name domain.com

Dns-server 192.168.100.200

Netbios-name-server 192.168.100.201

Netbios-node-type h-node

Default-router 192.168.100.1

Lease 30

!

!

The above is the code for all Cisco router DHCP configurations.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.