Verifying The Configuration - HP FlexNetwork MSR2003 Configuration Manual

Flexnetwork msr router series
Hide thumbs Also See for FlexNetwork MSR2003:
Table of Contents

Advertisement

[RouterA] dhcp server forbidden-ip 10.1.1.2
# Configure DHCP address pool 0. Specify the subnet, lease duration, DNS server address,
and a static route to subnet 20.1.1.0/24.
[RouterA] dhcp server ip-pool 0
[RouterA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[RouterA-dhcp-pool-0] expired day 10
[RouterA-dhcp-pool-0] dns-list 20.1.1.1
[RouterA-dhcp-pool-0] option 121 hex 181401010A010102
2.
Configure Router B:
# Configure GigabitEthernet 2/0/1 to use DHCP for IP address acquisition.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ip address dhcp-alloc
[RouterB-GigabitEthernet2/0/1] quit

Verifying the configuration

# Display the IP address and other network parameters assigned to Router B.
[RouterB] display dhcp client verbose
GigabitEthernet2/0/1 DHCP client information:
Current machine state: BOUND
Allocated IP: 10.1.1.3 255.255.255.0
Allocated lease: 864000 seconds, T1: 331858 seconds, T2: 756000 seconds
Lease from May 21 19:00:29 2012
DHCP server: 10.1.1.1
Transaction ID: 0xcde72232
Classless static route:
Destination: 20.1.1.0, Mask: 255.255.255.0, NextHop: 10.1.1.2
DNS server: 20.1.1.1
Client ID type: acsii(type value=00)
Client ID value: 000c.29d3.8659-GE2/0/1
Client ID (with type) hex: 0030-3030-632e-3239-
T1 will timeout in 3 days 19 hours 48 minutes 43 seconds.
# Display the route information on Router B. The output shows that a static route to subnet
20.1.1.0/24 is added to the routing table.
[RouterB] display ip routing-table
Destinations : 11
Destination/Mask
10.1.1.0/24
10.1.1.3/32
20.1.1.0/24
10.1.1.255/32
127.0.0.0/8
127.0.0.0/32
to
6433-2e38-3635-392d-
4574-6830-2f30-2f32
Routes : 11
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Static 70
0
Direct 0
0
Direct 0
0
Direct 0
0
81
May 31 19:00:29 2012
NextHop
10.1.1.3
127.0.0.1
10.1.1.2
10.1.1.3
127.0.0.1
127.0.0.1
Interface
GE2/0/1
InLoop0
GE2/0/1
GE2/0/1
InLoop0
InLoop0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents