int ethernet 0/0 //进入Ethernet 0/0端口
ip address 212.241.135.124 255.255.255.240 //设置ip和掩码
exit //回到config模式
ip route default 212.241.135.122 //设置默认路由
本文介绍了如何通过命令行配置网络设备的IP地址及子网掩码,并设置默认路由的方法。
int ethernet 0/0 //进入Ethernet 0/0端口
ip address 212.241.135.124 255.255.255.240 //设置ip和掩码
exit //回到config模式
ip route default 212.241.135.122 //设置默认路由

被折叠的 条评论
为什么被折叠?