Router(config)#interface gigabitEthernet 1.11Router(config-subif)#encapsulation dot1Q 11Router(config-subif)#ip address 10.10.11.1 255.255.255.0Router(config-subif)#exit !-- (Optional) For the management VLAN 1
查看vlan命令 show vlan brief 查看各个接口的名称、ip、状态等 show ip interface brief show ip route //查看路由表 show ip nat translations //查看NAT表 查看交换机里配置的路由 sh run | inc route 然后是知道某电脑的IP,怎么查其接的交换机哪个口? 1、首先查ARP表中该IP对应的mac sh ip arp | inc...
1,将接口划分至对应VLAN Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 30 Switch(config-vlan)#exit Switch(config)#vlan 40 Switch(config-vlan)#exit Switch(config)#vlan 50 Switch(config-vlan)#exit Switch(config)# Switch(config)#int e0/1 Swit...
interface vlan +vlan号进入VLAN接口模式 ip add +ip地址为VLAN配置管理IP地址 vtp+service/tracsparent/client配置SW的VTP工作模式 vtp +domain+域名配置SW的VTP域名 vtp +password +密码配置SW的密码 switchport mode trunk启用中继 no vlan +vlan号删除VLAN show spamming-tree vlan +vlan号查看VLA怕生成树议 Ci...
回答:关于内部VLAN分配升序和降序选项 vlan internal allocation policy asce "ascending" 或者 "descending". 它的内部VLAN的分配政策。可以选择 "ascending" 或者 "descending". 关键字选择 "ascending" ,内部VLAN分配从1006开向依次向上建立内部VLAN。关键字选择 "descending" ,内部VLAN分配从4096开向...
Router(config)#interface f0/0 Router(config-if)#no shutdown Router(config-if)#interface f0/0.10 Router(config-subif)#encapsulation dot1Q ? <1-1005> IEEE 802.1Q VLAN ID Router(config-subif)#encapsulation dot1Q 10 Router(config-subif)#ip address 172.16.10.254 255.255.255.0 ...
show vlan show vtp status On the Cisco Router, use the next commands: show ip route show interface Sample Command Output Catalyst Switch The next command is used to check the administrative and operational status of the port. It is also used to make sure that the native VLAN matches on bot...
show ip ospf 显示OSPF的进程号和ROUTER-ID encapsulation+封装格式 更改封装格式 no ip admain-lookup 关闭路由器的域名查找 ip routing 在三层交换机上启用路由功能 show user 查看SW的在线用户 clear line +线路号 清除线路 思科路由器常用配置命令一览表: 1、Exec commands: <1-99> 恢复一个会话 bfe 手工应...
I am looking for a way (Commands) to configure VLANs on Cisco Router and a way to make my Switch learn these VLANs dynamically i.e the likes of VTP or any other means. What are the configurations commands on both switch and router. I have a physical router and switch BUT i will ...
As you can see, VLANs 1-1005 are allowed to pass through the trunk connection. Show Interface on Cisco Routers On a Layer 3 router, the show interface command is equally important to obtain crucial information about each interface for various purposes. ...