发新话题
打印

hw5516配置

hw5516配置

我第一次配置5516,大家请指教
附件: 您所在的用户组无法下载或查看附件

TOP

提示: 作者被禁止或删除 内容自动屏蔽

TOP

看看配了些什么好东西。

TOP

[s5516]int g 1/1
[s5516-GigabitEthernet1/1]?
Gigabitethernet interface view commands:
  description      Describe the interface
  display          Display current system information
  dot1x            Specify 802.1x configuration information
  duplex           Status of duplex
  enable           Enable function
  flow-control     Flow control command
  garp             Generic Attribute Registration Protocol
  gmrp             GARP Multicast Registration Protocol
  gvrp             GARP VLAN Registration Protocol
  igmp             Igmp command
  jumboframe       Jumboframe command
  loopback         Specify loopback of current port
  mac-address      Specify configuration about mac-address
  mdi              Specify mdi type
  ndp              Neighbor discovery protocol
  ntdp             Specify NTDP configuration information
  ping             Ping function
  port             Specify Port link-type characteristics
  priority         Specify priority
[s5516]dis cu
#
sysname s5516
#
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain

domain system
radius-scheme system
access-limit disable
state active
idle-cut disable
self-service-url disable
messenger time disable

domain default enable system
#
local-server nas-ip 127.0.0.1 key huawei
#
stp enable
#
acl number 100
rule 1 deny ip source 192.168.3.0 0.0.0.255 destination 192.168.1.0 0.0.0.255
rule 2 deny ip source 192.168.3.0 0.0.0.255 destination 192.168.0.0 0.0.0.255
rule 3 deny ip source 192.168.9.0 0.0.0.255 destination 192.168.0.0 0.0.0.255
rule 4 deny ip source 192.168.9.0 0.0.0.255 destination 192.168.1.0 0.0.0.255
#
vlan 1
#
vlan 2
#
vlan 3
#
vlan 4
#
vlan 5
#
vlan 7
#
vlan 8
#
interface Vlan-interface1
description manage_switch
ip address 192.168.12.254 255.255.255.0
#
interface Vlan-interface2
description servers
ip address 192.168.0.254 255.255.255.0
#
interface Vlan-interface3
description caiwu
ip address 192.168.2.254 255.255.255.0
#
interface Vlan-interface4
description internet
ip address 192.168.3.254 255.255.255.0
#
interface Vlan-interface5
description nuiwang
ip address 192.168.1.254 255.255.255.0
#
interface Vlan-interface7
description internet_firewall
ip address 192.168.10.254 255.255.255.0
#
interface Vlan-interface8
description vpn_firewall
ip address 192.168.11.254 255.255.255.0
#
interface Aux0/0
#
interface GigabitEthernet1/1
port access vlan 2
#
interface GigabitEthernet1/2
port access vlan 2
#
interface GigabitEthernet1/3
port access vlan 2
#
interface GigabitEthernet1/4
port access vlan 2
#
interface GigabitEthernet2/1
port access vlan 2
#
interface GigabitEthernet2/2
port access vlan 2
#
interface GigabitEthernet2/3
port access vlan 2
#
interface GigabitEthernet2/4
port access vlan 2
#
interface GigabitEthernet3/1
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet3/2
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet3/3
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet3/4
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet4/1
port access vlan 2
#
interface GigabitEthernet4/2
description vpv_firewall
port access vlan 8
#
interface GigabitEthernet4/3
description internet_firewall
port access vlan 7
#
interface GigabitEthernet4/4
port access vlan 2
#
interface NULL0
#
rip
network 192.168.0.0
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 172.16.0.0
network 192.168.10.0
network 192.168.11.0
network 192.168.12.0
#
packet-filter ip-group 100 rule 1
packet-filter ip-group 100 rule 2
packet-filter ip-group 100 rule 3
packet-filter ip-group 100 rule 4
#
ip route-static 0.0.0.0 0.0.0.0 192.168.10.253 preference 60
ip route-static 192.168.4.0 255.255.255.0 192.168.11.253 preference 60
ip route-static 192.168.5.0 255.255.255.0 192.168.11.253 preference 60
ip route-static 192.168.6.0 255.255.255.0 192.168.11.253 preference 60
ip route-static 192.168.7.0 255.255.255.0 192.168.11.253 preference 60
ip route-static 192.168.8.0 255.255.255.0 192.168.11.253 preference 60
ip route-static 192.168.9.0 255.255.255.0 192.168.11.253 preference 60
#
user-interface aux 0
user-interface vty 0 4
user privilege level 3
set authentication password simple cisco
#
return

<s5516>sys
Enter system view , return user view with Ctrl+Z.
[s5516]dis ver
Huawei Versatile Routing Platform Software
VRP (R) Software, Version 3.10(CN), RELEASE 0027
Copyright (c) 2000-2003 HUAWEI TECH CO., LTD.
Quidway S5516 uptime is 0 week,1 day,1 hour,1 minute

Quidway S5516 with 1 MPC 860 Processor
128M    bytes SDRAM
8M      bytes Flash Memory
Config Register points to FLASH

Hardware Version : REV.0
Logic    Version : (U11)001(U25)001
Bootrom  Version : 730
[Subslot 0]   MAIN        Hardware Version is REV.0, Bootrom Version is 730
[Subslot 1] 4 GS4L        Hardware Version is REV.0, Bootrom Version is NULL
[Subslot 2] 4 GS4L        Hardware Version is REV.0, Bootrom Version is NULL
[Subslot 3] 4 GS4L        Hardware Version is REV.0, Bootrom Version is NULL
[Subslot 4] 4 GT4U        Hardware Version is REV.0, Bootrom Version is NULL


[s5516]

TOP

下了 谢谢

提示: 作者被禁止或删除 内容自动屏蔽

TOP

呵呵,学习一下,受益匪浅啊

TOP

cnrouter
版主,能不能贴个图出来啊

TOP

谢了兄弟啊!

TOP

谢了!!

:):):)

TOP

强烈顶,好东东。

TOP

发新话题