VLAN 1 is the default VLAN of the switch. Step 5. In the interface context, acquire an IP address from the DHCP server by entering the following: SG350X(config-if)#interface [interface id | vlan-id] You will receive a notification that...
使用 interface-range 可以一次性对多个接口执行此操作。 Router6k-1(config)#interface range fastEthernet 6/13 - 18Router6k-1(config-if-range)#switchportRouter6k-1(config-if-range)#switchport hostswitchport mode can be set to access spanning-tree portfast can be enabled channel group can be disabl...
switch(config)# enable password level 1 password 在基于CLI的交换机上设置登录口令: switch(enable) set password switch(enable) set enalbepass 3.在基于IOS的交换机上设置远程访问: switch(config)# interface vlan 1 switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gate...
interface FastEthernet0 //指定管理口,默认管理口为F0端口,此端口与ILO通讯,用于管理交换机。 ip address 10.91.246.244 255.255.255.0 //设置静态管理IP地址。 no sh //指定开启F0管理端口 sh running interface f0 //查看此端口配置 ip address dhcp //可通过OA下发IP。 ---设置TELENT远程管理--- username ...
1. switch配置命令 (1)模式转换命令 用户模式---特权模式,使用命令"enable" 特权模式---全局配置模式,使用命令"config t" 全局配置模式---接口模式,使用命令"interface+接口类型+接口号" 全局配置模式---线控模式,使用命令"line+接口类型+接口号" 注: 用户...
switch(enable)setenalbepass 3.在基于IOS的交换机上设置管理IP: switch(config)#interfacevlan1 switch(config-if)#ipaddressip-addressnetmask switch(config-if)#ipdefault-gatewayip-address 在基于CLI的交换机上设置管理IP: switch(enable)setinterfacesc0ip-addressnetmaskbroadcast-address ...
switch(enable) set enalbepass 3.在基于IOS的交换机上设置远程访问: switch(config)# interface vlan 1 switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gateway ip-address 在基于CLI的交换机上设置远程访问: switch(enable) set interface sc0 ip-address netmask broadcast...
Switch(config)# Switch(config)#default interface gigabitEthernet 1/0/1 3.6 配置VLAN 以太网端口有二种链路类型:Access和Trunk。 Access类型的端口只能属于1个VLAN,一般用于连接计算机的端口; Trunk类型的端口可以属于多个VLAN,可以接收和发送多个VLAN的报文,一般用于交换机之间连接的端口(trunk是允许vlan透传的一个...
[Switch-Vlan-interface3] ip address 3.3.3.29 255.255.255.0[Switch-Vlan-interface3] quit# 将端口GE1/0/2加入到指定VLAN。[Switch] interface GigabitEthernet 1/0/2[Switch-GigabitEthernet1/0/2] port switchcess vlan 3[Switch-GigabitEthernet1/0/2] quit...
value "NO" does not have a valid configurationInterface IP-Address OK? Method Status ProtocolEthernet0 unassigned NO unset up upSerial0 unassigned NO unset up up……… ……… … …… … …然后,路由器就开始全局参数的设置:Configuring global parameters:1.设置路由器名:Enter host name [Router]:...