华为三层交换机怎么配置DHCP 华为三层交换机怎么配置静态路由( 二 )


traffic policy tp1//创建流策略,classifier tc1 behavior tb1//将流分类tc1和tb1关联
最后应用到到接口g0/0/3

华为三层交换机怎么配置DHCP 华为三层交换机怎么配置静态路由

文章插图
8.注意事项
很多人到时候或许会疑惑,为什么我配置的ACL没有生效?
型号过低时不支持ACL的,模拟器的交换机型号是S5700 V200R001C00
你可以输入dis ver 你的设备型号
华为三层交换机怎么配置DHCP 华为三层交换机怎么配置静态路由

文章插图

dis curr 设备配置dis version 版本dis dev manuinfo 型号运行的mstpdis stp brief 端口stp状态dis stp stp 运行模式dis mad verbose 虚拟化检测线状态dis ip routing-table 路由表dis logbuffer reverse 系统日志dis ip int brief ip地址dis int brie 接口状态dis lldp ne list 邻居信息dis lldp ne inter g1/0/0/40 verbose 邻居地址Username:guestPassword:Info: The max number of VTY users is 10, and the numberof current VTY users on line is 2.The current login time is 2021-05-13 08:30:13+00:00.<binhengredian>dis cur!Software Version V200R011C10SPC600#sysname binhengredian#vlan batch 2 42 103#authentication-profile name default_authen_profileauthentication-profile name dot1x_authen_profileauthentication-profile name mac_authen_profileauthentication-profile name portal_authen_profileauthentication-profile name dot1xmac_authen_profileauthentication-profile name multi_authen_profile#telnet server enable#diffserv domain default#radius-server template default#pki realm default#free-rule-template name default_free_rule#portal-access-profile name portal_access_profile#drop-profile default#aaa authentication-scheme default authentication-scheme radiusauthentication-mode radius authorization-scheme default accounting-scheme default local-aaa-user password policy administratorpassword history record number 0password expire 0 domain defaultauthentication-scheme radiusradius-server default domain default_adminauthentication-scheme default local-user admin password irreversible-cipher $1a$MNQ+7n7."!$N!GU=zBQ4"!'&eXoWW>5X08D0tlwwQex)YS*Fq+L$ local-user admin privilege level 15 local-user admin service-type telnet#interface Vlanif1 ip address 172.168.0.140 255.255.255.0#interface MEth0/0/1#interface Eth-Trunk40 port link-type trunk port trunk allow-pass vlan 2 to 4094 load-balance src-dst-mac#interface GigabitEthernet0/0/1 port link-type access port default vlan 42#interface GigabitEthernet0/0/2 port link-type access port default vlan 42#interface GigabitEthernet0/0/3 port link-type access port default vlan 42#interface GigabitEthernet0/0/4 port link-type access port default vlan 42#interface GigabitEthernet0/0/5 port link-type access port default vlan 42#interface GigabitEthernet0/0/6 port link-type access port default vlan 42#interface GigabitEthernet0/0/7 port link-type access


推荐阅读