分公司交换机光模块配置

1.基本拓扑如下:

 

2.分公司光模块交换机具体配置

en
conf t
hostname xxx
enable password xxx
no ip domain-lookup
line vty 0 4
password xxx
login
exit

int vlan 1
no sh
ip add x.x.x.x x.x.x.x
exit

int  g1/0/25
no sh
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allow vlan xxx
exit

int range f0/1 -24
switchport mode access
switchport access vlan xxx
no sh
exit

exit

wr

你可能感兴趣的:(职场,休闲,交换机,分公司,光模块)