回程路由
六、trunk链路
可以实现连个交换机间不同vlan相同网段间的互访
[one]vlan 2
[one-vlan2]vlan 3
[one-vlan3]quit
[one]port-group 1
[one-port-group-1]group-membergigabitethernet 0/0/1 Gigab)itEthernet 0/0/3
[one-port-group-1]port link-type access
[one-port-group-1]port default vlan 2
[one]port-group 2
[one-port-group-2]group-memberGigabitEthernet 0/0/2 GigabitEthernet 0/0/4
[one-port-group-2]port link-type access
[one-port-group-2]port default vlan 3
[one]interface vlan 2
[one-Vlanif2]ip address 192.168.1.1255.255.255.0
[one]interface vlan 3
[one-Vlanif3]ip address 192.168.2.1255.255.255.0
[one]interface GigabitEthernet 0/0/24
[one-GigabitEthernet0/0/24]port link-typetrunk #给端口启用trunk
[one-GigabitEthernet0/0/24]port trunkallow-pass vlan all
#这里是允许所有vlan通过
[two]vlan 2
[two]vlan 3
[two]interface vlan 2
[two-Vlanif2]ip address 192.168.1.1255.255.255.0
[two]interface vlan 3
[two-Vlanif3]ip address 192.168.2.1255.255.255.0
[two]port-group 1
[two-port-group-1]group-memberGigabitEthernet 0/0/1 to GigabitEthernet 0/0/3
[two-port-group-1]port link-type access
[two-port-group-1]port default vlan 2
[two]port-group 2
[two-port-group-2]group-memberGigabitEthernet 0/0/4 to GigabitEthernet 0/0/7
[two-port-group-2]port link-type access
[two-port-group-2]port default vlan 3
[two]interface GigabitEthernet0/0/24
[two-GigabitEthernet0/0/24]port link-typetrunk
[two-GigabitEthernet0/0/24]port trunkallow-pass vlan all
相关阅读
随着家庭带宽的逐步增大,以及日益多样化的网络应用与管理需求,使得用户对路由器的综合性能要求也越来越高,因此也就催生了具备高效能
1.local-user 用户名(admin)2. password simple/cipher 密码(admin) (其中cipher是密文,simple是明文) 3.qu 4.save
本文以 斐讯K2 psg1218为例子,说明如何使用 breed 刷入 路由器的固件 的故事。。。(K1,K2的刷入方式相同) breed 准备工作 1.
DIV界面布局 <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Div布局</title> </head> <body> <!-整个p布局大
恩……..这道题,我们来看一下,首先得明白,什么是静态变量,什么是实例变量! 看下面这个代码 class Demo1{ //静态变量 public