ip第九周
二层链路层
静态链路层:
system-view
interface Bridge-Aggregation 1 //创建二层聚合组
quit
interface range gi 1/0/46 to gi 1/0/48 //进入端口范围执行
port link-mode bridge //为网桥口
port link-aggregation group 1 //将端口聚合进入二层聚合组
quit
interface Bridge-Aggregation 1
port link-type trunk //配置trunk模式
port trunk permit vlan 10 20 30 40 //配置trunk干道允许通过vlan
Ethernet 10M
Fast Ethernet 100M
Gi Ethernet 1000M
Ten Ethernet 10000M