通信人家园

标题: 锐捷2层小交换简单配置  [查看完整版帖子] [打印本页]

时间:  2013-8-16 14:46
作者: labi67     标题: 锐捷2层小交换简单配置

en
conf t
hostname ******
ena sec ***
int gi0/0      
no shut
ip add *****  #####
ip nat outside
exit
serv dhcp
ip dhcp excluded-address 192.168.1.1   
ip dhcp pool AAA
lease 1
network 192.168.1.0 255.255.255.0
dns-server ******* #######
default-router 192.168.1.1
exit
ip route 0.0.0.0 0.0.0.0 ######
access-list 10 permit 192.168.1.0 0.0.0.255
ip nat inside source list 10 int gi0/0 overload
vlan 10
int vlan 10
ip add 192.168.1.1 255.255.255.0   
ip nat inside
exit
int range f1/0-21        
sw acc vlan 10
int range f1/22-23
switchport mode trunk
line vty 0 4
pass tsyidong
login
end
wr





通信人家园 (https://www.txrjy.com/) Powered by C114