witchport mode trunk – switchport trunk allowed vlan 100;200;400 三层配置 interface vlan 100 – ip address 192.168.10.1 255.255.255.0 interface vlan 200 – ip address 192.168.20.1 255.255.255.0 interface vlan 300 – ip address 192.168.30.1 255.255.255.0 interface vlan 400 – ip address 192.168.40.1 255.255.255.0 interface vlan 500 – ip address 192.168.50.1 255.255.255.0 三层交换机中三层接口的创建 要将某一个端口设定为三层端口,需要将它加入到某一个 VLAN 中,然后为该 VLAN 设置 IP 地址 Vlan 100 Int f0/4 Switchport access vlan 100 Int vlan 100 Ip address 11.1.1.1 255.255.255.0 No shutdown DHCP 的配置 Switch(Config)#Service dhcp Switch(Config)#ip dhcp pool A Switch(dhcp-A-config)#network 10.16.1.0 24 Switch(dhcp-A-config)#lease 3 10 32 Switch(dhcp-A-config)#default-route 10.16.1.200 10.16.1.201 启动/关闭 DHCP 服务 Switch(dhcp-A-config)#dns-server 10.16.1.202 Switch(dhcp-A-config)#exit Switch(Config)#ip dhcp excluded-address 10.16.1.200 10.16.1.201 二层交换机端口安全配置 设置静态一一映射: Mac-adderess-table static address 22-22-22-22-22-22-22 vlan 10 int f0/3 设置安全端口地址: Int f0/3 Switchport port-security Switchport port-security mac-address 22-22-22-22-22-22 神州数码路由器配置命令 端口基本配置 ? interface serial 1/0 – encapsulation hdlc – ip address 192.168.10.1 255.255.255.252 – physical-layer speed 2048000 – ! PAP 认证配置(双向认证) 认证配置(双向认证) DCR-1 配置: interface s0/1 – encapsulate ppp – ip add 192.168.10.1 255.255.0.0 – ppp authentication pap – ppp pap user routerA aaa – physical-layer speed 2048000 ? username routerB password bbb ? DCR-2 配置: ? username routerA password aaa ? interface s0/1 – encapsulate ppp – ip add 192.168.10.2 255.255.0.0 – ppp authentication pap – ppp pap user routerB bbb CHAP 协议配置 ? DCR-1 配置: ? username digitalchina2 password legend ? interface Serial1/0 – encapsulation ppp – ppp authentication chap – ppp chap hostname digitalchina1 – PPP chap password legend – ip address 192.168.10.1 255.255.255.252 – physical-layer speed 2048000 ? DCR-2 配置: ? username digitalchina1 password legend ? interface Serial1/0 encapsulation ppp – ppp authentication chap – ppp chap hostname digitalchina2 – PPP chap password legend – ip address 192.168.10.2 255.255.255.252 RIP 协议配置 ? DCR-1(config)#router rip – DCR-1(router-rip)#network 192.200.10.4 255.255.255.252 – DCR-1(router-rip)#version 2 – DCR-1(router-rip)#redistribute connect OSPF 协议配置 ? router ospf 1 – network 192.200.10.4 255.255.255.252 area 0 – redistribute connect NAT 配置 ? ? 如上图所示, 地址, 如上图所示,公司申请了一个合法的 IP 地址,公司局域网用户使用一个 IP 地址连接入 internet ? interface fastethernet 0/0 – ip address 192.168.1.1 255.255.255.0 – ip nat inside ? interface serial 1/0
神州数码交换机路由器命令_计算机硬件及网络_IT/计算机_专业资料。神州数码交换机路由器命令神州数码交换机路由器命令交换机配置命令 switch>en (enable)进入特权用户...
神州数码交换机路由器常用命令操作_计算机硬件及网络_IT/计算机_专业资料。...的配置 13、路由重分布 redistribute static default-information originate ...
显示配置信息 ;显示接口信息 ;显示路由信息 ;显示邻居信息 ;重新起动 ;进入特权模式 ;进入全局配置模式 ;设置交换机的主机名 ;设置特权加密口令 ;设置特权非密...
(交换机 A 的配置)port-group [编号] mode active (交换机 B 的配置)port...IP 访问 神州数码路由器常用命令操作( 神州数码路由器常用命令操作(二)路由器 1...
神州数码交换路由命令 隐藏>> 交换机要求 1. 交换机恢复出厂设置及其基本配置 交换机恢复出厂设置及其基本配置. 2. telnet 方式管理交换机 方式管理交换机. 1) ...
静态路由 Ip route 0.0.0.0 0.0.0.0 [下一跳 IP] 192.168.1.2 3...(交换机 A 的配置)port-group [编号] mode active (交换机 B 的配置)port...
神州数码交换机路由器“Telnet”配置_计算机硬件及网络_IT/计算机_专业资料。神州数码交换机路由器“Telnet”配置神州数码路由、交换 Telnet 登陆和特权 口令配置神州数码...
神州数码常用交换机和路由命令集 隐藏>> 1.在基于 IOS 的交换机上设置主机名/系统名: switch(config)# hostname hostname 在基于 CLI 的交换机上设置主机名/...
神州数码路由器配置命令_IT/计算机_专业资料。神州数码路由器配置命令端口基本配置... 神州数码交换机配置基本... 26页 2下载券 神州数码命令总结 5页 免费 ...
热门文档