Huawei S Series Quick Configuration page 20

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

Advertisement

Configuring Routing
Configure a default static route to the campus egress gateway on CORE so that
1
CORE forwards intranet traffic to the egress router.
[CORE] ip route-static 0.0.0.0 0 10.10.100.2
2
Run the
display ip routing-table
[CORE] display ip routing-table
Route Flags: R - relay, D - download to fib
---------------------------------------------------------------------------
---
Routing Tables: Public
Destinations : 5
Destination/Mask
0.0.0.0/0
10.10.10.0/24
10.10.10.1/32
10.10.20.0/24
10.10.20.1/32
10.10.100.0/24
10.10.100.1/32
command on CORE to view the IP routing table.
Routes : 5
Proto
Pre
Cost
Static
60
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
17
A default static route whose
next hop address is
10.10.100.2 exists, indicating
that the static route is
successfully configured.
Flags NextHop
RD
10.10.100.2
D
10.10.10.1
D
127.0.0.1
D
10.10.20.1
D
127.0.0.1
D
10.10.100.1
D
127.0.0.1
The three direct routes are
automatically generated
through link detection.
Interface
Vlanif100
Vlanif10
Vlanif10
Vlanif20
Vlanif20
Vlanif100
Vlanif100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S2750S5700

Table of Contents