Switch>Switch>enable//进入特权模式Switch#configureterminal//切换全局配置模式Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#interfacevlan2//创建并进入vlan 2Switch(config-if)#ipaddress192.168.75.5255.255.255.0//为vlan 2 配置管理ip地址Switch(config-if)#noshutdown//启用vlan 2Switch(c...
switch(config-if)#switchport trun native vlan 999 ---设置trunk口的native vlan 5、port状态 switch(config)# switch(config)#int fa0/3 switch(config-if)# switch(config-if)# switch(config-if)#sw acc vl 1 switch(config-if)# switch(config-if)# switch(config-if)#shutd switch(config-if)#s...
Enter configuration commands,one per line.EndwithCNTL/Z.Switch(config)# ps: configure terminal意为配置终端,单词较长,可采用以下解决办法: tab键自动补全 简写成conf t 4.全局配置模式 代码语言:javascript 复制 特权用户模式下的命令提示符:(configure)+#Switch(config)#?Configure commands:access-list Add a...
Switch# Switch(config)#no vlan 2 // 删除vlan 2 将端口1-5划到VLAN 100中 Switch#configure terminal 进入全局配置模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int range fast0/1 - 5 选中端口, Switch(config-if-range)#switchport access vlan 100 划到vlan100...
anycast-gateway-mac Anycast Gateway MAC of the Switch mac-addr MAC address Command Mode /exec/configure fabric forwarding dup-host-ip-addr-detection { fabric forwarding dup-host-ip-addr-detection <mmoves> <nsecs> | no fabric forwarding ...
Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface fastethernet0/4 Switch(config-if# switchport mode trunk Switch(config-if# switchport trunk encapsulation dot1q Switch(config-if)# end ...
1. switch配置命令 (1)模式转换命令 用户模式---特权模式,使用命令"enable"特权模式---全局配置模式,使用命令"configt"全局配置模式---接口模式,使用命令"interface+接口类型+接口号"全局配置模式---线控模式,使用命令"line+接口类型+接口号"注:用户模式:查看初始化的信息.特权模式:查看所有信息、调试、保存配置...
Enters global configuration mode. Step 2 aaa authorization {commands | config-commands} {default} {{[group group-name] | [ local]} | {[group group-name] | [ none]}} Example: switch(config)# aaa authorization config-commands default...
Switch(vlan)# exit 将端口分配给一个 VLAN configure terminal 进入配置状态 interface interface-id 进入要分配的端口 switchport mode access 定义二层口 switchport access vlan vlan-id 把端口分配给某一 VLAN 例 Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. ...
Switch# 1. 2. 3.特权用户模式 特权用户模式下的命令提示符:# Switch#? Exec commands: clear Reset functions clock Manage the system clock configure Enter configuration mode connect Open a terminal connection copy Copy from one file to another ...