EasyManua.ls Logo

HP FlexNetwork MSR2003

HP FlexNetwork MSR2003
517 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7
Configuration examples
Long static ARP entry configuration example
Network requirements
As shown in Figure 3, hosts are connected to Router B. Router B is connected to Router A through
interface GigabitEthernet 2/0/1 in VLAN 10.
To ensure secure communications between Router A and Router B, configure a long static ARP
entry for Router A on Router B.
Figure 3 Network diagram
Configuration procedure
# Create VLAN 10.
<RouterB> system-view
[RouterB] vlan 10
[RouterB-vlan10] quit
# Add interface GigabitEthernet 2/0/1 to VLAN 10.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] port access vlan 10
[RouterB-GigabitEthernet2/0/1] quit
# Create VLAN-interface 10 and configure its IP address.
[RouterB] interface vlan-interface 10
[RouterB-vlan-interface10] ip address 192.168.1.2 8
[RouterB-vlan-interface10] quit
# Configure a static ARP entry that has IP address 192.168.1.1, MAC address 00e0-fc01-0000, and
output interface GigabitEthernet 2/0/1 in VLAN 10.
[RouterB] arp static 192.168.1.1 00e0-fc01-0000 10 gigabitethernet 2/0/1
Verifying the configuration
# Verify that Router B has a long static ARP entry for Router A.
[RouterB] display arp static
Type: S-Static D-Dynamic O-Openflow R-Rule M-Multiport I-Invalid
IP address MAC address VLAN Interface Aging Type

Table of Contents

Related product manuals