h3c单臂路由室验配置

 h3c单臂路由室验配置

router
 
interface e1 
ip address 192,168.1.1 255.255.255.0 (设置E1的IP)
 
interface e2 
no ip address (设置E2IP为空)
interface e0.1 (进入E0.1)
vlan-type dot1q vid 2 (设置为VLAN2的网关。并且封装格式为dot1q.)
ipaddress 192.168.2.1 255.255.255.0 (配置IP地址)
interface e0.2(进入E0.2)
vlan-tye dot1q vid 3(设置为VLAN 3的网关。封装格式为dot1q)
ipaddress 192.168.3.1 255.255.255.0 
 
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 (设置默认路由)
 
switchA 
system-view
vlan 2
vlan 3
interface e0/0 
port link-type trunk
port trunk permit vlan all
interface e0/1
port access vlan 2
interface e0/2
port access vlan 3

本文出自 “h3c技术讨论” 博客,转载请与作者联系!

你可能感兴趣的:(职场,h3c,休闲,h3c单臂路由室验配置)