华为高端交换机配置脚本

合集下载

华为交换机脚本范例

华为交换机脚本范例
port vlan-stacking vlan 2871 push vlan 265 priority-inherit
port vlan-stacking vlan 1501 to 1516 push vlan 265 priority-inherit
port vlan-stacking vlan 3201 to 3203 push vlan 1004 priority-inherit
loopback-detect enable
loopback-detect action block
bpdu enable
qinq vlan-translation enable
port vlan-stacking vlan 3201 to 3203 push vlan 1004 priority-inherit
port vlan-stacking vlan 2191 push vlan 264 priority-inherit
ntdp enable
ndp enable
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
port vlan-stacking vlan 2205 push vlan 265 priority-inherit
port vlan-stacking vlan 2206 push vlan 265 priority-inherit
ntdp enable
ndp enable
#
interface Ethernet0/0/3
interface Ethernet0/0/6

华为路由器交换机配置命令大全

华为路由器交换机配置命令大全

华为路由器交换机配置命令大全华为路由器交换机配置大全本文提供XXX路由器交换机的配置命令,包括计算机命令和交换机命令。

一、计算机命令以下是一些常用的计算机命令:shutdown-hnow;关机init 0;关机logout;用户注销login;用户登录ifconfig;显示IP地址ifconfig eth0 netmask;设置IP地址ifconfig eht0 netmask down;禁用IP地址route add 0.0.0.0 gw;设置网关route del 0.0.0.0 gw;删除网关route add default gw;设置网关route del default gw;删除网关route;显示网关ping;发ECHO包;远程登录二、XXX路由器交换机配置命令以下是一些常用的XXX路由器交换机配置命令:Quidway]dis cur;显示当前配置Quidway]display n;显示当前配置Quidway]display interfaces;显示接口信息Quidway]display vlan;显示vlan信息Quidway]display n;显示版本信息Quidway]super password;修改特权用户密码Quidway]sysname;交换机命名Quidway]XXX;进入接口视图Quidway]interface vlan x;进入接口视图Quidway-Vlan-interface x]ip address 10.65.1.1 255.255.0.0;配置VLAN的IP地址Quidway]Ip route-static 0.0.0.0 0.0.0.0 10.65.1.2;静态路由=网关Quidway]rip;rip协议Quidway]local-user ftpQuidway]user-interface vty 0 4;进入虚拟终端S3026-ui-vty0-4]n-mode password;设置口令模式首先,这篇文章需要进行重新排版和编辑,以便更清晰地传达信息。

华为交换机配置命令总结

华为交换机配置命令总结

华为交换机配置命令总结1、配置文件相关命令[Quidway]display current-configuration 显示当前生效的配置[Quidway]display saved-configuration 显示flash中配置文件,即下次上电启动时所用的配置文件reset saved-configuration 檫除旧的配置文件reboot 交换机重启display version 显示系统版本信息2、基本配置[Quidway]super password 修改特权用户密码[Quidway]sysname 交换机命名[Quidway]interface ethernet 1/0/1 进入接口视图[Quidway]interface vlan 1 进入接口视图[Quidway-Vlan-interfacex]ip address 10.1.1.11 255.255.0.0 配置VLAN的IP地址[Quidway]ip route-static 0.0.0.0 0.0.0.0 10.1.1.1 静态路由=网关3、telnet配置[Quidway]user-interface vty 0 4 进入虚拟终端[S3026-ui-vty0-4]authentication-mode password 设置口令模式[S3026-ui-vty0-4]set authentication-mode password simple xmws123 设置口令[S3026-ui-vty0-4]user privilege level 3 用户级别4、端口配置[Quidway-Ethernet1/0/1]duplex {half|full|auto} 配置端口工作状态[Quidway-Ethernet1/0/1]speed {10|100|auto} 配置端口工作速率[Quidway-Ethernet1/0/1]flow-control 配置端口流控[Quidway-Ethernet1/0/1]mdi {across|auto|normal} 配置端口平接扭接[Quidway-Ethernet1/0/1]port link-type {trunk|access|hybrid} 设置端口工作模式[Quidway-Ethernet1/0/1]undo shutdown 激活端口[Quidway-Ethernet1/0/2]quit 退出系统视图5、链路聚合配置[DeviceA] link-aggregation group 1 mode manual 创建手工聚合组1[Qw_A] interface ethernet 1/0/1 将以太网端口Ethernet1/0/1加入聚合组1[Qw_A-Ethernet1/0/1] port link-aggregation group 1[Qw_A-Ethernet1/0/1] interface ethernet 1/0/2 将以太网端口Ethernet1/0/1加入聚合组1[Qw_A-Ethernet1/0/2] port link-aggregation group 1[Qw_A] link-aggregation group 1 service-type tunnel # 在手工聚合组的基础上创建tunnel业务环回组。

华为高端交换机配置脚本

华为高端交换机配置脚本
rule 11 permitudpdestination-porteq9996
rule 12 permitudpdestination-porteq5554
rule 13 permittcpdestination-porteq137
rule 14 permittcpdestination-porteq1025
rule 15 permitudpdestination-porteq1025
rule 16 permittcpdestination-porteq9995
rule 17 permitudpdestination-porteq9995
rule 18 permittcpdestination-porteq1068
ipaddress10.25.1.21 255.255.255.252
#
interface Vlanif1007
description To LYJWHD-HEDONGZHIYEZHONGZHUAN-S3352
ipaddress10.25.1.25 255.255.255.252
#
interface Vlanif1008
rule 29 permitudpdestination-porteqnetbios-dgm
rule 30 permittcpdestination-porteq5800
rule 31 permittcpdestination-porteq5900
rule 32 permittcpdestination-porteq1720
rule 23 permitudpdestination-porteq135
rule 25 permittcpdestination-porteq139

华为交换机配置步骤与一般简单命令注释

华为交换机配置步骤与一般简单命令注释

1.sys 进入配置模式2.sysname NAME 为交换机配置一个物理场所名字3.Vlan ID 配置一个Vlan4.q 退出当前配置5.【NAME】Interface Ethernet 0/0/1 进入需要配置端口(这条语句是用来为某一个端口绑定ip用的user-bind static ip-address 10.10.31.1 interface Ethernet0/0/1 )6.【NAME-Ethernet 0/0/1】Port link-type access 设置端口链接类型为access型(还有trunk 型)7.【NAME-Ethernet 0/0/1】port default vlan ID 将端口放入所增加的Vlan8.【NAME-Ethernet 0/0/1】q 退出当前配置界面返回前一层8.【NAME】interface vlanif 1 将所配置交换机放入vlanif1 这个是用来进行远程控制的,vlanif1是在核心配置的9.【NAME-vlanif】IP address 10.10.1.34 255.255.255.0 设置一个可以远程登录的IP地址10.【NAME-vlanif】q 退出当前配置界面11.【NAME】IP route-static 0.0.0.0.0.0.0.0 10.10.1.25412.【NAME】aaa13.【NAME】local-user admin service-typ telnet 本地拨号方式14.【NAME-aaa】local-user admin privilege level 15 本地用户分配级别15.【NAME-aaa】q 退出当前状态16.【NAME】user-interface vty 0 417.【NAME-ui-vty0-4】authentication-mode aaa18.【NAME-ui-vty0-4】q 退出当前模式19.【NAME】interface GigabitEthenet 0/0/1 进入G比特网络端口20.【NAME-GigabitEthenet 0/0/1】port link-type trunk21.【NAME-GigabitEthenet 0/0/1】port trunk allow-pass vlan all (或者2to4999)让你想让通过的vlan通过22.<NAME>save 保存所做的设置23.<NAME> q 退出界面。

华为交换机基本配置命令

华为交换机基本配置命令

华为交换机基本配置命令华为交换机基本配置命令一、单交换机VLAN划分命令命令解释system 进入系统视图system-view 进入系统视图quit 退到系统视图undo vlan 20 删除vlan 20sysname 交换机命名disp vlan 显示vlanvlan 20 创建vlan(也可进入vlan 20)port e1/0/1 to e1/0/5 把端口1-5放入VLAN 20 中disp vlan 20 显示vlan里的端口20int e1/0/24 进入端口24port access vlan 20 把当前端口放入vlan 20 undo port e1/0/10 表示删除当前VLAN端口10 disp curr 显示当前配置二、配置交换机支持TELNETsystem 进入系统视图sysname 交换机命名int vlan 1 进入VLAN 1ip address 192.168.3.100 255.255.255.0 配置IP地址user-int vty 0 4 进入虚拟终端authentication-mode password (aut password) 设置口令模式set authentication password simple 222 (set aut pass sim 222) 设置口令user privilege level 3(use priv lev 3) 配置用户级别disp current-configuration (disp cur) 查看当前配置disp ip int 查看交换机VLAN IP配置删除配置必须退到用户模式reset saved-configuration(reset saved) 删除配置reboot 重启交换机三、跨交换机VLAN的通讯在sw1上:vlan 10 建立VLAN 10int e1/0/5 进入端口5port access vlan 10 把端口5加入vlan 10vlan 20 建立VLAN 20int e1/0/15 进入端口15port access vlan 20 把端口15加入VLAN 20int e1/0/24 进入端口24port link-type trunk 把24端口设为TRUNK端口port trunk permit vlan all 同上在SW2上:vlan 10 建立VLAN 10int e1/0/20 进入端口20port access vlan 10 把端口20放入VLAN 10int e1/0/24 进入端口24port link-type trunk 把24端口设为TRUNK端口port trunk permit vlan all (port trunk permit vlan 10 只能为vlan 10使用)24端口为所有VLAN 使用disp int e1/0/24 查看端口24是否为TRUNKundo port trunk permit vlan all 删除该句四、路由的配置命令system 进入系统模式sysname 命名int e1/0 进入端口ip address 192.168.3.100 255.255.255.0 设置IPundo shutdown 打开端口disp ip int e1/0 查看IP接口情况disp ip int brief 查看IP接口情况user-int vty 0 4 进入口令模式authentication-mode password(auth pass) 进入口令模式set authentication password simple 222 37 设置口令user privilege level 3 进入3级特权save 保存配置reset saved-configuration 删除配置(用户模式下运行)undo shutdown 配置远程登陆密码int e1/4ip route 192.168.3.0(目标网段)255.255.255.0 192.168.12.1(下一跳:下一路由器的接口)静态路由ip route 0.0.0.0 0.0.0.0 192.168.12.1 默认路由disp ip rout 显示路由列表华3C AR-18E1/0(lan1-lan4)E2/0(wan0)E3/0(WAN1)路由器连接使用直通线。

华为交换机配置命令

华为交换机配置命令

华为交换机配置命令@1233.举例一:创建vlan并设置ip地址Vlan10 (批量添加vlan可输入vlan batch 10 20 30 )[Quitdway]interface vlan10[Quitdway-Vlan10]ip address _24[Quitdway-Vlan10]dhcp select interface (全局开启dhcp) [Quitdway-Vlan10]quit二:批量添加端口到Vlan并设access模式[Quitdway]port-group 1 创建组[Quitdway-port-group-1]group-member Eth 0/0/1 to Eth 0/0/8 [Quitdway-port-group-1]port link-type access[Quitdway-port-group-1]port default vlan 10三:开启DHCP设置时间和DNS[Quitdway]dhcp edable[Quitdway]quit[Quitdway]interface vlan 10[Quitdway-Vlan10]dhcp server excluded-ip-address (在指定的ip 池中去掉已指派的ip)[Quitdway-Vlan10]dhcp server lease day 30 hour 0 minute 0[Quitdway-Vlan10]dhcp server dns-list四:建立对接口并设置路由[Quitdway]vlan 100[Quitdway vlan 100]ip address _24(与上一级路由的ip段一致) [Quitdway vlan 100]quit[Quitdway]interface Gi 0/0/24[Quitdway Gi 0/0/24]port link-type access[Quitdway Gi 0/0/24]port default vlan 100(24口加入到vlan100) [Quitdway Gi 0/0/24]quit[Quitdway]ip route-static __(上一级网关)注释:在上一级路由器上设置目的地址:下一跳:五:设置trunk口类型接口[Quitdway]interface gi 0/0/24[Quitdway Gi 0/0/24]port link-type trunk[Quitdway Gi 0/0/24]port trunk allow-pass vlan all(允许所有vlan 通过)。

华为三层交换机S5700-28C-EI配置文档

华为三层交换机S5700-28C-EI配置文档

华为三层交换机S5700-28C-EI配置文档华为三层交换机S5700-28C-SI配置文档温馨提示:新买的设备默认情况设备是没有任何地址。

连接方式:用超级终端连接相关属性将线和ETH口连接好之后关掉电源重新上电,等进入到to continue press ENTER,按ENTER键回车。

输入原始密码admin进入正式配置界面第一步:设置METH口管理地址system-view 进入系统调试模式[quidway]interface METH 0/0/1 进入到管理接口[quidway-METH 0/0/1]ip address 192.168.1.1 255.255.255.0 配置IP地址[quidway]quit第二步:由于设备本身支持web但是没有加载文件,需加载web 文件dir 显示当前路径和相及web等相关文件在dir下面信息找到xxxxxx.web.zipsystem-view[quidway]http server load xxxxxx.web.zip 加载系统本身自带的web文件加载成功后开启web服务[quidway]http server enable 开启http服务第三步:新建web用户登录用户名和密码及赋予权限system-view[quidway]aaa[quidway-aaa]local-user xxx password cipher|simper xxx 设置用户名和密码[quidway-aaa]local-user xxx server-type http 给xxx用户设置http登录模式[quidway-aaa]local-user xxx priviledge level 3-15 给xxx用户设置http登录等级否则只有ping和Tracert功能[quidway-aaa]quit即可第四步:保存命令以保证断电后配置不会丢失进入到模式输入save然后按Y等待一会即可设置完成之后既可以登陆电脑指定IP地址如192.168.1.100/255.255.255.0Ping 192.168.1.1是否通如果通打开浏览器输入192.168.1.1输入第三步创建或者修改的用户名和密码登陆即可附:查看相关版本命令:display cur-configuation查看接口对于的IP地址display arp将设备恢复出厂设置reset saved-configuation查看端口位置:display interface brief查看光模块display transc eiver interace 端口verbose //查看光模块光信息。

华为USG设备配置脚本及联通最新路由表

华为USG设备配置脚本及联通最新路由表

USG2000基础配置手册初始化设备:reset saved-configurationREBOOTNY1.# 进入系统视图。

<USG> system-view# 进入Ethernet 0/0/0视图。

[USG A] interface Ethernet 0/0/0# 配置Ethernet 0/0/0(公网)的IP地址。

[USG A-Ethernet0/0/0] ip address 61.163.165.108 255.255.255.128 #公网IP,运营商提供# 退回系统视图。

[USG A-Ethernet0/0/0] quit2.# 进入Ethernet 0/0/1视图。

[USG A] interface Ethernet 0/0/1# 配置内部局域网Ethernet 0/0/1的IP地址。

[USG A-Ethernet0/0/1] ip address 192.168.0.1 255.255.255.0[USG A-Ethernet0/0/1] dhcp select interface# 退回系统视图。

[USG A-Ethernet0/0/1] quit3.# 进入Trust区域视图。

[USG A] firewall zone trust# 配置Ethernet 0/0/1加入Trust区域。

#通常内网在trust区域[USG A-zone-trust] add interface Ethernet 0/0/1# 退回系统视图。

[USG A-zone-trust] quit# 进入Untrust区域视图。

[USG A] firewall zone untrust# 配置Ethernet 0/0/0加入Untrust区域。

#通常外网在untrust区域[USG A-zone-untrust] add interface Ethernet 0/0/0# 退回系统视图。

[USG A-zone-untrust] quit4.#配置需要上网的ACL[USG] acl 2000[USG-acl-basic-2000] rule permit[USG-acl-basic-2000] quit5.# 配置NAT地址池。

华为16口交换机(用于网件瘦AP)配置模板

华为16口交换机(用于网件瘦AP)配置模板
配置交换机管理IP地址及掩码
port default vlan 1600
配置每个端口下的管理VLAN
ip route-static 0.0.0.0 0.0.0.0 10.140.1.1
配置交换机管理网关
配置脚本如下:
*********************************************************
undo port default vlan
port link-type trunk
port trunk allow-pass vlan all
#
interface Ethernet0/0/2
undo port default vlan
port link-type trunk
port trunk allow-pass vlan all
#
interface Ethernet0/0/6
undo port default vlan
port link-type trunk
port trunk allow-pass vlan all
#
interface Ethernet0/0/7
undo port default vlan
注:
如果交换机已经配过了数据,先清空,再配新数据
reset save
之后断电重启,复制配置脚本到交换机
查询交换机内的配置内容
dis cur
脚本内根据实际点位信息需改动处:
vlan 1600
配置管理VLAN
ip address 10.140.1.10 255.255.252.192
#

华为交换机配置模版-脚本

华为交换机配置模版-脚本

总体模版sysuser-interface vty 0 4authentication-mode passwordset authentication password cipher sdsy/sdsy user privilege level 15quiuser-interface conso 0authentication-mode passwordset authentication password cipher sdsy/sdsy quiip route-static 0.0.0.0 0.0.0.0 10.1.1.3vlan 39quiint vlan 1quiundo int vlan 1vlan 255int vlan 255ip add 10.1.1.202 24int g0/0/8port link-type trunkport trunk allow-pass vlan allquiint range g0/0/1 to g0/0/7port link-typ accessport defaul vlan 39stp edged-port enableloopback-detection enableexiterrdisable recovery cause loopback-detetion errdisable recovery interval 60dhcp-snooping enableint range g0/0/8dhcp-snooping trustdhcp enable3A认证Aaalocal-user meng password cipher meng privilege level 15User-interface vty 0 4Authentication mode aaa端口聚合创建聚合组命令如下:[S9303]interface Eth-Trunk1 //聚合组名称为ETH-Trunk1[S9303-Eth-Trunk1]description To-S9303-2 //描述[S9303-Eth-Trunk1]undo port hybrid vlan 1 //去掉VLAN1的透传[S9303-Eth-Trunk1]port hybrid tagged vlan 100 to 200 //VLAN透传3进入端口,将端口加入聚合组,命令如下:[S9303]interface GigabitEthernet1/1/16 //进入G1/1/16端口[S9303-GigabitEthernet1/1/16]description To-S7810-G7/0/31 //端口描述[S9303-GigabitEthernet1/1/16]eth-trunk 1 //加入聚合组1[S9303]interface GigabitEthernet1/1/17 //进入G1/1/17端口[S9303-GigabitEthernet1/1/17]description To-S7810-G7/0/30 //端口描述[S9303-GigabitEthernet1/1/17]eth-trunk 1 //加入聚合组1dhcp enable#dhcp snooping enableuser-bind static ip-address 192.168.1.200 ---保留手动分配的地址,不加保留的手动分配的地址没法使用user-bind static ip-address 192.168.1.201 mac-address 4c1f-cc58-379e --保留手动分配的地址和MAC地址捆绑#interface Vlanif1000ip address 192.168.1.1 255.255.255.0dhcp select interfacedhcp server excluded-ip-address 192.168.1.200 192.168.1.254 ---保留手动分配的地址段expired day 0 hour 5dhcp server forbidden-ip 192.168.2.201 192.168.2.253display dhcp client#interface GigabitEthernet0/0/1port link-type accessport default vlan 1000ip source check user-bind enableip source check user-bind check-item ip-address mac-addressdhcp snooping enabledhcp snooping check user-bind enableexpired day 0 hour 5dhcp server forbidden-ip 192.168.2.201 192.168.2.253display dhcp client镜像命令:Mirroring-group 2 local 创建组Int g0/0/1Mirroring-group 2 mirroring-port both 设置被监控对象Int g0/0/2Mirroring-group 2 monitor-port Sniffer口备份和恢复Tftp 1.1.1.1 put vrpcfg.cfg 22-hw-22.cfg下载Tftp 2.2.2.2 get 23-hw22.cfg vrpcfg.vfgPrivilege levlesysname HuaWei_testsuper password level 1 cipher 456123DHCPIP-MAC绑定#############################dhcp snooping bind-table static ip-address 192.168.6.254 mac-address 0000-1111-1234 interface Ethernet 0/0/2(1)将IP192.168.1.100 mac 0001-0002-0003 固定到接口上interface GigabitEthernet 0/0/1 user-bind static ip-address 192.168.1.100 mac-address 0001-0002-0003 interface GigabitEthernet 0/0/1 vlan 10(2)接口上启用:ip source check user-bind enable即可:具体配置过程如下:Ip+mac+端口绑定<Huawei>sysEnter system view, return user view with Ctrl+Z.[Huawei][Huawei]vlan 10 //在设备上创建vlan 10[Huawei-vlan10]quit[Huawei]inter gi0/0/1 //进入接口视图[Huawei-GigabitEthernet0/0/1]port link-type access //指定接口为access类型:可直接接电脑或是服务器的那种类型[Huawei-GigabitEthernet0/0/1]port default vlan 10 // 将接口划入vlan 10;[Huawei-GigabitEthernet0/0/1]quit[Huawei]user-bind static ip-address 192.168.1.100 mac-address 0001-0002-0003 interface GigabitEthernet 0/0/1 vlan 10//在全局模式下,将IP地址(192.168.1.100),MAC地址(0001-0002-0003),具体接口(GigabitEthernet 0/0/1),//和接口所属vlan(10),绑定到一起。

华为交换机配置命令

华为交换机配置命令

---------------------------------------------------------------最新资料推荐------------------------------------------------------华为交换机配置命令华为交换机配置命令华为路由器交换机配置命令大合集,熟练掌握下面的华为路由器交换机配置知识点,你只需花几分钟的时间就能明白华为路由器交换机配置。

交换机的配置命令等等。

华为路由器交换机配置命令:计算机命令 PCAlogin:root;使用 root 用户 password:linux;口令是 linux #shutdown-hnow;关机 #init0;关机 #logout;用户注销 #login;用户登录 #ifconfig;显示 I 破 P 地址 #ifconfig 破 eth0netmask;破设置 IP 地址当前无法显示此图像。

#ifcon 破figeht0netma 破skdown;禁用IP 地破址#routeadd0. 破 0.0.0gw;设置网关破 #routedel0.0 破 .0.0gw;删除网关# 破routeadddefa 破ultgw;设置网关#r 破outedeldefau 破 ltgw;删除网关 #ro 破 ute;显示网关 #pin 破g;发 ECHO 包 #tel 破 net;远程登录华为路由破器交换机配置命令:交换机破命令[Quidway]d 破iscur;显示当前配置破[Quidway]dis 破 playcurrent- 破 configuratio 破 n;显示当前配置 [Qui 破 dway]display 破 interfaces;显破示接口信息[Quidwa 破y]displayvla 破nall;显示路由信息[ 破Quidway]disp 破layversion;显破示版本信息[Quidwa 破1 / 12y]superpassw 破 ord;修改特权用户密码破 [Quidway]sys 破name;交换机命名 [Q 破 uidway]inter 破 faceethernet 破 0/1;进入接口视图 [Q 破 uidway]inter 破 facevlanx;进入破接口视图 [Quidway 破 -Vlan-interf 破 acex]ipaddre 破 ss10.65.1.12 破 55.255.0.0;配破置 VLAN 的IP 地址 [Q 破 uidway]iprou 破te-static0.0 破 .0.00.0.0.01 破 0.65.1.2;静态路破由=网关[Quidway 破]rip;三层交换支持[ 破Quidway]loca 破l-userftp [Qu 破 idway]user-i 破 nterfacevty0 破 4;进入虚拟终端 [S30 破 26-ui-vty0-4 破 ]authenticat 破 ion-modepass 破 word;设置口令模式 [ 破 S3026-ui-vty 破 0-4]setauthe 破ntication-mo 破depasswordsi 破mple222;设置口令破[S3026-ui-vt 破 y0-4]userpri 破 vilegelevel3 破;用户级别[Quidwa 破y]interfacee 破thernet0/1;进破入端口模式[Quidwa 破y]inte0/1;进入破端口模式[Quidway 破-Ethernet0/1 破 ]duplex{half 破 |full|auto};破配置端口工作状态 [Qui 破 dway-Etherne 破 t0/1]speed{1 破 0|100|auto};破配置端口工作速率 [Qui 破 dway-Etherne 破 t0/1]flow-co 破ntrol;配置端口流控破[Quidway-Eth 破ernet0/1]mdi 破{across|auto 破 |normal};配置端破口平接扭接 [Quidwa 破y-Ethernet0/ 破 1]portlink-t 破 ype{trunk|ac 破 cess|hybrid} 破;设置端口工作模式 [Qu 破 idway-Ethern 破 et0/1]portac 破cessvlan3;当前破端口加入到 VLAN [Qu 破 idway-Ethern 破---------------------------------------------------------------最新资料推荐------------------------------------------------------et0/2]porttr 破 unkpermitvla 破 n{ID|All};设 t 破 runk 允许的 VLAN [ 破 Quidway-Ethe 破 rnet0/3]port 破 trunkpvidvla 破 n3;设置 trunk 端口破的 PVID [Quidwa 破 y-Ethernet0/ 破1]undoshutdo 破wn;激活端口[Quid 破way-Ethernet 破0/1]shutdown 破;关闭端口[Quidwa 破y-Ethernet0/ 破1]quit;返回 [Qu 破 idway]vlan3;破创建 VLAN [Quidw 破ay-vlan3]por 破 tethernet0/1 破;在 VLAN 中增加端口 [ 破Quidway-vlan 破3]porte0/1;简破写方式[Quidway- 破vlan3]portet 破 hernet0/1toe 破 thernet0/4;在破 VLAN 中增加端口 [Qu 破 idway-vlan3] 破 porte0/1toe0 破 /4;简写方式[Quid 破way]monitor- 破port;指定镜像端口[ 破Quidway]port 破 mirror;指定被镜像破端口 [Quidway]p 破ortmirrorint 破 _listobservi 破 ng-portint_t 破 ypeint_num;指破定镜像和被镜像 [Quid 破 way]descript 破 ionstring;指定破 VLAN 描述字符 [Qui 破 dway]descrip 破 tion;删除 VLAN 描破述字符 [Quidway] 破 displayvlan[ 破 vlan_id];查看 V 破 LAN 设置 [Quidwa 破 y]stp{enable 破 |disable};设置破生成树,默认关闭 [Qui 破 dway]stpprio 破 rity4096;设置交破换机的优先级 [Quidw 破 ay]stproot{p 破 rimary|secon 破 dary};设置为根或根破的备份[Quidway- 破Ethernet0/1] 破stpcost200;设破置交换机端口的花费 [Qu 破 idway]link-a 破3 / 12ggregatione0 破/1toe0/4ingr 破ess|both;端口的破聚合[Quidway]u 破 ndolink-aggr 破 egatione0/1| 破 all;始端口为通道号 [ 破 SwitchA-vlan 破 x]isolate-us 破 er-vlanenabl 破e;设置主vlan [Sw 破itchA]isolat 破e-user-vlans 破econdary;设置主破 vlan 包括的子 vlan 破 [Quidway-Eth 破ernet0/2]por 破 thybridpvidv 破 lan;设置 vlan 的 p 破 vid [Quidway- 破 Ethernet0/2] 破 porthybridpv 破 id;删除 vlan 的 pv 破 id [Quidway-E 破 thernet0/2]p 破 orthybridvla 破nvlan_id_lis 破 tuntagged;设置破无标识的 vlan 如果包的破vlanid 与 PVId 一破致,则去掉 vlan 信息. 破默认 PVID=1。

华为交换机配置命令大全

华为交换机配置命令大全

华为交换机配置命令大全交换机命令---华为路由器配置1.在基于IOS的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string2.在基于IOS的交换机上设置登录口令:switch(config)# enable password level 1 password在基于CLI的交换机上设置登录口令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS的交换机上设置远程访问:switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的交换机上设置远程访问:switch(enable) set interface sc0 ip-address netmaskbroadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway4.在基于IOS的交换机上启用和浏览CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable为了查看Cisco邻接设备的CDP通告信息:switch# show cdp interface [type modle/port] switch# show cdp neighbors [type module/port] [detail]在基于CLI的交换机上启用和浏览CDP信息: switch(enable) set cdp {enable|disable} module/port 为了查看Cisco邻接设备的CDP 通告信息: switch(enable) show cdp neighbors[module/port][vlan|duplex|capabilities|detail]5.基于IOS的交换机的端口描述:switch(config-if)# description description-string基于CLI的交换机的端口描述:switch(enable)set port name module/number description-string6.在基于IOS的交换机上设置端口速度:switch(config-if)# speed{10|100|auto}在基于CLI的交换机上设置端口速度:switch(enable) set port speed moudle/number{10|100|auto}switch(enable) set port speed moudle/number{4|16|auto}7.在基于IOS的交换机上设置以太网的链路模式: switch(config-if)# duplex {auto|full|half}在基于CLI的交换机上设置以太网的链路模式: switch(enable) set port duplex module/number {full|half}8.在基于IOS的交换机上配置静态VLAN: switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/number switch(config-if)# switchport mode accessswitch(config-if)# switchport access vlan vlan-num switch(config-if)# end在基于CLI的交换机上配置静态VLAN:switch(enable) set vlan vlan-num [name name] switch(enable) set vlan vlan-num mod-num/port-list9. 在基于IOS的交换机上配置VLAN中继线: switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)# switchport trunk encapsulation {isl|dotlq} switch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list 在基于CLI的交换机上配置VLAN中继线: switch(enable) set trunk module/port[on|off|desirable|auto|nonegotiate]Vlan-range [isl|dotlq|dotl0|lane|negotiate] 10.在基于IOS的交换机上配置VTP管理域: switch# vlan databaseswitch(vlan)# vtp domain domain-name在基于CLI的交换机上配置VTP管理域: switch(enable) set vtp [domain domain-name]11.在基于IOS的交换机上配置VTP 模式: switch# vlan databaseswitch(vlan)# vtp domain domain-name switch(vlan)# vtp {sever|cilent|transparent} switch(vlan)# vtp password password 在基于CLI的交换机上配置VTP 模式: switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]12. 在基于IOS的交换机上配置VTP版本: switch# vlan databaseswitch(vlan)# vtp v2-mode在基于CLI的交换机上配置VTP版本: switch(enable) set vtp v2 enable13. 在基于IOS的交换机上启动VTP剪裁: switch# vlan databaseswitch(vlan)# vtp pruning在基于CL I 的交换机上启动VTP剪裁: switch(enable) set vtp pruning enable14.在基于IOS的交换机上配置以太信道:switch(config-if)# port group group-number[distribution {source|destination}]在基于CLI的交换机上配置以太信道:switch(enable) set port channel moudle/port-rangemode{on|off|desirable|auto}15.在基于IOS的交换机上调整根路径成本:switch(config-if)# spanning-tree [vlan vlan-list] costcost在基于CLI的交换机上调整根路径成本:switch(enable) set spantree portcost moudle/portcostswitch(enable) set spantree portvlancost moudle/port[cost cost][vlan-list]16.在基于IOS的交换机上调整端口ID:switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority在基于CLI的交换机上调整端口ID:switch(enable) set spantree portpri {mldule/port}priority switch(enable) set spantree portvlanpri {module/port}priority [vlans]17. 在基于IOS的交换机上修改STP时钟:switch(config)# spanning-tree [vlan vlan-list] hello-time secondsswitch(config)# spanning-tree [vlan vlan-list] forward-time seconds` switch(config)# spanning-tree [vlan vlan-list] max-age seconds在基于CLI的交换机上修改STP时钟:switch(enable) set spantree hello interval[vlan]switch(enable) set spantree fwddelay delay [vlan]switch(enable) set spantree maxage agingtiame[vlan] 18. 在基于IOS的交换机端口上启用或禁用Port Fast 特征:switch(config-if)#spanning-tree portfast在基于CLI的交换机端口上启用或禁用Port Fast 特征: switch(enable) set spantree portfast {module/port}{enable|disable}19. 在基于IOS的交换机端口上启用或禁用UplinkFast 特征:switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]在基于CLI的交换机端口上启用或禁用UplinkFast 特征: switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]20. 为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name21. 为了从一条中继链路上删除VLAN,可使用下列命令: switch(enable) clear trunk module/port vlan-range22. 用show vtp domain 显示管理域的VTP参数.23. 用show vtp statistics显示管理域的VTP参数.24. 在Catalyst交换机上定义TrBRF的命令如下:switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]25. 在Catalyst交换机上定义TrCRF的命令如下:switch (enable) set vlan vlan-num [name name] type trcrf {ring hex-ring-num|decring decimal-ring-num} parent vlan-num26. 在创建好TrBRF VLAN之后,就可以给它分配交换机端口.对于以太网交换,可以采用如下命令给VLAN分配端口:switch(enable) set vlan vlan-num mod-num/port-num27. 命令show spantree显示一个交换机端口的STP状态.28. 配置一个ELAN的LES和BUS,可以使用下列命令:ATM (config)# interface atm number.subint multiointATM(config-subif)# lane serber-bus ethernet elan-name 29.配置LECS:ATM(config)# lane database database-nameATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-addressATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-addressATM(lane-config-databade)# name …30. 创建完数据库后,必须在主接口上启动LECS.命令如下:ATM(config)# interface atm numberATM(config-if)# lane config database database-nameATM(config-if)# lane config auto-config-atm-address31. 将每个LEC配置到一个不同的ATM子接口上.命令如下:ATM(config)# interface atm number.subint multipointATM(config)# lane client ethernet vlan-num elan-num32. 用show lane server 显示LES的状态.33. 用show lane bus显示bus的状态.34. 用show lane database显示LECS数据库可内容.35. 用show lane client显示LEC的状态.36. 用show module显示已安装的模块列表.37. 用物理接口建立与VLAN的连接:router# configure terminalrouter(config)# interface media module/portrouter(config-if)# description description-stringrouter(config-if)# ip address ip-addr subnet-maskrouter(config-if)# no shutdown38. 用中继链路来建立与VLAN的连接:router(config)# interface module/port.subinterfacerouter(config-ig)# encapsulation[isl|dotlq] vlan-number router(config-if)# ip address ip-address subnet-mask39. 用LANE 来建立与VLAN的连接:router(config)# interface atm module/port router(config-if)# no ip addressrouter(config-if)# atm pvc 1 0 5 qsaalrouter(config-if)# atm pvc 2 0 16 ilnirouter(config-if)# interface atm module/port.subinterface multipointrouter(config-if)# ip address ip-address subnet-maskrouter(config-if)# lane client ethernet elan-numrouter(config-if)# interface atm module/port.subinterface multipointrouter(config-if)# ip address ip-address subnet-namerouter(config-if)# lane client ethernet elan-namerouter(config-if)# …40. 为了在路由处理器上进行动态路由配置,可以用下列IOS命令来进行:router(config)# ip routingrouter(config)# router ip-routing-protocolrouter(config-router)# network ip-network-numberrouter(config-router)# network ip-network-number41. 配置默认路由:switch(enable) set ip route default gateway42. 为一个路由处理器分配VLANID,可在接口模式下使用下列命令:router(config)# interface interface numberrouter(config-if)# mls rp vlan-id vlan-id-num43. 在路由处理器启用MLSP:router(config)# mls rp ip44. 为了把一个外置的路由处理器接口和交换机安置在同一个VTP 域中:router(config)# interface interface numberrouter(config-if)# mls rp vtp-domain domain-name45. 查看指定的VTP域的信息:router# show mls rp vtp-domain vtp domain name46. 要确定RSM或路由器上的管理接口,可以在接口模式下输入下列命令:router(config-if)#mls rp management-interface47. 要检验MLS-RP的配置情况:router# show mls rp48. 检验特定接口上的MLS配置:router# show mls rp interface interface number49. 为了在MLS-SE上设置流掩码而又不想在任一个路由处理器接口上设置访问列表:set mls flow [destination|destination-source|full]50. 为使MLS和输入访问列表可以兼容,可以在全局模式下使用下列命令:router(config)# mls rp ip input-acl51. 当某个交换机的第3层交换失效时,可在交换机的特权模式下输入下列命令:switch(enable) set mls enable52. 若想改变老化时间的值,可在特权模式下输入以下命令:switch(enable) set mls agingtime agingtime53. 设置快速老化:switch(enable) set mls agingtime fast fastagingtime pkt_threshold54. 确定那些MLS-RP和MLS-SE参与了MLS,可先显示交换机引用列表中的内容再确定:switch(enable) show mls include55. 显示MLS高速缓存记录:switch(enable) show mls entry56. 用命令show in arp显示ARP高速缓存区的内容。

华为核心9300交换机配置命令手册[管理资料]

华为核心9300交换机配置命令手册[管理资料]

1、开始建立本地配置环境,将主机的串口通过配置电缆与以太网交换机的Console口连接。

在主机上运行终端仿真程序(如Windows的超级终端等),设置终端通信参数为:波特率为9600bit/s、8位数据位、1位停止位、无校验和无流控,并选择终端类型为VT100。

以太网交换机上电,终端上显示以太网交换机自检信息,自检结束后提示用户键入回车,之后将出现命令行提示符(如<Quidway>)。

键入命令,配置以太网交换机或查看以太网交换机运行状态。

需要帮助可以随时键入"?" 2、命令视图0000(1)用户视图(查看交换机的简单运行状态和统计信息)<Quidway>:与交换机建立连接即进入(2)系统视图(配置系统参数)[Quidway]:在用户视图下键入system-view(3)以太网端口视图(配置以太网端口参数)[Quidway-Ethernet0/1]:在系统视图下键入int erface ethernet 0/1(4)VLAN视图(配置VLAN参数)[Quidway-Vlan1]:在系统视图下键入vlan 1(5)VLAN接口视图(配置VLAN和VLAN汇聚对应的IP接口参数)[Quidway-Vlan-interface1]:在系统视图下键入interface vlan-interface 1(6)本地用户视图(配置本地用户参数)[Quidway-luser-user1]:在系统视图下键入local-u ser user1(7)用户界面视图(配置用户界面参数)[Quidway-ui0]:在系统视图下键入user-interface00003、其他命令0000设置系统时间和时区<Quidway>clock time Beijing add 8<Quidway>clock datetime 12:00:00 2005/01/23设置交换机的名称[Quidway]sysname TRAIN-3026-1[TRAIN-3026-1]配置用户登录[Quidway]user-interface vty 0 4[Quidway-ui-vty0]authentication-mode scheme创建本地用户[Quidway]local-user huawei[Quidway-luser-huawei]password simple huawei[Quidway-luser-huawei] service-type telnet level 300004、VLAN配置方法000『配置环境参数』SwitchA端口E0/1属于VLAN2,E0/2属于VLAN3『组网需求』把交换机端口E0/1加入到VLAN2 ,E0/2加入到VLAN3数据配置步骤『VLAN配置流程』(1)缺省情况下所有端口都属于VLAN 1,并且端口是access端口,一个access端口只能属于一个vlan;(2)如果端口是access端口,则把端口加入到另外一个vlan的同时,系统自动把该端口从原来的vlan中删除掉;(3)除了VLAN1,如果VLAN XX不存在,在系统视图下键入VLAN XX,则创建VLAN XX并进入VLAN视图;如果VLAN XX已经存在,则进入VLAN视图。

华为交换机 S5300 配置文件实例

华为交换机 S5300 配置文件实例
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
ntdp enable
ndp enable
bpdu enable
#
interface GigabitEthernet0/0/2
port link-type access
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
ip address dhcp-alloc
#
interface Vlanif100
ip address 10.83.74.145 255.255.255.240
#
interface Vlanif199
ip address 10.83.74.129 255.255.255.240
#
interface MEth0/0/1
#
ntdp enable
ndp enable
bpdu enable
#
interface GigabitEthernet0/0/15
description <To BaoXin>
port link-type access
port default vlan 199
ntdp enable
port link-type access
port default vlan 30

史上最全华为路由器交换机配置命令大合集(辛苦整理 免费下载)

史上最全华为路由器交换机配置命令大合集(辛苦整理 免费下载)

史上最全华为路由器交换机配置命令大合集史上最全华为路由器交换机配置命令大合集,熟练掌握下面的华为路由器交换机配置知识点,你只需花几分钟的时间就能明白华为路由器交换机配置。

交换机的配置命令等等。

华为路由器交换机配置命令:计算机命令华为路由器交换机配置命令:交换机命令华为路由器交换机配置命令:路由器命令[Quidway]displayversion;显示版本信息[Quidway]displaycurrent-configuration;显示当前配置[Quidway]displayinterfaces;显示接口信息[Quidway]displayiproute;显示路由信息[Quidway]sysnameaabbcc;更改主机名[Quidway]superpasswrod123456;设置口令[Quidway]interfaceserial0;进入接口[Quidway-serial0]ipaddress;配置端口IP地址[Quidway-serial0]undoshutdown;激活端口[Quidway]link-protocolhdlc;绑定hdlc协议[Quidway]debugginghdlcpacketserial0;显示包的信息华为路由器交换机配置命令:静态路由:华为路由器交换机配置命令:动态路由:华为路由器交换机配置命令:标准访问列表命令格式如下:华为路由器交换机配置命令:扩展访问控制列表配置命令配置TCP/UDP协议的扩展访问列表:rule{normal|special}{permit|deny}{tcp|udp}source{|any}destination|any}[operate]配置ICMP协议的扩展访问列表:rule{normal|special}{permit|deny}icmpsource{|any]destination{|any][icmp-code][logging]华为路由器交换机配置命令:扩展访问控制列表操作符的含义equalportnumber;等于greater-thanportnumber;大于less-thanportnumber;小于not-equalportnumber;不等rangeportnumber1portnumber2;区间华为路由器交换机配置命令:扩展访问控制列表举例华为路由器交换机配置命令:地址转换配置举例华为路由器交换机配置命令:内部服务器地址转换配置命令(静态nat):华为路由器交换机配置命令:PPP验证:主验方:pap|chap[Quidway]interfaceserial0[Quidway-serial0]pppchapuserq1;pap华为路由交换机配置命令:pap被验方:[q1]displayfrdlci-switch[q1]displayfrinterface[q1]resetfrinarp-info[q1]debuggingfrall[interfacetypenumber][q1]debuggingfrarp[interfacetypenumber][q1]debuggingfrevent[interfacetypenumber][q1]debuggingfrlmi[interfacetypenumber]华为路由器交换机配置命令:启动ftp服务:[Quidway]local-userftppassword{simple|cipher}aaaservice-typeftp [Quidway]ftpserverenable。

华为I命令行配置方法

华为I命令行配置方法

华为I命令行配置方法华为i系列交换机是华为公司推出的一款高性能、模块化的以太网交换设备,支持丰富的网络应用和高速数据交换。

以下是华为i系列交换机的命令行配置方法:1.连接到设备:使用网线将PC/终端设备连接到交换机的Console端口。

打开终端模拟软件(如SecureCRT、PuTTY等)并选择与Console端口连接的串口号,配置波特率为9600,并打开连接。

2.登录设备:当终端模拟软件连接成功后,在终端上将会出现一串乱码。

按回车键后,会显示登录提示符(如"Huawei"或">")。

输入默认用户名"admin"和密码"admin",然后按回车键进行登录。

3.进入系统视图:在登录成功后,进入交换机的用户视图。

在用户视图下,您只能执行局部命令,无法进行全局配置。

输入"enable"或"system-view"命令,然后按回车键,进入系统视图。

4.配置主机名:在系统视图下,输入"sysname [hostname]"命令,其中[hostname]为您所希望设置的主机名。

按回车键后,主机名将会被设置为您配置的值。

5.配置管理接口IP地址:在系统视图下,输入"interface vlan-interface [vlan-id]"命令,其中[vlan-id]为您所希望设置的VLAN接口ID。

按回车键后,进入VLAN接口视图。

在VLAN接口视图下,输入"ip address [ip-address] [mask-length]"命令,其中[ip-address]为您所希望设置的管理接口IP地址,[mask-length]为子网掩码长度。

按回车键后,管理接口IP地址将会被设置为您配置的值。

6. 配置Telnet访问:在系统视图下,输入"telnet server enable"命令,然后按回车键,开启Telnet功能。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
description To LYJWHD-ERSHIQIZHONGXUE-S3352
ipaddress10.25.1.9 255.255.255.252
#
interface Vlanif1004
description To LYJWHD-DIJIUXIAOXUE-S3352
ipaddress10.25.1.13 255.255.255.252
#
vlanbatch 1000 to 1016 2001 to 2002 2024 to 2029
#
poe-power backup-mode 2
#
dba-profile default0 type3 assure 40000 max 80000
#
line-profile default0
#
service-profile default0
rule 44 permittcpdestination-porteq42
rule 45 permitudpdestination-port range 1026 1027
#
traffic classifier anti-virus operator or precedence 5
if-matchacl3000
#
interface Vlanif1015
description To LYJWHD-XIANGGONGZHUDI-S5300
ipaddress10.25.1.57 255.255.255.252
#
interface Vlanif1016
description To LYJWHD-TANGTOUZHUDI-S5300
port trunk allow-passvlan1002
#
interface GigabitEthernet1/0/3
port link-type trunk
undo port trunk allow-passvlan1
port trunk allow-passvlan1003
#
interface GigabitEthernet1/0/4
port trunk allow-passvlan1005
#
interface GigabitEthernet1/0/6
port link-type trunk
undo port trunk allow-passvlan1
port trunk allow-passvlan1006
#
interface GigabitEthernet1/0/7
#
traffic behavior anti-virus
deny
#
traffic policy anti-virus
classifier anti-virus behavior anti-virus
#
traffic-policy anti-virus global inbound
#
drop-profile default
port link-type trunk
undo port trunk allow-passvlan1
port trunk allow-passvlan1004
#
interface GigabitEthernet1/0/5
port link-type trunk
undo port trunk allow-passvlan1
rule 3 permittcpdestination-porteq539
rule 4 permitudpdestination-porteq539
rule 5 permitudpdestination-porteq593
rule 6 permittcpdestination-porteq593
rule 7 permitudpdestination-porteq1434
rule 35 permittcpdestination-porteq136
rule 36 permitudpdestination-porteq136
rule 38 permittcpdestination-porteq138
rule 39 permittcpdestination-porteq3332
port link-type trunk
undo port trunk allow-passvlan1
port trunk allow-passvlan1007
#
interface GigabitEthernet1/0/8
#
interface Vlanif1005
description To LYJWHD-DISHIXIAOXUE-S3352
ipaddress10.25.1.17 255.255.255.252
#
interface Vlanif1006
description To LYJWHD-ERSHISIZHONGXUE-S3352
description To LYJWHD-HEDONGQUJIAOYUJU-S3352
ipaddress10.25.1.29 255.255.255.252
#
interface Vlanif1009
description To LYJWHD-FENGHUANGLINGZHUDI-S5300
ipaddress10.25.1.33 255.255.255.252
#
interface Vlanif1010
description To LYJWHD-BAHUZHUDI-S5300
ipaddress10.25.1.37 255.255.255.252
#
interface Vlanif1011
description To LYJWHD-TANGHEZHUDI-S5300
#
interface Vlanif1000
description to HEDONGJIAOYU--Firewall
ipaddress 10.25.254.254 255.255.255.252
#
interface Vlanif1001
description to LYJWHD-JIUQUXIAOXUE-S3352
local-userlyhdjwlevel 1
local-userlyhdjwservice-type telnet terminal
#
aclnumber 3000
rule 1 permittcpdestination-porteq445
rule 2 permitudpdestination-porteq445
ipaddress10.25.1.61 255.255.255.252
#
interface Ethernet0/0/0
undoportswitch
#
interface GigabitEthernet1/0/0
port link-type access
port defaultvlan1000
#
interface GigabitEthernet1/0/1
rule 25 permittcpdestination-porteq139
rule 26 permitudpdestination-porteqnetbios-ssn
rule 28 permitudpdestination-porteqnetbios-ns
rule 29 permitudpdestination-porteqnetbios-dgm
rule 40 permitudpdestination-porteq4444
rule 41 permittcpdestination-porteq6669
rule 42 permittcpdestination-porteq1434
rule 43 permittcpdestination-port range 3127 3130
rule 30 permittcpdestination-porteq5800
rule 31 permittcpdestination-porteq5900
rule 32 permittcpdestination-porteq1720
rule 33 permitudpdestination-porteq1720
rule 8 permittcpdestination-porteq4444
rule 9 permittcpdestination-porteq9996
rule 10 permittcpdestination-porteq5554
rule 11 permitudpdestination-porteq9996
rule 20 permittcpdestination-porteq1023
rule 21 permitudpdestination-porteq1023
rule 22 permittcpdestination-porteq135
rule 23 permitudpdestination-porteq135
ipaddress10.25.1.1 255.255.255.252
#
interface Vlanif1002
description TO LYJWHD-GONGYEYUANXUEXIAO-S3352
ipaddress10.25.1.5 255.255.255.252
#
interface Vlanif1003
ipaddress10.25.1.21 255.255.255.252
#
interface Vlanif1007
description To LYJWHD-HEDONGZHIYEZHONGZHUAN-S3352
相关文档
最新文档