企业网设计规划01(5)

2020-02-21 15:24

Switch(config-if)#exit Switch(config)#

--------------------------------- Switch> Switch>en Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int port

Switch(config)#int port-channel 1 Switch(config-if)#switch trunk ?

allowed Set allowed VLAN characteristics when interface is in trunking mode

encapsulation Set trunking encapsulation when interface is in trunking mode native Set trunking native characteristics when interface is in trunking mode Switch(config-if)#switch trunk en

Switch(config-if)#switch trunk encapsulation dot1q Switch(config-if)#switch mode trunk Switch(config-if)#exit Switch(config)#int rang f0/1-2

Switch(config-if-range)#channel-group 1 mode on

%LINK-5-CHANGED: Interface Port-channel 1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

21

Switch(config-if-range)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

Switch(config-if-range)#no shut Switch(config-if-range)#exit Switch(config)#

--------------------------- Switch# Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#span

Switch(config)#spanning-tree mode pv Switch(config)#spanning-tree mode pvst Switch(config)#exit Switch#

-------------------- 配置访问出网设备: Switch>en Switch#int f0/3 ^

% Invalid input detected at '^' marker.

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int f0/3 Switch(config-if)#no switch Switch(config-if)#no switchport

22

Switch(config-if)#ip addr 192.168.6.1 255.255.255.0 Switch(config-if)#no shut Switch(config-if)#exit Switch(config)#

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

-------------------------------------- Switch(config)# Switch(config)# Switch(config)#

Switch(config)#router ospf 1

Switch(config-router)#network 192.168.6.0 0.0.0.255 area 0 Switch(config-router)#exit Switch(config)#

00:10:50: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.6.254 on FastEthernet0/3 from LOADING to FULL, Loading Done

Switch(config)# Switch(config)#

Switch(config)#router ospf 50

Switch(config-router)#network 192.168.1.0 0.0.0.255

23

% Incomplete command.

Switch(config-router)#network 192.168.1.0 0.0.0.255 area 0 Switch(config-router)#network 192.168.2.0 0.0.0.255 area 0 Switch(config-router)#network 192.168.3.0 0.0.0.255 area 0 Switch(config-router)#network 192.168.4.0 0.0.0.255 area 0 Switch(config-router)# Switch(config-router)#

6.2.3出口路由器主要配置 Router> Router>en Router#conf t

Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int s2/0

Router(config-if)#ip addr 201.6.2.5 255.255.255.252 Router(config-if)#ip nat outside Router(config-if)#no shut Router(config-if)#exit Router(config)#int f0/0 Router(config-if)#ip nat inside

Router(config-if)#ip addr 192.168.6.254 255.255.255.0 Router(config-if)#ip nat inside Router(config-if)#no shut Router(config-if)#exit Router(config)#int f1/0

Router(config-if)#ip addr 192.168.7.254 255.255.255.0 Router(config-if)#ip nat inside Router(config-if)#no shut Router(config-if)#exit Router(config)#router ospf 50

Router(config-router)#network 192.168.6.0 0.0.0.255 area 0 Router(config-router)#network 192.168.7.0 0.0.0.255 area 0 Router(config-router)#network 201.6.2.4 0.0.0.3 area 0

24

Router(config-router)#exit

Router(config)#access-list 1 permit 192.168.1.0 0.0.0.255 Router(config)#access-list 1 permit 192.168.2.0 0.0.0.255 Router(config)#access-list 1 permit 192.168.3.0 0.0.0.255 Router(config)#access-list 1 permit 192.168.4.0 0.0.0.255 Router(config)#access-list 1 permit 192.168.6.0 0.0.0.255 Router(config)#access-list 1 permit 192.168.7.0 0.0.0.255 Router(config)#

Router(config)#ip nat pool wan 202.128.62.33 202.128.62.62 netmask 255.255.255.224 Router(config)#ip nat inside source list 1 pool wan overload Router(config)#

Router(config)#ip route 0.0.0.0 0.0.0.0 s2/0 Router(config)#exit

25


企业网设计规划01(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:高分子物理课后答案,何曼君,第三版

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: