华三1822-24路由交换机配置例子

华三1822-24路由交换机配置例子
#
sysname Quidway
#
super password level 3 cipher xxxxxxx
#
FTP server enable
#
web set-package force flash:/http.zip
#
radius scheme system
#
domain system
#
local-user dgbg_admin
password cipher xxxxxxx
service-type telnet terminal
#
dhcp server ip-pool vlan2
network 192.168.2.0 mask 255.255.255.0
gateway-list 192.168.2.254
dns-list 211.97.64.129
#
dhcp server ip-pool vlan3
network 192.168.3.0 mask 255.255.255.0
gateway-list 192.168.3.254
dns-list 211.97.64.129
#
dhcp server ip-pool vlan4
network 192.168.4.0 mask 255.255.255.0
gateway-list 192.168.4.254
dns-list 211.97.64.129
#
dhcp server ip-pool vlan6
network 192.168.6.0 mask 255.255.255.0
gateway-list 192.168.6.254
dns-list 211.97.64.129
#
dhcp server ip-pool vlan7
network 192.168.7.0 mask 255.255.255.0
gateway-list 192.168.7.254
dns-list 211.97.64.129
#
interface Ethernet1/0
description Link-To-Firewall
ip address 192.168.100.254 255.255.255.0
#
interface Ethernet2/0
#
interface Ethernet3/0
#
interface Ethernet3/0.2
description Caiwu
ip address 192.168.2.254 255.255.255.0
firewall packet-filter 3001 inbound
firewall packet-filter 3001 outbound
vlan-type dot1q vid 2
#
interface Ethernet3/0.3
description Lingdao
ip address 192.168.3.254 255.255.255.0
firewall packet-filter 3000 inbound
firewall packet-filter 3000 outbound
vlan-type dot1q vid 3
#
interface Ethernet3/0.4
description Kefang
ip address 192.168.4.254 255.255.255.0
vlan-type dot1q vid 4
#
interface Ethernet3/0.5
description Server
ip address 192.168.5.254 255.255.255.0
vlan-type dot1q vid 5
#
interface Ethernet3/0.6
description Qiantai
ip address 192.168.6.254 255.255.255.0
vlan-type dot1q vid 6
#
interface Ethernet3/0.7
description Office
ip address 192.168.7.254 255.255.255.0
vlan-type dot1q vid 7
#
interface Ethernet3/0.8
description Print
ip address 192.168.8.254 255.255.255.0
vlan-type dot1q vid 8
#
interface Ethernet3/1
port access vlan 2
#
interface Ethernet3/2
port access vlan 2
#
interface Ethernet3/3
port access vlan 3
#
interface Ethernet3/4
port access vlan 3
#
interface Ethernet3/5
port access vlan 3
#
interface Ethernet3/6
port access vlan 3
#
interface Ethernet3/7
port access vlan 4
#
interface Ethernet3/8
port access vlan 4
#
interface Ethernet3/9
port access vlan 4
#
interface Ethernet3/10
port access vlan 4
#
interface Ethernet3/11
port access vlan 4
#
interface Ethernet3/12
port access vlan 5
#
interface Ethernet3/13
port access vlan 5
#
interface Ethernet3/14
port access vlan 6
#
interface Ethernet3/15
port access vlan 6
#
interface Ethernet3/16
port access vlan 7
#
interface Ethernet3/17
port access vlan 7
#
interface Ethernet3/18
port access vlan 8
#
interface Ethernet3/19
port access vlan 8
#
interface Ethernet3/20
#
interface Ethernet3/21
#
interface Ethernet3/22
#
interface Ethernet3/23
#
interface Ethernet3/24
#
interface NULL0
#
dhcp server forbidden-ip 192.168.2.254
dhcp server forbidden-ip 192.168.3.254
dhcp server forbidden-ip 192.168.4.254
dhcp server forbidden-ip 192.168.6.254
dhcp server forbidden-ip 192.168.7.254
#
ip route-static 0.0.0.0 0.0.0.0 192.168.100.1 preference 60
#
user-interface con 0
authentication-mode scheme
user-interface vty 0 4
authentication-mode scheme
#

你可能感兴趣的:(配置,职场,休闲,交换机,交换)