IP交换机配置

access口配置:

在已确定vlan划分的情况下,根据端口号进行access配置。配置命令如下:

Interface Ethernet 0/0/_

Port link-type access

Port default vlan

链路聚合:

Interface eth-trunk 

bpdu enable

mode lacp-static

port link-type trunk

port trunk allow-pass vlan all

int e 0/0/_

eth-trunk 

int e 0/0/_

eth-trunk 

trunk口配置:

Interface g 0/0/_

Port link-type trunk

Port trunk allow-pass vlan all

网关配置:

Interface vlanif _

Ip address 

生成树协议stp配置:

      stp enable

       stp mode stp

       stp root primary

       undo stp root

       stp priority 8192

       stp enable

       stp mode stp

       stp root secondery

       undo stp root

       stp prioity 4096

posted @ 2019-11-28 20:06  pe4nut7  阅读(221)  评论(0)    收藏  举报