Huawei S Series Quick Configuration page 36

Campus switches
Hide thumbs Also See for S Series:
Table of Contents

Advertisement

d. Configure IP addresses for egress router interfaces.
1
Configure an IP address for the interface connecting to the intranet.
<HUAWEI> system-view
[HUAWEI] sysname Router
[Router] interface GigabitEthernet 0/0/1
[Router-GigabitEthernet0/0/1] ip address 172.16.1.2 24
address for the interface connecting to CORE1.
[Router-GigabitEthernet0/0/1] quit
[Router] interface GigabitEthernet 0/0/2
[Router-GigabitEthernet0/0/2] ip address 172.16.2.2 24
address for the interface connecting to CORE2.
[Router-GigabitEthernet0/0/2] quit
2
Configure an IP address for the interface connecting to the Internet.
[Router] interface GigabitEthernet 0/0/0
[Router-GigabitEthernet0/0/0] ip address 1.1.1.2 30
address for the interface connecting to the Internet.
[Router-GigabitEthernet0/0/0] quit
e. (Optional) Configure a static route.
If a dynamic routing protocol is configured, skip this step.
Configure a default static route to the egress router and a backup static route on CORE1
1
and CORE2, respectively.
[CORE1] ip route-static 0.0.0.0 0.0.0.0 172.16.1.2
//Configure a default static route to the egress router on CORE1.
[CORE1] ip route-static 0.0.0.0 0.0.0.0 172.16.3.2 preference 70
//Configure a backup static route to CORE2 on CORE1.
[CORE2] ip route-static 0.0.0.0 0.0.0.0 172.16.2.2
[CORE2] ip route-static 0.0.0.0 0.0.0.0 172.16.3.1 preference 70
2
On the egress router, configure a default static route to the carrier device.
[Router] ip route-static 0.0.0.0 0.0.0.0 1.1.1.1
On the egress router, configure primary and backup routes. The next hop of the
3
primary route is CORE1 and that of the backup route is CORE2.
[Router] ip route-static 192.168.10.0 255.255.255.0 172.16.1.1
[Router] ip route-static 192.168.10.0 255.255.255.0 172.16.2.1 preference
70
//Configure a backup route to department A with the next hop pointing
to CORE2.
[Router] ip route-static 192.168.20.0 255.255.255.0 172.16.1.1
[Router] ip route-static 192.168.20.0 255.255.255.0 172.16.2.1 preference
70
//Configure a backup route to department B with the next hop pointing
to CORE2.
//Configure an IP
33
//Configure an IP
//Configure an IP

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S2750S5700

Table of Contents