3.设置三层交换机开启路由功能
MainSW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
MainSW(config)#no ?
access-list Add an access list entry
banner Define a login banner
boot Modify system boot parameters
cdp Global CDP configuration subcommands
clock Configure time-of-day clock
config-register Define the configuration register
enable Modify enable password parameters
hostname Set system's network name
interface Select an interface to configure
ip Global IP configuration subcommands
ipv6 Global IPv6 configuration commands
mac-address-table Configure the MAC address table
port-channel EtherChannel configuration
router Enable a routing process
service Modify use of network based services
spanning-tree Spanning Tree Subsystem
username Establish User Name Authentication
vlan Vlan commands
vtp Configure global VTP state MainSW(config)#no routing
不对吧,应该ip routing 啊