C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 8263|回复: 2

[高速以太网] Cisco3560配置DHCP中继 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2009-6-17
发表于 2015-5-7 08:39:12 |显示全部楼层


User Access Verification

Password:
cisco>en
Password:
cisco#sh run
Building configuration...

Current configuration : 1770 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco
!
enable secret 5 $1$Duge$XTanYqU9w3oIfbYdnmyZI1
enable password cisco1
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing//开启路由功能
service DHCP//开启DHCP服务功能
no ip dhcp relay information check//该命令行是否有作用有待进一步验证
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet0/1
switchport access vlan 700
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
!
interface GigabitEthernet0/10
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
!
interface GigabitEthernet0/24
switchport access vlan 601
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
switchport access vlan 601
!
interface Vlan1
no ip address
shutdown
!
interface Vlan601
ip address 172.30.0.1 255.255.252.0
ip helper-address 130.34.20.2//DHCP服务器地址
!
interface Vlan700
description dhcpserver
ip address 130.34.20.1 255.255.255.0
!
ip classless
ip http server
!
!
control-plane
!
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end

cisco#

举报本楼

本帖有 2 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-11-17 14:23 , Processed in 0.135995 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图