show vlan-switch brief 查看 VLAN 信息 show ip int brief 查看接口IP地址 show ip route 查看路由表 show ip route static 查看静态路由 show ip route rip 查看RIP路由 show ip route ospf 查看 OSPF 的路由表 show ip protocols 查看 OSPF 区域边界 show ip ospf neighbor 查看 OSPF 的邻居表、数据库及...
switch(conf)#hostname hxsw-001 hxsw-001(conf)# enble secret ciscolab # 创建多个VLAN switch>enable #进入特权模式 switch#vlan data #进入VLAN配置模式 switch(vlan)#vlan 10 name IT #划分VLAN 10,名称为IT switch(vlan)#vlan 20 name HR #划分VLAN20,名称为HR switch(vlan)#vlan 30 name FIN #...
2、如果是在交换机用户模式下面使用这个命令switch>show ip int b 是表示简单查看当前交换机下所有接口ip信息 ,包括物理端口(FastEthernet端口,GigabitEthernet端口),虚拟接口(vlan接口)的ip路由信息;在交换机的特权模式下(switch#show ip int b)使用这个命令得出的结果是一样的;当然如果要在全局配...
ip dhcp pool VLAN1 import all network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 192.168.1.1 ip domain name multilink bundle-name authenticated 2. show startup-configuration show startup-configuration命令用于显示设备的启动配置。这个命令可以帮助你了解设备启动时的配置。 Router# sho...
show switch vlan 显示VLAN 和物理 MAC 地址关联。show switch vlan 要查看 VLAN 和关联的交换机端口,请使用 show switch vlan 命令。 注 仅支持 Firepower 1010。 show switch vlan Command History 版本 修改 6.5 引入了此命令。 Usage Guidelines 此命令仅适用于具有内置交换机的型...
noipdhcp use vrf connectedipdhcp excluded-address192.168.1.1192.168.1.10!ipdhcp pool VLAN1importall network192.168.1.0255.255.255.0 default-router192.168.1.1 dns-server192.168.1.1!!ipdomain name yourdomain.com!multilink bundle-name authenticated!... ...
ip dhcp pool VLAN1 import all network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 192.168.1.1 ! ! ip domain name yourdomain.com ! multilink bundle-name authenticated ! ... 2. show startup-configuration show startup-configuration命令用于显示设备的启动配置。这个命令可以帮助你...
switch#show cdp entry * l实现交换机的远程管理 switch(config)#enable secretcisco switch(config)#intface valn 1 switch(config-if)#ip address192.168.1.100 255.255.255.0 switch(config-if)#no shutdown switch(config)#line vty 0 4 switch(config-line)#password123 ...
show ip route显 示 IP 路由表 show ipx access-list显 示路由器上配置的 IPX 访问列表 trunk on 将一个端口设为永久中继模式 usemame name password为 了 Cisco 路由器的身份验证创建用户...
路由器上配置的ipx访问列表usemamenamepassword为了cisco路由器的身份验证创建用户名和口令passwordvariance控制最佳度量和最坏可接受度量之间的负载均衡namesales创建一个名为sales的vlan2lanmembershipstaticvtpclient将该交换机设为一个vtp客户vtpdomain设置为该vtp配置的域名vtppassword在该vtp域上设置一个口令vtppruning...