interface Vlanif10 ip address 10.1.10.254 255.255.255.0 # interface Vlanif11 ip address 10.1.11.1 255.255.255.0 # interface Vlanif20 ip address 10.1.20.254 255.255.255.0 interface Eth-Trunk12 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface Ethernet0/0/1 port link-type...
interface Vlanif20 ip address 10.1.20.254 255.255.255.0 interface Eth-Trunk12 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface Ethernet0/0/1 port link-type access port default vlan 11 interface Ethernet0/0/3 port link-type trunk port trunk allow-pass vlan 2 to 4094 ...
2.同理,创建配置SW1的VLAN 10和VLAN 20 (二)配置核心交换机SW3的trunk 1.配置核心交换机两个接口为trunk [SW3]vlan batch 10 20 [SW3-GigabitEthernet0/0/1]port link-type trunk #配置接口为trunk [SW3-GigabitEthernet0/0/1]port trunk allow-pass vlan all [SW3-GigabitEthernet0/0/2]port link...
port link-type trunk port trunk allow-pass vlan 2 to 4094 #链接ap接口信息,pvid是为了数据包丢掉vlan标识,trunk接口如果数据包vlan和pvid相同,则丢掉vlan标识 interface GigabitEthernet0/0/3 port link-type trunk port trunk pvid vlan 102 port trunk allow-pass vlan 2 to 4094 #静态路由表,可以分别配置...
port trunk allow-pass vlan 2 to 4094 # interface Ethernet0/0/1 eth-trunk 2 # interface Ethernet0/0/2 eth-trunk 2 # interface Ethernet0/0/3 port link-type access port default vlan 10 # interface Ethernet0/0/4 # interface Ethernet0/0/5 ...
port hybrid pvid vlan 20 port hybrid untagged vlan 20 100 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface GigabitEthernet0/0/2 port hybrid pvid vlan 100 port hybrid untagged vlan 2 to 4094...
SW1与SW2之间配置Eth-Trunk,模式为LACP; SW1为VLAN10、30、100、101的网关; SW2为VLAN20、40、102的网关; R1、R2、SW1、SW2使用OSPF; 配置OSPF,使得内部默认从R1访问外网; 配置防火墙外部流量访问内部时默认先走R1、SW1; 配置AC,将配置下发至AP; ...
port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface GigabitEthernet0/0/3 # ...
port trunk allow-pass vlan 2 to 4094 SW9 interface g0/0/3 port link-type hybrid port hybrid ...
port link-type trunk port trunk allow-pass vlan 2 to 4094 interface GigabitEthernet0/0/23 port link-type access port default vlan 100 6、配置VXLAN三层网关 Leaf-1配置 interface Vbdif10 ip address 192.168.10.1 255.255.255.0 # interface Vbdif20 ...