Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Железо » Сетевое оборудование » 3COM/Huawei - правильная командная строка ipsetup

Ответить
Настройки темы
3COM/Huawei - правильная командная строка ipsetup

Новый участник


Сообщения: 6
Благодарности: 0

Профиль | Отправить PM | Цитировать


Изображения
Тип файла: gif error.gif
(5.1 Kb, 14 просмотров)
Доброго дня

как правильно назначить ip vlan1 свитчу 2900 baseline?

Перебрал много вариантов, но "правильной" командной строки так и не получилось....
по мануалу вроде бы ipsetup ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx, но ругается. см. скрин

Отправлено: 14:45, 16-07-2010

 

Googler


Сообщения: 3665
Благодарности: 1563

Профиль | Отправить PM | Цитировать


icstiadmin, может опечатка?.. пример команды из того же мануала:
Код: Выделить весь код
ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1

Отправлено: 17:11, 17-07-2010 | #2



Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.

Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.

AkP AkP вне форума

Пользователь


Сообщения: 92
Благодарности: 21

Профиль | Отправить PM | Цитировать


Ты забыл "-". пишешь "ip address", а надо "ip-address"

ipsetup

Syntax

ipsetup { dhcp | ip-address ip-address { mask | mask-length } [ default-gateway ip-address ] }
Parameters
dhcp: Specifies the interface to obtain an IP address through DHCP.
ip-address ip-address: Specifies an IP address for VLAN-interface 1 in dotted decimal notation.
mask: Subnet mask in dotted decimal notation.
mask-length: Subnet mask length, the number of consecutive ones in the mask, in the range of 0 to 32.
default-gateway ip-address: Specifies the IP address of the default gateway or the IP address of the
outbound interface. With this argument and keyword combination configured, the command not only
assigns an IP address to the interface, but also specifies a default route for the device.

Description

Use the ipsetup dhcp command to specify VLAN-interface 1 to obtain an IP address through DHCP.
Use the ipsetup ip-address ip-address { mask | mask-length } command to assign an IP address to
VLAN-interface 1.
By default, the device automatically obtains its IP address through DHCP; if fails, it uses the assigned
default IP address.
If there is no VLAN-interface 1, either command creates VLAN-interface 1 first, and then specifies its IP
address.

Examples

# Create VLAN-interface 1 and specify the interface to obtain an IP address through DHCP.
<Sysname> ipsetup dhcp
# Create VLAN-interface 1 and assign 192.168.1.2 to the interface, and specify 192.168.1.1 as the
default gateway.
<Sysname> ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1

Последний раз редактировалось AkP, 22-07-2010 в 08:49.


Отправлено: 06:48, 22-07-2010 | #3



Компьютерный форум OSzone.net » Железо » Сетевое оборудование » 3COM/Huawei - правильная командная строка ipsetup

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
Службы - Командная строка Farru Microsoft Windows Vista 1 03-04-2008 20:34
Командная строка volean Общий по Linux 2 13-03-2007 11:41
Командная строка Surround Хочу все знать 1 07-08-2004 18:58
командная строка khvalera Программирование и базы данных 1 19-04-2004 15:33
Командная строка Apis.NET Хочу все знать 5 04-03-2002 19:04




 
Переход