思科870分配IP

我会尽量做到“短”。 我已经成功地启用了我的思科870上的http服务器选项,现在我需要达到它,并使用基于Web的configuration。 我还没有find如何分配一个IP到路由器本身。 我怎样才能做到这一点?

您可以将IP地址分配给物理(以太网)接口或包含一个或多个VLAN的VLAN; 默认configuration的所有接口都位于VLAN 1上,所以最简单的方法是为其分配一个IP地址。

那将是:

! Enters configuration mode configure terminal ! Enters configuration of interface VLAN 1 interface vlan1 ! Configures IP address and subnet mask ip address <IP ADDRESS> <SUBNET MASK> ! Assure interface is not down no shutdown ! Exits configuration of interface VLAN 1 end ! Exits configuration mode exit 

例:

 configure terminal interface vlan1 ip address 192.168.0.1 255.255.255.0 no shutdown end exit