文档介绍:锐捷NBR80路由器基本配置实例
一、基础管理
在网络设备的首次使用时只能使用串口(Console)方式连接网络设备,称为带外(Outband)管理方式。在进行了相关配置后,可以通过 Telnet 虚拟终端方式连接和管理网络设备。通过这rfaces //显示接口全部信息
(二)VLAN配置(LAN口接划分VLAN的二层交换机时)
NBR80#configure terminal //进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
NBR80(config)#interface fastethernet 0/0 //进入接口配置模式配置LAN口
NBR80(config)#no ip address //删除LAN口IP地址
NBR80(config)#interface fastethernet 0/ //进入子接口配置模式配置子接口10
NBR80(config-subif)#encapsulation dot1Q 10 //,指定VLAN ID号为10,必须为交换机上的一个VLAN ID号10
NBR80(config-subif)#ip address //配置子接口10的IP地址,作为该VLAN的网关
NBR80(config-subif)#vlan port 0 tag //将物理LAN口0绑定到VLAN 10上
NBR80(config-subif)#no shutdown //激活此接口
NBR80(config-subif)#exit //回到全局配置模式
NBR80(config)#interface fastethernet 0/0 //进入接口配置模式配置LAN口
NBR80(config)#interface fastethernet 0/ //进入子接口配置模式配置子接口20
NBR80(config-subif)#encapsulation dot1Q 20 //,指定VLAN ID号为20,必须为交换机上的一个VLAN ID号20
NBR80(config-subif)#ip address //配置子接口20的IP地址,作为该VLAN的网关
NBR80(config-subif)#vlan port 1 3 tag //将物理LAN口1、2、3绑定到VLAN 20上
NBR80(config-subif)#no shutdown //激活此接口
NBR80(config-subif)#exit //回到全局配置模式
NBR80(config)#end //回到特权模式
NBR80#show vlan //显示VLAN信息
NBR80#show interfaces //显示接口全部信息
三、配置路由
(一)LAN口接三层交换机时
NBR80#configure terminal //进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
NBR80(config)#ip route