Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

2.9. Example

例 2.1. dhcp vlan rip

			
[H3C]display current-configuration
#
 sysname H3C
#
 super password level 3 cipher D8Za-\BIMY/Q=^Q`MAF4<1!!
#
radius scheme system
#
domain system
#
local-user lfc
 password cipher D8Za-\BIMY/Q=^Q`MAF4<1!!
 service-type telnet terminal
local-user neo
 password cipher LM,[26IJZUGQ=^Q`MAF4<1!!
 service-type telnet terminal
#
dhcp server ip-pool vlan6
 network 192.168.6.0 mask 255.255.255.0
 gateway-list 192.168.6.254
 dns-list 208.67.222.222 208.67.220.220 202.96.134.133 202.96.128.68
 expired day 7
#
dhcp server ip-pool vlan7
 network 192.168.7.0 mask 255.255.255.0
 gateway-list 192.168.7.254
 dns-list 208.67.222.222 208.67.220.220 202.96.134.133 202.96.128.68
 expired day 7 hour 1
#
vlan 1 to 8
#
interface Vlan-interface1
 ip address 192.168.3.17 255.255.255.0
#
interface Vlan-interface6
 ip address 192.168.6.254 255.255.255.0
#
interface Vlan-interface7
 ip address 192.168.7.254 255.255.255.0
#
interface Aux1/0/0
#
interface Ethernet1/0/1
 port link-type trunk
 port trunk permit vlan 1 to 8
#
interface Ethernet1/0/2
#
interface Ethernet1/0/3
#
interface Ethernet1/0/4
#
interface Ethernet1/0/5
#
interface Ethernet1/0/6
#
interface Ethernet1/0/7
#
interface Ethernet1/0/8
#
interface Ethernet1/0/9
#
interface Ethernet1/0/10
#
interface Ethernet1/0/11
#
interface Ethernet1/0/12
#
interface Ethernet1/0/13
#
interface Ethernet1/0/14
#
interface Ethernet1/0/15
#
interface Ethernet1/0/16
#
interface Ethernet1/0/17
#
interface Ethernet1/0/18
#
interface Ethernet1/0/19
#
interface Ethernet1/0/20
#
interface Ethernet1/0/21
#
interface Ethernet1/0/22
#
interface Ethernet1/0/23
 port access vlan 6
 dhcp-snooping trust
#
interface Ethernet1/0/24
 port access vlan 7
 dhcp-snooping trust
#
interface GigabitEthernet1/1/1
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
#
interface GigabitEthernet1/1/4
#
 undo irf-fabric authentication-mode
#
interface NULL0
#
rip
 network 192.168.3.0
 network 192.168.6.0
 network 192.168.7.0
#
 dhcp-snooping
#
 voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
 dhcp server forbidden-ip 192.168.6.1 192.168.6.10
 dhcp server forbidden-ip 192.168.7.1 192.168.7.10
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.3.1 preference 60
#
user-interface aux 0 7
user-interface vty 0 4
 authentication-mode scheme
#
return
[H3C]
			
			

comments powered by Disqus