锐捷网管交换机DHCPv6 服务器动态分配 IPv6 地址配置举例

一、组网需求
如下图,在一个子网内,DHCPv6客户端(所处网段为1001::1:0/64)向DHCPv6服务器Device A请求地址信息;DHCPv6服务器上配置了可供分配的IPv6地址、DNS服务器地址和域名等配置参数信息。

二、组网图
DHCPv6 服务器动态分配 IPv6 地址组网图

三、配置要点
在Device A上运行DHCPv6服务器并配置地址及参数,实现地址和参数的自动分配。

四、配置步骤
(1) 配置Device A
# 配置DHCPv6地址池参数。
DeviceA> enable
DeviceA# configure terminal
DeviceA(config)# ipv6 dhcp pool v6
DeviceA(dhcp-config)# iana-address prefix 1001::1:0/64
DeviceA(dhcp-config)# excluded-address 1001::1:1 1001::1:2
DeviceA(dhcp-config)# dns-server 1001::1:2
DeviceA(dhcp-config)# domain-name example.com

# 配置接口地址并启动DHCPv6 Server服务。
DeviceA(config)# interface vlan 2
DeviceA(config-if-VLAN 2)# ipv6 enable
DeviceA(config-if-VLAN 2)# ipv6 address 1001::1:1/64
DeviceA(config-if-VLAN 2)# ipv6 dhcp server v6

# 取消设备发布RA消息的抑制。
DeviceA(config-if-VLAN 2)# no ipv6 nd suppress-ra

# 配置被管理地址的配置标志位为1,即主机通过DHCPv6服务器获取IPv6地址。
DeviceA(config-if-VLAN 2)# ipv6 nd managed-config-flag

# 配置其他信息配置标志位为1,即主机通过DHCPv6服务器获取除IPv6地址以外的其他信息。
DeviceA(config-if-VLAN 2)# ipv6 nd other-config-flag

(2) 配置Host
# 配置所有Host启动动态获取地址的功能。

五、 验证配置结果
查看客户端是否申请到1001::1:0/64网段的IPv6地址。

六、配置文件
Device A的配置文件
hostname DeviceA
!
ipv6 dhcp pool v6
iana-address prefix 1001::1:0/64
excluded-address 1001::1:1 1001::1:2
dns-server 1001::1:2
domain-name example.com
!
interface vlan 2
ipv6 address 1001::1:1/64
ipv6 dhcp server v6
!

注:常见错误
●地址池名称超出256个字符。
● 配置的地址池数目超出系统限制256个。
● 配置DHCPv6 Server服务的接口数目超过系统限定值256个。
●配置的DNS服务器个数超过系统限定值10个。
● 配置的域名个数超过系统限定值10个。

锐捷网管交换机无状态自动获取 IPv6 地址配置举例

一、组网需求
Device A和Device B相连,Device A与Device B相连的接口GigabitEthernet 0/1已配置了IPv6地址,现需要在Device B上配置无状态自动获取IPv6地址,以实现两台设备可以通过IPv6地址进行通信。

二、组网图
 IPv6 地址配置组网图

三、配置要点
●在Device A上配置IPv6地址。
● 在Device B上配置无状态自动获取IPv6地址。

四、 配置步骤
(1) 配置Device A
# 配置接口GigabitEthernet 0/1的IPv6地址,并允许在该接口上发送RA报文。
DeviceA> enable
DeviceA# configure terminal
DeviceA(config)# interface gigabitethernet 0/1
DeviceA(config-if-GigabitEthernet 0/1)# ipv6 address 2000::1/64
DeviceA(config-if-GigabitEthernet 0/1)# no ipv6 nd suppress-ra
DeviceA(config-if-GigabitEthernet 0/1)# exit

(2) 配置Device B
DeviceB> enable
DeviceB# configure terminal
DeviceB(config)# interface gigabitethernet 0/1
DeviceB(config-if-GigabitEthernet 0/1)# ipv6 address autoconfig

五、 验证配置结果
# 在Device B上使用show ipv6 interface命令可以看到接口自动获取到IPv6地址。
DeviceB# show ipv6 interface
interface GigabitEthernet 0/1 is Up, ifindex: 2, vrf_id 0
address(es):
Mac Address: 00:50:56:b0:2f:50
INET6: FE80::250:56FF:FEB0:2F50 , subnet is FE80::/64
INET6: 2000::250:56FF:FEB0:2F50 [ PRE ], subnet is 2000::/64
valid lifetime 2591906 sec, preferred lifetime 604706 sec
Joined group address(es):
FF01::1
FF02::1
FF02::2
FF02::1:FF00:0
FF02::1:FFB0:2F50
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND stale time is 3600 seconds
ND advertised reachable time is 0 milliseconds
ND retransmit interval is 1000 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 600 seconds<480–720>
ND router advertisements live for 1800 seconds
Hosts use stateless autoconfig for addresses.

# 在Device A上使用Ping测试和Device B的互通性。
DeviceA# ping ipv6 2000::250:56FF:FEB0:2F50
Sending 5, 100-byte ICMP Echoes to 2000::250:56ff:feb0:2f50, timeout is 2 seconds:
< press Ctrl+C to break >
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/13/63 ms.

# 在Device B上使用Ping测试和Device A的互通性。
DeviceAB# ping ipv6 2000::1
Sending 5, 100-byte ICMP Echoes to 2000::1, timeout is 2 seconds:
< press Ctrl+C to break >
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms.

六、 配置文件
●Device A的配置文件
hostname DeviceA
!
interface gigabitEthernet 0/1
ipv6 enable
ipv6 address 2000::1/64
no ipv6 nd suppress-ra
!
●Device B的配置文件
hostname DeviceB
!
interface gigabitEthernet 0/1
ipv6 address autoconfig
!

 

锐捷网管交换机手动配置 IPv6 地址配置举例

一、组网需求
Host A和Host B可以通过IPv6地址进行通信。

二、组网图
IPv6 地址配置组网图

三、配置要点
在接口上开启IPv6协议,并配置IPv6地址。

四、 配置步骤
(1) 配置Device A
# 配置接口GigabitEthernet 0/1的IPv6地址,并允许在该接口上发送RA报文。
DeviceA> enable
DeviceA# configure terminal
DeviceA(config)# interface gigabitethernet 0/1
DeviceA(config-if-GigabitEthernet 0/1)# ipv6 enable
DeviceA(config-if-GigabitEthernet 0/1)# ipv6 address 1000::1/64
DeviceA(config-if-GigabitEthernet 0/1)# no ipv6 nd suppress-ra
DeviceA(config-if-GigabitEthernet 0/1)# exit

# 配置接口GigabitEthernet 0/2的IPv6地址,并允许在该接口上发送RA报文。
DeviceA(config)# interface gigabitethernet 0/2
DeviceA(config-if-GigabitEthernet 0/2)# ipv6 enable
DeviceA(config-if-GigabitEthernet 0/2)# ipv6 address 2000::1/64
DeviceA(config-if-GigabitEthernet 0/1)# no ipv6 nd suppress-ra
DeviceA(config-if-GigabitEthernet 0/2)# exit

(2) 配置主机
# 配置Host A的IPv6地址为1000::2/24。
# 配置Host B的IPv6地址为2000::2/24。

五、 验证配置结果
# 使用show ipv6 interface可以看到接口添加IPv6地址成功。
DeviceA# show ipv6 interface
interface GigabitEthernet 0/1 is Up, ifindex: 2, vrf_id 0
address(es):
Mac Address: 00:50:56:b0:05:99
INET6: FE80::250:56FF:FEB0:599 , subnet is FE80::/64
INET6: 1000::1 , subnet is 1000::/64
Joined group address(es):
FF01::1
FF02::1
FF02::2
FF02::1:FF00:0
FF02::1:FF00:1
FF02::1:FFB0:599
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND stale time is 3600 seconds
ND advertised reachable time is 0 milliseconds
ND retransmit interval is 1000 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 600 seconds<480–720>
ND router advertisements live for 1800 seconds
interface GigabitEthernet 0/2 is Down, ifindex: 3, vrf_id 0
address(es):
Mac Address: 00:50:56:b0:05:9a
INET6: FE80::250:56FF:FEB0:59A [ TENTATIVE ], subnet is FE80::/64
INET6: 2000::1 [ TENTATIVE ], subnet is 2000::/64
Joined group address(es):
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND stale time is 3600 seconds
ND advertised reachable time is 0 milliseconds
ND retransmit interval is 1000 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 600 seconds<480–720>
ND router advertisements live for 1800 seconds
# 在Host A上使用Ping测试和Host B的互通性。
# 在Host B上使用Ping测试和Host A的互通性。

六、 配置文件
Device A的配置文件
hostname DeviceA
!
interface gigabitethernet 0/1
ipv6 enable
ipv6 address 1000::1/64
no ipv6 nd suppress-ra
!

 

锐捷网管交换机MGMT 接口属性配置举例

一、组网需求
通过PC的串口连接设备的Console口对MGMT接口配置三层接口属性及二层接口属性。

二、 组网图
MGMT 接口属性组网图

三、配置要点
●PC的串口跟设备的Console口互联。
● 配置设备上MGMT接口三层IPv4地址为192.168.1.1。
●配置管理网络的IPv4网关为192.168.1.2。
●配置设备上MGMT接口三层IPv6地址为2000::1。
● 配置管理网络的IPv6网关为2000::2。
●配置设备上MGMT接口的速率为1000M。

四、 配置步骤
Hostname> enable
Hostname# configure terminal
Hostname(config)# interface mgmt 0
Hostname(config-if-Mgmt 0)# ip address 192.168.1.1 255.255.255.0
Hostname(config-if-Mgmt 0)# gateway 192.168.1.2
Hostname(config-if-Mgmt 0)# ipv6 address 2000::1/64
Hostname(config-if-Mgmt 0)# ipv6 gateway 2000::2
Hostname(config-if-Mgmt 0)# speed 1000

五、验证配置结果
通过show interfaces mgmt 0查看设备上述配置。
Hostname# show interfaces mgmt 0
Index(dec):8193 (hex):2001
Mgmt 0 is UP , line protocol is UP
Hardware is Mgmt, address is 0074.9cee.f4a0 (bia 0074.9cee.f4a0)
Description: IP management Console
Interface address is: 192.168.1.1/24
ARP type: ARPA, ARP Timeout: 3600 seconds
Interface IPv6 address is:
2000::1/64
MGMT
Console Console
FastEthernet
192.168.1.2/24
2000::2/64
192.168.1.1/24
2000::1/64 PC Device
fe80::274:9cff:feee:f4a0/64
MTU 1500 bytes, BW 1000000 Kbit
Encapsulation protocol is Ethernet-II, loopback not set
Keepalive interval is 10 sec , set
Carrier delay is 2 sec
Ethernet attributes:
Last link state change time: 2020-11-19 07:02:08
Time duration since last link state change: 33 days, 2 hours, 0 minutes, 34 seconds
Priority is 0
Medium-type is Copper
Admin duplex mode is AUTO, oper duplex is Full
Admin speed is AUTO, oper speed is 1000M
Rxload is 1/255, Txload is 1/255
Input peak rate: 13994998 bits/sec, at 2020-10-31 15:36:24
Output peak rate: 40693 bits/sec, at 2020-11-11 06:11:34
10 seconds input rate 4461 bits/sec, 7 packets/sec
10 seconds output rate 1688 bits/sec, 1 packets/sec
24580580 packets input, 1939932420 bytes, 0 no buffer, 0 dropped
Received 20239881 broadcasts, 0 runts, 0 giants
116885 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort
519832 packets output, 91472361 bytes, 0 underruns, 0 no buffer, 0 dropped
0 output errors, 0 collisions, 0 interface resets

六、配置文件
!
interface MGMT 0
speed 1000
ip address 192.168.1.1 255.255.255.0
ipv6 address 2000::1/64
gateway 192.168.1.1
ipv6 gateway 2000::2
!

锐捷网管交换机配置 PoE 供电辅助功能

一、 组网需求
● 系统功率超过80%时,需要有告警信息提示。
● 在端口上、下电时,需要发送trap通告信息。
● 可识别端口连接的PD设备。

二、 配置要点
● 配置系统告警功率水线为80%。
● 配置使能系统trap发送开关。
● 配置端口g0/1的PD描述符为ap220。

三、 配置步骤
# DeviceA配置。
DeviceA> enable
DeviceA# configure terminal
DeviceA(config)# poe poe warnig-power 80
DeviceA(config)# poe notification-control enable
DeviceA(config)# interface gigabitEthernet 0/1
DeviceA(config-if)# poe pd-description ap220

四、 验证配置结果
#通过show running查看配置是否正确。

 

锐捷网管交换机配置 PoE 端口供电举例

一、组网需求
●端口g0/1要求稳定供电,尽量不受网络环境影响。
●端口在每日8:00到12:00时间段下电,其他时间上电。
● 端口最大供电功率不超过17W。

二、配置要点
●配置g0/1口优先级为critical。
●配置time-range,并关联PoE的端口time-range配置。
●配置g0/1端口最大功率为15.4W。

三、配置步骤
# 在DeviceA上面配置LACP。
DeviceA> enable
DeviceA# configure terminal
DeviceA(config)# time-range poe-time
DeviceA(config-time-range)# periodic daily 8:00 to 12:00
DeviceA(config-time-range)# exit
DeviceA(config)# interface gigabitEthernet 0/1
DeviceA(config-if)# poe power-off time-range poe-time
DeviceA(config-if)# poe priority critical
DeviceA(config-if)# poe max-power 15.4

四、验证配置结果
# 通过show poe interface可以查看到配置信息以及供电信息。
DeviceA# show poe interface gigabitEthernet 0/1
Interface : gi0/1
Power enabled : enable
Power status : on
Max power : 15.4W
Current power : 14.8 W
Average power : 14.8 W
Peak power : 14.8 W
LLDP requested power : N/A
LLDP allocated power : N/A
Voltage : 53.5 V
Current : 278 mA
PD class : 4
Trouble cause : None
Priority : critical
Legacy : off
Power-off time-range : poe-time
Power management : auto
4pair status : normal

锐捷网管交换机配置 PoE 系统供电举例

一、组网需求
● 接入的PD设备,消耗功率都比较低,但是接入数量大,满端口接入。
● 要求热启动不间断。

二、配置要点
●切换模式为energy-saving模式。
●配置支持热启动不间断供电功能。

三、配置步骤
# 在DeviceA上面创建AP口。
DeviceA> enable
DeviceA# configure terminal
DeviceA(config)# poe mode energy-saving
DeviceA(config)# poe uninterruptible-power

# 在DeviceB上面创建AP口。
DeviceB> enable
DeviceB# configure terminal
DeviceB(config)# interface range GigabitEthernet 2/1-2
DeviceB(config-if-range)# port-group 3

四、验证配置结果
# 通过show poe powersupply可以查看到配置信息以及供电信息。
DeviceA# show poe powersupply
Device member : 1
Power management : energy-saving
PSE total power : 125.0 W
PSE total power consumption : 15.0 W
PSE available power : 125.0 W
PSE total remain power : 110.0 W
PSE peak power : 15.0 W
PSE average power : 13.9 W
PSE powered port : 1
PSE disconnect mode : dc
PSE warning power : 90
PSE mcu/pse version : 111/222(mcu/pse)
PSE class lldp : enable
PSE uninterruptible-power : disable
PSE fast on : disable

海康威视拼接屏进入工厂菜单的操作方法

工厂菜单进入方法:

方式一、遥控器按IDSEL,输入屏幕ID号,选中屏幕后按【SOURCE】+2580进入工厂菜单

海康威视LCD拼接屏工厂菜单示意图
注:
W/B值调整
●增益值影响白色亮场颜色
●偏移值影响白色喑场颜色

关键值设备
●LVDS设置影响屏幕花屏,清晰等

方式二、部分老屏选中后按【SOURCE】+数字键1147或【MENU】+数字键3698

海康威视录像机添加摄像机时通道报错,提示【获取通道参数或能力级失败】

第1步:请确认是否为海康摄像机
如果是海康摄像机,请选择海康协议添加;第三方摄像机用ONVIF协议添加。

第2步:确认现场网络是否稳定
a、如果接入的是POE网口,可单独供电插LAN口看能否正常接入。
b、排查网络:
可将连接NVR的网线插电脑上,通过电脑ping摄像机IP地址测试丢包
●如果有丢包:请自行排查线路(更换网线、网口、检查供电;可直连测试)
●如果没有丢包:可将设备删除重新添加测试。

第3步:核实该通道是否已被其他主机添加?
●如果摄像头已经被其他主机添加过了,再点击一键添加通道,通道也会报错提示:通道报错获取通道参数或能力级失败。
● 如果1个摄像机要添加多台主机,建议辅录像机使用RTSP协议添加。

第4步:修改摄像机IP地址,重新添加。
您可修改摄像机IP地址后,重新添加测试。

第5步:如1-4步排查无果,建议升级录像机:
尝试将摄像机跟录像机都升级到最新版本测试,注意设备升级有一定风险,升级过程中不要断电。

ICP备案号:晋ICP备18007549号-1
站长微信:15534641008