- CISCO设备如何配置SVI(网关、IP)
1.新建vlan
- MSW(config)#vlan 10
- MSW(config-vlan)#name caiwu
- MSW(config-vlan)#exit
2.配置SVI地址
- MSW(config)#int vlan 10
- MSW(config-if)#ip add 192.168.1.254 255.255.255.0
3.查看接口
- MSW#sh ip int br
- Interface IP-Address OK? Method Status Protocol
- FastEthernet1/15 unassigned YES unset up up
- Vlan1 unassigned YES unset up up
- Vlan10 192.168.1.254 YES manual up up
4.路由表
- MSW#sh ip route
- Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
- D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
- N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
- E1 – OSPF external type 1, E2 – OSPF external type 2
- i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
- ia – IS-IS inter area, * – candidate default, U – per-user static route
- o – ODR, P – periodic downloaded static route
- Gateway of last resort is not set
- C 192.168.1.0/24 is directly connected, Vlan10