H3C和cisco命令对比

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

user_______________________________________

local-user zuotao
password simple zuotao
server-type telnet level 3
server-type ftp
quit
ftp server enable

user-interface vty 0 4
authention-mode scheme

NAT______________________________________________________________

int ethernet 0/0
ip address 192.168.9.80 255.255.255.0
undo shutdown
int ethernet 0/1
ip address 192.168.10.1/24
undo shutdown


ip route-static 0.0.0.0 0.0.0.0 192.168.9.1

acl number 2000
rule 0 permit source 192.168.10.0 0.0.0.255
nat address-group 1 192.168.9.81 192.168.9.89


int e0/0
nat outbound 2000 address-group 1

___________________________________________________________________________

H3C-dhcp配置如下



dhcp enable
dhcp server ip-pool huawei
network 192.168.10.0 mask 255.255.255.0
gateway-list 192.168.10.1
dns 61.177.7.1 61.147.37.1
expired unlimited
quit
dhcp server forbidden-ip 192.168.10.1
dhcp select global interface e0/1






cisco-DHCP配置如下

service dhcp
no ip dhcp conflict logging
ip dhcp execlude 192.168.10.1
ip dhcp pool cisco
network 192.168.10.0 /24
default-router 192.168.10.1
dns 61.177.7.1
domaiin
lease 8

映射-H3C
nat server protocol tcp global 192.168.9.21 inside 192.168.10.21 ftp
nat server protoclo tcp global 192.168.9.80 inside 192.168.10.80 www



cisco 映射______________________________________________________________________-
access-list 10 per 192.168.10.0 0.0.0.255
ip nat inside source list 10 int f0/0 overload
或者

ip nat pool CCNP 192.168.10.1 192.168.10.1 netmask 255.255.255.0
ip nat inside source list 10 pool CCNP overload
int f0/0
ip nat outside
int f0/1
ip nat inside
ip nat outside source static tcp 12.1.1.2 80 192.168.10.2 80
ip nat outside source static 12.1.1.3 192.168.10.3


思科的是私有地址前。公在后
和H3C的相反。。映射。。。

中兴
ip nat inside source static tcp 10.21.10.10 3389 220.164.162.206 3389
ip nat inside source static tcp 10.21.0.101 3389 220.164.162.206 8001













cisco 密码设置

enable security 111

line console 0
passwd 222
login

line aux 0
passwd 333
login

line vty 0 4
passwd 444
login
登陆时候
user access verification
password:222
router>en
password:111
router#
远程登陆:
router2>enable
router2#telnet 12.1.1.2
password:333
router2>en
password:111




H3C密码设置:

super password level 3 simple 111
user-interface console 0
authention-mode password
set authention password cipher 222

user-interface aux 0
authention-mode password
set authention password cipher 333

user-interface vty 0 4
authention-mode password
set authention password cipher 444




设置TRUNK

sysname switchA
interface e0/1
duplex full
speed 100
port link-type trunk
port trunk permit vlan all

链路聚合
switchA link-aggregation e0/1 to e0/2 both
switchB link-aggregation e0/1 to e0/2 both

设置VLAN
vlan 2
port e0/2
port e0/3 to e0/4
vlan 3
port e0/5 to e0/10
dis vlan all

设置镜像
monitor-port e0/8
port mirror e0/1
port mirror e0/2
或者
port mirror e0/1 to e0/2 observing-port e0/8


相关文档
最新文档