进入到要改动的port下,然后使用description + “内容”。效果应该非常直观了吧。接下来就是改动port的所在Vlan了 3、改动portVlan switch# switch# switch#conf t Enter configuration commands, one per line. End with CNTL/Z. switch(config)# switch(config)#int fa0/3 switch(config-if)# switch(config-i...
Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface fastethernet0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Switch(config-if)#switchport port-security maximum 1 Switch(config-if)#switchport port-security mac-address 0060....
N9K-2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. N9K-2(config)#spanning-tree vlan 1,10,20 priority 0N9K-2(config)#endN9K-2#show running-config spanning-treespanning-tree vlan 1,10,20 priority 0 interface port-channel1 spanning-tree port type network N9K...
Switch-A> (enable)set port channel 2/1-2 offPort(s) 2/1-2 channel mode set to off. 关闭端口并重复测试。 Switch-A> (enable)set port disable 2/1Port 2/1 disabled. Switch-A> (enable)show timeFri Feb 25 2000, 13:56:23Switch-A> (enable)set port enable 2/1Port 2/1 enabled. ...
port-channel-number} 进入端口配置状态 no switchport 把物理端口变成三层口 ip address ip_address subnet_mask 配置 IP 地址和掩码 no shutdown 激活端口 例: Switch(config)# interface gigabitethernet0/2 Switch(config-if)# no switchport Switch(config-if)# ip address 192.20.135.21 255.255.255.0 ...
ip Global IP configuration subcommands line Configure a terminal line logging Modify message logging facilities mac MAC configuration mac-address-table Configure the MAC address table no Negate a command or set its defaults port-channel EtherChannel configuration ...
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 ...
Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#int f0/1 Switch(config-if)#?cdp Global CDP configuration subcommands channel-group Etherchannel/port bundling configuration channel-protocol Select the channel protocol (LACP, PAgP)description Interface ...
55、,则首先进入端口组配置模式,再将端口加入到VLAN中,其命令格式台下: interface range port-range switchport access vlan vlan-id 例:将fa0/1fa0/10及fa0/15 端口加入到VLAN3中:(VLAN3已经存在) Switch(config)# interface range fa0/1 10,fa0/15 Switch(config-if)# switchport access vlan 3,48,...
通过学习各个接口相联的计算机MAC地址,实现各台计算机的数据通信,和路由器的路由表相似,交换机是通过MAC-Port的映射表来实现的。 问题2:二层交换机、三层交换机、路由器的区别? 二层交换机:仅用于交换,局域网、广域网交换 三层交换机:又称路由交换机,具有路由和交换的双重功能,仅用于局域网,是以太网交换机,通过...