在路由器的接口配置模式下,首先使用no ip add去掉该接口的IP地址,因为子接口模式下主接口是不能配置IP地址的;
然后在全局配置模式下使用命令int f0/0.1进入子接口配置模式,其中F0/0是一个物理接口,而.1就是子接口的编号,其编号从1到2的32次方均可;
在子接口模式下可以设置IP地址、VLAN封装等配置了。
顶一下

(0)
0%
踩一下

(0)
0%
- 相关评论
- 我要评论
-