F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100
78
nms monitor-interface
Use nms primary monitor-interface to configure the primary monitored interface.
Use nms secondary monitor-interface to configure the secondary monitored interface.
Use undo nms monitor-interface to remove the configurations.
Syntax
nms { primary | secondary } monitor-interface interface-type interface-number
undo nms { primary | secondary } monitor-interface
Default
A network management system (NMS) does not monitor any interface on the device.
Views
System view
Default command level
3: Manage level
Parameters
primary: Specifies the primary monitored interface.
secondary: Specifies the secondary monitored interface.
interface-type interface-number: Type and number of the interface to be monitored.
Usage guidelines
If you configure only the primary monitored interface or the secondary monitored interface, the device
monitors the IP address of the configured interface. If the interface gets or changes its IP address when
the interface status is up, the device sends traps to the NMS to inform it of the available IP address.
If you configure both the primary and secondary monitored interfaces, the device monitors the primary
one first.
The following matrix shows the nms monitor-interface command and firewalls and UTM devices
compatibility:
Hardware Command com
p
atible
F1000-A-EI/F1000-S-EI Yes
F1000-E No
F5000 No
Firewall module No
U200-A Yes
U200-S Yes
Examples
# Configure GigabitEthernet 0/1 as the primary monitored interface.
<Sysname> system-view
[Sysname] nms primary monitor-interface gigabitethernet 0/1