通信人家园

标题: Cisco3560配置DHCP中继  [查看完整版帖子] [打印本页]

时间:  2015-5-7 08:39
作者: jjxuf     标题: Cisco3560配置DHCP中继



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#
时间:  2015-5-7 09:17
作者: huntforj

不明白这个有什么必要发,网上一搜一大把,没有什么技术含量和价值
时间:  2017-8-28 09:24
作者: whizzli






通信人家园 (https://www.txrjy.com/) Powered by C114